RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
I like this method. And it's working as expected. Thanks to all -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Bill Cole Sent: Thursday, May 19, 2016 3:56 PM To: Postfix users Subject: Re: postfix ignoring access file?

Re: postfix ignoring access file?

2016-05-19 Thread Bill Cole
On 19 May 2016, at 15:49, Bill Cole wrote: containing only IPs with OK as their LHS values should in fact work well enough. [...] the LHS of a map file used for mynetworks doesn't matter Obviously I'm turned around, as those should of course be "RHS" not "LHS": what would normally be the "r

Re: postfix ignoring access file?

2016-05-19 Thread Bill Cole
On 19 May 2016, at 13:53, Gomes, Rich wrote: Ok, this looks close. So the reject at the end is the only way to replicate the "if not in the "allow list", you are not authorized to "relay"? One other way would be to add a 'reject' directive at the end of the smtpd_client_restrictions list:

Re: postfix ignoring access file?

2016-05-19 Thread Bill Cole
On 19 May 2016, at 11:35, Gomes, Rich wrote: Postfix is the corporate standard so this has been a bit of a learning curve for me. I'd like to keep it pretty simple, so there must be a way to have the access file behave in the same way it does in Sendmail. Non-sequitur. Your desire for simplic

Re: postfix ignoring access file?

2016-05-19 Thread Wietse Venema
Gomes, Rich: > Thank you all! > > It is working now as I had expected. > > One question, does postmap needs to be run against the cidr file? > Or is a reload of the service all that is needed when making > changes? No. The postmap command is needed for indexed files, btrees, and other maps that

RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
Thank you all! It is working now as I had expected. One question, does postmap needs to be run against the cidr file? Or is a reload of the service all that is needed when making changes? -Original Message- From: Kevin Miller [mailto:kevin.mil...@juneau.org] Sent: Thursday, May 19, 201

RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
Ok, this looks close. So the reject at the end is the only way to replicate the "if not in the "allow list", you are not authorized to "relay"? -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Wietse Venema Sent: Thursday, Ma

RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
There are no local users so it will be all domains that are listed in relay_domains The only reason I am going with /etc/postfix/access is because it seemed that was the correct file to use Unlisted IPs access to send mail thru this server (you have asked me not to use words like relay) This

Re: postfix ignoring access file?

2016-05-19 Thread Wietse Venema
Gomes, Rich: > Ok, my apologies. It seems some of the answers focused on "it > doesn't work like that" > > What I need is to have any IPs listed in the /etc/postfix/access > file with a directive of "OK" be allowed to send mail > Any IPs attempting to send mail to this particular mail server > tha

remapping return-path ?

2016-05-19 Thread James B. Byrne
We have a situation where some party is harvesting our employees' mailbox names and using them for a directed brute force attack against our SMTP servers. In order dodge this we have undertaken to rename of user mailboxes. However, we use the imap service to authenticate for SMTP delivery and so

Re: postfix ignoring access file?

2016-05-19 Thread Noel Jones
On 5/19/2016 11:46 AM, Gomes, Rich wrote: > > What I need is to have any IPs listed in the /etc/postfix/access file with a > directive of "OK" be allowed to send mail Listed IPs are allowed to send mail where? To your local users? To any destination? Is there some reason you need a specific f

RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
Ok, my apologies. It seems some of the answers focused on "it doesn't work like that" What I need is to have any IPs listed in the /etc/postfix/access file with a directive of "OK" be allowed to send mail Any IPs attempting to send mail to this particular mail server that are not listed in that

Re: postfix ignoring access file?

2016-05-19 Thread Noel Jones
On 5/19/2016 10:35 AM, Gomes, Rich wrote: > Postfix is the corporate standard so this has been a bit of a learning curve > for me. > I'd like to keep it pretty simple, so there must be a way to have the access > file behave in the same way it does in Sendmail. > Specifically, I would like to only

RE: postfix ignoring access file?

2016-05-19 Thread Gomes, Rich
Postfix is the corporate standard so this has been a bit of a learning curve for me. I'd like to keep it pretty simple, so there must be a way to have the access file behave in the same way it does in Sendmail. Specifically, I would like to only allow those entries in the access file (with a dir

Re: reject emails with empty subject

2016-05-19 Thread Philip McGaw
You could do this with seive. But it seems like an odd rejection. I am sure I am not the only person who fires notes to themselves via email with no subject. Sent from my iPhone > On 19 May 2016, at 11:06, Wietse Venema wrote: > > Thomas Keller: >> Hello list, >> >> what would be the easie

Re: reject emails with empty subject

2016-05-19 Thread Wietse Venema
Thomas Keller: > Hello list, > > what would be the easiest way to block emails with no subject ? Did you mean: 1) No Subject: line. For this case you need an external content filter (Milter, smtpd_proxy_filter, filter). 2) A Subject: line without text. Postfix can match this with header_checks

reject emails with empty subject

2016-05-19 Thread Thomas Keller
Hello list, what would be the easiest way to block emails with no subject ? thanks, Thomas