How to prevent sendmail from sending mailer-daemon notifications

0 votes
55,622 vues
question 1 Février 18 dans Imap par atlas (293 points)  
I am under a mailer daemon redirect spam attack. Please help

In case of inexistent user, my sendmail answers to fake senders and it gets blacklisted for spam relaying.

How to disable mailer daemon ? how to stop it ?
commentée 1 Février 18 par atlas (293 points)  
en anglais il y a plus de chances ...
commentée 1 Février 18 par ladmin (2,272 points)  
on vous l'a changé 2 fois mais vous remettez votre ancien sendmail.mc avec votre programme du XXe siècle qui vous ramène aux valeurs par défaut. On n'y peut rien ...
commentée 1 Février 18 par ladmin (2,272 points)  
et voilou in english

1 Réponse

0 votes
réponse 1 Février 18 par ladmin (2,272 points)  
editée 1 Février 18 par ladmin

To prevent your mailer-deamon from sending emails, just copy paste  :

define(`confERROR_MODE',`q')dnl

in your /etc/mail/sendmail.mc and run sendmailconfig.

If you call sendmail from the command line, add the option

sendmail ... -OErrorMode=q

If you use a software that generates its own sendmail.mc, try to add the define above in the templates ( if any ) or ask the author.

 

Feel free to ask and answer in english

Bienvenue sur les FAQ de 123.fr, posez vos questions ou répondez à celles des autres usagers.

...