Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to deny user to send email to specific address

15 views
Skip to first unread message

Frederico Madeira

unread,
Jun 25, 2011, 6:00:30 PM6/25/11
to
Hi there,

I'm running a qmail+vpopmail+qmail-scanner+spamassassin and want to implement a filter that deny some users of my server to send email to some email address or domains.

Is it possible to implement this in qmail ?

Att,


--
Frederico Madeira
fmad...@gmail.com
www.madeira.eng.br

Shibashish

unread,
Jun 27, 2011, 3:21:22 AM6/27/11
to
Add your entries in file /var/qmail/control/badmailfrom


Your email server will not accept any email from spa...@xyz.com and any email account at spammerdomain.com

Restart qmail service.

Test....

[root@mydomain]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 domain.com ESMTP
250 ok
553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)


ShiB.
while ( ! ( succeed = try() ) );
0 new messages