Re: [exim] How can I customize exim mailer

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Bobby Shahzad
Dátum:  
Címzett: Odhiambo Washington
CC: Exim-users
Tárgy: Re: [exim] How can I customize exim mailer
Ok, thanks for the great tip. About exim -Mrm, can you help me with an
additional question?

what will be syntax if I want to get rid of all deliveries to Yahoo. I mean
how will I pass args to Exim -Mrm? should I use exigrep in conjunction with
exim -Mrm?

Please advise. Your help is so much appreciated.



On Tue, Oct 12, 2010 at 5:32 PM, Odhiambo Washington <odhiambo@???>wrote:

>
>
> On Tue, Oct 12, 2010 at 7:25 PM, Bobby Shahzad <ksj787@???> wrote:
>
>> I want to avoid retry situation. Basically our situation is that mails
>> keep coming in to queue(through newsletter injector script) even if there is
>> permanent block, we dont want such messages to sit in retry queue for 5 days
>> , we just want them to be discarded at once because delivery is not going to
>> happen any way. So what I want is, the first time there is a TS03 yahoo
>> error, stop delivery of any future message to Yahoo
>>
>> how can we do it?
>>
>>
> Make sure you configure Exim to log all the details you want, to a file,
> like:
> log_selector                  =  \
>                                -retry_defer \
>                                -skip_delivery \
>                                +address_rewrite \
>                                +all_parents \
>                                +arguments \
>                                +received_sender \
>                                +received_recipients \
>                                +smtp_connection \
>                                +smtp_syntax_error \
>                                +delivery_size \
>                                +incoming_interface \
>                                +smtp_protocol_error \
>                                +subject \
>                                +tls_peerdn \
>                                -host_lookup_failed \
>                                -rejected_header \
>                                -address_rewrite

>
> log_file_path                 = /var/log/exim/%s.%D.log

>
> The log file name will be /var/log/exim/main.YYYYMMDD.log
>
> Write a script that parses the log files at, say, 2355, matching the yahoo
> rejection code with the message_id, and then passing the message_id to 'exim
> -Mrm'.
>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "If you have nothing good to say about someone, just shut up!."
>                -- Lucky Dube

>