• [gentoo-user] postfix error: External senders are prohibited to send to

    From Thelma@21:1/5 to All on Sun Jul 7 07:20:01 2024
    I have postfix running on two systems, identical configuration (I think)

    One system is sending mail, that is accepted by my provider
    Backup system is giving me error: /var/log/mail.log

    ... status=bounced (host mail.domain.com[69.xx.xxx.xxx] said: 550 5.7.1 <[email protected]>... External senders are prohibited to send to local recipients without authentication (in reply to RCPT TO command))

    Does these two files need special command to activate them? They seem to be simple text files.

    /etc/postfix/sender_canonical
    /etc/postfix/saslpass

    Both these files are identical on both systems.

    --
    Thelma

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to All on Mon Jul 8 07:30:01 2024
    Hello Thelma,

    depends on how these files are configured in your main.cf.
    If it says

    smtp_sasl_password_maps = hash:/etc/postfix/saslpass
    and/or
    sender_canonical_maps = hash:/etc/postfix/sender_canonical

    you have to build the hashtables with
    postmap hash:/etc/postfix/saslpass
    and/or
    postmap hash:/etc/postfix/sender_canonical

    A "postfix reload" (or a restart of the service) might be necessary
    after creating the hashtables.

    Other filetypes might be supported too, have a look into "man postmap"
    for more info.

    Kind regards,
    David

    Am 2024-07-07 07:12, schrieb Thelma:
    ...


    ... status=bounced (host mail.domain.com[69.xx.xxx.xxx] said: 550 5.7.1 <[email protected]>... External senders are prohibited to send to local recipients without authentication (in reply to RCPT TO command))

    Does these two files need special command to activate them? They seem
    to be simple text files.

    /etc/postfix/sender_canonical
    /etc/postfix/saslpass

    ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thelma@21:1/5 to [email protected] on Tue Jul 9 01:00:01 2024
    Thank you for the input.
    Yes, you are correct, in my case "postfix" was missing "sasl" flag.
    I needed to run:
    postmap hash:/etc/postfix/saslpass

    and add entry to:
    /etc/postfix/sender_canonical

    now it works; until Rogers decided to add something new.


    On 7/7/24 23:24, [email protected] wrote:
    Hello Thelma,

    depends on how these files are configured in your main.cf.
    If it says

    smtp_sasl_password_maps = hash:/etc/postfix/saslpass
    and/or
    sender_canonical_maps = hash:/etc/postfix/sender_canonical

    you have to build the hashtables with
    postmap hash:/etc/postfix/saslpass
    and/or
    postmap hash:/etc/postfix/sender_canonical

    A "postfix reload" (or a restart of the service) might be necessary after creating the hashtables.

    Other filetypes might be supported too, have a look into "man postmap" for more info.

    Kind regards,
    David

    Am 2024-07-07 07:12, schrieb Thelma:
    ...


    ... status=bounced (host mail.domain.com[69.xx.xxx.xxx] said: 550 5.7.1 <[email protected]>... External senders are prohibited to send to local recipients without authentication (in reply to RCPT TO command))

    Does these two files need special command to activate them? They seem to be simple text files.

    /etc/postfix/sender_canonical
    /etc/postfix/saslpass

    ...


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)