And I would use "check_client_access" instead?
Yes. Note that trailing comments are not part of the Postfix
map syntax. Any comment must occupy its entire line.
Good to know. I would have screwed this up at some point if I haven't
already.
You can use a CIDR map if you prefer, someth
On Wed, Sep 01, 2021 at 09:49:21PM -0400, Steve Dondley wrote:
> > I would have opted for "client" rather than "sender" checks, provided a
> > sufficiently stable/comprehensive range of source IP addresses for the
> > forwarding host were available.
>
> OK, took a quick look at the documentation
I would have opted for "client" rather than "sender" checks, provided a
sufficiently stable/comprehensive range of source IP addresses for the
forwarding host were available.
OK, took a quick look at the documentation on this but still left with
questions. So would "client" be the same as HO
On Wed, Sep 01, 2021 at 04:05:55PM -0400, Steve Dondley wrote:
> Thank you. Problem solved. For the benefit of others:
>
> 1) Add /etc/postfix/sender_checks file:
>
> amazonses.com OK
>
> 2) Add check to smtpd_recipient_restrictions config in main.cf:
>
> smtpd_recipient_restrictions = permit_
Anything else I can try?
Yes, far better to disable SPF checks on hostB when receiving mail from
hostA.
Thank you. Problem solved. For the benefit of others:
1) Add /etc/postfix/sender_checks file:
amazonses.com OK
2) Add check to smtpd_recipient_restrictions config in main.cf:
smtpd_re
On Wed, Sep 01, 2021 at 06:37:59AM -0400, Steve Dondley wrote:
> So I followed the instructions at
> http://www.postfix.org/ADDRESS_REWRITING_README.html#generic for generic
> mapping and set that up. I modified main.cf with:
Which leads you to http://www.postfix.org/generic.5.html
TABLE S
smtp_generic_maps = hash:/etc/postfix/smtp_generic_map
Forgive the typo in this email. I have it correctly entered in the
actual config file as: "smtp_generic_maps =
hash:/etc/postfix/smtp_generic_maps"
I have a mail server the receives email from a website. The website uses
Amazon SES to send its email out. This email gets sent to
somebody@HOST_A address. Then, the email client on the server has a
filter installed to forward to a local address and then to an email
address on another adrees, s