Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Mar 30, 2005 10:56 am 
Offline
Newbie

Joined: Wed Mar 30, 2005 10:48 am
Posts: 2
Hi,

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:
Code:
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_ )

predisposition.com is the domain for this server. I have tried changing the mailbox_transport in /etc/postfix/main.cf a couple of times -- the above error comes after changing mailbox_transport to "cyrus"... I get a similar error if I change it to either of the following:
Code:
#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)

#mailbox_transport = lmtp:unix:/usr/libexec/postfix/lmtp
Code:
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)

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


Top
   
 Post subject:
PostPosted: Wed Mar 30, 2005 3:11 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
What are you trying to achieve by setting mailbox_transport? What does your system do when mailbox_transport is set to the default value (empty)?

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Wed Mar 30, 2005 7:25 pm 
Offline
Newbie

Joined: Wed Mar 30, 2005 10:48 am
Posts: 2
OK, EDIT here -- I took away (commented out) the varriables in question, and now here is the situation. The mail to my new server is going into the ~/Maildir/new directory as it should... but when I check the mail via a client, the IMAP client looks in /var/spool/mail/... So, that's funny. I think I'm very close, though.


Top
   
 Post subject:
PostPosted: Sat Apr 02, 2005 7:56 am 
Offline
Senior Member

Joined: Wed Oct 20, 2004 8:55 am
Posts: 120
I tried setting mail using:

Postfix - http://postfix.state-of-mind.de/patrick ... index.html

Cyrus - http://www.delouw.ch/linux/Postfix-Cyru ... ml/t1.html

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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group