Message rejected due to: SPF fail - not authorized (Email Forward)

Discussion in 'General' started by PP2000, May 29, 2024.

  1. PP2000

    PP2000 New Member

    Hy everybody,

    i have the following problem, i created an "Email Forward"
    * Email: [email protected]
    * Dest.: [email protected], [email protected], [email protected]
    * Send as: [x] Allow targe to send mail ...
    * Enable greylisting: [ ]
    * Active: [x]

    The email [email protected] has
    - No "Email Mailbox"
    - is added as "Email Domain" under "Email Accounts"-> Domain
    - is added under "Relay Domains"
    - is addes under "Relay Recipients"

    Now, when is send an eMail from my [email protected]-Adress to "[email protected]", i will get the mail on my "[email protected]",
    but not on [email protected] and not on [email protected], the error message i get as sender:
    ----
    <[email protected]> (expanded from <[email protected]>): host
    mx2.i-med.ac.at[193.171.76.50] said: 550 5.7.1 <[email protected]>:
    Recipient address rejected: Message rejected due to: SPF fail - not
    authorized. Please see
    http://www.openspf.net/Why?s=mfrom;[email protected];ip=81.7.4.104;[email protected]
    <[email protected]> (expanded from <[email protected]>): host
    mx2.i-med.ac.at[193.171.76.50] said: 550 5.7.1 <[email protected]>:
    Recipient address rejected: Message rejected due to: SPF fail - not
    authorized. Please see
    http://www.openspf.net/Why?s=mfrom;[email protected];ip=81.7.4.104;[email protected]

    -----

    Sure, the SPF-Entry of @i-med.ac.at has restricted eMail sending of @i-med.ac.at-Mails only from their mail-server, but
    why my eMail-Forward does not use "[email protected]" as sending eMail-address?

    Best regards

    PP
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Because it would not be email forwarding then, it would be the creation of a new email by copying content of an incoming email and sending it under your own address.

    You might want to search the internet for SRS and especially postsrsd https://github.com/roehling/postsrsd t learn more about sender rewriting scheme.
     
    PP2000 likes this.

Share This Page