Koozali.org: home of the SME Server

qmail sending mail problem

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
qmail sending mail problem
« on: March 14, 2006, 05:42:52 PM »
I've created a virtual domain which is an external domain and resolves as "Internet DNS servers", but every time I try to send an e-mail to a mailbox on this domain my own server takes it an tells me there is no mailbox for this domain. How can I send e-mails with my qmail smtp but let do the mail delivery the external smtp server?

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: qmail sending mail problem
« Reply #1 on: March 15, 2006, 04:08:01 AM »
Quote from: "crusader"
I've created a virtual domain which is an external domain and resolves as "Internet DNS servers", but every time I try to send an e-mail to a mailbox on this domain my own server takes it an tells me there is no mailbox for this domain. How can I send e-mails with my qmail smtp but let do the mail delivery the external smtp server?


Why have you added an external domain as a virtual domain? That feature is for boxes hosted locally on this server, so what you describe is exactly what you would expect - the SME Server is accepting the mail and trying to deliver locally.

The DNS Server setting is for sites which have a complex "split horizon" DNS where the box is acting as a gateway with some domains internal and some domains external.
............

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
qmail sending mail problem
« Reply #2 on: March 15, 2006, 11:47:48 AM »
Ok, to give a clearer description. My problem ist, that have to send e-mails from a specific domain, in this case leibrecht-consulting.de so it is possible to send for example info@leibrecht-consulting.de but the real domain is hosted on another server, therefor I download with fetchmail the certain mails from this server to the mailboxes hosted on my machine. Some Mailboxes have not been created on my local server so mails to this Mailbox should be directed to the real Mailserver outside. Any Idea how I can reach this goal?