Search found 18101 matches

Go to advanced search

by mattg
2018-02-24 00:36
Forum: SpamAssassin implementation discussions
Topic: process rule if header doesn't exist
Replies: 4
Views: 33

Re: process rule if header doesn't exist

Thanks jimimaseye
That looks exactly like what I was after
by mattg
2018-02-24 00:35
Forum: General discussions
Topic: hmailserver crashing constantly - multiple times a day
Replies: 4
Views: 37

Re: hmailserver crashing constantly - multiple times a day

Dravion wrote:Bad allocation Errors are allways a sign of dying Hardware.

+1
by mattg
2018-02-24 00:34
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

1. Made general rule "empty sender fix", contains mailer-daemon, action Run function FixDaemon. No errorlog was generated. 2. Added FixDaemon to the EventHandlers.vbs. Sub FixDaemon(oMessage) If ((InStr(oMessage.FromAddress, "mailer-daemon") > 0) OR (InStr(oMessage.From, "m...
by mattg
2018-02-24 00:23
Forum: General discussions
Topic: hMailServer hangs after about an hour
Replies: 22
Views: 134

Re: hMailServer hangs after about an hour

What are your thread settings under Performance?
Do you have anti-virus on this machine? Some ANtivirus does mail inspection
by mattg
2018-02-23 16:42
Forum: SpamAssassin implementation discussions
Topic: process rule if header doesn't exist
Replies: 4
Views: 33

Re: process rule if header doesn't exist

You may well be correct that the SPF fail is accurate...I'd still like to skip SPF testing in SpamAssassin for external account downloads
by mattg
2018-02-23 16:39
Forum: General discussions
Topic: hMailServer hangs after about an hour
Replies: 22
Views: 134

Re: hMailServer hangs after about an hour

That all looks normal... Would you try the latest Beta bersion I just saw this in the change log, and wonder if it is related Issue 208: If the cipher list contains unsupported ciphers, hMailServer will now report an error but continue running. This change will prevent hMailServer from stop working ...
by mattg
2018-02-23 16:35
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 39
Views: 433

Re: SpamAssassin Questions

Back to the scoring, for SA setting in Hmail, it was untick to not using SA score with 5(same as yours). Does it mean the score will be capped as 5 and won't go further higher number? or it is just like the local cf require score:5 to have the email marked? I was confused on it. SpamAssassin score ...
by mattg
2018-02-23 16:26
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

I could given a pointer how to do so. Will the Debug logging be what is needed? Debug + SMTP at least, TCPIP and APPLICATION would also be nice But, I believe anyone (relaying to a server refusing the null return address) can try to send mail to a@b.c and see the result. I don't relay, and when I'v...
by mattg
2018-02-23 16:18
Forum: User contributed hMailServer 5 scripts
Topic: Country blacklisting in hMailserver 5
Replies: 9
Views: 2335

Re: Country blacklisting in hMailserver 5

These days I actually use zz.countries.nerd.dk as a DNSBL

Easy as, I just score on all the results that I don't want

127.0.0.1-35|127.0.0.37-255|127.0.1.*|127.0.2.0-41|127.0.2.43-255|127.0.3.1-71|127.0.3.73-255
Doesn't score for Australia, NZ or the USA, but scores all others
by mattg
2018-02-23 15:55
Forum: General discussions
Topic: hMailServer hangs after about an hour
Replies: 22
Views: 134

Re: hMailServer hangs after about an hour

"StartTLS Required" on the standard non-encrypted port is not right I do this all of the time, and I've set AutoDiscover to say that. Ports 110 and 143 (and 587) can be and should be StartTLS required I'd say. Ports 110 and 143 aren't non-encrypted ports, but as standards go they shouldn'...
by mattg
2018-02-23 15:46
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

The SMTP envelope FROM is not a mail header - they are different things

Your function should work though.

Can you capture some logs of what happens when you use a global rule to catch these messages, then call your function
by mattg
2018-02-23 09:09
Forum: SpamAssassin implementation discussions
Topic: process rule if header doesn't exist
Replies: 4
Views: 33

process rule if header doesn't exist

I run with these SPF scores # SPF scores score SPF_SOFTFAIL 1 score SPF_NEUTRAL 3 score SPF_PASS -1 score SPF_FAIL 6 I'd like to ONLY run those test for messages that don't have a Header 'X-hMailserver-ExternalAccount' (I think that SpamAssassin incorrectly scores SPF for mail downloaded via Externa...
by mattg
2018-02-23 05:49
Forum: General discussions
Topic: Reply with "undeliverable" based on rules
Replies: 1
Views: 22

Re: Reply with "undeliverable" based on rules

550 can't be done with a script

Only way would be to modify source

I send custom 554 rejections
by mattg
2018-02-23 05:45
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

pilaQ wrote:I modified half solution from above for which I know catches these messages so it would use a script FixDaemon. Entered this into Events\EventHandlers.vbs

Is that being called from a rule, or how else is that function being triggered?
by mattg
2018-02-23 05:43
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

Again, I catch FROM contains 'mailer-daemon' with a global rule...I'm not sure that this is 'empty sender' as you describe.
I'm also pretty certain that hMailserver matches the RFCs
by mattg
2018-02-23 05:10
Forum: General discussions
Topic: hMailServer hangs after about an hour
Replies: 22
Views: 134

Re: hMailServer hangs after about an hour

That looks OK Change the IPV6 internet IP range to a priority of say 9 please (I don't know if a priority of 0 does anything, also higher priority is used, not lower, so a priority of 25 will have more authority than an autoban range with priority of 20 etc) Also in your TCP Ports setup you have a s...
by mattg
2018-02-23 01:31
Forum: General discussions
Topic: DNS Lookup Change
Replies: 4
Views: 67

Re: DNS Lookup Change

Good thought

That should work (splitting the windows DNS by NIC)
by mattg
2018-02-23 01:30
Forum: General discussions
Topic: hMailServer hangs after about an hour
Replies: 22
Views: 134

Re: hMailServer hangs after about an hour

Also check your hMailserver error logs

AND please run this and post the results viewtopic.php?f=20&t=30914
by mattg
2018-02-23 01:28
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

pilaQ wrote:Still, this needs to be fixed.

This only occurs because you are sending all external mail via a relay, and your relay doesn't allow null senders.

If you were sending mail directly from hmailserver this wouldn't be an issue
If your SMTP relay service allowed empty sender, this wouldn't be an issue
by mattg
2018-02-22 14:01
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

I catch all mailer daemon messages and send them to a know account

Global rule
from contains 'mailer-daemon'
AND
recipient list NOT contains 'address@example.com'
THEN
Forward email to 'address@example.com'

Perhaps you do something similar to redirect to the ReplyTo or some other address
by mattg
2018-02-22 09:34
Forum: General discussions
Topic: Help with Exchange 2010 Setup
Replies: 3
Views: 59

Re: Help with Exchange 2010 Setup

Mail client >> Exchange >> hMailserver >> ISP >> Internet looks overly complex (Yes, I know that I've said that last time too I reckon) You can't have hmailserver and Exchange on the same server, and the connector needs to point to the LAN IP address of the server where hMailserver is
by mattg
2018-02-22 09:28
Forum: General discussions
Topic: DNS Lookup Change
Replies: 4
Views: 67

Re: DNS Lookup Change

dumit wrote:Hi, can I force hmailserver to use other DNS servers instead of the windows DNS server that are set on the local computer/server?

No unfortunately
by mattg
2018-02-22 07:02
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 39
Views: 433

Re: SpamAssassin Questions

If you set delete threshold at 8, but use a set score for SpamAssassin as jimimaseye does, then using a rule that catches Custom header field: 'X-Spam-Level' Contains '********' << 8 asterix will catch mail that SpamAssassin sees as higher than 8 on it's own. It is possible that all other hmailserve...
by mattg
2018-02-22 05:03
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 39
Views: 433

Re: SpamAssassin Questions

While you have a delete threshold of 8, these will just be rejected , and not forwarded to the SPAM Account. like this incoming server says 'HELO/EHLO' Your server say 'EHLO' Incoming server says I have mail for you@example.com Your server says OK Incoming server says if have mail from abc@spammer.c...
by mattg
2018-02-22 04:54
Forum: Scripting
Topic: Email Settings or Scripting - Parental Controls
Replies: 1
Views: 35

Re: Email Settings or Scripting - Parental Controls

Possible?? Yes

This is how I did it a few years back
viewtopic.php?f=9&t=17190

You can use that as a starting point
by mattg
2018-02-22 04:07
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 39
Views: 433

Re: SpamAssassin Questions

thomas10 wrote:1) For X-hMailServer-Reason-Score, is it only add the total score of other things except SA score? or it totaled up the whole things?

Total of all

thomas10 wrote:2) X-Spam-Level is for SA score only?

Yes, that's a SpamAssasin Header
by mattg
2018-02-22 01:30
Forum: General discussions
Topic: IPv4 Fallback (Sending)
Replies: 3
Views: 94

Re: IPv4 Fallback (Sending)

ALSO, I think this depends entirely on your DNS server, and whether it puts forward IPv4 or IPv6 as first option.
by mattg
2018-02-22 01:28
Forum: General discussions
Topic: HMS sends problem response from <empty>
Replies: 40
Views: 325

Re: HMS sends problem response from <empty>

pilaQ wrote:[code]"SMTPC" 792 36 "2018-02-20 18:23:38.763" "212.91.113.96" "RECEIVED: 535 5.7.8 Error: authentication failed: Invalid authentication mechanism"

You need to ask the relayer server admin why THEY rejected your authentication for empty sender
by mattg
2018-02-21 23:55
Forum: General discussions
Topic: Error Test local connect Was not able to open connection.
Replies: 1
Views: 95

Re: Error Test local connect Was not able to open connection.

That's not always a fatal error, often your mail server will function fine with that error That error is likely caused by lack of Loop-back at your router. On a hosted server, unless you ALSO have a mail client on that server, this won't be an issue, and if you do have a mail client on that server (...
by mattg
2018-02-21 23:52
Forum: General discussions
Topic: Backup Not Working
Replies: 11
Views: 193

Re: Backup Not Working

sure, do something that neither of us recommend, and see if that creates a bigger problem or miraculously fixes your existing problem.

Manual manipulation of the database is NOT supported. Please don't do what you said.
by mattg
2018-02-21 23:50
Forum: General discussions
Topic: hMailserver as Smarthost behing 2 Routers
Replies: 4
Views: 135

Re: hMailserver as Smarthost behing 2 Routers

I think the answer either way is no. POP3 does not mark mails as read POP3 clients record UIDs, and only download the next UID for each account To show this, delete a POP3 account where all mail are kept on the server, and re-create it. All mail are downloaded again. You can also download via POP3 t...
by mattg
2018-02-21 23:46
Forum: General discussions
Topic: SMTP Relay stopped working
Replies: 4
Views: 81

Re: SMTP Relay stopped working

sounds to me like the remote server has some configuration issues...
by mattg
2018-02-21 04:44
Forum: General discussions
Topic: How to randomly receive emails sent by 10 email users out of 50 email users?
Replies: 1
Views: 39

Re: How to randomly receive emails sent by 10 email users out of 50 email users?

hmailserver does not have this 'feature'

The only way this could be achieved is with a script

ALSO, please note that this is likely illegal in many circumstances (jurisdictions). Please check local laws before you implement this concept
by mattg
2018-02-21 00:05
Forum: General discussions
Topic: Backup Not Working
Replies: 11
Views: 193

Re: Backup Not Working

Open them from the file system in a program like thunderbird and 'send' them again. You may need to allow local to local without AUTH on loclhost
by mattg
2018-02-19 03:40
Forum: Scripting
Topic: Rewrite subject if sent to particular Recipient
Replies: 3
Views: 57

Re: Rewrite subject if sent to particular Recipient

Thanks for the post back...
by mattg
2018-02-19 00:55
Forum: User-submitted tutorials
Topic: Store and lookup SpamAssassin bayes in mySQL
Replies: 26
Views: 799

Re: Store and lookup SpamAssassin bayes in mySQL

My 'guess' was that most people who have followed this tutorial, would have had MySQL as the hMailserver database.

Actually reading the original post though, I agree with you. That won't help.

It needs to be in the same directory as the sa-learn.exe
by mattg
2018-02-19 00:01
Forum: User-submitted tutorials
Topic: Store and lookup SpamAssassin bayes in mySQL
Replies: 26
Views: 799

Re: Store and lookup SpamAssassin bayes in mySQL

Put it in the hmailserver/bin folder
by mattg
2018-02-18 07:35
Forum: General discussions
Topic: nenew SSL certificate with Godaddy
Replies: 3
Views: 108

Re: nenew SSL certificate with Godaddy

That's like saying 'but can I use my old car's ignition key in my new car?'

The answer is probably not, unless you had it made to fit the old keys.
When you created the new certificate, did you use the old key? if not, then you must use the new key to unlock the new certificate
by mattg
2018-02-18 00:41
Forum: General discussions
Topic: error issue with MX record
Replies: 3
Views: 187

Re: error issue with MX record

First read this >> viewtopic.php?f=21&t=29763

Second run this and post the results please >> viewtopic.php?f=20&t=30914
by mattg
2018-02-18 00:36
Forum: General discussions
Topic: nenew SSL certificate with Godaddy
Replies: 3
Views: 108

Re: nenew SSL certificate with Godaddy

Rlcky wrote:Do I have to regenerate a new private key?

Yes


a new certificate will probably have a new key
by mattg
2018-02-17 09:52
Forum: General discussions
Topic: smtp questions
Replies: 2
Views: 109

Re: smtp questions

You mean all mails for testing? or just some mail? SOme mail Make sure that you have a domain 127.0.0.1 in hMailserver and then make an account magneto For all mail Create any domain, create a single account. Set the default domain to your domain, and the catchall = the single account Modify IP rang...
by mattg
2018-02-15 23:59
Forum: Development & alpha discussions
Topic: Modified Installer - Download+Install Libmysql.dll
Replies: 5
Views: 629

Re: Modified Installer - Download+Install Libmysql.dll

Yep, the only time I've ever had to manually install that was on a 'core server' or a 'hyperV Core' server
by mattg
2018-02-15 23:57
Forum: Scripting
Topic: Email Signature
Replies: 5
Views: 114

Re: Email Signature

No I think that outlook signatures are just text and images like normal mail body content
by mattg
2018-02-15 23:56
Forum: General discussions
Topic: Problem receiving *some* email - TLS Handshake Failure
Replies: 12
Views: 293

Re: Problem receiving *some* email - TLS Handshake Failure

Port 25 with security set STARTTLS (optional) = we cannot receive emails from a few vendors It would be interesting to see logs of that The StartTLS Optional and StartTLS Required use the same mechanism to secure connections. It doesn't make sense that you get some mail when 'Required' is used, and...
by mattg
2018-02-15 15:00
Forum: Scripting
Topic: Email Signature
Replies: 5
Views: 114

Re: Email Signature

If you know the exact text that outlook ads you could script to split the body (and htmlbody) and add text in between
by mattg
2018-02-15 11:13
Forum: General discussions
Topic: Last Login-Time
Replies: 1
Views: 47

Re: Last Login-Time

This displays in the admin GUI in the account >> General tab
by mattg
2018-02-15 08:50
Forum: General discussions
Topic: Email queue remains and not moving
Replies: 5
Views: 85

Re: Email queue remains and not moving

davemrook wrote:Also, can I ask if hMailServer creates mini dumps? In the hMailServer log folder, here is one, created today.

Yes it does, following a fatal error, then restarts

I'm not sure that I can decipher the mini dump though
by mattg
2018-02-15 06:31
Forum: Scripting
Topic: Rewrite subject if sent to particular Recipient
Replies: 3
Views: 57

Re: Rewrite subject if sent to particular Recipient

I'd do it differently, either try a bit later (OnAcceptMessage) or with a rule+SCRIPT rule:- In the account in question, I'd set an account level rule that triggers EVERY message (eg if message size > -1) Then as an action, I'd call a function 'ChangeToSMS' In your eventhandlers.vbs Sub ChangeToSMS(...
by mattg
2018-02-15 06:19
Forum: General discussions
Topic: Unable to Get DKIM to work
Replies: 15
Views: 263

Re: Unable to Get DKIM to work

It could be antivirus on your desktop appending the the mail message with say 'declared virus free by XYZ antivirus software'

The message from your computer shows 'NextPart' at the bottom...This and other parts haven't been shown to us
by mattg
2018-02-15 06:09
Forum: General discussions
Topic: bloc attachements visibility in hmailserver log file
Replies: 8
Views: 123

Re: bloc attachements visibility in hmailserver log file

...my problem is that i see nothing in my hmailserver log file that tells me that my server has detected an unauthorized extension file; it's like am blind; this information is cruical for my reports. From what I can tell, I agree that this doesn't show in normal logging My only suggestion to you i...
by mattg
2018-02-15 02:15
Forum: General discussions
Topic: Problem receiving *some* email - TLS Handshake Failure
Replies: 12
Views: 293

Re: Problem receiving *some* email - TLS Handshake Failure

Anyway, TLS handshake does not fail when I have STARTTLS required, but that breaks about 1,000 internal things. I dont really understand how having it optional breaks it. If I put it to none, then they can get through but then we aren't using any security... Standard ports if you have a valid certi...
by mattg
2018-02-15 01:45
Forum: SpamAssassin implementation discussions
Topic: SpamAssassin Questions
Replies: 39
Views: 433

Re: SpamAssassin Questions

https://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Plugin_TextCat.html Here's mine ok_locales en ifplugin Mail::SpamAssassin::Plugin::TextCat # This option is used to specify which languages are considered OK for incoming mail. # SpamAssassin will try to detect the language used in the...
by mattg
2018-02-15 01:21
Forum: General discussions
Topic: SMTP retry settings
Replies: 1
Views: 54

Re: SMTP retry settings

No plans currently underway to change this There are some relevant hidden .ini file settings though These were added by Bill a few years back, but aren't documented other than the inline comments you see here I use these settings on my production server Also, I'm unsure why you need settings like yo...
by mattg
2018-02-15 01:10
Forum: General discussions
Topic: Email queue remains and not moving
Replies: 5
Views: 85

Re: Email queue remains and not moving

You need to refresh the queue once you 'send now' ALSO, your MX record is just an IP address, you should have a name like 'mail.example.com' and an IP address for the mx record AND please enable all logging, press the 'send now' button, wait 30 seconds and then post all logs created AND run this >> ...
by mattg
2018-02-15 01:05
Forum: General discussions
Topic: smtp relay error 554: invalid from address
Replies: 6
Views: 129

Re: smtp relay error 554: invalid from address

port 465 and port 587 to gmail.com need to be encrypted

Port 465 + SSL
Port 587 + StartTLS

You will ALSO probably need to AUTH with gmail credentials, and then the FROM will be changed to that address
by mattg
2018-02-14 09:47
Forum: General discussions
Topic: Unable to Get DKIM to work
Replies: 15
Views: 263

Re: Unable to Get DKIM to work

And to avoid those things
mattg wrote:I'd also try a route to each of yahoo and gmail, in addition to the SMTP relayer


We know that direct delivery (no SMTP relayer) gives the DKIM signature as required, and routes should ensure direct delivery for these domains
by mattg
2018-02-14 00:46
Forum: General discussions
Topic: Unable to Get DKIM to work
Replies: 15
Views: 263

Re: Unable to Get DKIM to work

I'd also try a route to each of yahoo and gmail, in addition to the SMTP relayer
by mattg
2018-02-14 00:44
Forum: General discussions
Topic: smtp relay error 554: invalid from address
Replies: 6
Views: 129

Re: smtp relay error 554: invalid from address

Try creating a route for highly-used-domain.com pointing directly to their mail server
by mattg
2018-02-12 02:11
Forum: General discussions
Topic: Not receiving email
Replies: 8
Views: 151

Re: Not receiving email

So, hMailserver works as expected now??
by mattg
2018-02-12 00:54
Forum: General discussions
Topic: Not receiving email
Replies: 8
Views: 151

Re: Not receiving email

A couple of things there #1 Port 25 outgoing is blocked, probably by your ISP. You will need to relay via your ISP's mail server, or perhaps upgrade to a plan that allows port 25 traffic #2 The mail server that answered to your mx record declared itself to be 'spectralmc.tk Microsoft ESMTP MAIL Serv...

Go to advanced search