[Dovecot] problems implementing dovecot LDA with Postfix
Per the instructions here http://wiki.dovecot.org/LDA and here http://wiki.dovecot.org/LDA/Postfix I set
postmaster_address = postmaster@hardwarefreak.com
in /etc/dovecot/dovecot.conf
and
mailbox_command = /usr/lib/dovecot/deliver
in /etc/postfix/main.cf
When I restart dovecot I get this:
[07:17:00][root@greer]/etc/dovecot$ /etc/init.d/dovecot restart Restarting IMAP/POP3 mail server: dovecotError: Error in configuration file /etc/dovecot/dovecot.conf line 754: Unknown setting: postmaster_address Fatal: Invalid configuration in /etc/dovecot/dovecot.conf failed!
And after restarting Postfix and sending a test message from a gmail account I get this in the mail log:
May 9 07:26:09 greer postfix/qmgr[13384]: AEE976C32C: from=snugmonster@gmail.com, size=1628, nrcpt=1 (queue active) May 9 07:26:09 greer dovecot: deliver(stan): Fatal: postmaster_address setting not given May 9 07:26:09 greer postfix/local[13392]: AEE976C32C: to=stan@hardwarefreak.com, relay=local, delay=1.4, delays=1.3/0.03/0/0.04, dsn=4.3.0, status=deferred (temporary failure)
The server is Debian Lenny 5.0.4 with Postfix 2.5.5 and Dovecot 1.2.11 from Lenny backports.
Any ideas? Everything I've found via Google relating to this Dovecot startup error has to do with people converting old dovecot.conf files to a new dovecot version.
-- Stan
Am 09.05.2010 14:43, schrieb Stan Hoeppner:
Per the instructions here http://wiki.dovecot.org/LDA and here http://wiki.dovecot.org/LDA/Postfix I set
postmaster_address = postmaster@hardwarefreak.com
in /etc/dovecot/dovecot.conf
"postmaster_address" has to be in an "protocol lda {}"-part:
protocol lda { postmaster_address = postmaster@hardwarefreak.com }
best regards,
Anton
--
ADIT Systems Anton Dollmaier, B.Sc. Im Moos 22 84323 Massing Telefon: +49-700-46862348* (Mo-Sa, 10:00-20:00 Uhr) Telefax: +49-700-32922348*
Twitter: http://twitter.com/ADITSystems Blog: http://blog.aditsystems.de/
Wiki: https://kunden.aditsystems.de/wiki/
(*: 12ct./Minute aus dem Netz der DTAG, ggf. abweichende Kosten aus dem Mobilfunknetz)
Anton Dollmaier put forth on 5/9/2010 7:46 AM:
Am 09.05.2010 14:43, schrieb Stan Hoeppner:
Per the instructions here http://wiki.dovecot.org/LDA and here http://wiki.dovecot.org/LDA/Postfix I set
postmaster_address = postmaster@hardwarefreak.com
in /etc/dovecot/dovecot.conf
"postmaster_address" has to be in an "protocol lda {}"-part:
It is. Any other suggestions?
-- Stan
Thomas Leuxner put forth on 5/9/2010 9:19 AM:
Am 09.05.2010 um 16:04 schrieb Stan Hoeppner:
"postmaster_address" has to be in an "protocol lda {}"-part:
It is. Any other suggestions?
-- Stan
What does 'dovecot -n' list, does it show the LDA section "syntactically" correct?
[10:01:28][root@greer]/etc/dovecot$ dovecot -n # 1.2.11: /etc/dovecot/dovecot.conf Error: Error in configuration file /etc/dovecot/dovecot.conf line 754: Unknown setting: postmaster_address Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
Damnit. I found it. It's always a stupid oversight...
I'd forgotten to remove the comment symbols from the top and bottom of the LDA section. It's easy to forget little things like this when one doesn't live and breath inside dovecot.conf daily.
#protocol lda { ... #}
It looks like it's working now:
May 9 10:17:18 greer dovecot: deliver(stan): msgid=4BE6D19E.3070205@lorentz.leidenuniv.nl: saved mail to INBOX May 9 10:17:18 greer postfix/local[14447]: 0DA0C6C3D2: to=stan@hardwarefreak.com, relay=local, delay=0.43, delays=0.38/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver)
Thanks for the help guys. If you'd not have kept my nose in dovecot.conf I'd not have found it.
-- Stan
participants (3)
-
Anton Dollmaier
-
Stan Hoeppner
-
Thomas Leuxner