|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Postfix spam control from trusted IPs in mynetworks
From: Alex van den Bogaerdt (alex
ergens.op.het.net)
Date: Fri Jan 02 2004 - 06:59:11 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jan 02, 2004 at 12:31:14PM +0530, Radha V wrote:
> But if a mail comes from an IP specified in mynetworks but the from id
> is forged to be yahoo or hotmail then it should be denied.
> The trusted client IPs which are added in mynetworks are sending mails
> with FROM address as yahoo/hotmail/..etc should be restricted so that
> the clients send only from their own domain names which is added in
> relaydomains file.
> I tried using the verify_sender option, then I need to specify the
> entire list of domains which I should check...If the client sends from a
> domain that
> is not there in this list and which is also not his domain then the mail
> will go through. I require a IP-Domain correlation...if it is an IP
> specified in mynetworks then the FROM address should only be a domain in
> relaydomains.
>
> Plz suggest ways to implement this kind of restriction.
"Mail comes in from an IP ..." --> the smtp daemon, right?
Run an extra instance of the smtpd program, one that can be
accessed from the internal network only. This is the only
smtpd accepting messages from your local users. It is then
easy to accept "mail from" known domains and discard the rest.
The other smtpd only listens to external connections. Mynetworks
need not include the internal networks in that case.
HTH
Alex
--
begin sig
http://www.googlism.com/index.htm?ism=alex+van+den+bogaerdt&type=1
This message was produced without any <iframe tags
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]