On Sun, Oct 03, 1999 at 01:23:14AM -0400, Bernard Karmilowicz wrote:
> Does a user masquerading solution exist in which it is not necessary to
> add MAILHOST and MAILUSER environment variables for every user on a
> system hosting a half dozen virtual domains with hundreds of users? I
> have read FAQ sections 1.1 and 1.2:
Do all those users have shell logins on that machine? Are they injecting
the emails locally (vs. smtp ?)
If they all only have POP accounts, masquerading should not be an issue,
as the users typically have to provide user@domain information when
injecting eMails via SMTP.
Other than that you have to use the ENV vars, but you can set them at
login time of the user via e.g. /etc/profile or /etc/login.
Just check which domain the user belongs to and set the VARS
accordingly. This however does not guarantee the users doesn't change
those values.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |