|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
courier smarthost configuring?I have a linux box in my dmz that previously handled web, ftp,
and incoming email. I have moved the incoming email to a dedicated (different) linux box running sendmail instead of courier. There are web forms on the web box that still has courier that I want forwarded to the dmz email box. The web box will never receive any email, only generate the email from things like webforms as root and apache. I did not have the file web:/etc/courier/esmtproutes, so I created that file (with vi) and added the single line ':[192.168.200.3]' hoping that all email on the web box would be forwarded. I also did a 'courier stop' then a 'courier start'. The mail is still being delivered locally on the web box instead of being forwarded to the email box. What else should I look at and change on the web box so that the web box will forward all email to the dmz box? Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: courier smarthost configuring?On Thu, Jun 26, 2008 at 2:02 PM, Mike Eggleston <mikeegg1@...> wrote:
> I have a linux box in my dmz that previously handled web, ftp, > and incoming email. I have moved the incoming email to a dedicated > (different) linux box running sendmail instead of courier. There are > web forms on the web box that still has courier that I want forwarded > to the dmz email box. The web box will never receive any email, only > generate the email from things like webforms as root and apache. > > I did not have the file web:/etc/courier/esmtproutes, so I created that > file (with vi) and added the single line ':[192.168.200.3]' hoping that > all email on the web box would be forwarded. I also did a 'courier stop' > then a 'courier start'. The mail is still being delivered locally on > the web box instead of being forwarded to the email box. > > What else should I look at and change on the web box so that the web > box will forward all email to the dmz box? Did you remove /etc/courier/locals? jerry ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: courier smarthost configuring?On Thu, 26 Jun 2008, Jerry Amundson might have said:
> On Thu, Jun 26, 2008 at 2:02 PM, Mike Eggleston <mikeegg1@...> wrote: > > I have a linux box in my dmz that previously handled web, ftp, > > and incoming email. I have moved the incoming email to a dedicated > > (different) linux box running sendmail instead of courier. There are > > web forms on the web box that still has courier that I want forwarded > > to the dmz email box. The web box will never receive any email, only > > generate the email from things like webforms as root and apache. > > > > I did not have the file web:/etc/courier/esmtproutes, so I created that > > file (with vi) and added the single line ':[192.168.200.3]' hoping that > > all email on the web box would be forwarded. I also did a 'courier stop' > > then a 'courier start'. The mail is still being delivered locally on > > the web box instead of being forwarded to the email box. > > > > What else should I look at and change on the web box so that the web > > box will forward all email to the dmz box? > > Did you remove /etc/courier/locals? > > jerry After removing /etc/courier/locals and 'courier restart', I received no mail (so I put the file back and restarted again). Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: courier smarthost configuring?On Thu, 26 Jun 2008, Mike Eggleston might have said:
> On Thu, 26 Jun 2008, Jerry Amundson might have said: > > > On Thu, Jun 26, 2008 at 2:02 PM, Mike Eggleston <mikeegg1@...> wrote: > > > I have a linux box in my dmz that previously handled web, ftp, > > > and incoming email. I have moved the incoming email to a dedicated > > > (different) linux box running sendmail instead of courier. There are > > > web forms on the web box that still has courier that I want forwarded > > > to the dmz email box. The web box will never receive any email, only > > > generate the email from things like webforms as root and apache. > > > > > > I did not have the file web:/etc/courier/esmtproutes, so I created that > > > file (with vi) and added the single line ':[192.168.200.3]' hoping that > > > all email on the web box would be forwarded. I also did a 'courier stop' > > > then a 'courier start'. The mail is still being delivered locally on > > > the web box instead of being forwarded to the email box. > > > > > > What else should I look at and change on the web box so that the web > > > box will forward all email to the dmz box? > > > > Did you remove /etc/courier/locals? > > > > jerry > > After removing /etc/courier/locals and 'courier restart', I received no > mail (so I put the file back and restarted again). > > Mike I think here's what's happening. I mis-spoke above about the contents of /etc/courier/esmtproutes. I did have in /etc/courier/esmtproutes ':viper' since that's the name of the host. When I change ':viper' to ':[192.168.200.3]' the forwarding/smarthost worked. I think my dmz web box has an issue with the name 'viper', though I did have 'viper' in /etc/hosts. Anyway, I'm waiting for a bit to watch legitimate traffic come through the dmz. Thanks for your help, Jerry. Mike ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
|
|
Re: courier smarthost configuring?-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Mike Eggleston <mikeegg1@...> wrote on 2008-Jun-27: > I think here's what's happening. I mis-spoke above about the contents > of /etc/courier/esmtproutes. I did have in /etc/courier/esmtproutes > ':viper' since that's the name of the host. When I change ':viper' > to ':[192.168.200.3]' the forwarding/smarthost worked. I think my dmz > web box has an issue with the name 'viper', though I did have 'viper' > in /etc/hosts. Courier doesn't use /etc/hosts, it uses DNS. So unless your DNS will resolve "viper", then courier can't either. Jeff Jansen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIZEXLGfIHDMaiC9cRAqaDAKCpBvJix0A8G4SN4V3xgulf7StRcACgpZ/I L26d83huSIFjx5FJfR5kUdA= =LkSu -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ courier-users mailing list courier-users@... Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users |
| Free Forum Powered by Nabble | Forum Help |