Hi Eric.
Well yes, and I believe they are in the 'default' setup - at least I
have 2 (submission, smtps) because I used to use 587 but switched to 465
and left 587 running just in case...
(actually I responded to the mail because it looked like Dieter was
making the changes in the smtp run file - and then he will face some
other difficulties ;-) )
/Finn
Den 24-01-2021 kl. 18:17 skrev Eric Broch:
Are there two submission daemons running?
Restart server.
On 1/24/2021 9:10 AM, [email protected] wrote:
You need to have Your /var/qmail/supervise/smtp/run (port 25) as below
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE="/usr/bin/spamdyke"
SPAMDYKE_CONF="/etc/spamdyke/spamdyke.conf"
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 smtp \
$SPAMDYKE --config-file $SPAMDYKE_CONF \
$SMTPD $VCHKPW /bin/true 2>&1
Then have the change (copy the lines from Eric' mail) into the
/var/qmail/supervise/submission/run (port 587)
and lastly here is my /var/run/supervise/smtps/run for port 465
#!/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 SMTPS=1
export FORCETLS=0
export SMTPAUTH="!+cram"
exec /usr/bin/softlimit -m 128000000 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 465 \
$SMTPD $VCHKPW /bin/true 2>&1
I may say all 3 run files are default settings from Erics install
script - only change I may recall is the softlimit that may have been
increased
My clients (mostly TB) are using ssl/tls - encrypted (name/passwd)
settings and are only using 465 or 587 to submit mails
port 25 is only for server to server delivery 😏
Hope this may help
Regards
Finn
PS I'm on Centos8 and Qmail for same - perfect
Den 24-01-2021 kl. 07:31 skrev Dieter Febel:
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 -0700
*Subject*: Re: [qmailtoaster] Error when trying to send on submission
port
*To*: [email protected]
<mailto:[email protected]>
Reply-to: [email protected]
*From*: Eric Broch <[email protected]
<mailto:eric%20broch%20%[email protected]%3e>>
#!/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",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var/qmail/bin/qmail-queue.orig",DKVERIFY="DEGIJKfh",DKSIGN="/var/qmail/control/domainkeys/%/private"
Any ideas?
Kind regards,
Dieter
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]