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.
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.