mouss wrote:
> Zachár Balázs wrote:
>>
>> mouss wrote:
>>> Zachár Balázs wrote:
>>>> Helo @list!
>>>>
>>>> I have two problem which I can't manage:
>>>> 1. I have a postfix + clamav + spamassassin which are working fine.
>>>> But If I send mail it is going trough the filters to but I don't want
>>>> it. So I create a new smtpd line in the master.cf with these settings:
>>>> 127.0.0.1:11025
>>>> Now I would like to do this: if the sender is [EMAIL PROTECTED] then
>>>> use the 127.0.0.1:11025 smtp (it has different settings which are not
>>>> use the filters...) instead of the original.
>>>> I am googling and I saw the transport_map can do things like I would
>>>> do but if I right, the transport_map only can do a "redirection" for
>>>> the recipient address, am I?
>>>>
>>> transports do not override a content filter.
>>
>> I know this, you misanderstand me. I make the content_filter override
>> with the new smtpd line in the master.cf:
>> 127.0.0.1:11025 inet  n -       n       -       -      smtpd
>>     -o content_filter=
>>     .
>>     .
>>     .
>>     .
>>
>>
>> So, if I can use this smtpd session to deliver those mails which I
>> sent from [EMAIL PROTECTED] address than they will not go through
>> clamav+spamassassin. But how can I do this?
>>
> 
> the answer is here:
> 
>>> you can use check_sender_access and return a FILTER action. check the
>>> docs for details.

This was the solution!

Thanks,
Balázs

Reply via email to