[Dovecot] TECRA-A9 -- devcot LDA/sendmail

dovecot at guice.ath.cx dovecot at guice.ath.cx
Thu Aug 21 04:17:51 EEST 2008


On Wed, Aug 20, 2008 at 03:22:34PM -0700, SM wrote:
> At 14:45 20-08-2008, dovecot at guice.ath.cx wrote:
> >WORKSTATION# echo '$=w' | /usr/sbin/sendmail -bt
> 
> [snip]
> 
> >guice.ath.cx
> 
> Your domain is listed as local.  It should not be there if you are 
> using the /etc/mail/sendmail.cf file you generated.  grep that file 
> for DontProbeInterfaces.

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'.

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)dnl

dnl 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 at gmail.com>, size=1765, class=0, nrcpts=1, 
msgid=<11f5b03c0808201704p168277b8hd4598337ec30054e at 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 at 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 at gmail.com>, size=1763, class=0, nrcpts=1, 
msgid=<11f5b03c0808201711n5b124a7j5a1933d9a4d80a59 at 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 at guice.ath.cx>, delay=00:00:00, xdelay=00:00:00, 
mailer=local, pri=32006, relay=local, dsn=2.0.0, stat=Sent 


More information about the dovecot mailing list