Koozali.org: home of the SME Server

Fetchmail and default domain

Offline BartManInNZ

  • **
  • 31
  • +0/-0
    • http://www.bart.geek.nz/
Fetchmail and default domain
« on: October 23, 2006, 11:27:02 PM »
Greetings,

This problem may not bespecific to Fetchmail (http://www.schirrms.net/sme/SMEFetchMail.php) but I have searched high and low and cannot work it out.
My problem is this:
I have one SME server that is handling mail and www for two domains. The primary domain (domain1.com) has all mail forwarded to an internal exchange box (192.168.1.2), the second domain name's mail and www (domain2.com) is hosted by the sme server.

I have installed and configured Fetchmail to retrieve from a Pop3 account for (domain2.com) and deliver to a user - however because Fetchmail is forwarding to the default domain1.com my local user@domain2.com is not receiving the mail. Is there any way to change the behaviour of fetchmail or can I remove domain1.com from a users email addresses?

TIA,
Bart