View previous topic :: View next topic |
Author |
Message |
tretre n00b
Joined: 10 Sep 2005 Posts: 18
|
Posted: Wed Apr 18, 2007 11:16 pm Post subject: [qmail] unable to to relay from an external host #5.7.1 |
|
|
Hello all I have followed http://gentoo-wiki.com/QmailRocksOnGentoo and many other howto everything is working ok, but relaying from an external host. I wonder if the conf-smtpd written there is good. I tried several variant but none works, I always get client-side 535 authentication failed (#5.7.1)
it error on authentication but #5.7.1 is typical for wrong relaying rule isn't it ? so it it seems relay-ctrl is causing problems...
don't know what to do it's several hours I'm trying but I finshed the bullets
if I use the webmail that runs on locally on the server smtp work.
What do you advice?
thanks for any advice _________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook |
|
Back to top |
|
|
tretre n00b
Joined: 10 Sep 2005 Posts: 18
|
Posted: Thu Apr 19, 2007 10:56 am Post subject: imap before smtp no go with relay-ctrl |
|
|
since nobody replied I will add additional info in the hope someone has done this before a can take a look!
the official relay-ctrl docs says to symb link relay-ctrl-allow into /usr/lib/courier-authlib and to add it to authmodulelist into /etc/courier/authlib/authdaemonrc.
However if I do so I can't even read the email! I think this can be cause by the fact I have no conf-imapd in my /var/qmail/control. I haven't tested with pop yet.
my conf-smtpd :
Code: |
TCPSERVER_OPTS="${TCPSERVER_OPTS} -R -v"
QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir"
QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check"
QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw"
[[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]] && {
[[ -z "${QMAIL_SMTP_POST}" ]] && QMAIL_SMTP_POST=/bin/true
QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"
}
|
any clue? _________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook |
|
Back to top |
|
|
tretre n00b
Joined: 10 Sep 2005 Posts: 18
|
Posted: Thu Apr 19, 2007 12:24 pm Post subject: |
|
|
looks like I'm not alone having this problem: I found https://forums.gentoo.org/viewtopic-p-2649159.html and I have the same conf but still no go...
I can't believe none has the same setup how you do smtp-auth after imap? _________________ "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook |
|
Back to top |
|
|
|