SuSE GmbH

SuSE Support Database

Title: Modify sender address and/or domainname

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Modify sender address and/or domainname

Applies to

SuSE Linux: Versions since 5.1

Project:

You plan to send mails via your ISP. Here the return address of the ISP should be used instead of your local one. This should be done for outgoing mail.

How to proceed 1:

Edit /etc/rc.config:

  1. Search for FROM_HEADER.
  2. Enter the domain that should be the return domain.
  3. Save rc.config.
  4. InvokeSuSEconfig.

It is much easier to do this in YaST. Just go to "System administration" submenu "Change configuration file". Now you may look for the variables given above and change them accordingly. YaST launches SuSEconfig after you have changed the values.

How to proceed 2:

Additionally you plan to modify the sender line or you want to modify parts of the address lines of incoming mails.

There are two map files under /etc/mail/: genericstable and virtusertable; genericstable is responsible for outgoing mails and virtusertable for incoming mails. A detailed description may be found in /usr/share/sendmail/README There are entries that more or less resemble the following:

        #
        # map outgoing sender addresse from foo to bar@domain.com:
        foo           bar@domain.com
        #
        # genericstable ends here

Make sure to invoke SuSEconfig after every modification for the corresponding .db to be created.

Do not use /etc/mail/userdb as this sometimes fails to work.

----------

Keywords: SENDMAIL, MAIL, EMAIL, DOMAIN, ABSENDERADRESSE, FROM-HEADER, ABSCHICKEN

----------

Categories: Email

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-maddin_fromheader, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 17:00:25 by maddin with sdb_gen 1.00.0