Search found 194 matches

by glenluo
2019-09-06 13:38
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 101
Views: 11068

Re: hMailServer 5.7

I think i got the answer here.
https://www.spamhaus.org/faq/section/Spamhaus%20DBL#330

If hMailserver can check return result matching: 127.0.1.X ,then such issue never happen.
by glenluo
2019-09-06 09:45
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 101
Views: 11068

Re: hMailServer 5.7

It seems that as long as it returns an IP,the SURBL result is "Match found".
When it happens,i use nslookup to check youtube.com.dbl.spamhaus.org,it returns an public IP.
I login my other server oversea,it return null result,so it is not spamhaus issue,it maybe the dns hijacking issue.
by glenluo
2019-09-06 07:52
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 101
Views: 11068

Re: hMailServer 5.7

For SURBL,there is a small bug,maybe the DNS issue,for example,when i set dbl.spamhaus.org. The sender send an email containing the domain youtube.com,then SURBL check return an public IP,such as : 22.33.44.55,the the result is MATCH. I think it need to check whether it resturn A record like 127.0.X...
by glenluo
2019-09-06 07:38
Forum: Scripting
Topic: VBScript Regex to Grab Status Code and Test If 500 or higher.
Replies: 9
Views: 1278

Re: VBScript Regex to Grab Status Code and Test If 500 or higher.

Getting the error code is so easy,just one line enough:

Left(Split(sErrorMessage,"Remote server replied: ")(1),3)
by glenluo
2018-06-27 06:13
Forum: General discussions
Topic: Mass-forward mail messages
Replies: 6
Views: 1001

Re: Mass-forward mail messages

Mass forward is not a good idea,maybe cause you IP blacklisted by GMAIL.
POP3 collection is best option
by glenluo
2018-05-13 10:53
Forum: General discussions
Topic: cannot receive any email from China
Replies: 2
Views: 1705

Re: cannot receive any email from China

Hello! Done to setup hmail, tested all good, but the only problems is cannot receive the email from China. Any one faced this issue and know how to fix? Thanks! Server:Connected to xxx.xxx.xxx.xxx Reasons: but sender was rejected Provide the full log,what you said is: sender was rejected. Seems it ...
by glenluo
2018-05-13 10:43
Forum: General discussions
Topic: Gmail SPAM even with DKIM,SPF and DMARC PASS
Replies: 4
Views: 1733

Re: Gmail SPAM even with DKIM,SPF and DMARC PASS

Why you think SPF,DKIM,DMARC all passed and Google need to put your email to INBOX? Every skill spammer know such spf,dkim,dmarc. You need time to warn up your IP and bulit up good reputation with them. For new IP send to junk is usual things. It is just like that: I do not know you and you said to ...
by glenluo
2018-05-13 08:21
Forum: General discussions
Topic: mx record value
Replies: 2
Views: 1269

Re: mx record value

I check previous post,using SSR can query A record,but not support MX record.
I found a free dll : Lookup any DNS record type (A, AAAA, MX, SPF, SOA, SRV, etc.),but seems can not register it at win2008.
https://simpledns.com/dns-client-lib
by glenluo
2018-05-12 12:57
Forum: General discussions
Topic: mx record value
Replies: 2
Views: 1269

mx record value

is it possible to get the mx record value using the EventHandlers?
by glenluo
2018-03-20 06:18
Forum: General discussions
Topic: Bad syntax in sender address
Replies: 3
Views: 870

Re: Bad syntax in sender address

mattg wrote:
2018-03-20 05:59
What scripts do you run

I think that is a response from your scripts
Headcahe,i forgot i have such script to filter something like !,#,^,*,\,/,and etc
by glenluo
2018-03-20 05:22
Forum: General discussions
Topic: Bad syntax in sender address
Replies: 3
Views: 870

Bad syntax in sender address

Mail log is as below,as the MAIL FROM contains "/",the mail is rejected. Version 5.6.6 - Build 2383 2018-03-20 01:37:32.926 RECEIVED: MAIL FROM:<SRS0=H3/y=GJ=melonfashion.com=Pop***@melonfashion.ru> SIZE=956293 2018-03-20 01:37:32.941 SENT: 250 OK 2018-03-20 01:37:33.534 RECEIVED: RCPT TO:<***> 2018...
by glenluo
2018-01-16 15:37
Forum: Scripting
Topic: OnAcceptMessage problem
Replies: 12
Views: 2673

Re: OnAcceptMessage problem

if oClient.Username > "" then <-------------------This is error

You should use like this
If oClient.Username<>""
If oClient.Username=""
If instr(oClient.Username,"xx")>0
by glenluo
2018-01-09 11:15
Forum: General discussions
Topic: whitelist recipients
Replies: 6
Views: 1272

Re: whitelist recipients

Spamassassin: use 'whitelist_from' e.g whitelist_from joe@example.com fred@example.com whitelist_from *@example.com https://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#whitelist_and_blacklist_options whitelist_to will work. As i need to whitelist some local recipients account...
by glenluo
2018-01-09 07:22
Forum: General discussions
Topic: whitelist recipients
Replies: 6
Views: 1272

whitelist recipients

Is it possible to whitelist recipients?
For some cases,such as tom@mydomain.com and jack@mydomain.com are salesman,for any mails send to these two accounts,do not spam filter.
At the Antispam>whitelist,it seems only possible to whitelist sender,not recipients
by glenluo
2017-12-13 09:05
Forum: General discussions
Topic: Script to reject Tricky Sender
Replies: 8
Views: 1335

Re: Script to reject Tricky Sender

Wow, interesting find...good work glenlou, thanks for sharing I created a dummy account (since deleted) and got the 14 test emails sent to it. In Thunderbird 52.5 (current version), Outlook 2010 (fully patched) and iOS Mail (latest version) ALL test messages show incorrectly. I was thinking that th...
by glenluo
2017-12-13 03:12
Forum: General discussions
Topic: Script to reject Tricky Sender
Replies: 8
Views: 1335

Re: Script to reject Tricky Sender

I think it will be something as below Sub OnAcceptMessage(oClient,oMessage) If oClient.IPAddress<>"" Then if instr(oMessage.From,"<")>0 then Dim HeaderFromAddress HeaderFromAddress=LCase(oMessage.From) HeaderFromAddress=Split(HeaderFromAddress,"<")(0) If instr(HeaderFromAddress,"@")>0 then 'here Com...
by glenluo
2017-12-12 17:00
Forum: General discussions
Topic: Script to reject Tricky Sender
Replies: 8
Views: 1335

Script to reject Tricky Sender

For normail email,the FROM format is always: From: "Name" <email_address> Some spammers are using email address instead,then, it will be such format: From: "noreply@hotmail.com" <email_address>,when the user download email to outlook,it will only showing: noreply@hotmail.com,in that case,user may th...
by glenluo
2017-12-06 14:51
Forum: General discussions
Topic: In all Microsoft's inboxes not received any emails
Replies: 17
Views: 2792

Re: In all Microsoft's inboxes not received any emails

Put the mail to the junk is much worse than just reject it,as your customer can never download by outlook.
Most of often,we only use outlook to send and receive email.
by glenluo
2017-12-06 11:06
Forum: General discussions
Topic: In all Microsoft's inboxes not received any emails
Replies: 17
Views: 2792

Re: In all Microsoft's inboxes not received any emails

Hi, Google, Yahoo, and all working, only Microsoft's servers not received any emails also in spam folder. Maybe exists any testing email tools for Microsoft's servers? Thanks. Regards Submit a ticket with microsoft,i think this is the only way we can do,they will reply and let you know if there is ...
by glenluo
2017-12-05 06:09
Forum: General discussions
Topic: In all Microsoft's inboxes not received any emails
Replies: 17
Views: 2792

Re: In all Microsoft's inboxes not received any emails

Hi, Google, Yahoo, and all working, only Microsoft's servers not received any emails also in spam folder. Maybe exists any testing email tools for Microsoft's servers? Thanks. Regards Submit a ticket with microsoft,i think this is the only way we can do,they will reply and let you know if there is ...
by glenluo
2017-12-03 13:25
Forum: Off-topic discussions
Topic: startCom certificate CA is going, going...
Replies: 2
Views: 1265

Re: startCom certificate CA is going, going...

We use trustasia dv ssl ca -G5
One year free,can renew
by glenluo
2017-12-03 13:18
Forum: General discussions
Topic: In all Microsoft's inboxes not received any emails
Replies: 17
Views: 2792

Re: In all Microsoft's inboxes not received any emails

In this world,for big company they never have problem,if you can not send to INBOX,but to JUNK,all is YOUR problem!!!
That is also the reason why more and more small company give up self-bulit mail server and turn out to use office365 international.
by glenluo
2017-12-03 12:50
Forum: General discussions
Topic: In all Microsoft's inboxes not received any emails
Replies: 17
Views: 2792

Re: In all Microsoft's inboxes not received any emails

Best way is just to contact the outlook.com support team for this issue.
I have an IP not in any RBL and with sendersore=98,spf,dkim,dmarc all pass,but they still put the mails to junk folder!
No problem with aol,gmail.yahoo and others.
by glenluo
2017-10-10 11:14
Forum: SpamAssassin implementation discussions
Topic: Why is the white list penalized?
Replies: 3
Views: 1537

Re: Why is the white list penalized?

You need to edit the rule,as old rule was written in 199X,
So FH_DATE_PAST_20XX The date is grossly in the future is no use at all
by glenluo
2017-08-22 14:29
Forum: Off-topic discussions
Topic: Spam attacks? Do you think you are hard done to?
Replies: 137
Views: 43876

Re: Spam attacks? Do you think you are hard done to?

jimimaseye wrote:
glenluo wrote:Sorry,solved
Care to share what the problem and solution was?
cd C:\Windows\SysWOW64
regsvr32 xxxx

if direct run cmd.exe from start menu,and regsvr32 xxxx not working.
by glenluo
2017-08-22 14:26
Forum: General discussions
Topic: Filter IP address out of logs
Replies: 14
Views: 2898

Re: Filter IP address out of logs

Either of these help? Using remote SMB mount in linux: tail -f /mount-point/hmailserver_XXX.log | grep -v "192.168.1." Using Powershell: Get-Content hmailserver_XXX.log -wait | Select-String -pattern "192.168.1." -notmatch use GNU utilities for Win32,it is possible. As i always use gawk at windows....
by glenluo
2017-08-20 15:59
Forum: Off-topic discussions
Topic: Spam attacks? Do you think you are hard done to?
Replies: 137
Views: 43876

Re: Spam attacks? Do you think you are hard done to?

I test it at win2003,all works fine,but win2008,not working
by glenluo
2017-08-20 15:24
Forum: Off-topic discussions
Topic: Spam attacks? Do you think you are hard done to?
Replies: 137
Views: 43876

Re: Spam attacks? Do you think you are hard done to?

Seems win2008 not working,dll register sucessful,use SSRTest.vbs to test,seems ok,but add to EventHandlers.vbs,not working.

Script Error: Source: Microsoft VBScript runtime error - Error: 800A01AD - Description: ActiveX component can't create object: 'SScripting.IPNetwork
by glenluo
2017-01-20 11:58
Forum: General discussions
Topic: Flooded by ylmf-pc, no more auto-ban after enabling SSL
Replies: 6
Views: 2113

Re: Flooded by ylmf-pc, no more auto-ban after enabling SSL

These spammers are using dail-up IP to scan,or use cloud vps,like alicloud,qcloud or some other,which charge by hours. Once any one complain to provider,they will kill the vps and bulid another new one with the backup OS. Sub OnSmtpData(oClient,oMessage) If (InStr(1,lcase(oClient.HELO),"ylmf-pc",1)>...
by glenluo
2016-04-07 02:57
Forum: General discussions
Topic: Virous found notice
Replies: 7
Views: 1189

Re: Virous found notice

mattg wrote:so does it work or not?
What were you hoping to achieve?
The envelope-from is still null, while sending the notice,and the From in the header already changed to be: "Noreply <Noreply@mydomian.com>"
by glenluo
2016-04-06 17:28
Forum: General discussions
Topic: Virous found notice
Replies: 7
Views: 1189

Re: Virous found notice

Below script only change the From

Sub OnDeliverMessage(oMessage)

If instr(lcase(oMessage.Subject),"virus found")>0 then
oMessage.From="Noreply <Noreply@mydomain.com>"
oMessage.FromAddress="Noreply@mydomain.com"
oMessage.Save
End if

End Sub
by glenluo
2016-04-06 15:36
Forum: General discussions
Topic: Virous found notice
Replies: 7
Views: 1189

Re: Virous found notice

mattg wrote:WHere do you have that script?

What trigger are you using for it?
hMailserver antivirus,delete email and notify sender
by glenluo
2016-04-06 14:27
Forum: General discussions
Topic: Virous found notice
Replies: 7
Views: 1189

Re: Virous found notice

I have test it at OnAcceptMessage and OnDeliverMessage,both not working.
As some mail server may reject mail it the envelope-from is null
by glenluo
2016-04-06 14:22
Forum: General discussions
Topic: Virous found notice
Replies: 7
Views: 1189

Virous found notice

By default,if virous found, envelope-from:<> From: mailer-daemon@mail.mydomian.com I have used script to change as below: If instr(lcase(oMessage.Subject),"virous found")>0 then oMessage.From="Noreply <Noreply@mydomian.com>" oMessage.FromAddress="Noreply@mydomian.com" oMessage.Save End if But it see...
by glenluo
2015-11-04 04:08
Forum: General discussions
Topic: DKIM: Fails at Gmail but passes everywhere else
Replies: 7
Views: 14504

Re: DKIM: Fails at Gmail but passes everywhere else

I think it is your dkim setting or some other problem,my dkim pass all aol,gmail,yahoo,hotmail.... and full score at mail-tester Delivered-To: glen***@gmail.com Received: by 10.202.171.147 with SMTP id u141csp1158418oie; Sun, 1 Nov 2015 23:53:06 -0800 (PST) X-Received: by 10.66.172.144 with SMTP id ...
by glenluo
2015-03-02 06:02
Forum: General discussions
Topic: Scripts and route
Replies: 7
Views: 1477

Re: Scripts and route

I know it can be done by rule,but you need to add address one by one manually. As these address is stored in a txt file automaticly. Sub OnAcceptMessage(oClient, oMessage) Read the txt file and send from the route,not know how to joint the route function by script. End sub Sub OnDeliveryFailed(oMess...
by glenluo
2015-02-17 06:14
Forum: General discussions
Topic: Scripts and route
Replies: 7
Views: 1477

Re: Scripts and route

mattg wrote:But my understanding is that RDNS is a DNS record, and can't shouldn't be attached as a text file to an email.
This needs to be set in DNS, probably by your ISP
Just tell me how to connect route function at script,all others,i can do it.
by glenluo
2015-02-16 08:19
Forum: General discussions
Topic: Scripts and route
Replies: 7
Views: 1477

Re: Scripts and route

What are you hoping will be achieved by storing RDNS entries in a text file? In the txt file,it will keep the those domain that needs rnds,like aol.com. For example,when i send an email to a new domain: abcd.com,that server response reqesting rdns,then my script will auto keep this domain in the te...
by glenluo
2015-02-16 02:49
Forum: General discussions
Topic: Scripts and route
Replies: 7
Views: 1477

Re: Scripts and route

No one here knows ?
by glenluo
2015-02-14 15:09
Forum: General discussions
Topic: Any way to replace/remove sender IP?
Replies: 13
Views: 3578

Re: Any way to replace/remove sender IP?

Use below code the replace it as local IP. Sub OnAcceptMessage(oClient, oMessage) If instr(oMessage.FromAddress,"@")>0 then If instr(1,LCase(oMessage.HeaderValue("Received")),"50.31.160.55",1)>0 then oMessage.HeaderValue("Received")=replace(oMessage.HeaderValue("Received"),"50.31.160.55","192.168.1....
by glenluo
2015-02-13 07:29
Forum: General discussions
Topic: Scripts and route
Replies: 7
Views: 1477

Scripts and route

The situation is like this: (1)Local mail server does not have rdns setting (2)I have script to auto keep this address request rdns in a txt file,use fso to write it. Now i need the script to call the route to send email when address matches those at txt file If ..... then use already define rulenam...
by glenluo
2014-12-17 16:03
Forum: General discussions
Topic: Route existing mailbox
Replies: 3
Views: 1177

Re: Route existing mailbox

Hmailserver+AAMailserver will do Europe Mailserver:hMailserver HongKong Mailserver: AAmailserver (In China,we also call dbmailserver) (1)hmailserver use rule and route to forward the China user mail to hk server (2) AAMserver use map mail server mode,all user in China just need to loggin hk server t...
by glenluo
2014-11-12 08:15
Forum: General discussions
Topic: Muti IP,send according to domains
Replies: 5
Views: 1387

Re: Muti IP,send according to domains

webguyz wrote:I think maybe he is talking about a RULE,
IF the TO field contains 'yahoo.com.cn'
then
Bind to local address : xx.xx.xx.99
Bind to IP means connecting to itself. I have tried that before
by glenluo
2014-11-08 17:52
Forum: General discussions
Topic: Emails are not going to gmail, live extra from hmail server.
Replies: 14
Views: 3677

Re: Emails are not going to gmail, live extra from hmail server.

There is way to settle it: Buy a cheap vps,install the hmailser on it,use it as a relay server,you can use 80 port for SMTP. Then at your real mail server,send all email to relay server,you ISP can not block your ourgong 80 port. At the real mail server,use global rule, To contains: @ send using the...
by glenluo
2014-11-08 17:41
Forum: General discussions
Topic: Any free SMTP relay services??
Replies: 10
Views: 42602

Re: Any free SMTP relay services??

I think the best way is to delist from block list,it is not so hard.

No one can provide you free relay server,as we can not guarantee you will not use it to send bulk.
by glenluo
2014-11-07 07:12
Forum: General discussions
Topic: SENT: 530 SMTP authentication is required. VBS-script.
Replies: 10
Views: 1963

Re: SENT: 530 SMTP authentication is required. VBS-script.

External to local,should not request SMTP authentication
by glenluo
2014-11-07 07:10
Forum: General discussions
Topic: Muti IP,send according to domains
Replies: 5
Views: 1387

Muti IP,send according to domains

My server has two public IPs,like xx.xx.xx.98 and xx.xx.xx.99.hmail listen on all ips,by default,all mails will send from IP:98,now,i need the receipt domian contains: yahoo.com.cn,send from IP:99,how can i setup?
by glenluo
2014-10-27 16:17
Forum: General discussions
Topic: Block an attached .zip file containing a .exe file
Replies: 8
Views: 3729

Re: Block an attached .zip file containing a .exe file

Yes,recently a lot of emails contain photo.zip,invoice.zip,dhl invoice.zip........
All these contain exe virus.
by glenluo
2014-09-20 09:10
Forum: User contributed hMailServer 5 scripts
Topic: IP Blacklist - Block IPs (very basic but effective)
Replies: 12
Views: 6359

Re: IP Blacklist - Block IPs (very basic but effective)

Can use below to block single IP or IP range Sub OnClientConnect(oClient) Const BadIPGroup ="220.246.55.*|220.247.*.*|220.248.*.*|183.13.*.*" If IsForbidIP(BadIPGroup) = True Then Result.Value = 2 Result.Message = "IP in blacklist,server rejected!" End If End Sub Function IsForbidIP(vBadIP) Dim coun...
by glenluo
2014-07-20 14:54
Forum: General discussions
Topic: How to block bruteforce attack from ymfl-pc
Replies: 33
Views: 17180

Re: How to block bruteforce attack from ymfl-pc

Auto-ban is enough for such attack
by glenluo
2014-05-05 07:19
Forum: General discussions
Topic: eventlog and mail status
Replies: 3
Views: 1449

Re: eventlog and mail status

How can i write message status in the eventlog? For mail delivering,we can got code like: 250,554,550 and etc,if error discription can be added,that will be pecfect. You mean something like this? EventLog.Write("AUTH attempt rejected:"+vbTab+oClient.IPAddress+vbTab+oClient.Port+vbTab+oClient.Userna...
by glenluo
2014-05-04 14:05
Forum: General discussions
Topic: eventlog and mail status
Replies: 3
Views: 1449

eventlog and mail status

How can i write message status in the eventlog?
For mail delivering,we can got code like: 250,554,550 and etc,if error discription can be added,that will be pecfect.
by glenluo
2014-04-28 17:11
Forum: General discussions
Topic: user not local problem
Replies: 3
Views: 1035

Re: user not local problem

mattg wrote:I don't believe that 551 is a hmailserver SMTP error
http://www.hmailserver.com/documentatio ... sages_smtp
Dear All,

Thanks so much,i google it,it is the problem of China GFW . Seems network is not stable today,or maybe it is filter by the GFW.
by glenluo
2014-04-28 15:44
Forum: General discussions
Topic: user not local problem
Replies: 3
Views: 1035

user not local problem

I meet a strange problem,i have exist accout,such as admin@mydomain.com,i can send email to other domains,and received email correctly,but when i send email to myself,it return the error as attached file. Maillog as below: "SMTPD" 2516 13382 "2014-04-28 21:30:19.136" "58.62.*.*" "RECEIVED: ***" "SMT...
by glenluo
2014-04-16 12:05
Forum: General discussions
Topic: Rewrite mail from using script
Replies: 6
Views: 2055

Re: Rewrite mail from using script

Hey - I think I have the same problem. Where should I place this VB Script? Regards Peter I think we need to put oMessage.save before end if Sub OnAcceptMessage(oClient, oMessage) If oMessage.FromAddress = "" Then oMessage.From = "Autoreply<noreply@mydomain.com>" oMessage.FromAddress = "noreply@myd...
by glenluo
2014-04-13 17:19
Forum: General discussions
Topic: Rewrite mail from using script
Replies: 6
Views: 2055

Re: Rewrite mail from using script

Share the final scripts.

Code: Select all

Sub OnAcceptMessage(oClient, oMessage)
If oMessage.FromAddress = "" Then
oMessage.From = "Autoreply<noreply@mydomain.com>"
oMessage.FromAddress = "noreply@mydomain.com"
End If
oMessage.save
End Sub
by glenluo
2014-04-11 07:56
Forum: General discussions
Topic: Rewrite mail from using script
Replies: 6
Views: 2055

Rewrite mail from using script

"SMTPD" 2584 7396 "2014-04-11 01:42:22.246" "183.5.161.25" "RECEIVED: EHLO ex2010.XXXXX.local" "SMTPD" 2584 7396 "2014-04-11 01:42:22.246" "183.5.161.25" "SENT: 250-antispam.030904.com[nl]250-SIZE 51200000[nl]250 AUTH LOGIN" "SMTPD" 2524 7396 "2014-04-11 01:42:22.418" "183.5.161.25" "RECEIVED: AUTH...
by glenluo
2014-03-02 16:28
Forum: General discussions
Topic: about MAIL FROM:<>
Replies: 5
Views: 1928

Re: about MAIL FROM:<>

Could anybody write one for me? I have tried,but fail