James Lever:
>  * all mail to be sent on to a relayhost regardless of whether
>  the local MTA thinks it should be delivered  locally or not.
>  (this is the specfic issue I currently have)

relayhost = $mydomain

>  * all mail to be rewritten in the form $lo...@$mydomain (preferrably
>  in that generic manner, rather than having to put @domain.com in
>  the configuration file. (masquerade works fine for all cases
>  except the case where a user is sending mail explicitly to
>  $lo...@$myhostname or just $local - this mail is delivered locally,
>  not what I_m after)

myorigin = $myhostname
mydestination = $myhostname localhost.$mydomain localhost

>  * the root mail to appear from r...@$myhostname

masquerade_domains = $mydomain
masquerade_exceptions = root

>  * I would also like to not have to localise this configuration
>  file in any way (by explicitly specifying the hostname and
>  preferrably by not specifying the local domain and using the
>  discovered domain)

        Wietse

Reply via email to