On Wed, 11 Feb 2015, Matus UHLAR - fantomas wrote:
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.
maybe for MTA. courier-mta supports filter that may allow this at SMTP
level.
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.
--
------------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
------------------------------------------------------------------------
Do not like Firefox >=29 ? Get Pale Moon ! http://www.palemoon.org