Mail Forward error

Discussion in 'ISPConfig 3 Priority Support' started by Fermin, May 6, 2022.

  1. Fermin

    Fermin New Member HowtoForge Supporter

    Hi,
    my server is blocking forwarded emails.

    NOQUEUE: reject: RCPT from unknown[IP_SERVER]: 554 5.7.1 <[email protected]>: Recipient address rejected: Access denied; from=<double-bounce@HOSTNAME> to=<[email protected]> proto=ESMTP helo=<HOSTNAME>
     
  2. Fermin

    Fermin New Member HowtoForge Supporter

    More info

    postfix/smtp[4425]: 836D8185D25: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.06, delays=0.01/0/0.04/0, dsn=5.7.1, status=undeliverable (host 127.0.0.1[127.0.0.1] said: 554 5.7.1 <[email protected]>: Recipient address rejected: Access denied (in reply to RCPT TO command))

    it was working fine until yesterday


    ok, it's failing Email Accounts -> Email Forward
    but not in Email Accounts -> Email Mailbox -> [email protected] -> Send copy to:
     
    Last edited: May 6, 2022
  3. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    This appears to be failing recipient restrictions on port 10025, what do you have in /etc/postfix/master.cf for 127.0.0.1:10025?
     
  4. Fermin

    Fermin New Member HowtoForge Supporter

    Code:
    127.0.0.1:10025 inet n - n - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o smtpd_end_of_data_restrictions=
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtp_send_xforward_command=yes
            -o disable_dns_lookups=yes
     
  5. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Your port 10025 entry is missing some directives, I would guess you probably have old conf-custom templates around which you need to update. Compare your conf-custom templates with the upstream templates (eg. in this case https://git.ispconfig.org/ispconfig...elop/install/tpl/master_cf_amavis10025.master) and update them, or you could even just re-run the installer and let it rename all your conf-custom templates and reconfigure services with the default templates, then incorportate any customisations you need afterwards.
     
  6. Fermin

    Fermin New Member HowtoForge Supporter

    Thanks,
    how do i re-run the installer?
    I have tried without success

    Code:
    cd /tmp
    wget https://www.ispconfig.org/downloads/ISPConfig-3.2.tar.gz
    tar xvfz ISPConfig-3.2.tar.gz
    cd ispconfig3_install/install
    php -q update.php
     
  7. Fermin

    Fermin New Member HowtoForge Supporter

    I have temporarily fixed the problem by commenting out the lines

    Code:
    #address_verify_virtual_transport = smtp:[127.0.0.1]:10025
    #address_verify_transport_maps = static:smtp:[127.0.0.1]:10025
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Run
    Code:
    ispconfig_update.sh --force
     
  9. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Actually you just shifted to a different, but less commonly encountered problem.
     

Share This Page