imango75 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Oct 2005 Posts: 3
|
Posted: Fri Oct 07, 2005 5:31 am Post subject: qmail and smtp-auth ... |
|
|
Hello guys,
Sorry for my english ...
I saw a lot of related messages about that but no solution I found, I have:
Quote: | mail-mta/qmail-1.03-r16 *
net-mail/vpopmail-5.4.6-r1 *
net-mail/courier-imap-4.0.1 * |
The authentication work fine, because a domain X user could send mail to any domain Y if she/he log via pop3, but if dont´t the mensaje is the domain is not in my rcpthosts.
The problem is when a domain X user send mail to other domain X user, the mensaje could be send although he/she not log in the system.
I compile qmail with the flag notlsbeforeauth, because I saw this tip in the forum, but don´t work....
Any help, is welcome!!
/var/qmail/control/conf-smtpd:
Code: | TCPSERVER_OPTS="${TCPSERVER_OPTS} -R"
QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir"
QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check"
QMAIL_SMTP_AUTHHOST=$(<${QMAIL_CONTROLDIR}/me)
[ -z "${QMAIL_SMTP_POST}" ] && QMAIL_SMTP_POST=/bin/true
QMAIL_SMTP_CHECKPASSWORD="/var/vpopmail/bin/vchkpw"
QMAIL_SMTP_POST="${QMAIL_SMTP_AUTHHOST} ${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}" |
# telnet xx.xx.xx 25
Trying ...
Connected to correo.surco.com.uy.
Quote: | Escape character is '^]'.
220 xxxxxxxx ESMTP
ehlo
250-xxxxxxxx
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-AUTH LOGIN PLAIN CRAM-MD5
250 SIZE 0 |
Thanks,
Lucky |
|