Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: kwm on June 29, 2001, 06:09:43 PM

Title: email from another domain (2nd try)
Post by: kwm on June 29, 2001, 06:09:43 PM
After my posting from Juni 13th in the general forum (no reply) I thought, that my problem was too simple to be answered by anyone.

After a look in the vdomain-howto on the netsourced.com I think it´might be too difficult for the general forum :-))

We have a server "company.xxx" hosted by our ISP and an e-smith box "local.yyy" configured for dialup connections. Every user has an email account "user@company.xxx" on the ISP hosted server and another account "user@local.yyy" on the local e-smith server.

At the moment every user has two Outlook accounts (one for the ISP and one for local email) but now I want to offer the webmail interface.

I would like to fetch the mail from the ISP hosted server and deliver it into the local mailboxes of each user. At the moment I can get the mail but I cant deliver it.

My ISP told me to throw qmail out of the box and to realize it with fetchmail. I know about the polling in Fetchmail from a SuSE box but this should not be the preferred solution.

As far as I understood the vdomain howto, its possible to solve my problem with just adding a few lines to the qmail conf.



Can annybody give me some advice? -Maybe I´m just having problems with the syntax?

Thanks in advance for help

KWM

BTW It would be great if someone could add the described funktion in the "pseudonyms" of the management-console.
Title: Re: email from another domain (2nd try)
Post by: Dan Brown on June 29, 2001, 06:24:38 PM
I really don't think this can be solved just by adding lines to the qmail conf file.  The problem here is that the internet in general thinks that mail for company.xxx is supposed to go to your ISP's mail servers, so that's where it will go.  No matter what you tell qmail on your server, that won't change what the rest of the internet does.

You have two options here:  (1) use fetchmail (don't get rid of qmail, but use fetchmail to poll the ISP's mail servers and deliver locally).  (2) change the DNS records for company.xxx to list local.yyy as the mx server for company.xxx (perhaps with the ISP as a backup mx), and add company.xxx as a virtual domain on the e-smith machine.  The first you can do entirely on your end, while the second requires intervention from whomever hosts your DNS.

This really isn't properly a function of the pseudonym system, but there are fetchmail generators in the works, which would simplify that process.