Entry
What is /var/qmail/control/badmailfrom used for?
Is it possible to block incoming mail to all users from a certain domain?
Feb 29th, 2000 18:25
Nathan Wallace, Dave Sill, Michael Boman
/var/qmail/control/badmailfrom is the file you should look at to block
all mail from a particular domain.
Posters from that domain will get a SMTP error message telling the that
they are not allowed to post.
A failure of a MAIL FROM command issued to an SMTP server will render
the message undeliverable. It is the responsiblity of the sending SMTP
server to generate a bounce and send it to the sender in instances like
this. If the SMTP client is not a mail server but instead a mailer
(which will probably not be the case), it will notify the user
directly. Either way, the user will be notified.