One of three mail domains slow and delaying transfers
I have three mail domains on my server. I recently added the third domain and it is very slow and most of the mail is getting put into the deferred queue.
As far as I can tell all the user and domains are configured exactly the same.
user x gets mail on abc.com domain
user y gets mail on ghf.com domain
user z gets mail on mno.com domain <-- this one is the problem
all hosts go to the same IP and resolve correctly. mail is configured for all domains in the same way.
I've upgraded to apache 2, php 5, and setup roundcube web mail. I've only tried IMAP for the accounts checking with apple mail and the web mail through roundcube and the newest account is the only one having problems.
outgoing mail seems to work fine but incoming ends up on the deferred folder. I've issue 'postfix flush' and it still ends up back in the deferred queue.
Here is my attempt to send and email to the user account from my gmail account
Logging is set to high (via admin tool)
Dec 15 19:32:53 pine postfix/smtpd[10690]: connect from mail-yx0-f180.google.com[209.85.210.180]
Dec 15 19:32:54 pine postfix/cleanup[10683]: 32F745CDC1B: message-id=<509E4B10-3B92-4399-982A-0B91E78E9E41@gmail.com>
Dec 15 19:32:54 pine postfix/qmgr[1345]: 32F745CDC1B: from=<stiv.thomas@gmail.com>, size=1999, nrcpt=1 (queue active)
Dec 15 19:33:17 pine postfix/pipe[10672]: 022395CC4AA: to=<userx@abc.com>, relay=cyrus, delay=337919, status=deferred (temporary failure)
Dec 15 19:33:20 pine postfix/smtpd[10681]: disconnect from 174-153-141-138.pools.spcsdns.net[174.153.141.138]
Dec 15 19:33:24 pine postfix/smtpd[10690]: disconnect from mail-yx0-f180.google.com[209.85.210.180]
I also saw this after doing a restart not sure if this was just a problem during start of the mail service or relates to the underlying issue.
Dec 15 22:18:44 pine postfix/pipe[11620]: 32F745CDC1B: to=<userx@abc.com>, relay=cyrus, delay=9951, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: No such file or directory_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
Dec 15 22:18:44 pine postfix/pipe[11618]: 022395CC4AA: to=<userx@abc.com>, relay=cyrus, delay=347846, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: No such file or directory_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )
where is your user information ? LDAP local master or local Replica, or on another machine?
it seems although Im not seeing a 550 errror code, that your system doesn't know userx.
finally got it working
here's what I ended up doing (most done through admin and workgroup manager)
1. stop mail service
2. delete the user account
3. recreate the user account (different full name and initial short name)
-- used open directory auth
-- set mail mail option to smtp with server set accordingly
4. added short name the same as previous (matched /var/spool/user/[shortusername]
5. removed any aliases for the account from /etc/postfix/aliases (user name and short names are the only ones which will be used so no need for aliases)
6. restarted mail
7. ran newaliases, postalias..., postfix flush
check both apple mail and web mail (roundcube) and all is good. (now if someone would help with my ssh problem....)