[courier-users] Message delivered, but no message in INBOX
Hello, I'm still configuring the new server. The 456 error is resolved, thanks, but now I have a new problem. Looking at log files, it seems local delivery is ok. Here is an example of my logs for a test message from GMail to i...@usosalix.com: May 14 01:05:57 maxwell courieresmtpd: started,ip=[:::10.7.33.100] May 14 01:05:59 maxwell courierd: newmsg,id=0060075F.59179156.7FBD: dns; mail-pf0-f175.google.com ([:::10.7.33.100]) May 14 01:05:59 maxwell courieresmtpd: The TLS connection was non-properly terminated. May 14 01:05:59 maxwell courierd: started,id=0060075F.59179156.7FBD,from=,module=local,host=i...@usosalix.com!!5000!5000!/home/mail/usosalix.com/info!!,addr= May 14 01:05:59 maxwell courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=1, inprogress=1 May 14 01:05:59 maxwell spamd[10205]: spamd: connection from localhost [::1]:54448 to port 783, fd 5 May 14 01:05:59 maxwell spamd[10205]: spamd: setuid to mailboxes succeeded May 14 01:05:59 maxwell spamd[10205]: spamd: processing message for mailboxes:5000 May 14 01:05:59 maxwell spamd[10205]: spamd: clean message (0.3/5.0) for mailboxes:5000 in 0.1 seconds, 2651 bytes. May 14 01:05:59 maxwell spamd[10205]: spamd: result: . 0 - ALL_TRUSTED,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,T_DKIM_INVALID scantime=0.1,size=2651,user=mailboxes,uid=5000,required_score=5.0,rhost=localhost,raddr=::1,rport=54448,mid= ,autolearn=no autolearn_force=no May 14 01:05:59 maxwell spamd[10204]: prefork: child states: II May 14 01:05:59 maxwell courierlocal: id=0060075F.59179156.7FBD,from= ,addr= ,size=2651,success: Message delivered. May 14 01:05:59 maxwell courierd: completed,id=0060075F.59179156.7FBD May 14 01:05:59 maxwell courierd: Waiting. shutdown time=Sun May 14 01:36:27 2017, wakeup time=Sun May 14 01:36:27 2017, queuedelivering=0, inprogress=0 here is the userdb entry for i...@usosalix.com: i...@usosalix.com home=/home/mail/usosalix.com/info|uid=5000|gid=5000|systempw=??? and here are the contents of the Maildir after the logs above: # cd /home/mail/usosalix.com/info # ls -laR .: total 16 drwxr-sr-x 3 mailboxes mailboxes 4096 May 14 01:05 . drwxr-sr-x 3 root mailboxes 4096 May 14 01:05 .. -rw-r--r-- 1 mailboxes mailboxes 16 May 14 01:05 .courier-sent drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 Maildir ./Maildir: total 32 drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 . drwxr-sr-x 3 mailboxes mailboxes 4096 May 14 01:05 .. drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 cur drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .Drafts drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 new drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .Sent drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 tmp drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .Trash ./Maildir/cur: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Drafts: total 20 drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 .. drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 cur -rw--- 1 mailboxes mailboxes0 May 14 01:05 maildirfolder drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 new drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 tmp ./Maildir/.Drafts/cur: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Drafts/new: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Drafts/tmp: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/new: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Sent: total 20 drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 8 mailboxes mailboxes 4096 May 14 01:05 .. drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 cur -rw--- 1 mailboxes mailboxes0 May 14 01:05 maildirfolder drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 new drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 tmp ./Maildir/.Sent/cur: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Sent/new: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/.Sent/tmp: total 8 drwx-- 2 mailboxes mailboxes 4096 May 14 01:05 . drwx-- 5 mailboxes mailboxes 4096 May 14 01:05 .. ./Maildir/tmp:
Re: [courier-users] 456 Address temporarily unavailable
On 05/13/2017 12:53 AM, Lucio Crusca wrote: > Now for the problem. Out of 6 accounts. 5 do work correctly. For one of > them Courier replies "456 Address temporarily unavailable". > "courier clear" on maxwell does not change the reply I get afterwards. In case it helps: you probably want to look at log entries matching "courierlocal:" and the address that's failing in /var/log/maillog (or Debian's equivalent. I'm unsure if they use that path). You're looking for a failure that occurred before the earliest of your 456 errors, so it might be useful to identify when the first of those occurred. grep courierlocal: /var/log/maillog | grep address # look for a failure earlier than the first 456 -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] 456 Address temporarily unavailable
Lucio Crusca writes: Now for the problem. Out of 6 accounts. 5 do work correctly. For one of them Courier replies "456 Address temporarily unavailable". "courier clear" on maxwell does not change the reply I get afterwards. The 456 occurs only after a previous mail delivery failure. It's a temporary block on an email address that failed delivery. There's nothing to be done about it, the only thing you can do is address the original delivery failure. You need to carefully examine your logs and locate the original delivery failure. The "courier clear" command takes an argument, either the email address or "courier clear all". The email address given to "courier clear" may not necessarily be what you think it is when it is a local address, as a result of mail aliasing. So use "courier clear all" to remove all addresses, then make a delivery attempt, and carefully observe what the logs say. pgpsQjXb2M6Ts.pgp Description: PGP signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
[courier-users] 456 Address temporarily unavailable
Hello, I'm trying to configure a new Courier-MTA server at maxwell.virtualbit.it. It's a Debian 9 Stretch system behind a NAT (kvm virtualization) and the installed Courier is the Debian packaged version (0.76.3). I already have another Courier-MTA working at nmx.sulweb.org. This is a production server and it is running Debian 8 Jessie and Courier 0.73.1. The new server (maxwell) is hosting one domain only (studiobertolotto.org) and 6 accounts in that domain, but it is configured to host several domains with virtual accounts. userdb file holds the accounts, no sql nor ldap databases here. The MX record for studiobertolotto.org does currently not point maxwell, so that I can test it before making it a production server (the current MX record points to yet another production server which is not nmx.sulweb.org and it runs Postfix). The 6 accounts maildirs have been populated with real content using imapsync. The current production server (nmx.sulweb.org) does NOT host studiobertolotto.org, and I use it in my email client as smarthost to send emails. It has the following in /etc/courier/esmtproutes: studiobertolotto.org: maxwell.virtualbit.it so that when I try to send a test message to one of the 6 accounts, the message actually gets routed to the new server instead of the real one. Now for the problem. Out of 6 accounts. 5 do work correctly. For one of them Courier replies "456 Address temporarily unavailable". "courier clear" on maxwell does not change the reply I get afterwards. The only difference I could find between that account and the others, is that the non working account maildir contains worth of 21GB of messages, while others are much smaller. However I've no quota configured, no -q option ever used to maildirmake, and virtual accounts, so no filesystem-level quota is possible. What else in my setup can cause a 456 reply? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users