Is there a way to munge/rewrite the -owner and -bounces emails? = Otherwise, I had to go through the following to be able to use AWS SES:
A note for going through AWS SES=E2=80=A6 The messages to -owner and = -bounces just get forwarded through, not re-written/munged. Because = they can come from anyone, you cannot send them through AWS. I ended up = using header dependent relays in Postfix:
main.cf: header_checks =3D pcre:/etc/postfix/header_dependent_relay
And in /etc/postfix/header_dependent_relay file:
# # Bounce messages are supposed to go to us # /^From:.*-bounces\@lists\.example\.com/ DUNNO /^From:.*-owner\@lists\.example\.com/ DUNNO =20 # # Send certain domains out through Amazon # /^From:.*\@lists\.example\.com/ FILTER = smtpamazon:[your-smtp-relay.amazonaws.com]:587
And add this block to /etc/postfix/main.cf:
# # Send through Amazon SES # smtpamazon unix - - - - 10 smtp -o smtp_sasl_password_maps=3Dhash:/etc/postfix/sasl_passwd
That will let the emails from -bounces and -owner directly out, but = redirect any list traffic through SES.
Seth
On May 15, 2020, at 12:31 PM, Samir Faci <samir@esamir.com> wrote: =20 I'm trying to use AWS SES as a mail relay for IP Health and other = tidbits and it seems like it's very particular on what the headers look like. =20 The FROM field has to be from a verified email meaning the list name = has to be in the from field. =20 I'm getting something along these lines for the rejection: =20 May 15 16:28:26 lists postfix/smtp[2938320]: 1EA6C13880A: to=3D< csgeek@esamir.com>, = relay=3Demail-smtp.us-west-2.amazonaws.com[52.88.99.145]:587, delay=3D0.76, delays=3D0.01/0.02/0.43/0.31, dsn=3D5.0.0, = status=3Dbounced (host email-smtp.us-west-2.amazonaws.com[52.88.99.145] said: 554 Message rejected: Email address is not verified. The following identities = failed the check in region US-WEST-2: Samir Faci <samir@esamir.com> (in reply = to end of DATA command)) =20 If on the other hand I enable the Anonymous list option then = everything works, but I obviously have no clue who sent the email or how to = respond to the person (if they're not subscribed) =20 Is there a way to force mailman to ensure that the list name shows up = in the from field? =20 =20 --=20 Thank you Samir Faci https://keybase.io/csgeek
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/