On Wed, Aug 20, 2008 at 10:01:21PM -0700, SM wrote:
At 18:17 20-08-2008, dovecot@guice.ath.cx wrote:
In a prviooous thread you suggested that we use define(
confDONT_PROBE_INTERFACES',
True')dnl. When that line didn't produce any positive results we removed it. Just before generating this reply we ran a few more test after removing the only entry "guice.ath.cx" from 'local-host-names'.In my previous messages, I mentioned the reason for the issue. I assumed that you were following the steps and the results you produced were based on that. I already mentioned that the domain should not be listed in local-host-names if you are using the instructions at http://wiki.dovecot.org/LDA/Sendmail
This is a clean install of FreeBSD and packages. No *configuration* files were merged in any way; /root, /usr/home/* and /var/mail/* were restored from a previous install.
It is going to be very interesting to see what is causing this issue.
# # Sendmail continues to use 'Mailer(local)' # local-host-names is an empty file # We have tried both using and removing the following line from 'hostname,mc' # define(
confDONT_PROBE_INTERFACES',
True')dnl## These are the active lines in my 'hostname.mc' divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22 16:20:01 gs OSTYPE(freebsd6) DOMAIN(generic)
FEATURE(access_db,
hash -o -T<TMPF> /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable,
hash -o /etc/mail/mailertable') FEATURE(virtusertable,hash -o /etc/mail/virtusertable') dnl define(
confCW_FILE',-o /etc/mail/sendmail.cw') define(
confCW_FILE', `-o /etc/mail/local-host-names')DAEMON_OPTIONS(
Name=IPv4, Family=inet') DAEMON_OPTIONS(
Name=IPv6, Family=inet6, Modifiers=O')define(
confBIND_OPTS',
WorkAroundBrokenAAAA') define(confNO_RCPT_ACTION',
add-to-undisclosed') define(confPRIVACY_FLAGS',
authwarnings,noexpn,novrfy')define(
confDONT_PROBE_INTERFACES',
True')dnl dnl MAILER(local) MAILER(smtp) MAILER(dovecot) dnl MAILER(procmail)dnldnl set SASL options TRUST_AUTH_MECH(
GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(
confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
The following is the output with the above 'hostname.mc' in effect and 'Mailer(local) is still the LDA. :=\
WORKSTATION# echo '$=w' | /usr/sbin/sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address>
[72.225.169.69] guice.ath.cx localhost WORKSTATION.guice.ath.cx
## Here are the log files after sending test emails to the devcot machine.
Aug 20 20:04:05 WORKSTATION sm-mta[5921]: m7L045E7005921: from=bl2245@gmail.com, size=1765, class=0, nrcpts=1, msgid=11f5b03c0808201704p168277b8hd4598337ec30054e@mail.gmail.com, proto=ESMTP, daemon=IPv4, relay=rv-out-0506.google.com [209.85.198.239] Aug 20 20:04:05 WORKSTATION sm-mta[5922]: m7L045E7005921: to=804pm@guice.ath.cx, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32008, relay=local, dsn=2.0.0, stat=Sent
I'm replying to two (2) messages herein ...
In response to 'Steffen Kaiser': I haven't found in the thread, why you don't use Deliver as local LDA?
MY_Reply 1): we're following a dovecot.org article; trying to figure out if its something we are doing incorrectly, or if there is an installation, or some other such issue.
'Steffen Kaiser'-- BTW: You've defined local_lmtp, why? My_Reply 1a): It, local_lmtp, was already in the default file and things were working.
----- In reply to 'SM resistor.net -----
If guice.ath.cx is listed in /etc/hosts, remove it from there and restart sendmail to test.
============================
WORKSTATION# cat /etc/mail/local-host-names
WORKSTATION# cat /etc/hosts | grep -i workstation WORKSTATION# cat /etc/hosts | grep -i guice WORKSTATION# cat /etc/hosts | grep -i ath WORKSTATION# cat /etc/hosts | grep -i cx ----- Nothing that resembles 'workstation', 'guice', 'ath', 'cx'
hostname.mc contains
divert(-1)
divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22 16:20:01 gs OSTYPE(freebsd6) DOMAIN(generic)
FEATURE(access_db, hash -o -T<TMPF> /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable,
hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
define(confCW_FILE',
-o /etc/mail/local-host-names')
DAEMON_OPTIONS(Name=IPv4, Family=inet') DAEMON_OPTIONS(
Name=IPv6, Family=inet6, Modifiers=O')
define(confBIND_OPTS',
WorkAroundBrokenAAAA')
define(confNO_RCPT_ACTION',
add-to-undisclosed')
define(confPRIVACY_FLAGS',
authwarnings,noexpn,novrfy')
MAILER(dovecot) MAILER(local) MAILER(smtp) MAILER(procmail)dnl
TRUST_AUTH_MECH(GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl define(
confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
---------Sending a test email to the dovecot machine ...
Aug 20 20:04:05 WORKSTATION sm-mta[5921]: m7L045E7005921: from=bl2245@gmail.com, size=1765, class=0, nrcpts=1, msgid=11f5b03c0808201704p168277b8hd4598337ec30054e@mail.gmail.com, proto=ESMTP, daemon=IPv4, relay=rv-out-0506.google.com [209.85.198.239] Aug 20 20:04:05 WORKSTATION sm-mta[5922]: m7L045E7005921: to=804pm@guice.ath.cx, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32008, relay=local, dsn=2.0.0, stat=Sent
Aug 20 20:10:55 WORKSTATION sm-mta[6042]: m7L0Atjo006042: from=bl2245@gmail.com, size=1763, class=0, nrcpts=1, msgid=11f5b03c0808201711n5b124a7j5a1933d9a4d80a59@mail.gmail.com, proto=ESMTP, daemon=IPv4, relay=rv-out-0506.google.com [209.85.198.235] Aug 20 20:10:55 WORKSTATION sm-mta[6043]: m7L0Atjo006042: to=810pm@guice.ath.cx, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32006, relay=local, dsn=2.0.0, stat=Sent