OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
local user question

From: Hernan Marino (sisdinsistemasdinamicos.com.ar)
Date: Fri Apr 02 2004 - 02:50:34 CST


Hello.
I've been reading lot of docs and found very useful things, but I cant
find the solution to this very simple problem.
My users can send email from localhost, but when they use their web
pages postfix gets connected by apache, so it shows apachedomain in
the return-path.
What I want to do is to only allow email from apachemydomain
(generated locally) to go to any of the local_domains and no outside,
to prevent unidentified emails to go out (mainly because of spam). So
if the users want to use, for ex the php mail() function, they can
define an alias and send the apache generated email to them self, and
then the message can go outside with the user identified.

I read lot of reject_non_fqdn_hostname, etc UCE directives, but cant
find the one suitable for the access table, something like
reject_non_local_domain or something like that.

Any help will be greatly appreciated.

H Marino