Hello

I am relatively new to postfix (great product by the way) & am
struggling with two issues.

1. Specifying a different Reply To
2. Bouncing a message back to external incoming mail

I have setup postfix as a relay for our systems to send messages
though which then get passed on to a central external mail server.
All of the mail has to be sent as the same email address in order to
be emailed using the central external server, I am doing address
rewrites smtp_generic_maps to converting the internal incoming
addresses to the single email address that all mail is emailed out
with. However I only want to write the reply to if the message has
come from certain servers

Also external incoming mail is hitting the server but being rejected.
This was going to our old exchange server, I would like to send a
message back (assuming the headers are valid & not spam) saying the
the email domain is no longer valid & they need to update their
address list.

Postconf –n
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
mydomain = mylocaldomain
mynetworks = hash:/etc/postfix/mynetworks
myorigin = relay@mylocaldomain
readme_directory = no
relayhost = myrelayserver:123
smtp_generic_maps = regexp:/etc/postfix/generic
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)

Thank you
Steve

Reply via email to