Search found 101 matches

by johnyu2012
2019-01-09 06:27
Forum: General discussions
Topic: Spf Softfail in google mail
Replies: 1
Views: 677

Spf Softfail in google mail

I need to add a spf record to avoid spoofing and I use register.com as dns provider. They told me to add the following into the txt record. @ "v=spf1 include:spf.registeredsite.com ~all" I did that. When I sent a test mail to my gmail account, the mail went through but the header showed me it is has...
by johnyu2012
2018-08-21 14:59
Forum: General discussions
Topic: Command line scan for new avg business version
Replies: 10
Views: 3137

Re: Command line scan for new avg business version

I think this works better

"C:\Program Files\AVG\Antivirus\ashcmd.exe"/s /p=0 /d /_

with /t=a, sometimes return value becomes 2 instead of 1
by johnyu2012
2018-08-21 14:25
Forum: General discussions
Topic: Command line scan for new avg business version
Replies: 10
Views: 3137

Re: Command line scan for new avg business version

It looks like avast and avg works the same:

"C:\Program Files\AVG\Antivirus\ashcmd.exe"/t=a /s /p /d /_

return value change from 5 to 1
by johnyu2012
2018-08-19 17:17
Forum: General discussions
Topic: Command line scan for new avg business version
Replies: 10
Views: 3137

Command line scan for new avg business version

It was used to be avgscana.exe but it changes to ashcmd.exe, and the parameter is totally different now. I cannot run that to return a test score anymore. Any idea?
by johnyu2012
2018-06-18 05:13
Forum: General discussions
Topic: Internet security warning from outlook on pop3 ssl
Replies: 7
Views: 2718

Re: Internet security warning from outlook on pop3 ssl

Thanks for all the advice. Installing the certificate as trusted root ca for the client works fine. I just try let's encrypt today but it looks like my web host has it on their cpanel. I create the cert but it looks like I cannot download it for my hmailserver to use, and I don't believe they have s...
by johnyu2012
2018-06-17 06:53
Forum: General discussions
Topic: Internet security warning from outlook on pop3 ssl
Replies: 7
Views: 2718

Internet security warning from outlook on pop3 ssl

I use the open ssl to generate the ssl and try to use it on pop3 and imap. Everytime I open outlook, it will come up with the internet security warning for the untrusted certificate. The email works fine but only this warning keeps coming up when it starts. Do I really have to buy a legit ssl in ord...
by johnyu2012
2017-06-08 09:52
Forum: General discussions
Topic: Put emails back to server
Replies: 1
Views: 648

Put emails back to server

I use pop3 from outlook and somehow I forgot to check "leave a copy on the server". What is the best way to move some of those mails back to the server?
by johnyu2012
2017-04-04 04:32
Forum: General discussions
Topic: Data missing on hm_message_metadata during replication
Replies: 2
Views: 971

Re: Data missing on hm_message_metadata during replication

I use mysql server and did a master slave replication. I know it is not a hmailserver issue but I also know somebody here did this before, so just ask anyway.
by johnyu2012
2017-04-04 02:58
Forum: General discussions
Topic: Data missing on hm_message_metadata during replication
Replies: 2
Views: 971

Data missing on hm_message_metadata during replication

I don't know anybody had tried this before. I am replicating the hm database to another server for backup. When there is an update on the master db, sometimes it will miss data inserting into the hm_message_metadata table on the slave server. It will add the row but the data inside are all "Null". T...
by johnyu2012
2017-03-27 06:57
Forum: General discussions
Topic: Get emails from backup server automatically
Replies: 1
Views: 742

Get emails from backup server automatically

I just set up a mx backup server and it works fine. But I want to know if there is a way my email clients can automatically get emails (pop3 or imap) from this backup server when the main server is down since my backup server is sync up with the main server already.
by johnyu2012
2017-03-26 15:43
Forum: General discussions
Topic: How to notify myself when the backup server is running
Replies: 2
Views: 941

How to notify myself when the backup server is running

Just got the mx backup server running. I wonder how to notify myself when the main server is down and I am using the backup server
by johnyu2012
2016-12-28 05:34
Forum: General discussions
Topic: Correct false spam email
Replies: 6
Views: 1807

Re: Correct false spam email

The whitelist should work. I put it @icloud.com instead of *@icloud.com. Email goes through if it is correct.
by johnyu2012
2016-12-27 08:16
Forum: General discussions
Topic: Correct false spam email
Replies: 6
Views: 1807

Re: Correct false spam email

Problem solved. Just lower the score for verify dkim-signature header. It was the same score as the threshold for the built in spam. Thanks for everybody!
by johnyu2012
2016-12-27 07:34
Forum: General discussions
Topic: Correct false spam email
Replies: 6
Views: 1807

Re: Correct false spam email

It looks like the bulit-in spam of hmailserver is filtering email out. The header shows the following at the end: Message-id: <adfa88d7-0ee7-4edc-9b42-4198bc42268b@me.com> X-hMailServer-Spam: YES X-hMailServer-Reason-1: Rejected by DKIM. - (Score: 4) X-hMailServer-Reason-Score: 4 When I check off ve...
by johnyu2012
2016-12-26 17:38
Forum: General discussions
Topic: Correct false spam email
Replies: 6
Views: 1807

Re: Correct false spam email

I just disable spamassassin and external virus scanner at the same time. It still does not work. I think hmailserver may have some internal rules working inside.
by johnyu2012
2016-12-26 17:26
Forum: General discussions
Topic: Correct false spam email
Replies: 6
Views: 1807

Correct false spam email

I have been having a lot of trouble to receive email from icloud.com. It always goes to spam folder. I have already disabled external virus program and add @icloud.com into whitelist. The log is as following: "APPLICATION" 2760 "2016-12-26 23:09:02.161" "SMTPDeliverer - Message 42156: Delivering mes...
by johnyu2012
2016-12-16 14:46
Forum: General discussions
Topic: cannot set spam mark threshold
Replies: 8
Views: 3236

Re: cannot set spam mark threshold

Setting in local.cf works fine. Thank you!
by johnyu2012
2016-12-16 14:20
Forum: General discussions
Topic: cannot set spam mark threshold
Replies: 8
Views: 3236

johnyu2012

If it is set in local.cf, what are those settings in hmailserver for?
by johnyu2012
2016-12-16 11:49
Forum: General discussions
Topic: cannot set spam mark threshold
Replies: 8
Views: 3236

Re: cannot set spam mark threshold

First, I thought I did not change "use score from spamassassin", I then changed but it stays the same. As you can see the header (MS outlook) in the attachment, it shows score required still 5. I don't see any log show what spam threshold is set.
by johnyu2012
2016-12-16 08:43
Forum: General discussions
Topic: cannot set spam mark threshold
Replies: 8
Views: 3236

Re: cannot set spam mark threshold

I am looking at the new email after change. Still the same.
by johnyu2012
2016-12-16 07:49
Forum: General discussions
Topic: cannot set spam mark threshold
Replies: 8
Views: 3236

cannot set spam mark threshold

I try to set it to 4 instead of 5. After it is set, I look at some email's header. It still says the X-Spam_Status, required=5.0 instead of 4.0. I restarted the hmailserver and spamassassin service already but it still stays the same.
by johnyu2012
2016-12-07 17:31
Forum: General discussions
Topic: Some emails not showing in imap inbox
Replies: 2
Views: 1084

Re: Some emails not showing in imap inbox

Aquamail is an android email app
by johnyu2012
2016-12-07 14:23
Forum: General discussions
Topic: Some emails not showing in imap inbox
Replies: 2
Views: 1084

Some emails not showing in imap inbox

I found out that no matter outlook 2013 or mobile app like aqua mail, some mail will not show up in the inbox but if I search for it, it will show up. Does anybody have this problem?
by johnyu2012
2016-10-28 09:12
Forum: General discussions
Topic: One or two emails not received in pop3 but only imap
Replies: 2
Views: 1463

Re: One or two emails not received in pop3 but only imap

That's I know but we did not do anything to that email.
by johnyu2012
2016-10-28 06:32
Forum: General discussions
Topic: One or two emails not received in pop3 but only imap
Replies: 2
Views: 1463

One or two emails not received in pop3 but only imap

Our company shares one email account with multiple computers in pop3 and multiple mobile device in imap. I found out that sometimes one or two mails will come up only in imap but not pop3. Is there anything I can do with that because it only happens once in while? My hmailserver version is 5.6-B2145...
by johnyu2012
2016-05-18 11:03
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 142
Views: 62342

Re: SpamAssassin Bootcamp (sa-learn)

yeah, weird. Even using those shredding software cannot delete those files, it has to be done in safe mode.
by johnyu2012
2016-05-18 09:12
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 142
Views: 62342

Re: SpamAssassin Bootcamp (sa-learn)

Window 2008 R2 standard
F:\hMailServer\Data

Not all the spams have problem to delete. Only a few.
by johnyu2012
2016-05-18 08:04
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 142
Views: 62342

Re: SpamAssassin Bootcamp (sa-learn)

Got to safe mode and it can delete, but I got to purge those spams from the system so they won't copy over again.
by johnyu2012
2016-05-18 06:45
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 142
Views: 62342

Re: SpamAssassin Bootcamp (sa-learn)

I recently got some eml files copied to the spam folder and it cannot be deleted through the script. I tried to delete them manually and it says I don't have enough permission even I am the administrator of the server. It was all good before. Any guess?
by johnyu2012
2016-04-29 06:43
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 142
Views: 62342

Re: SpamAssassin Bootcamp (sa-learn)

For better output format to sa-learn.log. You can try this. echo %DATE% %TIME% - START >> C:\hMailServer\Logs\sa-learn.log <nul set /p = SPAM: >> C:\HmailServer\Logs\sa-learn.log C:\SpamAssassin\sa-learn.exe --siteconfigpath="C:\SpamAssassin\etc\spamassassin" --dbpath "C:\Documents and Settings\Defa...
by johnyu2012
2016-04-29 06:32
Forum: General discussions
Topic: Receiving weird email addresses in my SPAM inbox
Replies: 4
Views: 1548

Re: Receiving weird email addresses in my SPAM inbox

Should try to create SPF record for DNS to fight off spoofing beside using scripts. https://mediatemple.net/community/produ ... -my-domain
by johnyu2012
2016-04-29 06:25
Forum: General discussions
Topic: Getting ****[MX-SPAM]***** on the subject line of some of the emails
Replies: 3
Views: 1250

Getting ****[MX-SPAM]***** on the subject line of some of the emails

I am getting ****[MX-SPAM]***** added into the subject line of some of my emails. I disable spamassassin already but it still getting that, anyway spamassassin will only add [SPAM] if it is spam, not this. Anyone knows where is this coming from?
by johnyu2012
2014-12-04 11:17
Forum: General discussions
Topic: The meaning of DNS Query failure on dns blacklist
Replies: 0
Views: 1911

The meaning of DNS Query failure on dns blacklist

Recently, I keep getting the DNS query failure on the DNS blacklist in the log. What does it really means? Everything is functional. I just want to know what it is and if I need to do something about this. "DNS query failure. Query: 58.147.9.175.combined.njabl.org, Type: A/AAAA, DnsQuery return valu...
by johnyu2012
2014-12-02 07:49
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Problem found of why the email log sees all emails come from the same public ip address. It is because one of the policies on my router set the NAT to this ip address. Take it out and the logs see all the sender ip. Soren's setting for ip range works and hopes it will filter out all the tough spams....
by johnyu2012
2014-12-02 01:53
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Hi, Matt. I don't see any setting to direct spamassassin to send email to another ip address.
by johnyu2012
2014-12-02 00:04
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

yes, i do use spamassassin but it has nothing to do with it. When i turn off the wan setting, the email going through again.
by johnyu2012
2014-12-01 11:59
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Hi, Soren. For your wan setting, if "external to internal email address" in allow deliveries from is unchecked, how can other people from outside sent email to you? I believe that wan ip is the external ip of your emailserver, right? Email has to get there first before getting to the internal ip of ...
by johnyu2012
2014-12-01 10:06
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Fantastic. Thank you very much!
by johnyu2012
2014-12-01 07:15
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

yes, matt. The external ip, my domain and email address. thanks.
by johnyu2012
2014-12-01 05:12
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Thanks, Soren! I will give that a try. By the way, is there a way to edit the post?
by johnyu2012
2014-12-01 03:42
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

If I change passwords for all the accounts and then use SSL/TLS for authenication, is it going to help?
by johnyu2012
2014-12-01 03:36
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

The public ip address is the external ip address of the mail server. Outside of that, there is nothing else. Is it possible one of my email accounts are being hacked so they can use that to send spams to me? If yes, is it possible to find out which email account they use?
by johnyu2012
2014-12-01 03:04
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Spam 1 missing part "DEBUG" 2060 "2014-11-30 18:57:37.906" "Creating session 259" "TCPIP" 2060 "2014-11-30 18:57:37.906" "TCP - xxx.xxx.xxx.xxx connected to 192.168.3.40:25." "DEBUG" 2060 "2014-11-30 18:57:37.906" "TCP connection started for session 257" "SMTPD" 2060 257 "2014-11-30 18:57:37.906" "x...
by johnyu2012
2014-12-01 02:30
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

Test: Collect server details hMailServer version: hMailServer 5.6-B2145 Database type: MySQL Test: Test IPv6 IPv6 support is available in operating system. Test: Test outbound port SMTP relayer not in use. Attempting mail.hmailserver.com:25... Trying to connect to host mail.hmailserver.com... Trying...
by johnyu2012
2014-11-30 18:06
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

awstat log

Spam 1:

2014-11-30 18:58:25 iof@rth.com sales@mydomain.com XXX.XXX.XXX.XXX 127.0.0.1 SMTP ? 250 6866

Spam 2:

2014-11-30 20:53:01 gbt@ioj.com sales@mydomain.com XXX.XXX.XXX.XXX 127.0.0.1 SMTP ? 250 9063
by johnyu2012
2014-11-30 18:05
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Spam log

Spam 1 log: "SMTPD" 2060 257 "2014-11-30 18:57:38.093" "xxx.xxx.xxx.xxx" "RECEIVED: Mail from:<iof@rth.com>" "TCPIP" 2060 "2014-11-30 18:57:38.359" "DNS lookup: xxx.xxx.xxx.xxx.zen.spamhaus.org, 0 addresses found: (none), Match: False" "TCPIP" 2060 "2014-11-30 18:57:38.593" "DNS lookup: xxx.xxx.xxx....
by johnyu2012
2014-11-30 18:03
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Spam Header

I did not have the log setup but now I do. Here is the log. Spam 1 header: Return-Path: iof@rth.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on Emailserver.taiyick.local X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.3 tests=none autolearn=ham autolearn_force=no version=3.4.0 R...
by johnyu2012
2014-11-28 17:02
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

The spammer is very good. One of the spams gets no score from spamassassin.
by johnyu2012
2014-11-28 17:01
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

The first spam and second spam have the same content (in Chinese) but come from different email address.
by johnyu2012
2014-11-28 16:59
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

second spam

Return-Path: enpizou@ftfsys.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on Emailserver.taiyick.local X-Spam-Level: ***** X-Spam-Status: No, score=5.9 required=6.3 tests=DOS_OE_TO_MX, FORGED_MUA_OUTLOOK autolearn=no autolearn_force=no version=3.4.0 Received: from ftfsys.com (mail.mydo...
by johnyu2012
2014-11-28 16:57
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

First Spam

Return-Path: enbeisong@guangda.js.cn X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on Emailserver.taiyick.local X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.3 tests=none autolearn=ham autolearn_force=no version=3.4.0 Received: from guangda.js.cn (mail.mydomain.com [my mailserver i...
by johnyu2012
2014-11-28 15:30
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Re: Method of blocking sender ip

The header is not showing any ip, only fake email address.
by johnyu2012
2014-11-28 11:44
Forum: SpamAssassin implementation discussions
Topic: Method of blocking sender ip
Replies: 38
Views: 9509

Method of blocking sender ip

I got the sa-learn working but there are some very tough spams which are very hard to remove. They keep changing email address and the sa-learn is hard to learn. Is there a way to find out the true sender ip and block from there? Secondly, if a spammer send a spam to two email. One user move it to s...
by johnyu2012
2014-11-27 14:12
Forum: General discussions
Topic: Virus message stuck in inbox
Replies: 6
Views: 2346

Re: Virus message stuck in inbox

I think I found out the problem. It is because spamassassin was not detected by hmailserver. Reinstall that and also get the sa-learn running should avoid the problem.
by johnyu2012
2014-11-27 12:24
Forum: General discussions
Topic: Email message not forwarding to imap folder
Replies: 4
Views: 1709

Re: Email message not forwarding to imap folder

Never mind. It starts moving in after a while. Don't know why.
by johnyu2012
2014-11-27 10:17
Forum: General discussions
Topic: Email message not forwarding to imap folder
Replies: 4
Views: 1709

Email message not forwarding to imap folder

I have a rule which is as following:

Criteria:

X-hMailServer-Spam contains YES and X-hMailServer-LoopCount < 1

Action:

Move to IMAP folder SPAM
Forward email


The email did forwarded but it was not moved to SPAM folder. Any idea?
by johnyu2012
2014-11-27 03:29
Forum: General discussions
Topic: Virus message stuck in inbox
Replies: 6
Views: 2346

Re: Virus message stuck in inbox

window 2008 r2