postfix domain change

Mikkel L. Ellertson mikkel at infinity-ltd.com
Thu Oct 16 15:22:22 UTC 2008


David Hláèik wrote:
> Hello guys,
> 
> i am using postfix as my mailserver on machine running amanda backup
> server . Amanda sends mails as user amanda - so mail is from
> amanda at backup.net.hlacik.eu (backup.net.hlacik.eu is servers hostname) .
> Unfortunatelybackup.net.hlacik.eu is not valid domain name in outside
> world and our company rented mailserver complains about non - existent
> domaind and delivery is rejected.
> 
> How can i tell postfix to replace backup.net.hlacik.eu to cz.hlacik.eu ?
> 
> Thanks in advance,
> 
> David
> 
For a single address, it would probably be easier to put an entry in
 the /etc/aliases file for user amanda to send it where you want it.
Don't forget to run newaliases.

To change the from address for all mail from the machine, change
myorigin to cz.hlacik.eu.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081016/dacac85e/attachment-0001.sig>


More information about the fedora-list mailing list