Set postfix in ISPCONFIG to send email just with valid email account

Discussion in 'Installation/Configuration' started by rubenzsolt, Sep 30, 2017.

  1. rubenzsolt

    rubenzsolt New Member

    Hello, Please can help, how can I set postfix to send email just with valid email account, and if the email adress not have a email account to send a error message.
    Thanks in advance.
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Try adding this to /etc/postfix/
    smtpd_reject_unlisted_recipient = yes
    smtpd_reject_unlisted_sender = yes
    Also you might try the 'Reject sender and login mismatch' setting in Server > Server Config > {server} > Mail (see and note ISPConfig actually uses reject_unauthenticated_sender_login_mismatch, just below that).

Share This Page