Take the 2-minute tour ×
Server Fault is a question and answer site for 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

closed as off-topic by masegaloeh, Jenny D, yoonix, Ward, EEAA May 19 at 5:31

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the 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

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