Erik van der Meulen wrote : > And if I send mail from root using elm, the header comes out like:
root and/or postmaster are TRUSTED users. So the masquerade doesn't apply to this users, and all users defined in the trusted-user file. In the sendmail.cf : # class L: names that should be delivered locally, even if we have a relay # class E: names that should be exposed as from this host, even if we # masquerade # class M: domains that should be converted to $M #CL root CE root In the doc : op.txt: trusted users from a file use Ft/file/name. and : confCT_FILE Ft class [/etc/sendmail.ct] Name of file used to get the local additions to the $=t (trusted users) class. confTRUSTED_USERS Ct class [no default] Names of users to add to the list of trusted users. This list always includes root, uucp, and daemon. See also FEATURE(use_ct_file). So don't post from root :) But in the aliases file add : root: <real user> -- François Ranchin Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001