During testing of the new server, I noticed a significant delay during the delivery of email of up to 10 minutes. The delay seems to be caused by the smmap process while it attempts to connect to tcp port 12345 on the backend server. iptables on the backend server was configured to ignore attempts to connect on tcp port 12345. Changing iptables to reject connections to tcp port 12345 sped up the process considerably.
What process is supposed to be listening on that port? Here's output from /var/log/maillog. mailstore03 is the correct backend server for my mailbox.
Mar 24 14:41:25 postoffice04 smmapd[31605]: executed Mar 24 14:42:41 postoffice04 smmapd[31605]: accepted connectionMar 24 14:42:41 postoffice04 smmapd[31605]: verify_user(user.rspell) proxying to host mailstore03.bates.edu Mar 24 14:42:41 postoffice04 smmapd[31605]: verify_user(user.rspell) failed: can't connect to mailstore03.bates.edu
begin:vcard fn:Robert Spellman n:Spellman;Robert org:Bates College;Information and Library Services adr;dom:;;110 Russell Street;Lewiston;Maine;04240 email;internet:rspell@xxxxxxxxx title:Assistant Director of Network Services tel;work:207-786-6422 note:01000111011011110010000001010010011001010110010001010011011011110111100000100001 x-mozilla-html:TRUE url:http://www.bates.edu/ version:2.1 end:vcard
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html