Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Thu, Aug 21, 2008 at 03:50:10PM +0200, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 21 Aug 2008, [EMAIL PROTECTED] wrote: > > Do you have some Cw lines in sendmail.cf? Maybe OSTYPE(freebsd) adds them. > For instance, there is always a Cwlocalhost line in my .cf file. > > Bye, > > - -- > Steffen Kaiser > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIrXKUVJMDrex4hCIRAkYcAJ47Rm94c60WywISEsN2kllCt/ZwVACeLk36 > 25XwIRP8i4LKGcCPGl/4rLA= > =u4C8 > -END PGP SIGNATURE- Mr. Kaiser, I do appreciate your efforts and replies however, It appears your not reading the entire message thread. I posted the active lines in my hostname.mc. With that being said, your question of: "> Do you have some Cw lines in sendmail.cf? Maybe OSTYPE(freebsd) "> adds them. "> For instance, there is always a Cwlocalhost line in my .cf file. Has been answered. Please continue to help us find out why the following: Mdovecot, P=/usr/local/libexec/dovecot/deliver, F=DFMPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix, A=deliver -d $u If you're using sendmail.mc then put the lines above into a new file /usr/share/sendmail/cf/mailer/dovecot.m4 and put MAILER(dovecot) into your sendmail.mc is not working for us. The above can be found on: http://wiki.dovecot.org/LDA/Sendmail
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 21 Aug 2008, [EMAIL PROTECTED] wrote: Do you have some Cw lines in sendmail.cf? Maybe OSTYPE(freebsd) adds them. For instance, there is always a Cwlocalhost line in my .cf file. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIrXKUVJMDrex4hCIRAkYcAJ47Rm94c60WywISEsN2kllCt/ZwVACeLk36 25XwIRP8i4LKGcCPGl/4rLA= =u4C8 -END PGP SIGNATURE-
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Wed, Aug 20, 2008 at 10:01:21PM -0700, SM wrote: > At 18:17 20-08-2008, [EMAIL PROTECTED] 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 /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', `WorkAroundBroken') > >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 > >> [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=<[EMAIL PROTECTED]>, size=1765, class=0, nrcpts=1, > >msgid=<[EMAIL PROTECTED]>, > >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=<[EMAIL PROTECTED]>, 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 /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', `WorkAroundBroken') 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 DI
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Aug 2008, [EMAIL PROTECTED] wrote: I haven't found in the thread, why you don't use Deliver as local LDA? I use: dnl -f $g -- sender dnl -d $u -- destination user account name dnl -m $h -- mailbox to deliver to (+detail part of address) dnl -n-- don't create new mailbox FEATURE(`local_procmail', `/etc/mail/smrsh/dovecot-deliver', `/etc/mail/smrsh/dovecot-deliver -f $g -d $u -m $h')dnl BTW: You've defined local_lmtp, why? Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIrR3JVJMDrex4hCIRAopSAKCleU2mlV4+UhiB6yPzNZYC1PlIBwCgknRO DE1CTYoizIChUUwJzURirtQ= =/iGw -END PGP SIGNATURE-
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 18:17 20-08-2008, [EMAIL PROTECTED] 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 /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', `WorkAroundBroken') 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 > [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=<[EMAIL PROTECTED]>, size=1765, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, 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
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Wed, Aug 20, 2008 at 03:22:34PM -0700, SM wrote: > At 14:45 20-08-2008, [EMAIL PROTECTED] 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 /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', `WorkAroundBroken') 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 > [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=<[EMAIL PROTECTED]>, size=1765, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, size=1763, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32006, relay=local, dsn=2.0.0, stat=Sent
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 14:45 20-08-2008, [EMAIL PROTECTED] 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. Regards, -sm
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Wed, Aug 20, 2008 at 02:33:13PM -0700, SM wrote: > At 11:26 20-08-2008, [EMAIL PROTECTED] wrote: > >Well you can see 'Mailer(local)' is still in the loop (above) > > That's the problem. What's the output of: > > echo '$=w' | /usr/sbin/sendmail -bt > > Regards, > -sm > WORKSTATION# echo '$=w' | /usr/sbin/sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter > [IPv6:::1] [72.225.169.69] [IPv6:fe80::1] [192.168.1.112] [WORKSTATION.ath.cx] guice.ath.cx localhost WORKSTATION.ath.cx WORKSTATION [127.0.0.1] [WORKSTATION] localhost.my.domain WORKSTATION.guice.ath.cx [localhost.my.domain] > WORKSTATION#
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 11:26 20-08-2008, [EMAIL PROTECTED] wrote: Well you can see 'Mailer(local)' is still in the loop (above) That's the problem. What's the output of: echo '$=w' | /usr/sbin/sendmail -bt Regards, -sm
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Wed, Aug 20, 2008 at 08:45:54AM -0700, SM wrote: > At 05:48 20-08-2008, [EMAIL PROTECTED] wrote: > >You are correct. Allow me to provide just a little more detail. > >We're assuming that dovecot.confs' 'Mail_location:' has nothing to do > >with the MTA handing off to the 'deliver' LDA. With that being said, no > >matter what the dovecot.confs' 'mail_location:' is set to, and with: > > There are two stages: > > 1. MTA handing off the message to the LDA > > 2. 'deliver' LDA taking the message and delivering it to the > appropriate mailbox. > > The first stage is not determined by the dovecot.conf mail_location setting. > > >the local mailer continues to handle and send the mail to > >/var/mail/. Yes we did create another hostname.cf. :=) > > Add the following line to your sendmail .mc file: > > define(`confDONT_PROBE_INTERFACES',`True')dnl > > and generate a new configuration. Then restart sendmail and test. > > Regards, > -sm > Per your suggestion: - hostname.mc contains: - define(`confDONT_PROBE_INTERFACES',`True')dnl dnl MAILER(local) MAILER(smtp) MAILER(dovecot) dnl MAILER(procmail)dnl - restarting services --- # make cf && make install restart && sleep 10 && /usr/local/etc/rc.d/dovecot restart /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 /etc/mail/WORKSTATION.mc > /etc/mail/WORKSTATION.cf install -m 444 /etc/mail/WORKSTATION.cf /etc/mail/sendmail.cf install -m 444 /etc/mail/WORKSTATION.submit.cf /etc/mail/submit.cf Restarting: sendmail sendmail-clientmqueue. Stopping dovecot. Waiting for PIDS: 5008. Starting dovecot. tail -f /var/log/maillog Aug 20 14:06:06 WORKSTATION sm-mta[5017]: m7KI66XM005017: from=<[EMAIL PROTECTED]>, size=1770, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=IPv4, relay=rv-out-0506.google.com [209.85.198.232] Aug 20 14:06:07 WORKSTATION sm-mta[5018]: m7KI66XM005017: to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32013, relay=local, dsn=2.0.0, stat=Sent Well you can see 'Mailer(local)' is still in the loop (above) --- Below, just for giggles I checked the ~/Maildir; nothing there. the test mail for the above is no doubt in /var/log/maillog. Aug 20 14:06:56 WORKSTATION dovecot: imap-login: Login: user=, method=PLAIN, rip=192.168.1.112, lip=192.168.1.112, TLS Aug 20 14:06:56 WORKSTATION dovecot: IMAP(email): Effective uid=1006, gid=1006, home=/home/email Aug 20 14:06:56 WORKSTATION dovecot: IMAP(email): maildir: data=/home/email/Maildir Aug 20 14:06:56 WORKSTATION dovecot: IMAP(email): maildir: root=/home/email/Maildir, index=/home/email/Maildir, control=, inbox= END.
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 05:48 20-08-2008, [EMAIL PROTECTED] wrote: You are correct. Allow me to provide just a little more detail. We're assuming that dovecot.confs' 'Mail_location:' has nothing to do with the MTA handing off to the 'deliver' LDA. With that being said, no matter what the dovecot.confs' 'mail_location:' is set to, and with: There are two stages: 1. MTA handing off the message to the LDA 2. 'deliver' LDA taking the message and delivering it to the appropriate mailbox. The first stage is not determined by the dovecot.conf mail_location setting. the local mailer continues to handle and send the mail to /var/mail/. Yes we did create another hostname.cf. :=) Add the following line to your sendmail .mc file: define(`confDONT_PROBE_INTERFACES',`True')dnl and generate a new configuration. Then restart sendmail and test. Regards, -sm
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
On Tue, Aug 19, 2008 at 10:10:54PM -0700, SM wrote: > At 15:22 19-08-2008, [EMAIL PROTECTED] wrote: > >Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmai > > > >The mail is not delivered to the ~/Maildir; mail continues to get > >delivered to /var/mail/. > > > >First thing first, if you're reading this section/msg of the original > >thread, > >please return to the initial/first message. To the author (SM > ><[EMAIL PROTECTED]>) > >who offered the response about sendmails' local-host-names, how did > >you arrive at this? What does sendmails local-host-names have to do > >with local delivery once the MTA accepts the mail <-- perhaps that's > >a bit off-topic for this thread. > > The MTA (sendmail) generally accepts the mail and then passes it to > the LDA if the recipient domain is listed in local-host-names or is > in class {w}. In this case, the LDA used should be Dovecot's > deliver. However, it won't work for local delivery, hence the > mailertable hack. > > You mentioned that mail is being delivered but the steps at > http://wiki.dovecot.org/LDA/Sendmail don't work for you. As you have > not provided any log extracts, I can only assume that sendmail is > calling the LDA defined by local MAILER to deliver mail to the > /var/mail/ mbox even though Dovecot's mail_location is set > to maildir:~/Maildir only. > > Regards, > -sm You are correct. Allow me to provide just a little more detail. We're assuming that dovecot.confs' 'Mail_location:' has nothing to do with the MTA handing off to the 'deliver' LDA. With that being said, no matter what the dovecot.confs' 'mail_location:' is set to, and with: /usr/share/sendmail/cf/mailer/dovecot.m4 containing the following: Mdovecot, P=/usr/local/libexec/dovecot/deliver, F=DFMPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix, A=deliver -d $u in addition to hostname.mc containing: MAILER(local) MAILER(smtp) MAILER(dovecot) --or containing -- MAILER(smtp) MAILER(dovecot) the local mailer continues to handle and send the mail to /var/mail/. Yes we did create another hostname.cf. :=) Here is a sample from our /var/log/maillog -- Aug 20 04:56:15 WORKSTATION sm-mta[3415]: m7K8uEAY003414:+to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:01, mailer=local,+pri=34104, relay=local, dsn=2.0.0, stat=Sent Aug 20 05:02:02 WORKSTATION sm-mta[3441]: m7K921Ba003441:+from=<[EMAIL PROTECTED]>, size=8661, class=0,+nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=IPv4,+relay=dovecot.org [82.118.211.50] Aug 20 05:02:02 WORKSTATION sm-mta[3442]: m7K921Ba003441:+to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=local,pri=38892, relay=local, dsn=2.0.0, stat=Sent
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 15:22 19-08-2008, [EMAIL PROTECTED] wrote: Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmai The mail is not delivered to the ~/Maildir; mail continues to get delivered to /var/mail/. First thing first, if you're reading this section/msg of the original thread, please return to the initial/first message. To the author (SM <[EMAIL PROTECTED]>) who offered the response about sendmails' local-host-names, how did you arrive at this? What does sendmails local-host-names have to do with local delivery once the MTA accepts the mail <-- perhaps that's a bit off-topic for this thread. The MTA (sendmail) generally accepts the mail and then passes it to the LDA if the recipient domain is listed in local-host-names or is in class {w}. In this case, the LDA used should be Dovecot's deliver. However, it won't work for local delivery, hence the mailertable hack. You mentioned that mail is being delivered but the steps at http://wiki.dovecot.org/LDA/Sendmail don't work for you. As you have not provided any log extracts, I can only assume that sendmail is calling the LDA defined by local MAILER to deliver mail to the /var/mail/ mbox even though Dovecot's mail_location is set to maildir:~/Maildir only. Regards, -sm
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmai The mail is not delivered to the ~/Maildir; mail continues to get delivered to /var/mail/. First thing first, if you're reading this section/msg of the original thread, please return to the initial/first message. To the author (SM <[EMAIL PROTECTED]>) who offered the response about sendmails' local-host-names, how did you arrive at this? What does sendmails local-host-names have to do with local delivery once the MTA accepts the mail <-- perhaps that's a bit off-topic for this thread. NO disrespect intended to -- SM <[EMAIL PROTECTED] In any case I had a strong feeling the resolve offered from SM <[EMAIL PROTECTED]> would'nt work and it didn't, but I can say "that I tried it". With that being said, would someone please return to the first message in this thread and provide an authoritive resolve to my issues; if powssible. Thanks On Tue, Aug 19, 2008 at 10:43:14AM -0700, SM wrote: > At 04:07 19-08-2008, [EMAIL PROTECTED] wrote: > >ISSUE-1: Unable to get new mail delivered to the Dovecot generated > >~/Maildir/folders. The mail continues be delivered to the standard > >/var/mail/. Ofcourse, until I get the aforementioned > >functioning, I'm unable to experience the Dovecot-sieve. > > Sendmail is performing a local delivery instead of invoking > deliver. Remove the domain names from local-host-names. > > Regards, > -sm >
Re: [Dovecot] TECRA-A9 -- devcot LDA/sendmail
At 04:07 19-08-2008, [EMAIL PROTECTED] wrote: ISSUE-1: Unable to get new mail delivered to the Dovecot generated ~/Maildir/folders. The mail continues be delivered to the standard /var/mail/. Ofcourse, until I get the aforementioned functioning, I'm unable to experience the Dovecot-sieve. Sendmail is performing a local delivery instead of invoking deliver. Remove the domain names from local-host-names. Regards, -sm