
shib4u at gmail
Jun 27, 2011, 12:21 AM
Post #2 of 2
(915 views)
Permalink
|
|
Re: how to deny user to send email to specific address
[In reply to]
|
|
Add your entries in file /var/qmail/control/badmailfrom spammer [at] xyz spammerdomain.com Your email server will not accept any email from spammer [at] xyz and any email account at spammerdomain.com Restart qmail service. Test.... [root [at] mydomai]# telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 domain.com ESMTP MAIL FROM: testing [at] spammerdomain 250 ok RCPT TO: user [at] mydomain 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1) ShiB. while ( ! ( succeed = try() ) ); On Sun, Jun 26, 2011 at 3:30 AM, Frederico Madeira <fmadeira [at] gmail>wrote: > 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 > fmadeira [at] gmail > www.madeira.eng.br >
|