Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th October 2007, 14:52
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 MTA using the same Virtusertable???

I have two MTA’s running Postfix, the first is configured as an Antispam/Antivirus Gateway reffered on the „Virtual Users And Domains With Postfix, Courier And MySQL (etch)“ HowTo. The second MTA is also running Postfix with an ISPConfig installation but uses „virtusertable“ for lookup. My question, is it possible to configure the first MTA to use the same „virtusertable“ on the second MTA. Because now when I add a Mailbox over the ISPConfig I must also separately add it to the MySQL Table which is used by the first MTA for lookups. I want that the Mailgateway automaticly accept and vorward the Emails to the Primary MTA after adding a Mailbox over ISPConfig.

Thanks in advance!
Reply With Quote
Sponsored Links
  #2  
Old 28th October 2007, 12:27
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

I think there should be no problem if two postfix instances are using the same virtusertable file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th October 2007, 09:27
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Till but can you give me a hint how to point the virtusertable to another box. I mean which syntax i have to use e.g.
proxy:???:/etc/postfix/virtusertable.db
in the main.cf
Thanks!
Reply With Quote
  #4  
Old 30th October 2007, 17:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I'd simply copy it over to the other box with rsync (with a cron job that runs every 5 minutes or so). Take a look here: http://www.howtoforge.com/mirroring_with_rsync
__________________
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
  #5  
Old 31st October 2007, 09:36
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks falko, that was one of my ideas but i wasn't shure if is the right way.
Reply With Quote
  #6  
Old 31st October 2007, 09:47
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok one thing solved the next coms up, My Mailgateway forwards mails to a Postfix/ISPConfig MTA but also to an Exchange MTA that means there are no Exchange users in the 'virtusertable'. Shuld I put them to the 'virtusertable' or is there a better way to do so? At the moment I have a MySQL table for the Exchange users, is it maybe possible to use both MySQL lookups and the 'virtusertable'?
Thanks a lot!!!
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
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
original virtusertable and local-host-names jacobhenry Installation/Configuration 1 17th February 2007 18:06
ISPConfig no longer able to update virtusertable! Taliesin Installation/Configuration 11 25th September 2006 10:41
virtusertable not getting updated 22hn Installation/Configuration 5 23rd May 2006 00:37
Help understanding how mail server should be setup micko_escalade Server Operation 51 12th February 2006 07:25


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


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