Hi Eric, I changed the file to what you recommended, but I am still getting the same error. I have authentication turned on in the email client, and no encryption. The reported error was "MAIL FROM command failed: Authorization required (#5.7.1)". #!/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 SMTPAUTH="!" exec /usr/bin/softlimit -m 128000000 \ /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 -----Original Message----- Date: Sat, 23 Jan 2021 10:17:11 -0700Subject: Re: [qmailtoaster] Error when trying to send on submission portTo: qmailtoaster-list@qmailtoaste r.comReply-to: [email protected]: Eric Broch <ebro [email protected]> #!/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 SMTPAUTH="!" exec /usr/bin/softlimit -m 128000000 \ /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 On 1/23/2021 10:09 AM, Dieter Febel wrote: > > Hi list, > > > > The server only allows sending of email on port 465 or port > 25. When I change to 587 with plain or with encryption I > get: > > > > Port 587 plain: The reported error was "MAIL FROM command > failed: Authorization required (#5.7.1)". (Authentication is > enabled in the mail client) > > > > Here is my /var/qmail/supervise/smtp/run > 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=0 > > > export FORCETLS=0 > > > export SMTPAUTH="+cram" > > > exec /usr/bin/softlimit -m 104000000 \ > > > /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c > "$MAXSMTPD" \ > > > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ > > > $SMTPD $VCHKPW /bin/true 2>&1 > > > > > > > > > > And my tcp.smtp > 127.:allow,RELAYCLIENT="",BADMIMETYPE="",BADLOADERTYPE="M",CHKU > SER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQU > EUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail- > queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys > /%/private" > > > > Any ideas? > > > > Kind regards, > > > > Dieter > > > >
