logo       

Re: MTA: Sendmail, Postfix, Q-Mail: msg#00400

org.user-groups.linux.philippine

Subject: Re: MTA: Sendmail, Postfix, Q-Mail

tis easy to do in postfix w/ procmail...
in your main.cf you can use the ff:

smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/localusers
smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/localdomains, reject


in ur "localusers" file, u'll hav to put something like:

localuser1-e5LgfgBLbBFWk0Htik3J/w@xxxxxxxxxxxxxxxx   local_only
urdomain.com   OK

in ur localdomains file:

urdomain.com OK


then ur localuser's procmailrc:

:0
* !^From:.*urdomain.com
/dev/null



hope that helps! GOD bless!

Jagi C. Sarcilla wrote:
Hi pluggers

Im configuring a Intranet/Internet mail server in one box, my problem is
how can i control the intranet mail user from sending out to the world,
intranet must be in our local mailsystem only, the message must be for
intranet users only , and the internet mail user are the only emails that
can send outside and in the intranet?


  

-- 
"Having GOD in our lives doesn't mean we're sailing on a ship with no storms.
It's simply sailing on a ship no storm can ever sink. Sail on!"

Glenn Remot
Network Engr. - IT,Network Comm. Section,
The Philippine Daily Inquirer
8978808 loc 351
--
Philippine Linux Users' Group (PLUG) Mailing List
plug-sJCYDywXB4m9hMQLrSLElQC/G2K4zDHf@xxxxxxxxxxxxxxxx (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise