Re: Postfix restricting local mail locally.

2011-06-04 Thread Kendrick
On 06/04/2011 05:50 PM, mouss wrote: yes if you have an "internal side". do you? I have 3+ sides. External, wired and wireless. I may eventually add a dmz or include the dmz with wireless. Wired and wireless both go through the server to external but don't know the other exists. putti

Re: Postfix restricting local mail locally.

2011-06-04 Thread mouss
Le 04/06/2011 16:25, Kendrick a écrit : > On 06/04/2011 05:06 AM, mouss wrote: >> Using check_*_access before reject_unauth_destination is discouraged. it >> may (accidentally) lead to open relay should "someone" add an entry that >> returns OK. >> >> better use: >> >> smtpd_recipient_restrictions

Re: Postfix restricting local mail locally.

2011-06-04 Thread Victor Duchovni
On Sat, Jun 04, 2011 at 10:25:37AM -0400, Kendrick wrote: > smtpd_recipient_restrictions = > permit_sasl_authenticated No, this won't work, rather: smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, ch

Re: Postfix restricting local mail locally.

2011-06-04 Thread Kendrick
On 06/04/2011 05:06 AM, mouss wrote: Using check_*_access before reject_unauth_destination is discouraged. it may (accidentally) lead to open relay should "someone" add an entry that returns OK. better use: smtpd_recipient_restrictions = permit_sasl_authenticated permit_myneywor

Re: Postfix restricting local mail locally.

2011-06-04 Thread mouss
Le 04/06/2011 04:06, Jeroen Geilman a écrit : > On 06/04/2011 02:50 AM, Kendrick wrote: >> I am trying to make it so that postfix takes specific actions when >> spam "from" my domian externally arrives. >> smtpd_recipient_restrictions / reject_unknown_... looked prommising >> but I dont see how to

Re: Postfix restricting local mail locally.

2011-06-03 Thread Jeroen Geilman
On 06/04/2011 02:50 AM, Kendrick wrote: I am trying to make it so that postfix takes specific actions when spam "from" my domian externally arrives. smtpd_recipient_restrictions / reject_unknown_... looked prommising but I dont see how to work it with the information given. When a new messag

Postfix restricting local mail locally.

2011-06-03 Thread Kendrick
I am trying to make it so that postfix takes specific actions when spam "from" my domian externally arrives. smtpd_recipient_restrictions / reject_unknown_... looked prommising but I dont see how to work it with the information given. When a new message arrives with [from: somt...@mydomain.co