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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th November 2009, 17:53
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default ISPConfig for a local mailserver, connected with the ISPConfig main mailserver

Hello to everybody.
I've realized a mailserver with ISPConfig 3.0.0.6
Now I've to complete the scenario: I've to create in the location B another mailserver, that will be connected to the main mailserver.
This mailserver will store in a queue all the email to be sent and it will connect to the main mailserver just when the owner approve.
The same also to collect with fetchmail the email from the main mailserver.
I was thinking to install ISPConfig also in the location B (location C, etc...) and after configure postfix as SMTP replay.
I was also thinking to realize the communications between main mailserver and Location B in a compressed SSH tunnel.
Somebody have some good suggestions about that configuration?

thanks
Michele
Reply With Quote
Sponsored Links
  #2  
Old 16th November 2009, 18:37
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

I was looking the "Email routing" of ISPConfig... maybe I could use it to relay all the emails to be sent from the local mailserver to the main mailserver.
May somebody tell me what is "Destination" and "Sort by"?

Thanks
Michele
Reply With Quote
  #3  
Old 17th November 2009, 09:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Destination is an IP address or hostname. Sort by is the field that is used to sort the routing rules.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 17th November 2009, 10:11
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Thanks Till.
So it's enough that I setup the "email routing" into the local mail server to relay all the emails to send to the main mailserver, right?

If I want connect this two mailservers (the main one and the local one) with a compressed SSH tunnel(so that both fetchmail and email routing will pass through this tunnel), where I can find the script that launch this 2 functions, so that I can add the ssh command?

Thanks
Michele

Last edited by voltron81; 17th November 2009 at 10:36.
Reply With Quote
  #5  
Old 17th November 2009, 12:44
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Ok I've realized the configuration for relay and fetch emails.
But I still can not find where is the script what launch that features, so to add in this scripts the command to make a compressed SSH tunnel...
Have somebody an idea where I can find it?

After that the next step will be setup a cron just for fetchmail and email relay, so that I can decide locally when I want send/fetch emails...

Thanks
Michele
Reply With Quote
  #6  
Old 17th November 2009, 12:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

There is no script that gets started when a email is relayed. Postfix is doing the complete relay process.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 17th November 2009, 13:02
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Ok this is for the relay.
What about fetchmail?
I guess there is a script that launch the fetch operation...

Thanks
Michele
Reply With Quote
  #8  
Old 17th November 2009, 13:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Look in the getmail crontab.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 17th November 2009, 13:31
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Mmmm, to be honest I'm looking the cronfile, but I can not find nothing related with getmail... May you please be a bit more accurate?

About the mail relay, I've found this howto (http://taint.org/2003/10/14/021302a.html) that explain me how to do.
So, once that I've created a SSH tunnel, I've to setup getmail and postfix to go through it...

Thanks Till
Michele
Reply With Quote
  #10  
Old 17th November 2009, 13:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,478
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

I guess you looked at the root crontab and not the getmail crontab as I suggested above. You can do this e.g. by executing:

su getmail
crontab -l
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Fail to open ISPConfig site: firefox 8182 BigB Installation/Configuration 100 31st March 2010 16:19
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
About installing ddclient satimis Server Operation 32 21st December 2006 03:51
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 03:02.


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