On Mon, Dec 29, 2003 at 02:11:39PM -0500, gentian wrote: > Hi list, > > I am thinking to use Postfix together with SpamAssassin and Amavisd. I guess > maybe that is not the right list to ask this question but probably any of you > has encountered this issue before. > > With postconf -e "mynetworks=....." i can setup which machines are allowed to > relay mail to my server, but as I am opened to internet, I do not want to > allow relaying based on the IP address of the sender but based on my domain > name. So every email that is sent to my domain.edu is allowed to be relayed, > anything else is rejected.
"relaying" in this case means handling mail for recipients who aren't in your domain. You probably _do_ want to allow relaying from some hosts, that is, if you send mail out from more than one machine on your local network. So you put mynetworks entries for every network or host who is allowed to send mail via postfix on your server, to third parties. This can include offsite networks or hosts if you wish. Incoming mail addressed to recipients in your domain is allowed, but this isn't considered "relaying". You _don't_ want to allow relaying based on sender domain name. It's too easy to forge "from" address. -- Dan Wilder <[EMAIL PROTECTED]> ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk