Search found 26 matches

by rstarkov
2017-09-24 17:39
Forum: General discussions
Topic: sa-update SHA1 calculation bug
Replies: 11
Views: 2952

Re: sa-update SHA1 calculation bug

The response from Jam Software was almost immediate and very helpful! Apparently this happens if there is a "curl.exe" on the path. Removing it fixed the problem for me.

Jam Software say that it's a bug in the SpamAssassin's Perl code.
by rstarkov
2017-09-21 00:54
Forum: General discussions
Topic: sa-update SHA1 calculation bug
Replies: 11
Views: 2952

Re: sa-update SHA1 calculation bug

I've only emailed them just now. This forum is the best place I know for community support related to SpamAssassin for windows so... I was hoping someone running hMailServer may have experienced this and knows how to deal with it.
by rstarkov
2017-09-21 00:30
Forum: General discussions
Topic: sa-update SHA1 calculation bug
Replies: 11
Views: 2952

sa-update SHA1 calculation bug

I've decided to update my ancient SpamAssassin installation and ran into a problem: the latest version has a buggy sa-update that calculates the SHA1 hash incorrectly! Here's an extract from a debug (-D) run of sa-update: downloading to: C:\SpamAssassin\Bin\share\3.004001\updates_spamassassin_org\17...
by rstarkov
2015-01-31 16:55
Forum: General discussions
Topic: AuthUserReplacementIP no longer effective in 5.6
Replies: 3
Views: 1213

Re: AuthUserReplacementIP no longer effective in 5.6

Would be cool to get some indication as to what Martin or Bill think about this setting as of today. Are tested patches accepted in principle? Sounds like a very simple issue for me to get started with contributing to hMailServer - if there are no objections to getting this fixed in the first place.
by rstarkov
2015-01-27 13:27
Forum: General discussions
Topic: AuthUserReplacementIP no longer effective in 5.6
Replies: 3
Views: 1213

AuthUserReplacementIP no longer effective in 5.6

AuthUserReplacementIP used to result in a received header containing something like this: "Unknown [10.0.0.1]" In 5.6, the code that adds this performs a reverse DNS lookup on the actual IP of the auth user, not the replacement one. Thus the real IP is still included in the header, if only indirectl...
by rstarkov
2015-01-26 23:51
Forum: General discussions
Topic: Self-signed certificate no longer accepted by external account download
Replies: 6
Views: 2148

Re: Self-signed certificate no longer accepted by external account download

Thanks percepts. I did try to create a new cert that would pass validation, but couldn't quite get it to work. Will definitely try again later. I did manage something else though: by searching for the log message in the source code, I found the name of the setting, which is "VerifyRemoteSslCertifica...
by rstarkov
2015-01-26 23:39
Forum: General discussions
Topic: Self-signed certificate no longer accepted by external account download
Replies: 6
Views: 2148

Re: Self-signed certificate no longer accepted by external account download

Checked both of those. No, it hasn't expired. No, it wasn't loaded into the windows cert store, but nor was this necessary before. Sadly, loading it into the store didn't help either. I notice that the log says "Verify certificate: True". Is there any easy way to turn this off? I'd love to have the ...
by rstarkov
2015-01-26 20:30
Forum: General discussions
Topic: Self-signed certificate no longer accepted by external account download
Replies: 6
Views: 2148

Self-signed certificate no longer accepted by external account download

I used to have hMailServer 5.4-B1950 collecting email via POP from another B1950 installation, using SSL/TLS with a self-signed certificate. This worked fine for about a year. I'm upgrading to 5.6.1-B2208 and the self-signed certificate is no longer accepted, as far as I can tell: "DEBUG" 2204 "2015...
by rstarkov
2014-07-26 02:03
Forum: General discussions
Topic: SpamAssassin temp size off by one
Replies: 15
Views: 7511

Re: SpamAssassin temp size off by one

sckramer2 wrote:this is a bit of a bump, but was thinking hmailservers "Spam mark threshold" is a little thick... would it be useful to add a decimal place 1.x... to fine tune?
Wrong topic?
by rstarkov
2014-07-12 01:20
Forum: General discussions
Topic: SpamAssassin temp size off by one
Replies: 15
Views: 7511

Re: SpamAssassin temp size off by one

FWIW, I've never found a fix. I still get one spam every couple of days due to this bug. I imagine it's a lot worse for you... It's annoying because it's always spam that would trivially get caught by SA; it's usually super-spammy. I've been meaning to try and debug it myself since hMailServer is op...
by rstarkov
2014-02-17 15:12
Forum: General discussions
Topic: Can I "Move to IMAP folder" in OnDeliverMessage?
Replies: 3
Views: 1161

Re: Can I "Move to IMAP folder" in OnDeliverMessage?

Not for the general case of "if (Header1 == A) && (Header2 == B || Header3 == C)". I did this once, by using multiple rules and setting an intermediate header value, but that is one unmaintainable mess of rules, so I was hoping to replace it all with a script.

Got my answer though. Thanks.
by rstarkov
2014-02-16 20:28
Forum: General discussions
Topic: Can I "Move to IMAP folder" in OnDeliverMessage?
Replies: 3
Views: 1161

Can I "Move to IMAP folder" in OnDeliverMessage?

I've been running into limitations of Rules for a while now, mostly the inability to write proper boolean conditions, like "A & (B | C | D)". I've always thought I will eventually just use scripting for this. Now that I've given it a go, however, it appears that I can't: OnDeliverMessage cannot move...
by rstarkov
2014-02-08 19:23
Forum: General discussions
Topic: hMailServer reveals sender's geographic location
Replies: 34
Views: 10177

Re: hMailServer reveals sender's geographic location

Awesome Bill, it works in 5.4-B1950!

Code: Select all

[Settings]
AuthUserReplacementIP=10.0.0.1
AddXAuthUserIP=0
Result:

Code: Select all

Received: from [192.168.1.100] (Unknown [10.0.0.1])
	by rstarkov.com
	; Sat, 8 Feb 2014 17:18:15 +0000
And no "X-AuthUserIP" in sight. Sending you virtual beer in my thoughts :)
by rstarkov
2014-01-28 23:03
Forum: General discussions
Topic: SpamAssassin temp size off by one
Replies: 15
Views: 7511

Re: SpamAssassin temp size off by one

Thanks Bill. It doesn't happen very often, so treat it as low priority. In fact, now that I've found the source code (I used to think v5+ was closed source) I might have a look myself when I get sufficiently tired of this. (my SA is configured to add the rather long X-Spam-Report header so I don't t...
by rstarkov
2014-01-28 17:41
Forum: General discussions
Topic: SpamAssassin temp size off by one
Replies: 15
Views: 7511

SpamAssassin temp size off by one

I'm running hMailServer 5.4-B1950 with SpamAssassin 3.3.2. On several occasions spam messages got through without any SA headers. After enabling all the debug logging I could find, I found these: SA: Temp file size did not match what Spamd reported! (temp: 13780, spamd: 13781). Reverting to original...
by rstarkov
2014-01-25 15:05
Forum: General discussions
Topic: hMailServer reveals sender's geographic location
Replies: 34
Views: 10177

Re: hMailServer reveals sender's geographic location

So deleting the recieved header from local account sent messages in hmail does not stop the recieving mailserver from containing a recieved header with the hmail server IP in it? That's the way that I see it too... That is correct. You can determine where my mail server is. For me, it happens to be...
by rstarkov
2014-01-25 05:21
Forum: General discussions
Topic: hMailServer reveals sender's geographic location
Replies: 34
Views: 10177

Re: hMailServer reveals sender's geographic location

perhaps you could tell us why anyone would want to hide where they are when they are trying to communicate with someone. I would of thought that it's good etiquette not to try and hide the source of an email. There's a difference between "try and hide" and "actively provide irrelevant information"....
by rstarkov
2014-01-25 02:53
Forum: General discussions
Topic: hMailServer reveals sender's geographic location
Replies: 34
Views: 10177

Re: hMailServer reveals sender's geographic location

I assume you're thinking of complex setups, where additional forwarding might take place? Because in simple single-user setups (like mine), my email flow is trivial and doesn't warrant having the IP address shown. Do you feel that the privacy issue is insignificant enough and therefore it's not wort...
by rstarkov
2014-01-25 02:02
Forum: General discussions
Topic: hMailServer reveals sender's geographic location
Replies: 34
Views: 10177

hMailServer reveals sender's geographic location

When I submit an email to hMailServer via SMTP (with authentication), it includes my current IP address in the very first Received header. This was a bit of a surprise to me, although admittedly not an actual problem. The IP address reveals the city the user is in, and users don't typically associat...
by rstarkov
2014-01-10 15:34
Forum: General discussions
Topic: DNS blacklist and SURBL "Score" setting
Replies: 4
Views: 2239

Re: DNS blacklist and SURBL "Score" setting

The message shown in the 'X-Hmailserver-reason' header is the LAST rejection message. Actually it appears that in my build, all the rejection messages are shown: X-hMailServer-Spam: YES X-hMailServer-Reason-1: Blocked by SPF () - (Score: 3) X-hMailServer-Reason-2: Rejected by SURBL. - (Score: 3) X-...
by rstarkov
2014-01-09 18:44
Forum: Feature requests
Topic: Manually run a rule
Replies: 9
Views: 4219

Re: Manually run a rule

Would definitely be useful. I have lots of rules for moving various messages into folders. Once I decide a new rule is needed, I add it and new messages are processed accordingly, however the existing ones are not. For example, suppose I subscribe to a useful notification (e.g. wiki edit), and after...
by rstarkov
2014-01-09 17:55
Forum: General discussions
Topic: DNS blacklist and SURBL "Score" setting
Replies: 4
Views: 2239

Re: DNS blacklist and SURBL "Score" setting

Thanks! I'm glad it does that.

It looks like the "Rejection message" is used in the "X-hMailServer-Reason" header to explain the score.
by rstarkov
2014-01-09 16:23
Forum: General discussions
Topic: DNS blacklist and SURBL "Score" setting
Replies: 4
Views: 2239

DNS blacklist and SURBL "Score" setting

The DNS blacklist and SURBL features in hMailServer both have a "Score" setting that isn't documented on the relevant pages, e.g. here . Since there's both a "Score" and a "Rejection message", I'm confused: will hMailServer reject messages that match the blacklist, or simply bump the spam score acco...
by rstarkov
2013-12-31 12:16
Forum: General discussions
Topic: RFC3848 support (ESMTPA)
Replies: 9
Views: 4436

Re: RFC3848 support (ESMTPA)

Awesome, thanks Bill! I understand this will now happen automatically in your latest test builds? For the record, this was a bit of a problem on my old MediaTemple server, which came with SpamAssassin pre-configured to give the RCVD_IN_SORBS_DUL rule some weight. The SpamAssassin guys told me that t...
by rstarkov
2013-12-30 17:13
Forum: General discussions
Topic: RFC3848 support (ESMTPA)
Replies: 9
Views: 4436

Re: RFC3848 support (ESMTPA)

I suppose I'll give it a shot if there are no other ideas. I'm just surprised that this doesn't happen automatically; qmail notoriously doesn't support this, while both postfix and sendmail get this right. Odd that hMailServer doesn't.
by rstarkov
2013-12-30 16:17
Forum: General discussions
Topic: RFC3848 support (ESMTPA)
Replies: 9
Views: 4436

RFC3848 support (ESMTPA)

Hi! Does hMailServer support RFC3848, which recommends tagging the "Received" header with a keyword that indicates that SMTP authentication was used? For example: > Received: from dyn-123-123-123-123.isp.example.com > by example.com with ESMTPA ; 1 Dec 2013 12:00:00 -0000 Without such a mark, some s...