Re: Postscreen and exceptions

2012-12-24 Thread Stan Hoeppner
On 12/23/2012 7:38 PM, Alex wrote: > Hi, > > I've implemented postscreen with postfix-2.9.4 on fc17 and it is > rejecting mail from alice.it and libero.it, which are apparently two > ISPs in Italy. We receive a large number of messages that are rejected > due to postscreen, but now we have one ema

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread mouss
Le 23/12/2012 15:28, Robert Moskowitz a écrit : > > On 12/23/2012 09:20 AM, Noel Jones wrote: >> On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`postconf -d $parame

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read parameter equal value; do default_value=`p

Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
On 12/24/2012 08:24 AM, Robert Moskowitz wrote: On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robert Moskowitz wrote: You can chase these with something like: # postconf -n | while read

Script fixed - Re: checking script doesnt work - Re: How to change modified cf files to postconf commands

2012-12-24 Thread Robert Moskowitz
I added a few echos, guessed at what was happening and below you will see a nice little script which shows "useless" parameters in main.cf On 12/24/2012 05:26 AM, mouss wrote: Le 23/12/2012 15:28, Robert Moskowitz a écrit : On 12/23/2012 09:20 AM, Noel Jones wrote: On 12/23/2012 7:17 AM, Robe

Re: Appending to a parameter using postconf

2012-12-24 Thread Robert Moskowitz
On 12/23/2012 08:03 PM, Wietse Venema wrote: Robert Moskowitz: Is there a way to append to a parameter using postconf. If it is only in a version later than 2.6.6, oh well. But the example is smtpd_recipient_restrictions which can have a long list and then you want to add a realtime black lis

Re: Appending to a parameter using postconf

2012-12-24 Thread Wietse Venema
Robert Moskowitz: > got an error. > > My script contained the lines: > > postconf -e 'smtpd_recipient_restrictions = permit_sasl_authentication,\ > permit_mynetworks,\ > reject_unauth_destinations' > > And the error I got: > > postfix: fatal: -e or -# accepts no mult

Re: Appending to a parameter using postconf

2012-12-24 Thread Robert Moskowitz
On 12/24/2012 11:30 AM, Wietse Venema wrote: Robert Moskowitz: got an error. My script contained the lines: postconf -e 'smtpd_recipient_restrictions = permit_sasl_authentication,\ permit_mynetworks,\ reject_unauth_destinations' And the error I got: postfix: fa

Postfix Virtual users config -- Need Help

2012-12-24 Thread Vijay Rajah
Hello, I'm trying to setup a personal mail server with postfix. I'm trying to use postfix virtual users method.. I'm not able to get the mail delivered... I looked through the documentation.. not able to find the issue.. Can some one please help?... Thanks in advance Vijay Rajah Here is my (s

Re: Postfix Virtual users config -- Need Help

2012-12-24 Thread Benny Pedersen
Vijay Rajah skrev den 2012-12-24 19:04: Hello, I'm trying to setup a personal mail server with postfix. I'm trying to use postfix virtual users method.. I'm not able to get the mail delivered... I looked through the documentation.. not able to find the issue.. Can some one please help?...

Re: Postscreen and exceptions

2012-12-24 Thread Alex
Hi, >> I haven't been able to find much available on the proper use for >> smtpd_mumble_restrictions. It doesn't seem to be documented with >> postscreen or the postconf page or even my postconf output. > > smtpd_mumble_restrictions is shorthand for "use any of > smtpd_{client, helo, sender, recip

Re: Postscreen and exceptions

2012-12-24 Thread Alex
Hi, >> It also looks like mail originates from IPs other than those listed as >> an MX record for alice.it, so I'm not even sure what the range would >> be for the postscreen permit rules. > > As always it would be helpful if you provided Postfix logging of these > rejections so we can see what is

Re: Postscreen and exceptions

2012-12-24 Thread Stan Hoeppner
On 12/24/2012 2:26 PM, Alex wrote: > Dec 24 00:28:50 mail02 postfix/postscreen[1468]: NOQUEUE: reject: RCPT > from [195.81.140.87]:32798: 550 5.7.1 Service unavailable; client > [195.81.140.87] blocked using bl.spamcop.net; from=, > to=, proto=SMTP, > helo= Here's your problem Alex. You're using

Re: Postscreen and exceptions

2012-12-24 Thread Alex
Hi, >> Dec 24 00:28:50 mail02 postfix/postscreen[1468]: NOQUEUE: reject: RCPT >> from [195.81.140.87]:32798: 550 5.7.1 Service unavailable; client >> [195.81.140.87] blocked using bl.spamcop.net; from=, >> to=, proto=SMTP, >> helo= > > Here's your problem Alex. You're using spamcop to outright bl

Re: Postscreen and exceptions

2012-12-24 Thread Wietse Venema
Alex: > Dec 24 04:23:11 mail02 postfix/postscreen[1468]: NOQUEUE: reject: RCPT > from [212.52.84.101]:54948: 550 5.7.1 Service unavailable; client > [212.52.84.101] blocked using bl.spamcop.net; Don't use spamcop, or use it only with small weight in a scoring system. Wietse

Re: Postscreen and exceptions

2012-12-24 Thread /dev/rob0
On Mon, Dec 24, 2012 at 05:34:20PM -0500, Alex wrote: > >> Dec 24 00:28:50 mail02 postfix/postscreen[1468]: NOQUEUE: > >> reject: RCPT from [195.81.140.87]:32798: 550 5.7.1 Service > >> unavailable; client [195.81.140.87] blocked using > >> bl.spamcop.net; from=, to=, > >> proto=SMTP, helo= > >

Re: postconf expansion

2012-12-24 Thread Wietse Venema
o have to explain the details in a series > of posts... OK, the 20121224 Christmas edition does this and more, and it also produces more warnings. As for the latter I wonder if it will freak out people and would need to be shut up at install/upgrade time. Below is a fragment from the current R

Re: Postscreen and exceptions

2012-12-24 Thread Noel Jones
On 12/24/2012 2:16 PM, Alex wrote: > Hi, > >>> I haven't been able to find much available on the proper use for >>> smtpd_mumble_restrictions. It doesn't seem to be documented with >>> postscreen or the postconf page or even my postconf output. >> >> smtpd_mumble_restrictions is shorthand for "use

tool to edit master.cf

2012-12-24 Thread Robert Moskowitz
I am not finding a tool to edit master.cf similar to 'postconf -e' for main.cf. It seems in my reading that in postfix 2.9, postconf can display master.cf, but not edit it? And, of course, so far I am working with postfix 2.6.6. Just looking for a nice way to build up a script of changes I