Two qmail-smtpd servers on one host?

This is a discussion on Two qmail-smtpd servers on one host? within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Is it possible to run two qmail-smtpd servers, listening to different ports, on the same host? My dial-up ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-18-2005
Matt Simpson
 
Posts: n/a
Default Two qmail-smtpd servers on one host?

Is it possible to run two qmail-smtpd servers, listening to different
ports, on the same host?

My dial-up ISP seems to be blocking outbound port 25 traffic, to make me
use their SMTP server for outbound mail. I guess this is an attempt to
control spam. I think it's misguided, but that's another issue. I
doubt if I can convince them to change their minds.

I considered switching ISPs, but then I thought maybe I could get around
the problem by running another qmail-smtpd daemon listening to a
different port, and configuring my email client (Eudora) to send through
that port.

So far, it seems to work. But I wasn't sure if there were any
contention or integrity issues with 2 servers using the same spool, etc.
Reply With Quote
  #2 (permalink)  
Old 11-18-2005
Dave Sill
 
Posts: n/a
Default Re: Two qmail-smtpd servers on one host?

Matt Simpson <msimpson@uky.edu> writes:

> Is it possible to run two qmail-smtpd servers, listening to different
> ports, on the same host?


Sure.

> My dial-up ISP seems to be blocking outbound port 25 traffic, to make me
> use their SMTP server for outbound mail. I guess this is an attempt to
> control spam. I think it's misguided, but that's another issue. I
> doubt if I can convince them to change their minds.


You could use your ISP as "smart host": forward all remote mail to it
for delivery using control/smtproutes:

:mail.example.net

(substitute the name/address of your ISP's mail host)

> I considered switching ISPs, but then I thought maybe I could get around
> the problem by running another qmail-smtpd daemon listening to a
> different port, and configuring my email client (Eudora) to send through
> that port.


That will let your Eudora talk to your qmail server, but aren't both
on your local network? And that won't do anything to get around your
ISP's port 25 block, which will block all outgoing mail.

> So far, it seems to work. But I wasn't sure if there were any
> contention or integrity issues with 2 servers using the same spool, etc.


You don't need two qmail installations in order to run qmail-smtpd
daemons. Just set up another qmail-smtpd service listening on the
alternate port. But I still don't see why you need to do that.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
  #3 (permalink)  
Old 11-18-2005
Matt Simpson
 
Posts: n/a
Default Re: Two qmail-smtpd servers on one host?

Thanks for the response. You basically answered my question, even
though I guess I wasn't really clear about what I was trying to do.

In article <wx0iruq3qxh.fsf@sws5.ornl.gov>,
Dave Sill <MaxFreedom@sws5.ornl.gov> wrote:

> You could use your ISP as "smart host": forward all remote mail to it
> for delivery using control/smtproutes:


I could, but I don't want to. I like having my own server that does
what I want it to.

>
> That will let your Eudora talk to your qmail server, but aren't both
> on your local network?


No. Here's where I wasn't clear. I have a domain hosted by a hosting
site, which allows me to run my own web/email servers, and whatever else
I want. At home, I connect to that server, and the rest of the world,
via dial-up access (no broadband out in the boondocks) provided by a
different ISP. They provide a fairly standard package (a couple of
email addresses which I don't use, etc). All I want from them is
connectivity to the net. I don't want/need any of their other services.

> And that won't do anything to get around your
> ISP's port 25 block, which will block all outgoing mail.


Again, I was unclear. They're (apparently) blocking port 25 outbound
from their dial-up clients to all servers EXCEPT their own. I guess
this is an attempt to keep their users from pumping out spam. I don't
want to pump out huge volumes of mail from my home computer; I just want
my normal amount of outbound mail to go through my server instead of
theirs.

>
> You don't need two qmail installations in order to run qmail-smtpd
> daemons. Just set up another qmail-smtpd service listening on the
> alternate port.


Yeah, I figured that part out. When I asked the question, I was
concerned about the fact that both services would be using the same
spool files, etc. Then it occured to me later that it's really no
different than allowing multiple concurrent SMTP connections on port 25.
All the necessary logic has to already be there to keep multiple
connections from trashing each other; it shouldn't matter if some of
them come in via a different port.

>But I still don't see why you need to do that.


Because I want the mail client on my home computer to route my outbound
email via a server far far away, instead of the one my dial-up ISP
provides and thinks I should u se.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0