
eduardo at pmaint
Feb 4, 2013, 9:46 AM
Post #20 of 20
(1188 views)
Permalink
|
|
Re: Problems receiving mail in qmail ( 553 sorry, your HELO host name has been denied (#5.7.1) )
[In reply to]
|
|
Hi, Now is working ! The ct.com domain was defined in badhelo file, then when I used nyct.com, it was considered as part of ct.com. Thank you everybody for your time and support. Eduardo On 02/04/2013 09:44 AM, Eduardo Mena wrote: > Hi, > > I removed ct.com from badmailfrom file and this is the output : > > # telnet mail.pmaint.com 25 > Trying 192.168.20.248... > Connected to mail.pmaint.com (192.168.20.248). > Escape character is '^]'. > 220 mail.pmaint.com ESMTP > ehlo ct.com > 250-mail.pmaint.com > 250-STARTTLS > 250-PIPELINING > 250-8BITMIME > 250-SIZE 22777216 > 250 AUTH LOGIN PLAIN CRAM-MD5 > mail from:test [at] ct > 250 ok > rcpt to:eduardo [at] pmaint > 250 ok > > Thanks > > Eduardo > > On 02/04/2013 09:33 AM, Eduardo Mena wrote: >> Hi, >> >> I removed ct.com from badhelo file, I restarted qmail and I tested >> again. This is the output : >> >> # telnet mail.pmaint.com 25 >> Trying 192.168.20.248... >> Connected to mail.pmaint.com. >> Escape character is '^]'. >> 220 mail.pmaint.com ESMTP >> ehlo ct.com >> 250-mail.pmaint.com >> 250-STARTTLS >> 250-PIPELINING >> 250-8BITMIME >> 250-SIZE 22777216 >> 250 AUTH LOGIN PLAIN CRAM-MD5 >> mail from:test [at] ct >> 250 ok >> rcpt to:eduardo [at] pmaint >> 553 sorry, your envelope sender has been denied (#5.7.1) >> >> Thanks >> >> Eduardo >> >> >> On 02/04/2013 09:20 AM, Eduardo Mena wrote: >>> Hi, >>> >>> This is the test for ct.com >>> >>> # telnet mail.pmaint.com 25 >>> Trying 192.168.20.248... >>> Connected to mail.pmaint.com. >>> Escape character is '^]'. >>> 220 mail.pmaint.com ESMTP >>> ehlo ct.com >>> 250-mail.pmaint.com >>> 250-STARTTLS >>> 250-PIPELINING >>> 250-8BITMIME >>> 250-SIZE 22777216 >>> 250 AUTH LOGIN PLAIN CRAM-MD5 >>> MAIL FROM:test [at] test >>> 250 ok >>> RCPT TO:eduardo [at] pmaint >>> 250 ok >>> >>> On 02/04/2013 09:09 AM, Jason Staudenmayer wrote: >>>> Glad you found it. >>>> >>>>> -----Original Message----- >>>>> From: Eduardo Mena [mailto:eduardo [at] pmaint] >>>>> Sent: Friday, February 01, 2013 5:36 PM >>>>> To: Jason Staudenmayer >>>>> Cc: Andy Bradford; qmail [at] list; Shepherd Nhongo >>>>> Subject: Re: Problems receiving mail in qmail ( 553 sorry, >>>>> your HELO host name has been denied (#5.7.1) ) >>>>> >>>>> >>>>> Hi, >>>>> >>>>> I looked again the file and 'ct.com' was in my badhelo file. >>>>> I'm sorry >>>>> but I got confused becausethis text "ehlo >>>>> ct.com250-mail.pmaint.com" was >>>>> displayed together. Because ct.com is in badhelo file, therefore it >>>>> display the message "553 sorry, your HELO host name has been denied >>>>> (#5.7.1)" >>>>> >>>>> Thanks >>>>> >>>>> Eduardo >>>>> >>>>> On 01/02/2013 4:39 PM, Jason Staudenmayer wrote: >>>>>> It's kind of hard to help if you drop info. I found a match >>>>> of ct.com so we would need to look over the whole file. You >>>>> could also try adding LOGREGEX="" to your last entry in your >>>>> tcp.smtp file and then check the log for the matching regex >>>>> (this might depend on the patch or build). Hopefuly somebody >>>>> might jump in as I'm off for the weekend, if not I check back Mon. >>>>>>> -----Original Message----- >>>>>>> From: Eduardo Mena [mailto:eduardo [at] pmaint] >>>>>>> Sent: Friday, February 01, 2013 4:22 PM >>>>>>> To: Jason Staudenmayer >>>>>>> Cc: Andy Bradford; qmail [at] list; Shepherd Nhongo >>>>>>> Subject: Re: Problems receiving mail in qmail ( 553 sorry, >>>>>>> your HELO host name has been denied (#5.7.1) ) >>>>>>> >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I'm sending you part of the badhelo file. I modifed the first >>>>>>> line and I >>>>>>> omitted 20O lines of badhelo domains. Here I put only a >>>>> few domains. >>>>>>> --- >>>>>>> !(^pc1$|^pc2$|^pc3|^cust[1-9]$|\.) >>>>>>> 163data\.com\.cn >>>>>>> ewe-ip-backbone\.de >>>>>>> rm0001\.net >>>>>>> yahoo2\.com\.cn >>>>>>> tolsz200621cn\.com >>>>>>> songltaylor-studwelding\.com\.cn >>>>>>> --- >>>>>>> >>>>>>> In the following log file you can look that rm0001.net is a badhelo >>>>>>> because this is in the badhelo file. >>>>>>> >>>>>>> @4000000051091b33125fb664 tcpserver: pid 31270 from 216.55.88.86 >>>>>>> @4000000051091b332f63acfc tcpserver: ok 31270 >>>>>>> boom.pmaint.com:192.168.20.248:25 >>>>>>> mail-88-86.rm0001.net:216.55.88.86::55100 >>>>>>> @4000000051091b3400148bc4 qmail-smtpd: badhelo: >>>>>>> <mail-88-86.rm0001.net> >>>>>>> at 216.55.88.86 >>>>>>> @4000000051091b340205ad64 tcpserver: end 31270 status 0 >>>>>>> >>>>>>> Thanks. >>>>>>> Eduardo >>>>>>> >>>>>>> On 01/02/2013 3:03 PM, Jason Staudenmayer wrote: >>>>>>>> After poking at your mail server seems that it's matching >>>>>>> on the ct part of the address >>>>>>>> 220 mail.pmaint.com ESMTP >>>>>>>> ehlo ct.com250-mail.pmaint.com >>>>>>>> 250-STARTTLS >>>>>>>> 250-PIPELINING >>>>>>>> 250-8BITMIME >>>>>>>> 250-SIZE 22777216 >>>>>>>> 250 AUTH LOGIN PLAIN CRAM-MD5 >>>>>>>> mail from:test [at] ct ok >>>>>>>> rcpt to:eduardo [at] pmaint sorry, your HELO host name >>>>>>> has been denied (#5.7.1) >>>>>>>> rcpt to:eduardo [at] pmaint sorry, your HELO host name >>>>>>> has been denied (#5.7.1) >>>>>>>> Check your badhelo for any open ct regex matches >>>>>>>> >>>>>>>> Jason >>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: Eduardo Mena [mailto:eduardo [at] pmaint] >>>>>>>>> Sent: Friday, February 01, 2013 12:38 PM >>>>>>>>> To: Jason Staudenmayer >>>>>>>>> Cc: Andy Bradford; qmail [at] list; Shepherd Nhongo >>>>>>>>> Subject: Re: Problems receiving mail in qmail ( 553 sorry, >>>>>>>>> your HELO host name has been denied (#5.7.1) ) >>>>>>>>> >>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I done it, but the messages continues. >>>>>>>>> >>>>>>>>> [root [at] boo tcprules.d]# vi tcp.qmail-smtp >>>>>>>>> >>>>>>>>> 170.28.128.9:allow,TCPREMOTEHOST="",NOBADHELO="",RBLSMTPD="" >>>>>>>>> >>>>>>>>> >>>>>>>>> [root [at] boo tcprules.d]# tcprules >>>>> /etc/tcprules.d/tcp.qmail-smtp.cdb >>>>>>>>> /etc/tcprules.d/.tcp.qmail-smtp.tmp< >>>>>>> /etc/tcprules.d/tcp.qmail-smtp >>>>>>>>> [root [at] boo tcprules.d]# for i in $(ls /service/ |grep qmail); >>>>>>>>> do svc -d >>>>>>>>> /service/$i; done; >>>>>>>>> [root [at] boo tcprules.d]# for i in $(ls /service/ |grep qmail); >>>>>>>>> do svc -u >>>>>>>>> /service/$i; done; >>>>>>>>> [root [at] boo tcprules.d]# telnet mail.pmaint.com 25 >>>>>>>>> Trying 192.168.20.248... >>>>>>>>> Connected to mail.pmaint.com (192.168.20.248). >>>>>>>>> Escape character is '^]'. >>>>>>>>> 220 mail.pmaint.com ESMTP >>>>>>>>> EHLO nyct.com >>>>>>>>> 250-mail.pmaint.com >>>>>>>>> 250-STARTTLS >>>>>>>>> 250-PIPELINING >>>>>>>>> 250-8BITMIME >>>>>>>>> 250-SIZE 22777216 >>>>>>>>> 250 AUTH LOGIN PLAIN CRAM-MD5 >>>>>>>>> MAIL FROM:DD [at] nyct >>>>>>>>> 250 ok >>>>>>>>> RCPT TO:eduardo [at] pmaint NOTIFY=success,failure >>>>>>>>> 553 sorry, your HELO host name has been denied (#5.7.1) >>>>>>>>> >>>>>>>>> Thank you. >>>>>>>>> >>>>>>>>> Eduardo >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Eduardo Mena >>>>>>>>> Predictive Maintenance Corporation >>>>>>>>> Corporation d'entretien prédictif >>>>>>>>> 8330 Decarie Blvd., >>>>>>>>> Montreal, Qc., H4P 2P5 >>>>>>>>> Tel. 514 383 6330 >>>>>>>>> >>>>>>>>> >>>>>>>>> On 02/01/2013 12:11 PM, Jason Staudenmayer wrote: >>>>>>>>>> That could be it try to whitelist that domain in your >>>>>>> tcp.smtp relay >>>>>>>>>> list. Something like this should do it >>>>>>>>>> >>>>>>>>>> 170.28.128.9:allow,TCPREMOTEHOST="",NOBADHELO="",RBLSMTPD="" >>>>>>>>>> >>>>>>>>>> Then save tcp.smtp and update the db >>>>>>>>>> >>>>>>>>>>> -----Original Message----- >>>>>>>>>>> From: Eduardo Mena [mailto:eduardo [at] pmaint] >>>>>>>>>>> Sent: Friday, February 01, 2013 12:05 PM >>>>>>>>>>> To: Jason Staudenmayer >>>>>>>>>>> Cc: Andy Bradford; qmail [at] list; Shepherd Nhongo >>>>>>>>>>> Subject: Re: Problems receiving mail in qmail ( 553 sorry, >>>>>>>>>>> your HELO host name has been denied (#5.7.1) ) >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I'm using rhost-check for bad reverse DNS. >>>>>>>>>>> >>>>>>>>>>> In /var/qmail/supervise/qmail-smtpd/run file, I have: >>>>>>>>>>> >>>>>>>>>>> SERVICE=smtp >>>>>>>>>>> . /var/qmail/bin/qmail-config-system&& \ >>>>>>>>>>> exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \ >>>>>>>>>>> ${QMAIL_TCPSERVER_PRE} \ >>>>>>>>>>> /usr/bin/tcpserver ${TCPSERVER_OPTS} -x >>>>>>>>> ${TCPSERVER_RULESCDB} \ >>>>>>>>>>> -c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \ >>>>>>>>>>> ${TCPSERVER_HOST} ${TCPSERVER_PORT} \ >>>>>>>>>>> rhost-check ${QMAIL_SMTP_PRE} \ >>>>>>>>>>> -r sbl-xbl.spamhaus.org \ >>>>>>>>>>> /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_SMTP_POST} \ >>>>>>>>>>> 2>&1 >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> >>>>>>>>>>> Eduardo >>>>>>>>>>> >>>>>>>>>>> On 02/01/2013 11:35 AM, Jason Staudenmayer wrote: >>>>>>>>>>>> look like the helo name doesn't match the dns name. When I >>>>>>>>>>> was running >>>>>>>>>>>> my own qmail servers I saw this from time-to-time from >>>>>>> doing RDNS >>>>>>>>>>>> lookups. Are you running any RDNS filters? >>>>>>>>>>>> >>>>>>>>>>>> Jason >>>>>>>>>>>> -----Original Message----- >>>>>>>>>>>> From: Eduardo Mena [mailto:eduardo [at] pmaint] >>>>>>>>>>>> Sent: Friday, February 01, 2013 11:06 AM >>>>>>>>>>>> To: Andy Bradford >>>>>>>>>>>> Cc: qmail [at] list; Shepherd Nhongo >>>>>>>>>>>> Subject: Re: Problems receiving mail in qmail ( 553 >>>>>>>>> sorry, your HELO >>>>>>>>>>>> host name has been denied (#5.7.1) ) >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> The log from /var/log/qmail/qmail-smtpd is the following: >>>>>>>>>>>> >>>>>>>>>>>> @400000005108ffe800653c04 tcpserver: ok 13133 >>>>>>>>>>>> boom.pmaint.com:192.168.20.248:25 >>>>>>>>> mail1.nyct.com:170.28.128.9::53330 >>>>>>>>>>>> @400000005108ffe81b39cb94 qmail-smtpd: >>>>>>>>>>> badhelo:<nyctlmgw.NYCT.COM> at >>>>>>>>>>>> 170.28.128.9 >>>>>>>>>>>> @400000005108ffe81c5d3cf4 tcpserver: end 13133 status 0 >>>>>>>>>>>> @400000005108ffe81c5d40dc tcpserver: status: 0/40 >>>>>>>>>>>> @400000005109001a00ce90dc tcpserver: status: 1/40 >>>>>>>>>>>> >>>>>>>>>>>> Thank you. >>>>>>>>>>>> >>>>>>>>>>>> Eduardo >>>>>>>>>>>> >>>>>>>>>>>> On 02/01/2013 08:58 AM, Eduardo Mena wrote: >>>>>>>>>>>> Hi Andy, >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> The real domain is nyct.com and I have not put this >>>>>>> domain in the >>>>>>>>>>>> 'badhelo' file, then I do not understand why when the >>>>>>>>>>> client nyct.com >>>>>>>>>>>> send us emails (to pmaint.com), he receive as response the >>>>>>>>>>> mesage " 553 >>>>>>>>>>>> sorry, your HELO host name has been denied ". >>>>>>>>>>>> >>>>>>>>>>>> Thank you. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Eduardo >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On 01/31/2013 11:19 PM, Andy Bradford wrote: >>>>>>>>>>>> Thus said Eduardo Mena on Thu, 31 Jan 2013 15:04:40 -0500: >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> The /var/qmail/control/badhelo file on my server >>>>>>>>>>> doesn't have >>>>>>>>>>>> extdomain.com. For me, extdomain.com is not a badhelo. >>>>>>>>>>>> >>>>>>>>>>>> How do you know that extdomain.com is what their MTA >>>>>>>>>>> client said during >>>>>>>>>>>> EHLO? >>>>>>>>>>>> >>>>>>>>>>>> Andy >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Click here to report this email as spam. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> This message has been scanned for malware by Websense. >>>>>>>>>>> www.websense.com >>>> >>> >>> >> >> > >
|