mail queue does not deliver

Discussion in 'ISPConfig 3 Priority Support' started by Taleman, Apr 14, 2018.

  1. Taleman

    Taleman Active Member HowtoForge Supporter

    I tried correcting e-mail settings yesterday, but seems the situation got worse.
    mail.log shows lots of stuff similar to these:
    Code:
    Apr 14 10:02:00 posti amavis[29612]: (29612-12-8) Blocked MTA-BLOCKED {TempFailedInbound}, [178.33.154.99]:43926 [37.33.107.99] <[email protected]> -> <[email protected]>, Queue-ID: 81AC6A00FA, Message-ID: <[email protected]>, mail_id: oEhuErZY-P3k, Hits: -0.1, size: 5435, dkim_sd=default:mydomain.fi, 23583 ms
    Apr 14 10:02:01 posti postfix/smtp[30095]: 81AC6A00FA: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=8, delay=52598, delays=52446/129/0/24, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=29612-12-8 - Temporary MTA failure on relaying, From MTA() during fwd-connect (No greeting, dt: 20.198 s): id=29612-12-8 (in reply to end of DATA command))
    
    I have not figured out why the mail does not get delivered.
    I changed stuff to comply what howto and manual said.
    Code:
    [email protected]:~# postconf -n | grep mynetwork
    mynetworks = 127.0.0.0/8 12.34.567.192/27 [::1]/128
    
    There I had forgot to add my subnet. I tried also the IP-address of web server, where I expect to receive e-mails.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Attached Files:

  3. Taleman

    Taleman Active Member HowtoForge Supporter

    I compared the master.cf files, only diffs are on the mynetworks -lines, where in addition to localnet I have my subnet where this multiserver setup is.
    The setup is ISPConfig 3.1.11, Debian Stretch, hosts Web with everything except mail and DNS, host posti which does the e-mail and two name servers.
    While I was out of office, the web managed to send mails in it's mail queue. I had 480 mails before noon.
    Maybe they moved to posti, since it suddenly went from 120 mails in queue to now 691.
     
  4. Taleman

    Taleman Active Member HowtoForge Supporter

  5. Taleman

    Taleman Active Member HowtoForge Supporter

    Seems I finally found the mistake I had made. The mynetworks-setting is also in Postfix master.cf, the lines look exactly the same as in main.cf. I had added my subnet also in master.cf, which seems quite fatal to Postfix.
    What I do not understand is that I am sure I grepped fatal already this morning from mail.log. Somehow I have botched that and did not discover the fatal error messages.
     
    till likes this.

Share This Page