hi

some of my users need to compulsorily use port 25 for sending outgoing
emails with smtp authentication

for such users if they use the primary ip for sending then get error that
their ip is listed in blacklist - naturally because they are sending from
dialup connections.

since they cannot use port 587 i was planning to bind qmail smtp service
to another ip address (yyy.yyy.yyy.yyy) on the server which could be used
by these customers

so i created a separate folder /var/qmail/supervise/smtpauth with all the
files in it after making changes to the run file, restarted qmail.

i was able send emails using alternate ip yyy.yyy.yyy.yyy but the problem
is that the server does not ask for authentication even though i specified
REQUIRE_AUTH=1.

I need some help on this please.

my run file is given below

yyy.yyy.yyy.yyy -- is my secondary ip

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=1

exec /usr/bin/softlimit -m 12000000 \
    /usr/bin/tcpserver -v -R -H -l ns2.myserver.net -x $TCP_CDB -c
"$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" yyy.yyy.yyy.yyy smtp \
    $SMTPD $VCHKPW /bin/true 2>&1

rajesh





---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
     For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to