[EMAIL PROTECTED] wrote:


No, as we don't have 587 enabled (older version of current toaster).

if you have submission port (587) I think you can create new supervise task
from archive Erik show how to create new SMTP port with SSL (TLS) we alter it a little to create submission port

Re: [qmailtoaster] Running qmail smtp on multiple ports

SMTP + SSL (TLS) **forget the title as we are going to create submission

http://www.mail-archive.com/[email protected]/msg03491.html
http://www.mail-archive.com/[email protected]/msg00225.html
http://www.mail-archive.com/[email protected]/msg02669.html

Erik Espinoza
Wed, 15 Feb 2006 14:31:49 -0800
1) First stop qmail: "service qmail stop"

2) Now run this command: "mkdir -p /var/qmail/supervise/smtp-ssl/supervise /var/qmail/supervise/smtp-ssl/log/supervise" **change smtp-ssl into submission

3) Create a file called "/var/qmail/supervise/smtp-ssl/run" with the following contents **filename: /var/qmail/supervise/submission/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
SMTPS=1
export SMTPS

exec /usr/bin/softlimit -m 12000000 \
    /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" 0 465 \
    $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
replace with
#!/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"
export REQUIRE_AUTH=1

exec /usr/bin/softlimit -m 27000000 \
   /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
   -u "$QMAILDUID" -g "$NOFILESGID" 0 587 \
   $SMTPD $VCHKPW /bin/true 2>&1


4) Create a file called "/var/qmail/supervise/smtp-ssl/log/run" with the following contents **its /var/qmail/supervise/submission/log/run
#!/bin/sh
LOGSIZE=`cat /var/qmail/control/logsize`
LOGCOUNT=`cat /var/qmail/control/logcount`
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE n$LOGCOUNT /var/log/qmail/smtp-ssl 2>&1
replace last line with:
exec /usr/bin/setuidgid qmaill /usr/bin/multilog t s$LOGSIZE n$LOGCOUNT /var/log/qmail/submission 2>&1

5) Execute the following command: "chmod +x /var/qmail/supervise/smtp-ssl/run /var/qmail/supervise/smtp-ssl/log/run && chown -R qmaill:qmail /var/qmail/supervise/smtp-ssl "
change smtp-ssl with submission

6) Restart qmail: "service qmail start"

7) Open port tcp/465 in firewall (**I think it's mean iptables) if necessary. Now have the client that cannot connect to port 25 on your machine to set his mail client to use smtp-ssl via port 465.
and ask your user to send email using port 587 with option "My Server requires authentication" checked. and hopefully their router and/or firewall wont filtered any data pass thru port 587 :)

Thanks,
Erik


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to