Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th January 2010, 11:37
maverick maverick is offline
Junior Member
 
Join Date: Jan 2010
Location: South Coast, UK
Posts: 9
Thanks: 2
Thanked 2 Times in 1 Post
Question Looking for a Little Advice to Adding New Domains to PostFix?

Having followed the excellent article "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 12 x86_64)" I can now send and receive Email's using the domain defined in the "domains" MySQL table.

This is my first attempt to setup a Linux Mail Server and am also quite new to Linux itself so don't know my way round the various Linux file systems very well.

I would like to receive Email's for a second domain and forward these to the already defined working domain.

Is this the correct procedure.....
  1. Add the new domain to the "domains" table.
  2. Create entries in the "forwardings" table that contain Email addresses for the new domain as source and point them to an existing Email address in the existing, working, domain.
Do I need to update any other file within PostFix or the operating system?

Thanks in advance

Mark
Reply With Quote
Sponsored Links
  #2  
Old 14th January 2010, 10:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,730 Times in 2,568 Posts
Default

Quote:
Originally Posted by maverick View Post
[*]Add the new domain to the "domains" table.
Correct.

Quote:
Originally Posted by maverick View Post
[*]Create entries in the "forwardings" table that contain Email addresses for the new domain as source and point them to an existing Email address in the existing, working, domain.
To forward all emails for the second domain, you can use @seconddomain.com as the source and @firstdomain.com as the destination.
__________________
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
The Following User Says Thank You to falko For This Useful Post:
maverick (14th January 2010)
  #3  
Old 14th January 2010, 14:47
maverick maverick is offline
Junior Member
 
Join Date: Jan 2010
Location: South Coast, UK
Posts: 9
Thanks: 2
Thanked 2 Times in 1 Post
 
Default

Thankyou for taking the time to answer.

Just working out another issue, so might be back with another question!

Regards

Mark
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
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 09:27.


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