Hi Eric, the below config in /var/qmail/supervise/smtp/run
#!/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" REQUIRE_AUTH=0 #export FORCETLS=0 export SMTPAUTH="" exec /usr/bin/softlimit -m 64000000 \ /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 and tcp.smtp 127.:allow,RELAYCLIENT="",RBLSMTPD="",NOPFCHECK="1" 192.168.1.:allow,RELAYCLIENT="",RBLSMTPD="",NOPFCHECK="1" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10" Now I am able to receive emails from public domains like gmail. May I check with you if it works internal and external then mail server is working fine right? On Tue, Nov 10, 2020 at 12:23 AM Eric Broch <ebr...@whitehorsetc.com> wrote: > To stop spamdyke > > Remove line: > > $SPAMDYKE --config-file $SPAMDYKE_CONF \ > On 11/9/2020 9:17 AM, ChandranManikandan wrote: > > Hi Eric, > > In tcp file config below > > 127.:allow,RELAYCLIENT="",RBLSMTPD="",NOPFCHECK="1" > 192.168.1.: > allow,RELAYCLIENT="",RBLSMTPD="",NOPFCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan" > > :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",NOP0FCHECK="1",QMAILQUEUE="/var/qmail/bin/simscan" > > do i need to add this line is enough > export SMTPAUTH="-" > > On Tue, Nov 10, 2020 at 12:13 AM Eric Broch <ebr...@whitehorsetc.com> > wrote: > >> change the run file to this >> >> #!/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 64000000 \ >> /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 >> >> On 11/9/2020 9:10 AM, ChandranManikandan wrote: >> >> in which line need to remove from below run file >> >> #!/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" >> REQUIRE_AUTH=0 >> >> exec /usr/bin/softlimit -m 64000000 \ >> /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 >> >> On Tue, Nov 10, 2020 at 12:07 AM Eric Broch <ebr...@whitehorsetc.com> >> wrote: >> >>> Remove spamdyke from /var/qmail/supervise/smtp/run and let's see what >>> happens. >>> On 11/9/2020 9:05 AM, ChandranManikandan wrote: >>> >>> Yes Eric, >>> Full log here >>> Nov 9 23:43:01 mail spamdyke[25135]: DENIED_OTHER from: x...@gmail.com >>> to: x...@example.com origin_ip: 209.85.210.44 origin_rdns: >>> mail-ot1-f44.google.com auth: (unknown) encryption: TLS reason: >>> 451_mail_server_temporarily_rejected_message_(#4.3.0) >>> >>> On Tue, Nov 10, 2020 at 12:01 AM Eric Broch <ebr...@whitehorsetc.com> >>> wrote: >>> >>>> Is spamd and clamd started? >>>> >>>> Is that message from /var/log/maillog? >>>> On 11/9/2020 8:57 AM, ChandranManikandan wrote: >>>> >>>> Hi Eric, >>>> >>>> Thanks, >>>> qmail-1.03-3.3.1.qt.el7.x86_64 >>>> qmailmrtg-4.2-3.qt.el7.x86_64 >>>> qmailadmin-1.2.16-3.2.qt.el7.x86_64 >>>> >>>> It's working now after a change in squirrelmail config file. >>>> >>>> But one other issue comes >>>> Emails are delivered to internal and external domains >>>> but email is not received from an external server. >>>> >>>> I checked in the below error message showing. >>>> >>>> encryption: TLS reason: 451 mail server temporarily >>>> rejected_message_(#4.3.0) >>>> >>>> I have installed letsencrypt ssl and done dovecot conf and httpd >>>> virtual host 80 port >>>> Please let me know what could cause it or misconfiguration. >>>> >>>> webmail also showing only http not https after installing letsencrypt. >>>> Do I need to install the ssl package? >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Nov 9, 2020 at 11:52 PM Eric Broch <ebr...@whitehorsetc.com> >>>> wrote: >>>> >>>>> What version of qmail are you running? >>>>> >>>>> >>>>> On 11/9/2020 8:44 AM, Eric Broch wrote: >>>>> >>>>> Change: >>>>> >>>>> /etc/tcprules.d/tcp.smtp >>>>> >>>>> To: >>>>> >>>>> 127.:allow,RELAYCLIENT="",RBLSMTPD="",NOP0FCHECK="1",SMTPDEBUG="1" >>>>> >>>>> :allow,SIMSCAN_DEBUG="5",BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1" >>>>> >>>>> >>>>> Change: >>>>> >>>>> /etc/squirrelmail/config_local.php >>>>> >>>>> From: >>>>> >>>>> $smtpServerAddress = 'localhost'; >>>>> $smtpPort = 465; >>>>> $smtp_auth_mech = 'login'; >>>>> $use_smtp_tls = true; >>>>> >>>>> To: >>>>> >>>>> $smtpServerAddress = 'localhost'; >>>>> $smtpPort = 25; >>>>> On 11/9/2020 7:51 AM, ChandranManikandan wrote: >>>>> >>>>> Hi Eric & Friends, >>>>> >>>>> I have installed new COS 7 and configure the COS7 qmail steps after >>>>> done everything, >>>>> i tried to send email from squirrelmail with the same server the below >>>>> message comes. >>>>> What i missed in any configuration >>>>> i just install qmailtoaster setup from qmailtoaster.com. >>>>> >>>>> Anyone quick response. >>>>> Its very urgent to fix this issue. >>>>> Appreciate your help. >>>>> >>>>> -- >>>>> >>>>> >>>>> *Regards, Manikandan.C * >>>>> >>>>> >>>> >>>> -- >>>> >>>> >>>> *Regards, Manikandan.C * >>>> >>>> >>> >>> -- >>> >>> >>> *Regards, Manikandan.C * >>> >>> >> >> -- >> >> >> *Regards, Manikandan.C * >> >> > > -- > > > *Regards, Manikandan.C * > > -- *Regards,Manikandan.C*