mail problem

Discussion in 'ISPConfig 3 Priority Support' started by Tom John, Feb 5, 2022.

  1. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys
    i am using ubuntu 20.04 and ispconfig 3 according to:
    https://www.howtoforge.com/community/threads/autoinstall-ispconfig.87470/#post-426305
    i setup an email forwarding from [email protected] to another email address and when i send a testmail from [email protected] i get in the logs the following result:
    Code:
    Feb  5 16:52:03 server6 postfix/smtpd[524325]: NOQUEUE: filter: RCPT from mail-pg1-f171.google.com[209.85.215.171]: <[email protected]>: Sender address triggers FILTER lmtp:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-pg1-f171.google.com>
    Feb  5 16:52:03 server6 postfix/smtpd[524325]: NOQUEUE: filter: RCPT from mail-pg1-f171.google.com[209.85.215.171]: <[email protected]>: Sender address triggers FILTER lmtp:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-pg1-f171.google.com>
    Feb  5 16:52:04 server6 postfix/smtpd[524325]: warning: connect to 127.0.0.1:10023: Connection refused
    Feb  5 16:52:04 server6 postfix/smtpd[524325]: warning: problem talking to server 127.0.0.1:10023: Connection refused
    
    
    Feb  5 16:52:05 server6 postfix/smtpd[524325]: NOQUEUE: reject: RCPT from mail-pg1-f171.google.com[209.85.215.171]: 451 4.3.5 <[email protected]>: Recipient address rejected: Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-pg1-f171.google.com>
    
    
    do you have any idea what is wrong with the server configuration?
    thanks for your help
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Check if postgrey is installed, and try starting it up. Look for errors if it won't start.
     
  3. Tom John

    Tom John Active Member HowtoForge Supporter

    hi thanks for your answer
    postfix is installed and as i see it is running
    i can move the domain to another server to see if its running there.
    I already bought the ispconfig migration tool, but i dont find it can you help me where i can download it ? i have the activation key already
    thanks a lot for your kind help
     
  4. Tom John

    Tom John Active Member HowtoForge Supporter

    i just found the migration tool many thanks
     
  5. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Note I said check postgrey, which is what should be listening on port 10023, not postfix. Moving things to another server would also be an option if the mail system works there, though certainly not necessary to fix this problem.
     
  6. Tom John

    Tom John Active Member HowtoForge Supporter

    thanks for your kind answer.
    i think postgrey is running well what do you think
    Code:
    tomdf@server6:~$ sudo service postgrey status
    ● postgrey.service - LSB: Start/stop the postgrey daemon
         Loaded: loaded (/etc/init.d/postgrey; generated)
         Active: active (exited) since Wed 2022-01-12 18:23:16 CET; 3 weeks 4 days ago
           Docs: man:systemd-sysv-generator(8)
          Tasks: 0 (limit: 9480)
         Memory: 0B
         CGroup: /system.slice/postgrey.service
    
    Jan 12 18:23:16 server6.cl-i.net postgrey[525]: whitelisted: 194.7.234.143/32
    Jan 12 18:23:16 server6.cl-i.net postgrey[525]: whitelisted: 213.143.66.210/32
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: Process Backgrounded
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: 2022/01/12-18:23:16 postgrey (type Net::Server::Multiplex) star>
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: Resolved [localhost]:10023 to [::1]:10023, IPv6
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
    Jan 12 18:23:16 server6.cl-i.net postgrey[439]:    ...done.
    Jan 12 18:23:16 server6.cl-i.net systemd[1]: Started LSB: Start/stop the postgrey daemon.
    Jan 12 18:23:16 server6.cl-i.net postgrey[630]: Binding to TCP port 10023 on host ::1 with IPv6
    
    
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you still get the exact same error as in the first post now?
     
  8. Tom John

    Tom John Active Member HowtoForge Supporter

    hi thanks for your answer.
    Yes i get still the same error like before
    Code:
    Feb  9 19:31:02 server6 postfix/smtpd[1256137]: NOQUEUE: filter: RCPT from mail-wr1-f50.google.com[209.85.221.50]: <[email protected]>: Sender address triggers FILTER lmtp:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-wr1-f50.google.com>
    Feb  9 19:31:02 server6 postfix/smtpd[1256137]: NOQUEUE: filter: RCPT from mail-wr1-f50.google.com[209.85.221.50]: <[email protected]>: Sender address triggers FILTER lmtp:[127.0.0.1]:10024; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-wr1-f50.google.com>
    Feb  9 19:31:02 server6 postfix/smtpd[1256137]: warning: connect to 127.0.0.1:10023: Connection refused
    Feb  9 19:31:02 server6 postfix/smtpd[1256137]: warning: problem talking to server 127.0.0.1:10023: Connection refused
    Feb  9 19:31:03 server6 postfix/smtpd[1256137]: warning: connect to 127.0.0.1:10023: Connection refused
    Feb  9 19:31:03 server6 postfix/smtpd[1256137]: warning: problem talking to server 127.0.0.1:10023: Connection refused
    Feb  9 19:31:03 server6 postfix/smtpd[1256137]: NOQUEUE: reject: RCPT from mail-wr1-f50.google.com[209.85.221.50]: 451 4.3.5 <[email protected]>: Recipient address rejected: Server configuration problem; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-wr1-f50.google.com>
    
    
     
  9. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,
    i moved the domain to another server which i setup new and still have the same problems.
    i get a reply from gmail when i sent an email as follows:
    Code:
    Die Antwort vom Remoteserver ist:
    
    554 5.7.1 <mail-wr1-f47.google.com[209.85.221.47]>: Client host rejected: Access denied
    
    the logfile give this information:
    Code:
    Feb 12 11:05:09 server5 postfix/smtpd[1060009]: connect from mail-wr1-f50.google.com[209.85.221.50]
    Feb 12 11:05:10 server5 postfix/smtpd[1060009]: NOQUEUE: reject: RCPT from mail-wr1-f50.google.com[209.85.221.50]: 554 5.7.1 <mail-wr1-f50.google.com[209.85.221.50]>: Client host rejected: Access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-wr1-f50.google.com>
    Feb 12 11:05:10 server5 postfix/smtpd[1060009]: disconnect from mail-wr1-f50.google.com[209.85.221.50] ehlo=2 starttls=1 mail=1 rcpt=0/1 bdat=0/1 quit=1 commands=5/7
    
    
    postgrey seems to be running:
    Code:
    omdf@server5:~$ sudo service postgrey status
    ● postgrey.service - LSB: Start/stop the postgrey daemon
         Loaded: loaded (/etc/init.d/postgrey; generated)
         Active: active (exited) since Thu 2022-02-10 11:48:00 CET; 1 day 23h ago
           Docs: man:systemd-sysv-generator(8)
          Tasks: 0 (limit: 9480)
         Memory: 0B
         CGroup: /system.slice/postgrey.service
    
    Feb 10 11:48:00 server5.cl-i.net postgrey[503]: whitelisted: 194.7.234.143/32
    Feb 10 11:48:00 server5.cl-i.net postgrey[503]: whitelisted: 213.143.66.210/32
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: Process Backgrounded
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: 2022/02/10-11:48:00 postgrey (type Net::Server::Multiplex) starting! pid(592)
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: Resolved [localhost]:10023 to [::1]:10023, IPv6
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
    Feb 10 11:48:00 server5.cl-i.net postgrey[437]:    ...done.
    Feb 10 11:48:00 server5.cl-i.net systemd[1]: Started LSB: Start/stop the postgrey daemon.
    Feb 10 11:48:00 server5.cl-i.net postgrey[592]: Binding to TCP port 10023 on host ::1 with IPv6
    
    
    for another domain on that server i get an error on dovecot
    Code:
        lda([email protected])<776063><>: Error: auth-master: userdb lookup([email protected]): Auth USER lookup failed: 1 Time(s)
        lda([email protected])<778883><>: Error: auth-master: userdb lookup([email protected]): Auth USER lookup failed: 1 Time(s)
    
    Any idea how to fix that?
    thanks in advance
     
    Last edited: Feb 12, 2022

Share This Page