emails getting sent with wrong "from" address
- by Errol Gongson
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 root@mydomain.com.
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 "root@mydomain.com" and not "info@mydomain.com". 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]