KennyK
04-15-2003, 02:24 PM
Can someone tell me if I can ban a certain person from sending email to a certain domain that is on my server? Someone told me that I can only do this by banning them on the entire server. Is this true?
Example;
User@domain.com is sending emails to one of my clients but this client does not want them.
However a different client of mine does want email from User@domain.com.
How do I do this?
Kenny:angry:
KennyK
04-15-2003, 03:49 PM
Can't anyone help me with this one?:eek:
admin0
04-15-2003, 04:11 PM
If you are using cpanel, the user can setup filters to NOT receive emails from user@domain.com
KennyK
04-15-2003, 04:13 PM
I don't use cpanel. I use qmail with qmailadmin.
admin0
04-15-2003, 04:24 PM
maybe you can try looking at procmail mail filtering for qmail.
also, i would recommend you to take a look at http://www.mouken.com/SPAMbaffle/ for a more server-wide solution.
KennyK
04-15-2003, 05:10 PM
Thanks for the link. I currently have everything on my server open source free and would like to keep it that way.
However, the procmail looks cool. Is this a mail filtering system that will work with qmail? Or will I have to drop qmail and start using this one?
admin0
04-15-2003, 10:58 PM
you can just use the procmail rules. Intregates with your existing system.
Qmail is perhaps the best email application. Don't think of changing it :D
For Exim
1) create /etc/myspammers
2) edit /etc/exim.conf
add "sender_reject = /etc/myspammers" line
3) put "user@domain.com" to /etc/myspammers
-------
user@domain.com
domain2.com
*.domain3.com
...
---------
4) Restart Exim