Problems with Sendmail and Dovecot
I am using Fedora 17 running Sendmail with Dovecot. My problem is I can’t get Outlook or Thunderbird to connect to the server. Sendmail is accepting and sending mail by terminal command line with no problems. This is the error I get from Outlook when trying to test the connection:
“Log onto incoming mail server (POP3): Your mailbox is temporarily unavailable because another e-mail message is being delivered to it or another mail application is accessing it. The server responded: -ERR [IN-USE] Internal error occurred. Refer to server log for more information.” Mail log displays this: Jan 2 12:22:12 kipperdo dovecot: pop3-login: Login: user=<kip>, method=PLAIN, rip=68.14.209.149, lip=192.168.0.4, mpid=6475, TLS, session=<uBzRKVPSdgBEDtGV> Jan 2 12:22:12 kipperdo dovecot: pop3(kip): Error: user kip: Initialization failed: Namespace '': Mail storage autodetection failed with home=/home/kip Jan 2 12:22:12 kipperdo dovecot: pop3(kip): Error: Invalid user settings. Refer to server log for more information. Jan 2 12:22:13 kipperdo sendmail[6476]: r02JMCsx006476: from=<kip@kipperdo.com>, size=0, class=0, nrcpts=1, proto=ESMTP, daemon=MTA, relay=wsip-68-14-209-149.ph.ph.cox.net [68.14.209.149] Jan 2 12:22:13 kipperdo sendmail[6476]: r02JMCt1006476: from=<kip@kipperdo.com>, size=354, class=0, nrcpts=1, msgid=<201301021922.r02JMCt1006476@kipperdo.com>, proto=ESMTP, daemon=MTA, relay=wsip-68-14-209-149.ph.ph.cox.net [68.14.209.149] Jan 2 12:22:13 kipperdo sendmail[6477]: r02JMCt1006476: to=<kip@kipperdo.com>, ctladdr=<kip@kipperdo.com> (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30674, dsn=2.0.0, stat=Sent Any help would be appreciated. Thanks, |
I'd guess that sendmail is writing mbox mail to a location like /var/spool/mail/username but dovecot uses Maildri format storage by default, i.e. /home/user/Maildir/*, so you'd need to decide which mailbox type you prefer and make both systems use them. Note Postfix is often much nicer to use than sendmail and uses Maildir by default, so works well with Dovecot
|
Quote:
|
Thanks for the suggestion, but I am not sure what file to modify for a re-direct. I have older versions of the sendmail and dovecot, that work. Just planning to update the server and did some testing when I came upon this problem. Someone has had to run across this before, it is a simple web server install with no abnormal changes to the settings.
|
not abnormal doesn't mean everything magically works. You say you did some updates... what were they? It was working before, you did X, and now it doesn't. so what mail box format are you using?
|
Yep, I agree it may need fine tuning, but the update statement was about a new mail server. Sendmail is working fine if you use the command line (accepting and sending mail). It's just being fussy about any mail client trying to connect to it. I did some digging on Dovecot issues and found this statement: mail_location = mbox:~/mail:INBOX=/var/mail/%u but it did not work.
|
as above, where IS the mail going? There's no point saying it's an mbox at /var/mail/%u if that's not true.
|
it goes to to /var/spool/mail
|
right, so configure your dovecot config appropriately. /var/spool/mail != /var/mail...
|
Resolved
Resolved, Thanks for the help and this is how I ended up getting it to work. I edited the /etc/dovecot/conf.d/10-mail.conf file. I removed the # from the statement mail_location = maildir:~/Maildir
Outlook now passes the connection test and mail is working. Thanks again for your input. |
All times are GMT -5. The time now is 03:43 AM. |