Search found 20553 matches

by mattg
2020-02-25 05:01
Forum: Off-topic discussions
Topic: Need help optimizing database
Replies: 17
Views: 454

Re: Need help optimizing database

What about indexing BOTH columns together
https://www.mysqltutorial.org/mysql-ind ... ite-index/
by mattg
2020-02-25 04:37
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

Can you perhaps direct message me the unadulterated logs
by mattg
2020-02-25 01:16
Forum: General discussions
Topic: Cannot receive some emails from outside
Replies: 6
Views: 59

Re: Cannot receive some emails from outside

Run this >> viewtopic.php?f=20&t=30914

And include rules

I suspect that your rule is the problem
by mattg
2020-02-25 01:15
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

cblaze22 wrote:
2020-02-24 16:07
Will there be a new session ID for this one email that has that?
There may be, depending on many things
mattg wrote:
2020-02-24 10:45
What's logged next?
by mattg
2020-02-24 10:45
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

What's logged next?

Do you send to Anti-Virus for scanning, are rules invoked, You should see 'performing local delivery' as a debug message
by mattg
2020-02-22 23:38
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

jimimaseye wrote:
2020-02-22 16:01
Enable SMTP and debug logging and send a message from your application to see what happens to it.
by mattg
2020-02-22 23:29
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

Me too I think the point of this thread though specifically is the 'don't greylist on spf pass' option Greylisting in my view, has been fairly ineffective since gMail and Office365 and the likes have really ramped up their domain hosting. (with their multiple servers) not greylisting for spf pass is...
by mattg
2020-02-22 23:10
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

probably second worst behind +all which allows ANY IP address
by mattg
2020-02-22 22:53
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

I noticed mattg placed a pull request in github... I dunno if that is tested code or if he simply replaced the libs without building/testing Simple replace - no testing For now we only have a claim spf isn't working, it might as well be a DNS problem... or did someone actually test hmailserver's be...
by mattg
2020-02-22 09:23
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

OK, researching I can see that the RFCs have changed in 2014, and there is a new version of the spf testing library used in hMailserver I've created a GitHub issue, and will do a pull request. Don't know how long or if that will be implemented https://github.com/hmailserver/hmailserver/issues/314 Th...
by mattg
2020-02-22 03:22
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

The issue here is that hmailserver see that SPF as a fail Then greylisting and your other antispam settings kick in In my view greylisting is next to useless these days, especially if you select to bypass greylisting on an SPF pass Any correctly formatted spf record that ends in +all will ALWAYS pas...
by mattg
2020-02-22 03:18
Forum: General discussions
Topic: Cleaning up huge inbox
Replies: 5
Views: 584

Re: Cleaning up huge inbox

I've had a play and written a script It sorts messages older than 'daysago' into folders for the year and month in their date stamp. All as sub folders of the inbox. eg Inbox > 2017 > 01 Inbox > 2017 > 02 Inbox > 2017 > 03 Inbox > 2017 > 04 You will need to subscribe to the subfolders once only in t...
by mattg
2020-02-22 02:02
Forum: General discussions
Topic: SPF not working correctly
Replies: 45
Views: 425

Re: SPF not working correctly

mikernet wrote:
2020-02-21 20:55
You can see that the included SPF record of _spf.salesforce.com contains the following "exists:" macro:

Code: Select all

v=spf1 exists:%{i}._spf.mta.salesforce.com -all
I think this is the problem

https://www.spf-record.com/syntax
by mattg
2020-02-21 13:16
Forum: User-submitted tutorials
Topic: auto forward from localhost to pop server
Replies: 5
Views: 126

Re: auto forward from localhost to pop server

that should work

Does it?
by mattg
2020-02-21 01:24
Forum: General discussions
Topic: bundle / use one session for multiple mails with same recipient / mx
Replies: 2
Views: 207

Re: bundle / use one session for multiple mails with same recipient / mx

The problem here is that your webservice sends 21 emails you should fix the webservice to send only a SINGLE email... One possible work around to fix this in your webservice is to make the BCC a CC, and then there will be 22 emails created instead of 21, with only a single copy to the BCC/CC recipie...
by mattg
2020-02-19 12:13
Forum: General discussions
Topic: PHPWebAdmin + Auto-ban
Replies: 1
Views: 473

Re: PHPWebAdmin + Auto-ban

Autoban ONLY blocks SMTP traffic on port 25 by design
by mattg
2020-02-18 23:33
Forum: General discussions
Topic: hmail server upgrade
Replies: 1
Views: 526

Re: hmail server upgrade

A few things here The SQL database is used for your settings, never for your messages. You will need to transfer your database too. Make sure that you install same version of hmailserver at both ends for all options You can :- #1 get a different version of hMailserver with no limit on backups and us...
by mattg
2020-02-18 08:20
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

Do you antivirus on that machine? Is the data directory excluded from AV scanning

I may get one orphaned .tmp file a month, but I haven't had an orphaned .eml file for many years
by mattg
2020-02-18 01:18
Forum: General discussions
Topic: hMailServer Administrator won't run but the service is working properly
Replies: 5
Views: 774

Re: hMailServer Administrator won't run but the service is working properly

How PHPWebAdmin is related to hMailServer? It is an alternate (remote) management tool Don't bother installing if you don't have it, I thought that you may have it already installed https://www.hmailserver.com/documentation/latest/?page=howto_remote_management If Dravion is correct, then it won't m...
by mattg
2020-02-17 23:40
Forum: General discussions
Topic: hMailServer Administrator won't run but the service is working properly
Replies: 5
Views: 774

Re: hMailServer Administrator won't run but the service is working properly

Does PHPWebAdmin work?

Have you tried reinstalling hMailserver over the top (backup first)
by mattg
2020-02-17 23:39
Forum: General discussions
Topic: IMAP Sync Issue
Replies: 4
Views: 1291

Re: IMAP Sync Issue

Try turning off sync in thunderbird

Are these LARGE accounts? How many messages?
by mattg
2020-02-17 10:21
Forum: Scripting
Topic: Script not blocking all domain in the array
Replies: 13
Views: 344

Re: Script not blocking all domain in the array

kubera86 wrote:
2020-02-17 07:57
mattg wrote:
2020-02-17 07:26
Did you include the above sub in your eventhandlers.vbs?
YES inside OnSMTPData
That's likely your issue

On SMTP data is pretty early, and not all of the info is present then
https://www.hmailserver.com/documentati ... onSMTPdata
by mattg
2020-02-17 07:26
Forum: Scripting
Topic: Script not blocking all domain in the array
Replies: 13
Views: 344

Re: Script not blocking all domain in the array

OnAcceptMessage should fire between antivirus and rules

Do you have scripts enabled in hMailserver?
Did you include the above sub in your eventhandlers.vbs?
Is there ONLY one OnAcceptMessage sub in the eventhandlers.vbs
by mattg
2020-02-16 09:47
Forum: General discussions
Topic: .eml files not being removed from Data folder
Replies: 18
Views: 1214

Re: .eml files not being removed from Data folder

if a message is locked by another process, hMailserver won't be able to access it to send the message
by mattg
2020-02-15 07:02
Forum: SpamAssassin implementation discussions
Topic: SA Forwarding
Replies: 14
Views: 466

Re: SA Forwarding

just checking - you may be right
by mattg
2020-02-15 00:12
Forum: SpamAssassin implementation discussions
Topic: SA Forwarding
Replies: 14
Views: 466

Re: SA Forwarding

hMailserver anti-spam settings are like that example Mark threshold = 4 delete threshold = 10 If a message scores less than 4, no changes to message If a message scores from 4 to less than 10, then a 'spam header' is added to the message, so that email clients like Outlook or Thunderbird can warn us...
by mattg
2020-02-15 00:00
Forum: General discussions
Topic: Message could not be delivered
Replies: 8
Views: 1389

Re: Message could not be delivered

"APPLICATION" 1756 "2020-02-12 11:22:51.622" "SMTPDeliverer - Message 344558: Relaying to host relay.godaddy.com." "APPLICATION" 1452 "2020-02-12 10:22:31.381" "SMTPDeliverer - Message 344558: No mail servers could be found for the address y@y.com." If there are any MX records, the DNS for the mach...
by mattg
2020-02-14 23:53
Forum: General discussions
Topic: Forward account email to gmail gets rejected
Replies: 2
Views: 1148

Re: Forward account email to gmail gets rejected

Depends on the version of Hmailserver. Which version? Add this to your hMailserver.ini and restart the hmailserver SERVICE [settings] RewriteEnvelopeFromWhenForwarding=1 ; When performing forwarding, hMailServer now keeps the original From address rather than changing to that of the forwarding accou...
by mattg
2020-02-14 13:51
Forum: Scripting
Topic: Change Header From, To, CC, BCC
Replies: 3
Views: 185

Re: Change Header From, To, CC, BCC

oMessage.FROM is the SMTP envelope From not the mail header From

You should be changing the mail header from

See here for an example
https://www.hmailserver.com/forum/viewt ... er#p153204
by mattg
2020-02-14 08:48
Forum: General discussions
Topic: IMAP Sync Issue
Replies: 4
Views: 1291

Re: IMAP Sync Issue

Seems like a dying disk to me

Run some disk checks on those drives
by mattg
2020-02-14 07:16
Forum: SpamAssassin implementation discussions
Topic: SA Forwarding
Replies: 14
Views: 466

Re: SA Forwarding

if you forward a message with a rule, the forwarded message will then also get forwarded UNLESS you specifically exclude it with rule conditions
by mattg
2020-02-14 07:09
Forum: General discussions
Topic: Message could not be delivered
Replies: 8
Views: 1389

Re: Message could not be delivered

mattg wrote:
2020-02-14 02:50
Your issue sounds like a DNS issue, not a hmailserver one
by mattg
2020-02-14 03:09
Forum: SpamAssassin implementation discussions
Topic: SA Forwarding
Replies: 14
Views: 466

Re: SA Forwarding

Are you using hmailerver rules to catch this message?

In addition to forward, you should also delete the original message
by mattg
2020-02-14 03:07
Forum: General discussions
Topic: Newbie question on IP address issue and password change
Replies: 2
Views: 1249

Re: Newbie question on IP address issue and password change

Maybe something above or Hmailserver setting to stop IP address being flagged? If no spam sent, no IP address will be flagged Many of use use scripts to limit the number of messages sent per user per day. Also a strong password policy is important. The second question, just confirming, users with m...
by mattg
2020-02-14 02:50
Forum: General discussions
Topic: Message could not be delivered
Replies: 8
Views: 1389

Re: Message could not be delivered

sergiortc wrote:
2020-02-13 23:07
I have hMailserver version 6.6...
I doubt that

(5.7 is a current alpha)

Your issue sounds like a DNS issue, not a hmailserver one
by mattg
2020-02-13 00:26
Forum: Off-topic discussions
Topic: Need help optimizing database
Replies: 17
Views: 454

Re: Need help optimizing database

unique entries and a third column for count
by mattg
2020-02-13 00:24
Forum: General discussions
Topic: unknown Spam in logging
Replies: 7
Views: 1731

Re: unknown Spam in logging

Sorry, my bad

I meant allow the 'plain text login'

I think the device at 192.168.0.163 can't manage the auth mechanism require by your hMailserver
by mattg
2020-02-12 16:47
Forum: General discussions
Topic: unknown Spam in logging
Replies: 7
Views: 1731

Re: unknown Spam in logging

In SMTP RFC compliance, allow blank line endings, and see if that makes a change to your outcomes

Your LAN IP range should be priority 25 to take precedence, not priority 0 as you have (bigger is better)
by mattg
2020-02-12 16:16
Forum: Scripting
Topic: Clear Information on Run program in Rules
Replies: 6
Views: 191

Re: Clear Information on Run program in Rules

hmailserver logs show the SMTP envelop FROM and TO which are often different than the message headers
by mattg
2020-02-12 16:13
Forum: General discussions
Topic: unknown Spam in logging
Replies: 7
Views: 1731

Re: unknown Spam in logging

run this and post the results please
viewtopic.php?f=20&t=30914
by mattg
2020-02-12 10:14
Forum: Scripting
Topic: Clear Information on Run program in Rules
Replies: 6
Views: 191

Re: Clear Information on Run program in Rules

you need to enable eventhandler.vbs by enabling scripts

The eventhandlers.vbs needs to be in the default location
by mattg
2020-02-12 06:17
Forum: General discussions
Topic: RoundCube Password Change
Replies: 2
Views: 1451

Re: RoundCube Password Change

Is roundcube on the same server as hMailserver?
by mattg
2020-02-11 23:23
Forum: Scripting
Topic: Clear Information on Run program in Rules
Replies: 6
Views: 191

Re: Clear Information on Run program in Rules

I dont know why i cannot use "SaveAttachments" in "run action" in rule definition. Because 'SaveAttachments' isn't an option there.... I have this in my eventhandlers.vbs Function SaveAttachments(oMessage) dim i, aPath dim fileout, FSO1, OBJoutfile, FSO, f Set oApp = CreateObject("hMailServer.Appli...
by mattg
2020-02-11 16:19
Forum: General discussions
Topic: still under development?
Replies: 1
Views: 1525

Re: still under development?

hMailserver is on Github

There are more recnt Beta and alpha versions

Martin, the owner / primary developer hasn't been about much for about six or so years, but we still get patch updates pretty quickly (as Beta versions)
by mattg
2020-02-10 01:14
Forum: General discussions
Topic: POP3 wont connect to google mail
Replies: 2
Views: 1662

Re: POP3 wont connect to google mail

You are not doing anything wrong

hMailserver isn't compatible with GMails 2FA (Not many programs are though to be honest)
by mattg
2020-02-08 08:47
Forum: General discussions
Topic: Thunderbird Client made server changes
Replies: 4
Views: 1869

Re: Thunderbird Client made server changes

Unless you have written a script that changes the flags,
by mattg
2020-02-07 23:12
Forum: General discussions
Topic: Thunderbird Client made server changes
Replies: 4
Views: 1869

Re: Thunderbird Client made server changes

hMailserver would never have marked the results as read - if that was happening, something else was doing that
by mattg
2020-02-07 04:19
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 2051

Re: hmail with roundcube

SorenR wrote:
2020-02-07 03:48
You WILL need to install the Webportal for hMailServer on the Windows box. It WILL NOT need Internet access but it WILL need permission granted for the Roundcube Server.
Where do I find this 'Webportal for hMailServer'
by mattg
2020-02-07 04:06
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 2051

Re: hmail with roundcube

SorenR wrote:
2020-02-07 03:48
..a little help from Andreas Tunberg (I do not know if he is the brother of Greta ... )
tunis78

Perhaps he is Greta's father :mrgreen:

I do think that this may be our regular 'tunis'
by mattg
2020-02-07 02:03
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 822

Re: Problem with AutoBan

mattg, autoban entries are set at priority 20, my localhost is never banned As long as you are sure for your setup, because this has changed in some builds https://github.com/hmailserver/hmailserver/issues/306 This is what makes me think autoban ...and in the log of Afterlogic I get: "[INFO] Error:...
by mattg
2020-02-07 01:58
Forum: Scripting
Topic: Block attack based on Greeting not having effect
Replies: 28
Views: 2359

Re: Block attack based on Greeting not having effect

DO iPv6 Addresses have a period (.) in them, or do they have colons (:)? I have many machines that send automated emails via scripts, via my server that simply have a local computer name as the greeting. This would be things like 'DB-Server' in a workgroup with no automatic FQDN added to the server ...
by mattg
2020-02-07 01:55
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 2051

Re: hmail with roundcube

roundcube password change relies on DCOM, which will only work if roundcube is installed on the same server that hMailserver is installed on. Normally on IIS, but I think that apache on the windows server should also work.
by mattg
2020-02-06 17:00
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 822

Re: Problem with AutoBan

adrianmihai83 wrote:
2020-02-06 12:54
Thanks mattg, but that was not the problem, localhost has priority 80.
The reason that I said 120, is that the autoban entries are set to 100

80 is too low
by mattg
2020-02-06 16:58
Forum: General discussions
Topic: Message queue ...
Replies: 3
Views: 1819

Re: Message queue ...

create a local domain like say 'example.local' and create an account on that domain called say mirror'

'mirror@example.local' will work fine to get a local copy via the mirror feature
by mattg
2020-02-06 12:25
Forum: Scripting
Topic: Problem with AutoBan
Replies: 18
Views: 822

Re: Problem with AutoBan

Make your 'my computer IP range' (127.0.0.1) have a priority of 120

That will stop your webmail being blocked by Autoban
by mattg
2020-02-06 12:22
Forum: General discussions
Topic: Message queue ...
Replies: 3
Views: 1819

Re: Message queue ...

not stored anywhere sorry

Perhaps set your retry times much higher

You could also keep a 'mirror' copy of all messages that pass through the server
https://www.hmailserver.com/documentati ... nce_mirror
by mattg
2020-02-03 03:18
Forum: Development & alpha discussions
Topic: RTL In the management software for administrators
Replies: 10
Views: 651

Re: RTL In the management software for administrators

What I want is to do it on the software itself on the computer itself Feel free to fork the source on Github, and either do it yourself or pay someone to do it for you You can also add a 'feature request', but honestly unless there is a lot of support, and someone with the required skill set does t...
by mattg
2020-02-03 01:04
Forum: Development & alpha discussions
Topic: RTL In the management software for administrators
Replies: 10
Views: 651

Re: RTL In the management software for administrators

shmuel wrote:
2020-02-02 19:29
...In the web interface...
Didn't realise that you were talking about the PHPWebAdmin interface.

That should handle RTL if you know PHP

Thought that you were talking about the main admin GUI
by mattg
2020-02-02 23:22
Forum: General discussions
Topic: Database setup failing on Windows 10 pro Install
Replies: 9
Views: 2290

Re: Database setup failing on Windows 10 pro Install

I was talking about that build, but on looking deeper, I think that has a 15 GB warning

This custom build has no limit
https://www.hmailserver.com/forum/viewt ... 80#p213193

As does the 5.7 ALPHA version that I use