On Tue, 10 Feb 2015, Rajesh M wrote:
now i need to set a rule such that u...@abc.com can receive emails
only from specific external domains and rest all should be rejected

On 11.02.15 10:47, Lucio Chiappetti wrote:
To me this seems a task for procmail.

On Wed, 11 Feb 2015, Matus UHLAR - fantomas wrote:
maybe for MTA. courier-mta supports filter that may allow this at SMTP
level.

On 12.02.15 09:47, Lucio Chiappetti wrote:
procmail can be configured as default mail delivery agent (mailer) in sendmail. This is the arrangement we use. We have graylisting and spamassassin milters in front of that. The milters do spam rejection for all users in the same way. Procmail can be tuned to do finer things by each user (although I'm probably the only one doing it here).

There is a learning curve for each tool. I am more familiar with procmail rules than spamassassin rules, so that's why I would do something like the OP is thinking in procmail.

yes, but the OP (Rajesh) may use different tools...
However this is definitely not the SpamAssassin issue...
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
My mind is like a steel trap - rusty and illegal in 37 states.

Reply via email to