error with lmtpd socket... first time setting up mail server
I'm setting up a mailserver for one domain with Postfix+Cyrus-imapd+cyrus-sasld… This is on CentOS4 (RHEL). I'm pretty sure I got postfix working OK… I can use the mail command to send a test message to an external account an it works fine. When I try to send mail to a local user, though, I get a message like this:
Mar 30 09:42:16 li9-32 postfix/pipe[28596]: 33CD441BA6: to=<sam@predisposition.com>, relay=cyrus, delay=1001, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Bad file descriptor_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )</sam@predisposition.com>
predisposition.com is the domain for this server. I have tried changing the mailboxtransport in /etc/postfix/main.cf a couple of times – the above error comes after changing mailboxtransport to "cyrus"… I get a similar error if I change it to either of the following:
#mailbox_transport = lmtp:unix:/usr/lib/cyrus-imapd/lmtpd
Mar 30 09:55:37 li9-32 postfix/lmtp[28644]: 7D85641BD7: to=<sam@predisposition.com>, relay=none, delay=0, status=deferred (connect to /usr/lib/cyrus-imapd/lmtpd[/usr/lib/cyrus-imapd/lmtpd]: Connection refused)</sam@predisposition.com>
mailbox_transport = lmtp:unix:/usr/libexec/postfix/lmtp
Mar 30 09:54:18 li9-32 postfix/lmtp[28626]: 71D5641BD4: to=<sam@predisposition.com>, relay=none, delay=1100, status=deferred (connect to /usr/libexec/postfix/lmtp[/usr/libexec/postfix/lmtp]: Connection refused)</sam@predisposition.com>
I've searched through many tutorials and find it's hard to get a coherent idea of how to set this up – any help would be MUCH appreciated.
Thanks,
Sam
3 Replies
Postfix -
Cyrus -
However on Centos 4 I get:
DBERROR db4: Berkeley DB library configured to support only DB_PRIVATE environments
This was something that came about in FC2 and was to be fixed in FC3, but it looks like Centos and I think SuSE is also compiling db4 for private environments.
Google on DB_PRIVATE for some details.
I haven't figured out my next move yet, but this may be related to what you are doing / seeing. However I'm far from a mail expert, I'm still on "L" plates.