Re: [exim] To prevent spamming from the server

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] To prevent spamming from the server
Hi,


Er.shashank.singh <docs4shashank@???> (Fr 27 Dez 2013 11:17:11 CET):
> Hi All,
>
> I need some help from your side to prevent spamming from the server. Im in
> the queue subject of 500 mails matches then mail will remove. Can i do this
> if yes then how please let me know.


I'm not sure if I got it.

In your queue are sitting 500+ mails with spam?
These messages can be identified by matching something against the
subject?


    exipick -i '$h_subject =~ /pattern/' | xargs exim -Mrm


pattern is the subject pattern (perl regular expression) you want to use
as a selector. e.g.

    exipick -i '$h_subject =~ /lottery/' | xargs exim -Mrm


In emergency you might remove the files in /var/spool/exim/input, but
there you should know what you're doing. Removing the files will leave
no traces in logs and probably (depending on your config) will leave the
individual message logs behind.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
 gnupg fingerprint: 9288 F17D BBF9 9625 5ABC  285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B)-