Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Steve Dondley
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,

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Viktor Dukhovni
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

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Steve Dondley
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

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Viktor Dukhovni
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 =

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Steve Dondley
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:

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Viktor Dukhovni
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

Re: Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Steve Dondley
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"

Can't deliver forwarded email coming from amazonses.com

2021-09-01 Thread Steve Dondley
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,

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread Wietse Venema
Alvin Wong: Hi, First thank you for trying to help, but it seems that you missed a part: if I execute `postfix stop; postfix start` manually in the terminal, the problem is solved until the next reboot. Check your SELINUX, APPARMOR etc. security configuration. Wietse

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread Alvin Wong
Thanks, it's really the SELinux problem. The labels of some files in `/var/spool/postfix/pid` have the wrong label set. Running `/sbin/restorecon -rv /var/spool/postfix/pid/*` fixed the problem. So my problem is now solved. But I have no idea why the labels are changed themselves, though. Will it

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-04 Thread mouss
Le 04/06/2012 11:48, Alvin Wong a écrit : Thanks, it's really the SELinux problem. The labels of some files in `/var/spool/postfix/pid` have the wrong label set. Running `/sbin/restorecon -rv /var/spool/postfix/pid/*` fixed the problem. So my problem is now solved. But I have no idea why

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-03 Thread Jeroen Geilman
On 06/03/2012 06:37 AM, Alvin Wong wrote: Hi, I am running postfix 2.6.6 on CentOS 6.2. I set up postfix to use virtual mailbox referring to this (http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox) When the server starts, it can't deliver mail to virtual mailbox (mails are stuck

Re: postfix/virtual can't deliver to virtual mailbox

2012-06-03 Thread Alvin Wong
/VIRTUAL_README.html#virtual_mailbox) When the server starts, it can't deliver mail to virtual mailbox (mails are stuck in the queue). I see this in the maillog: ~~ Jun  2 20:35:43 localhost postfix/virtual[2122]: fatal: open lock file pid/unix.virtual: cannot open file: Permission denied Jun  2 20

postfix/virtual can't deliver to virtual mailbox

2012-06-02 Thread Alvin Wong
Hi, I am running postfix 2.6.6 on CentOS 6.2. I set up postfix to use virtual mailbox referring to this (http://www.postfix.org/VIRTUAL_README.html#virtual_mailbox) When the server starts, it can't deliver mail to virtual mailbox (mails are stuck in the queue). I see this in the maillog

Can't Deliver

2009-08-27 Thread Diogo Sperb Schneider
Greetings! I've just installed postfix on CentOS 4.7 but I can't get it to deliver local mail. If I try: mail user Subject: Test Just testing... . I get from tail -f /var/log/maillog: Aug 27 14:56:24 host postfix/smtp[6906]: AAB33140C054: to=u...@host.domain, relay=none, delay=0,

Re: Can't Deliver

2009-08-27 Thread /dev/rob0
On Thursday 27 August 2009 13:07:32 Diogo Sperb Schneider wrote: Greetings! Diogo, old friend, long time no see! I've just installed postfix on CentOS 4.7 but I can't get it to deliver local mail. If I try: mail user user is an unqualified address. By default it is routed to

Re: Can't Deliver

2009-08-27 Thread Diogo Sperb Schneider
Your tip led me to** disable_dns_lookups, which I turned off, since this is a local-mail-only service. It then brought me to the loops back to myself problem, solved by adding $myhostname.$mydomain to mydestination. 2009/8/27 Victor Duchovni victor.ducho...@morganstanley.com On Thu, Aug 27,