>> 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
Thank you Maex for the speedy response to my qmail query! All users have shell
logins. Some users, particularly the pre-gui ones, prefer shell-based MUAs. Others
use POP together with gui MUAs. A few users alternate between the two, depending
on which way the wind is blowing.
I was hoping to avoid adding the extra ENV vars, since this complicates system
administration. It would be nice to have a central point for setting User and Host
names for members of virtual domains, thereby covering all users with one action.
Perhaps in qmail 1.2. {:~)
- Bernie