Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[qmail] unable to to relay from an external host #5.7.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Wed Apr 18, 2007 11:16 pm    Post subject: [qmail] unable to to relay from an external host #5.7.1 Reply with quote

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
View user's profile Send private message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Thu Apr 19, 2007 10:56 am    Post subject: imap before smtp no go with relay-ctrl Reply with quote

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
View user's profile Send private message
tretre
n00b
n00b


Joined: 10 Sep 2005
Posts: 18

PostPosted: Thu Apr 19, 2007 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum