Old 5th April 2006, 16:07
Sabre4 Sabre4 is offline
Junior Member
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix, dovecot mail gateway

I'm trying to setup a mail gateway using Postfix and Dovecot but so far I've only gotten one-half of the process to work (can successfully send mail out, but can't recieve). The setup I want is to have a mail gateway that can forward mail to back-end imap mail servers--this way I can scale the webmail as I need to make room for more users. I'm using Squirrelmail as the front-end and have configured it to look up the appropriate imap server for each user as they login but, I'm not clear on the setup to allow for the forwarding of mail to the appropriate mail server for each user. These users will all be within the same domain--just there imap server will be different. Not sure whether I need to setup a transport map or virtual map or both. Can anyone help? I've tried the setup as described in the 'mail_filter_gateway' howto but must have missed something somewhere.

My DNS MX record points to the mail gateway host and I've configured my routers NAT to allow the appropriate traffic through to the gateway.
Reply With Quote
Sponsored Links
Old 6th April 2006, 00:30
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

I'd do it with Postfix transports. Have a look at
man 5 transport
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
Old 6th April 2006, 02:36
Sabre4 Sabre4 is offline
Junior Member
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks for pointing me in the right direction...

Once I removed the 'relayhost' entry from main.cf it worked. Thanks!

Reply With Quote


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
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 14:08
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
This is the Postfix program <postmaster> edge Installation/Configuration 14 13th March 2006 16:50
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 20:13
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 16:20

All times are GMT +2. The time now is 16:00.

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