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.
Thread Tools Display Modes
Old 18th February 2008, 12:34
ivengi ivengi is offline
Junior Member
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix, local accounts and forward for domain

I would like to have the possibility to run the following setup:

local accounts:

In the domain table, I've added domain.com and in the mailbox table I've added user1 and user2. This functions without problems.

If an email is received for a non existing local mailbox I want the mail to be forwarded to a different SMTP server.

In the transport table I added an entry:
domain.com smtp:[IP.OF.SMTP.SERVER]

But unfortunately all mail is now forwarded to the SMTP server and mail to user1 and user2 are not delivered on the local system.

What can I do so that postfix does "mailbox before transport" instead of "transport before mailbox"?
Reply With Quote
Sponsored Links
Old 19th February 2008, 10:21
thecaoticone thecaoticone is offline
Join Date: Nov 2007
Posts: 89
Thanks: 1
Thanked 18 Times in 16 Posts

I am not sure if this is what you are looking for, but from what I am understanding you want to do, this might help.


at the bottom:
Non-existent users
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
Store mails in postfix mailbox and forward at the same time igongora Server Operation 0 31st December 2007 08:38
Postfix,Virtual Users,FC5 howto: "System" accounts need manual setup? TWadmin HOWTO-Related Questions 4 30th December 2006 22:07
Help understanding how mail server should be setup micko_escalade Server Operation 51 12th February 2006 08:25

All times are GMT +2. The time now is 19:53.

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