[Dovecot] TECRA-A9 -- devcot LDA/sendmail
SM
sm at resistor.net
Thu Aug 21 08:01:21 EEST 2008
At 18:17 20-08-2008, dovecot at 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)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
If guice.ath.cx is listed in /etc/hosts, remove it from there and
restart sendmail to test.
Regards,
-sm
More information about the dovecot
mailing list