I received replies to my query...thanks to
for thier kind help...
The original question was:
>I have a real big problem..
>I have many small domains which my server is their mailhost and mailserver,
>meaning that i have more than 10 domains in my /etc/sendmail.cw file.
>This works just fine, but people CAN receive mail sent to any of
>these domains and send mail as any if these domains, because
>their account exists in the machine....in example..
>I can receive mail as:
>and I only belong to "disca.utfsm.cl"
>As for sending mail, all the mail from inside Unix is sent as the REAL
>machine's name... "itata.disca.utfsm.cl"
>so outgoing mail from any account goes ONLY as : firstname.lastname@example.org
>How can I solve this Slight mess ??
This was not understood at first, but was made with a few emails..
The answers were that:
- use any sendmail and get some patches available (tricks with the Rulesets).
- you can't
- use the new Sendmail 8.8 with "virtusertable" feature.
Since Sendmail 8.8 incorporated this feature it was not necessary to
look at old patches.
The virtusertable has to look like this..
This way ONLY user1 and user2 will RECEIVE mail as belonging to
the ind.utfsm.cl domain, and user3 and user4 willl ONLY receive mail
as belonging to ociv.utfsm.cl domain...etc.
any other user in the @ind.utfsm.cl domain will be unknown.
You have to use this table with DBM or NDBM...
I have not tested this yet, i AM in the process of configuring a standalone
machine to do the test...don't want to mess the mailserver !!
Thanks for all your help..
-- Marcelo Maraboli R. |--| |--| |--| C: uCapacitor | C I C | I: Electronic Jefe de Area de Redes (Network Administrator) | | Island Direccion Central de Servicios Computacionales |------()------| V: Voltage Federico Santa Maria University V + - Chile "Quantum Electronics" Phone: +56 32 665053 The Beginning of the New Electronic Age email:email@example.com "Quantum Electronics, That's COOL!" WWW : http://www.disca.utfsm.cl/~maraboli "Shut up, Beavis!" --------------------------------------------------------------------------/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:13 CDT