IMAP: Changing the "From:" Line in the Mail-Header

Support knowledgebase (kngu_postfix_myorigin)
Applies to

SuSE Imap-Server

Situation:

You would like to change the "From:" line in your mail header from user@domain to user@host.domain.

Proceedure:

The following section of the main Postfix configuration file /etc/postfix/main.cf, contains the parameter that must be set to change the "From:" line in outgoing mails.
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# user@that.users.mailhost.
#
myorigin = $myhostname

# The masquerade_domains parameter gives an optional list of domains
# that must have their subdomain structure stripped off.
#
# By default, address masquerading is disabled.
#masquerade_domains = yourdomain.de
masquerade_exceptions = root

Keywords: IMAP, IMAP-SERVER, MAIL, HEADER, POSTFIX, FROM, ADRESSE

Categories: User

SDB-kngu_postfix_myorigin, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 05. Jul 2000
SuSE Linux AG - Last generated: 07. Jul 2000 by karine (sdb_gen 1.40.0)