Hi Folks,

I've problems to configure a Qmail Server as a mailhub for external
mails.

The scenario:

I've a internal Qmail server that handles all mails at "mydomain.de" and
everything is working fine.
Now I created a subnet behind a firewall "subnet.mydomain.de".
There I've another Qmail server "mailhub.subnet.mydomain.de".
I've inserted the IP-adress of the mailhub into the smtproutes file at
the internal mailserver like this
":111.111.111.111" and all external mail goes to
"mailhub.subnet.mydomain.de".
Onto the mailhub I've an alias called "alias-ppp" and all external mail
is stored into a maildir called "pppdir".
With maildirsmtp I transfer all mails of the pppdir to our ISP. Works
very well.

All mail at "[EMAIL PROTECTED]" will be transfered into 1 POP3-Mailbox
at the ISP-Mailserver.
But now I've problems to get my mails from the ISP via fetchmail.
I made an entry into the fetchmailrc to use qmail-inject -> mda
"/var/qmail/bin/qmail-inject" and inserted the domain and IP-adress of
the internal mailserver into the smtproutes file of the mailhub.

mydomain.de:100.100.100.100

It seems to work fine but the mailhub doesn't send the incoming mails
directly to the internal mailserver.
At the qmail log file I see something like this
"[EMAIL PROTECTED]".

How can I tell the mailhub to send the incoming messages directly to the
internal mailserver ???

Thank you very much

regards

Christian

Reply via email to