Koozali.org: home of the SME Server

Forward to other email server

John Pigdon

Forward to other email server
« on: September 25, 1999, 03:48:02 PM »
Hi, I've just changed jobs (and I don't think I unsubscribed from the mail lists before I left my old one - sorry)

Now I have a real use for e-smith. However, can the email side be set up to forward all incoming mail to another SMTP server? If so, would this be a global setting or would it need to be set for each user when they are set up?

Joseph Morrison

RE: Forward to other email server
« Reply #1 on: September 25, 1999, 05:23:28 PM »
Hello John,

Currently there is no setting for this. Are you thinking of using the e-smith server to host POP mailboxes? Why would you want to forward incoming mail somewhere else?

Or are you perhaps thinking of using the e-smith server as a gateway only, and continuing to use an existing mail server? If so, you'd have to customize the e-smith server yourself, to either do port forwarding, or to run qmail in a different configuration.

Best regards,
- Joe

John Pigdon

RE: Forward to other email server
« Reply #2 on: September 27, 1999, 06:03:22 AM »
>> Or are you perhaps thinking of using the e-smith server as a gateway only, and
>> continuing to use an existing mail server?

Thanks Joseph, this is what I need to do. I need to forward mail on to a Lotus Domino server, which is going to be the main mail server for the domain.

Charlie Brady

RE: Forward to other email server
« Reply #3 on: September 27, 1999, 01:59:49 PM »
John, if mail is never delivered to the server then there is no need to forward email. That is, if no MX records are setup, and no users set their mail client to send mail via the server, then there aren't any configurations changes necessary.

John Pigdon wrote:
-------------------------------
>> Or are you perhaps thinking of using the e-smith server as a gateway only, and
>> continuing to use an existing mail server?

Thanks Joseph, this is what I need to do. I need to forward mail on to a Lotus Domino server, which is going to be the main mail server for the domain.

Joseph Morrison

RE: Forward to other email server
« Reply #4 on: September 27, 1999, 04:24:09 PM »
Hi John,

There isn't any SMTP forwarding capability of this type in the e-smith server and gateway yet. How big is your site? (Number of computers, email acocunts, etc.?) At some point it makes sense to consider getting a commercial firewall/gateway solution. Then you could set up the e-smith server in server-only mode, and use its ftp, web, and other servers. Then you could easily continue to use your existing mail server as well.

In future versions of the e-smith server, we are considering adding port forwarding capabilities which would solve your problem.

Best regards,
- Joe

Gordon Rowell

RE: Forward to other email server
« Reply #5 on: September 30, 1999, 04:42:46 PM »
John Pigdon wrote:

>> [Joseph Morrison]
>> Or are you perhaps thinking of using the e-smith
>> server as a gateway only, and continuing to use an
>> existing mail server?
>
> Thanks Joseph, this is what I need to do. I need to forward
> mail on to a Lotus Domino server, which is going to be the
> main mail server for the domain.

Make an empty /var/qmail/control/locals file

Create /var/qmail/control/smtproutes with the following line:

mydomain.over.here:[a.b.c.d]

where a.b.c.d is the _IP address_ of your Domino box. Mail for mydomain.over.here will be punted. [Personally. I would be thinking about keeping my mail in open standard mailboxes]

You will need to play around with the e-smith templates so
that the locals file doesn't get rebuilt to the standard.

Gordon

Charlie Brady

RE: Forward to other email server
« Reply #6 on: October 05, 1999, 07:08:52 AM »
Gordon Rowell wrote:


> Make an empty /var/qmail/control/locals file
>
> Create /var/qmail/control/smtproutes with the following line:
>
> mydomain.over.here:[a.b.c.d]
>
> where a.b.c.d is the _IP address_ of your Domino box. Mail for
> mydomain.over.here will be punted. [Personally. I would be
> thinking about keeping my mail in open standard mailboxes]
>
> You will need to play around with the e-smith templates so
> that the locals file doesn't get rebuilt to the standard.

Make /etc/e-smith/templates/var/qmail/control/local an
empty file. If you have applied any of the e-smith 3.0 updates
you may need to modify the template for smtproutes as well.

Charlie