Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relay-problem

Status
Not open for further replies.

Troll257

Technical User
Jan 12, 2003
9
NO
I have installed mail and mostly got it working:

Injecting messages directly into the queue, thus;

echo to: myself@mydomain | /var/qmail/bin/qmail-inject
echo to: someuser@somedomain | /var/qmail/bin/qmail-inject

works fine and I also receive mail from extern domains.

I then installed the bincimap IMAP-server, which now lets me retrieve mail from ~/Maildir/cur from KMail.
However, when I attempt to inject mail from the imap-server (bincimap) I get the following error-message.

"The server responded ""sorry, that domain isn't in my list of allowed rcpthosts".
That seems point to a problem with relying, but I have not been able to pin it down.

My files in /var/qmail/control are as follows


/var/qmail/control/defaultdelivery
./Maildir/

/var/qmail/control/defaultdomain
gudvangen.net

/var/qmail/control/locals
localhost
mydomain

/var/qmail/control/me
mydomain

/var/qmail/control/plusdomain
mydomain

/var/qmail/control/rcpthosts
localhost
mydomain

I have set up /etc/tcp.smtp:

127.0.0.1:allow,RELAYCLIENT=""
192.168.2.:allow,RELAYCLIENT=""

but I am not sure whether/how I should tell qmail about this file. Is it required anyway?

Suggestions are welcome.
 
Thought that I would let the forum know that the fault turned out to be a missing entry in /etc/tcp.smtp. I had to list the IP-number of the choke firewall (the mailserver sits in a DMZ and I was attemping to inject via SMTP from a PC behind the choke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top