Re: PREPEND problems

2010-12-20 Thread Mark Martinec
mouss wrote: > anyway, reading your prepend info tells us that you're trying to do > something regarding spamhaus based on the From header. This is most > probably wrong. if you tell us what you're trying to do, we will tell > you why you are wrong ;-p If we are talking about VBR-Info based on a D

Re: PREPEND problems

2010-12-20 Thread Christian Roessner
Hi all, really thanks for all info, but the problem already is fixed. It needed help here for the check_sender_access adding to smtpd_data_restrictions and the help of Mark Martinec for amavisd-new, to get header_checks working in a dual setup MSA/MTA. Many thanks for all your help. It works

Re: PREPEND problems

2010-12-20 Thread mouss
Le 20/12/2010 17:55, Christian Roessner a écrit : Yes, that will work fine if you put your check_sender_access rule under smtpd_data_restrictions. I am unsure if that works. I thought that check_sender_access only uses the envelope-from tag. It is. So where is the difference between pu

Re: PREPEND problems

2010-12-20 Thread Christian Roessner
>> With the default smtpd_delay_reject=yes, smtpd_{client, helo, sender, >> recipient}_restrictions are repeated for each recipient, but >> smtpd_data_restrictions are run only once. >> > That is really good to know and makes things much easier now. I give it a try. Thanks :-) Works. It is fru

Re: PREPEND problems

2010-12-20 Thread Christian Roessner
>> DATA >> . <-- Testing after this point, if in smtpd_data_restrictions. But >> does this behave differently then the above? > > > Of course it works. And BTW, smtpd_data_restrictions are run after the DATA > command, not after the dot -- that's smtpd_end_of_data_restrictions. > :-) > With

Re: PREPEND problems

2010-12-20 Thread Noel Jones
On 12/20/2010 10:55 AM, Christian Roessner wrote: Yes, that will work fine if you put your check_sender_access rule under smtpd_data_restrictions. I am unsure if that works. I thought that check_sender_access only uses the envelope-from tag. So where is the difference between putting it in

Re: PREPEND problems

2010-12-20 Thread Christian Roessner
> > Yes, that will work fine if you put your check_sender_access rule under > smtpd_data_restrictions. > I am unsure if that works. I thought that check_sender_access only uses the envelope-from tag. So where is the difference between putting it in smtpd_recipient_restrictions or waiting for

Re: PREPEND problems

2010-12-20 Thread Noel Jones
On 12/20/2010 8:37 AM, Christian Roessner wrote: Hi, I am a little bit stuck with prepending one and exactly one additional header to outgoing mails that are sent from local users. In fact I want to add a VBR-Info:- header for outgoing mails. Local users use a seperate MSA port (own IP-socket

Re: PREPEND problems

2010-12-20 Thread Christian Roessner
Hi again, > # header_checks > > if !/^VBR-Info:.*roessner-net(work-solutions)?/ > /^From:@roessner-net\.com/ PREPEND VBR-Info: > md=roessner-net.com; mv=dwl.spamhaus.org; mc=all > /^From:@roessner-network-solutions\.com/ PREPEND VBR-Info: > md=roessner-network-solution

PREPEND problems

2010-12-20 Thread Christian Roessner
Hi, I am a little bit stuck with prepending one and exactly one additional header to outgoing mails that are sent from local users. In fact I want to add a VBR-Info:- header for outgoing mails. Local users use a seperate MSA port (own IP-socket in master.cf). The socket is configured with smtp