Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I configured my Postfix server to use MySQL authentication. So I defined email account and forwardings like this:

virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtual_email2email.cf

But the forwardings doesn't seam to work. Instead of forwarding the mail to the destination account a new directory is created for the account in the maildir. So the mail is handled as email account instead of a forwarding. Does I miss something in my configuration? How does postfix know If they have to forward a mail?

share|improve this question

1 Answer 1

Since we don't know what is in your configuration, nor what is in the mysql maps, it's impossible to say.

Please provide the output of postconf -n and complete, non-verbose logs of a single message that is not handled the way you desire.

As to how postfix determines what to do with incoming mail, please refer to the BASIC README, the platform OVERVIEW, and the VIRTUAL_README

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.