here is one for the postfix guru's
I am trying to get a perl script working that accepts emails from list via a transport.
When I add the following lines to main.cf relay_domains=domain.of.emaillist.com
transport_maps = hash:/etc/postfix/transport
and drupal is defined in master.cf
i do the required
and check it with
then restart postfix
and do postfix reload for good measure...
the problem is this:
postfix gives error 550 "Recipient address rejected: User unknown in virtual alias table"
and the mail to the list is not delivered.
However, if I comment out the following line in main.cf
#virtual_maps = hash:/etc/postfix/virtusertable
then the email to the list goes to the proper relay "drupal" and all is well, EXCEPT that ALL regular email is lost because virtual_maps is not defined.
So, my question is, how do I send email from a certain subdomain to the proper relay and still have all other regular mail delivered via the local relay?
in other words, why is postfix looking in virtual_maps for email that I defined in relay_domains and transport_maps...
what is the trick to this?
mailbox_transport = cyrus have anything to do with it?