emails getting sent with wrong "from" address

Posted by Errol Gongson on Server Fault See other posts from Server Fault or by Errol Gongson
Published on 2012-03-25T18:51:11Z Indexed on 2012/03/25 23:31 UTC
Read the original article Hit count: 221

Filed under:

I have a postfix/dovecot system setup on Ubuntu 10.04, and it sends/receives emails fine, but when I send emails they are all from [email protected].

For example, I have a user called "info" and when I try to send an email using mutt from this Mailbox "/home/vmail/mydomain.com/info/Maildir" the email will send find but it will be from "[email protected]" and not "[email protected]". I have 3 mailboxes (/home/vmail/mydomain.com/root/Maildir, /home/vmail/mydomain.com/root/postmaster, and /home/vmail/mydomain.com/root/info) and they all send and receive emails.

I am new to postfix and dovecot... can someone who knows what they are doing help me out on this one??

 30 myhostname = mail.mydomain.com
 31 alias_maps = hash:/etc/aliases
 32 alias_database = hash:/etc/aliases
 33 myorigin = mydomain.com #have tried setting myorigin = mail.mydomain.com and still same problem
 34 mydestination = mail.mydomain.com, localhost, localhost.localdomain
 35 relayhost =
 36 mynetworks = 127.0.0.0/8
 37 mailbox_size_limit = 0
 38 recipient_delimiter = +
 39 inet_interfaces = all
 40 html_directory = /usr/share/doc/postfix/html
 41 message_size_limit = 30720000
 42 virtual_alias_domains =

This is from the aliases file

 postmaster: root
 root: [email protected]

© Server Fault or respective owner

Related posts about postfix