• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Plesk Postfix configuration allows authenticated users to use any sender address

philippL

New Pleskian
I was trying to block incoming emails that use our own domains as the FROM address. I found this link: http://serverfault.com/questions/688758/reject-incoming-emails-that-use-your-own-domain-as-sender. Then I noticed this part in the default Plesk postfix configuration:
Code:
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
There is no entry "reject_sender_login_mismatch" like the one in the article. This means I can use any FROM address I'd like - even from foreign domains! According to the postfix documentation I need to set "$smtpd_sender_login_maps" - but I have no clue how to configure that correctly in Plesk. Does anyone know how?

And does changing this break PHP scripts using the "mail" function (or local sendmail)?
 
Back
Top