I just upgraded our mail server from a 10-year old Solaris server running sendmail and WU-IMAP to Linux running Postfix 2.9 and Dovecot 2.1 and have encountered a problem I didn't anticipate and am hoping to find some help.

We're a university department with our own mail server, mail.dept.university.edu, and generally everyone has their clients send mail to [email protected] - which works well. As I didn't want to create system accounts for everyone here and knowing that I might end up hosting mail for another department as well, I decided to use virtual domains and defined ours as dept.university.edu.

One of the users has sent mail with a return address using the FQDN of the mail server, namely [email protected] and now Postfix is rejecting this as it believes the user does not exist.

Currently I have the following defined:

myhostname = mail.dept.university.edu
mydestination = $myhostname, localhost.$mydomain
virtual_mailbox_domains = mysql:/etc/postfix/virtual_mailbox_domains.cf

Can I add a local alias for user which redirects to [email protected], or is there a better way to solve this issue?

--
Michael Sloan
Systems Administrator
FSU Center for Advanced Power Systems
[email protected]

Reply via email to