Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th July 2007, 07:23
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix relay domains, transports and virtual maps....

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

/etc/postfix/transport contains
Code:
domain.of.emaillist.com drupal:
and drupal is defined in master.cf

i do the required
postmap /etc/postfix/transport
and check it with
postconf transport_maps

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?
could
mailbox_transport = cyrus have anything to do with it?

thanks gurus!
ryan.
Reply With Quote
Sponsored Links
  #2  
Old 17th July 2007, 21:31
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

is this the wrong place to ask?
Reply With Quote
  #3  
Old 18th July 2007, 19:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

No, but I don't know a solution...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 18th July 2007, 19:17
veggieryan veggieryan is offline
Junior Member
 
Join Date: Apr 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

where do the gods of postfix hang out?

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53


All times are GMT +2. The time now is 20:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.