Search found 6126 matches

by SorenR
2023-12-04 14:42
Forum: General discussions
Topic: Constant crashes and out of memory problems
Replies: 30
Views: 481

Re: Constant crashes and out of memory problems

Hmm... Perhaps some experimenting with Visual Studio 2015 could be the solution... If you compile with "AnyCPU" and "Prefer 32bit" selected the resulting code should run fine on 32bit and yet have "LargeAddressAware" set. Alternatively with Visual Studio 2013 you can use this as post processing comm...
by SorenR
2023-12-01 20:29
Forum: Scripting
Topic: How to needed for Multi SMTP Relay
Replies: 16
Views: 380

Re: How to needed for Multi SMTP Relay

I am assuming the Mime headers are disregarded by your ISP as the important ones are the "Envelope headers"; oMessage.Recipient[array] and oMessage.FromAddress. You could try, in the Sub onDelivery() script event, setting oMessage.FromAddress = <authentication Email>, this should modify the "SMTP M...
by SorenR
2023-11-30 20:36
Forum: Scripting
Topic: How to needed for Multi SMTP Relay
Replies: 16
Views: 380

Re: How to needed for Multi SMTP Relay

Hi, I have an "issue" with my email provider. He is changing the email sender rule. Old: I can use one Emailaddress for authentication and use the sender address from each individual sender. New: Authentication Email and Sender Email must be equal. I have found only one relay setting in Hmail. Is t...
by SorenR
2023-11-29 14:16
Forum: SpamAssassin implementation discussions
Topic: Failed to parse line in SpamAssassin configuration, skipping
Replies: 3
Views: 236

Re: Failed to parse line in SpamAssassin configuration, skipping

Ok guys, I am lost. I manage to find out the problem, but it's very weird. For example, whitelist from * @ abc.com, @ is the issue. I replaced the @ from the whitelist address that got no issue and it worked. Really curious to know what is going on here whereby I am using the @ with the English typ...
by SorenR
2023-11-26 14:44
Forum: General discussions
Topic: Emails not being delivered anymore
Replies: 11
Views: 740

Re: Emails not being delivered anymore

I already have a noip ddns account, but SMTP2Go will not work with ddns.net or any other noip domain name (says "The domain you have entered is not allowed. Please note that you must have control of the DNS of any domain that you add"), so I guess I would have to create a unique domain name? You ne...
by SorenR
2023-11-26 14:38
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

EnqueueWrite_(); is responsible for what you see in the logs, so swapping those two lines does nothing to improve that, actually the opposite as it is called later if you swap them (although impact is nihil) So if I tell you that the value of "current_state_" is "PASSWORDSENT" when calling "Enqueue...
by SorenR
2023-11-25 15:30
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Firstly, thanks for all the help. Secondly, I'm glad this turns out to be a bug because I was beginning to question my sanity :-) Well, the thing is that allthough it was a bug, fixing the bug does absolutely nothing for your problem. My tests showed that RCPT TO and MAIL FROM was actually sent ......
by SorenR
2023-11-22 18:55
Forum: General discussions
Topic: Emails not being delivered anymore
Replies: 11
Views: 740

Re: Emails not being delivered anymore

And that brings up another question, any good free SMTP accounts out there if I can't get Bluehost to work? I tried SMTP2GO but they require verification of the hmail domain I created. I made it up for hmail, so of course it will not verify. You can create a dynamic dns domain and then create a cer...
by SorenR
2023-11-22 02:23
Forum: Feature requests
Topic: This forum should be DISABLED
Replies: 2
Views: 265

Re: This forum should be DISABLED

Based on the current state of the server: https://www.hmailserver.com/state there's no future for the server. Having this forum "Feature Requests" enabled, gives the users false hope of reality. I still have a lot of tools and programs on my Windows since 1995 and they all work fine, including deve...
by SorenR
2023-11-22 02:06
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

:!: OK, found the bug. These two lines should swap places. https://github.com/hmailserver/hmailserver/blob/master/hmailserver/source/Server/SMTP/SMTPClientConnection.cpp#L402-L403 I really don't see what swapping those two lines would fix? Am I missing something? The logic is flawed in SMTPClientCo...
by SorenR
2023-11-21 15:27
Forum: General discussions
Topic: Issue with hmail deleting email files
Replies: 2
Views: 351

Re: Issue with hmail deleting email files

mattg wrote:
2023-11-21 01:42
IMAP clients mostly 'mark as deleted', rather than delete the actual email

Look for a 'purge' setting in your mail client
It's yet another Apple thing. When I run my monthly maintenance on the server I see loads of emails marked for deletion but never fully deleted.
by SorenR
2023-11-20 16:21
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

If using scripting on server try this:

Code: Select all

Sub OnDeliverMessage(oMessage)

    oMessage.HeaderValue("Return-Path") = oMessage.FromAddress
    oMessage.Save

End Sub
by SorenR
2023-11-20 14:04
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Firstly, thanks for all the help. Secondly, I'm glad this turns out to be a bug because I was beginning to question my sanity :-) Well, the thing is that allthough it was a bug, fixing the bug does absolutely nothing for your problem. My tests showed that RCPT TO and MAIL FROM was actually sent ......
by SorenR
2023-11-19 15:28
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Not really sure what is going on here....

Server A send mail to Server C via Server B (SmartHost)...

Logging of Server A show NO "MAIL FROM xxx" when sending via SmartHost.

Logging of Server B show Server A sending "MAIL FROM xxx" :roll:

WTF ....
states-of-a-programmer.jpg
states-of-a-programmer.jpg (92.54 KiB) Viewed 1385 times
by SorenR
2023-11-19 14:07
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Have you checked to see what the Mail From header is that you are relaying to. Not only are you relaying email messages with an Empty From Address but you also had a transaction where you relayed an invalid email address as well. And you didn't enable all you Logs and I would have liked to see what...
by SorenR
2023-11-17 19:50
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

F*ng hell.... Remove AUTH and it sends the MAIL FROM... I have two servers I can play with, just confirmed it. Conclusion; AUTH assumes MAIL FROM is ACCOUNT. No AUTH requires MAIL FROM to be specified ... Yes? Right, and "Administrator" has no matching "Account"... Maybe: Sub OnAcceptMessage(oClien...
by SorenR
2023-11-17 19:29
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

F*ng hell....

Remove AUTH and it sends the MAIL FROM...

I have two servers I can play with, just confirmed it.

Conclusion; AUTH assumes MAIL FROM is ACCOUNT. No AUTH requires MAIL FROM to be specified ...

Yes?
by SorenR
2023-11-17 19:11
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Found same issue here... https://www.hmailserver.com/forum/viewtopic.php?t=35476 There are two ways to "relay" mails 1- Smarthost -> relay EVERYTHING 2- Route -> relay specific domain I'm wondering if this issue is valid for both. In some parallel universe one could argue that "MAIL FROM" should be ...
by SorenR
2023-11-16 14:35
Forum: General discussions
Topic: SMTP Blocked
Replies: 7
Views: 458

Re: SMTP Blocked

According to mxtoolbox.com... ptr:104.228.85.78 IP Address Domain Name 104.228.85.78 cpe-104-228-85-78.stny.res.rr.com You would be blocked on my server also. Only your ISP can fix this. You'll have to upgrade to a business account with a static IP not included in the spamhaus PBL. The PBL (policy ...
by SorenR
2023-11-15 19:26
Forum: General discussions
Topic: SMTP Blocked
Replies: 7
Views: 458

Re: SMTP Blocked

Road Runner residential broadband ??
by SorenR
2023-11-15 17:48
Forum: General discussions
Topic: Data Directory Synchronizer as Scheduled Task ?
Replies: 8
Views: 600

Re: Data Directory Synchronizer as Scheduled Task ?

Hi Everyone, I'm seaching if there's a way to run the DDS by a script (batch, powershell, ..) or a scheduled task. With a parameter's call (BDD user/pwd) With an automatic start. Any idea or suggestion ? Did you read (AND UNDERSTAND) the documentation for DDS? https://www.hmailserver.com/documentat...
by SorenR
2023-11-15 17:28
Forum: General discussions
Topic: AWS SES SMTP - 554 Transaction failed: Empty address
Replies: 25
Views: 1447

Re: AWS SES SMTP - 554 Transaction failed: Empty address

Why the need to login to AWS ? Is AWS SMTP your "smarthost" ? Why ?

What is your rationale for using hMailServer ?
by SorenR
2023-11-10 14:32
Forum: General discussions
Topic: may I ask if it supports sending multiple IPs?
Replies: 2
Views: 300

Re: may I ask if it supports sending multiple IPs?

Hello, may I ask if it supports sending multiple IPs? Or do I have to configure the service again? Currently, I only have one IP and I want to add two more IPs. The user is still the same. Can I support sending three random IPs? No, we generally suggest you clear up any issues with blocklists (DNSB...
by SorenR
2023-11-10 14:21
Forum: General discussions
Topic: Error Code 10054
Replies: 2
Views: 237

Re: Error Code 10054

First, I assume your Relay Host is strictly Outbound, yes? Perhaps set "Verify Remote SSL/TLS Certs" to false? And set your Relay to STARTTLS(Required) since they require TLS 1.2, then there is no point in making it "Optional". The error code: 10054 is due to the Relay Host disconnecting premature d...
by SorenR
2023-11-07 20:11
Forum: General discussions
Topic: Outlook unable to sync mailboxes
Replies: 4
Views: 692

Re: Outlook unable to sync mailboxes

Maybe try version 5.7, which is 64 bit and can handle a lot more memory. My server 5.6.9 B2641.84 (custom build) has no problem loading a 47MB email... Windows Server 2003 R2, Intel Core Duo @ 2,33GHz, 1,99GB RAM. :mrgreen: That in it self may not be proof of sound coding but we (@RvdH &Co) have re...
by SorenR
2023-11-04 13:55
Forum: Off-topic discussions
Topic: PHP exec - help with escaping quotes
Replies: 18
Views: 1390

Re: PHP exec - help with escaping quotes

c:\> gsudo <command> ...

https://github.com/gerardog/gsudo

Virtually the same as "run as Administrator"

PS. I renamed gsudo to sudo on my machines :mrgreen:
by SorenR
2023-11-04 01:21
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

It is all about priorities, multi OS support should not be the main priority at this stage, there are more important things to fix, add or replace but it seems most here are either to dumb to see the obvious or refuse to accept the real issue with hmailserver isn't the lack of multi OS support. Why...
by SorenR
2023-11-04 01:19
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

While not being a developer myself, I can say I do like the idea of having hMailServer capable of running on the major platforms such as Linux, MacOS, etc. But let me play devil's advocate. I believe jimimaseye earlier was talking about something similar to this concern. With most of the developers...
by SorenR
2023-11-04 00:05
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

OK, it actually fails here: "engine_->GetScriptDispatch(NULL, &ScriptDispatch);" and that *could* indicate a bug in the script engine (LuaScript.dll) ...

LuaScript is VisualStudio 2008 ...

Oh well... Never too old to learn new tricks :mrgreen:
by SorenR
2023-11-03 23:37
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

Hmm... The current LUAScript code does work when running scripts with cscript or wscript and as .wsf, I have not tested .ASP code ... However, hMailServer script server does not like it at all... Getting closer... Don't mind me, just rambling... I have an issue with this code from ScriptSite.h ... ...
by SorenR
2023-11-03 12:06
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

Hmm... The current LUAScript code does work when running scripts with cscript or wscript and as .wsf, I have not tested .ASP code ... However, hMailServer script server does not like it at all... Sample .wsf code: <job> <script language="VBScript"> sVBS = "vbs!!!": wscript.echo sVBS: ' wscript.echo ...
by SorenR
2023-11-02 11:34
Forum: General discussions
Topic: Using hMailServer in 2023?
Replies: 5
Views: 730

Re: Using hMailServer in 2023?

Hello everyone. I have 2 sites that requires emails back and forth. I'm currently using MailEnable, because its easy to use and navigate, but I'm missing alot of features. I was thinking of switching to hMailServer, but I have a few concerns that I would like some input on. Is hMailServer still use...
by SorenR
2023-11-02 00:52
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

The japanese company that made LUAScript (WSH) claim the same code (functionality) runs 35 times faster as LUA compared to VBS. If we can maintain the "eventhandlers.lua" file (and structure) we can share the script between the "official" hMailServer with the WSH LUAScript add-on and hMailServer_X w...
by SorenR
2023-11-01 22:38
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

@Dravion What are your experiences with Perl?? https://perlhelp.web.cern.ch/Components/Windows/PerlScript.html PerlScript is an ActiveX scripting engine that allows you to use Perl with any ActiveX scripting host. At this time, ActiveX scripting hosts include: Internet Information Server 3.0/4.0/5.0...
by SorenR
2023-11-01 18:15
Forum: User-submitted tutorials
Topic: Chocolatey - choco hMailServer install
Replies: 1
Views: 2551

Re: Chocolatey - choco hMailServer install

I use this one... The portable version... renamed to "sudo.exe" :mrgreen:

https://github.com/gerardog/gsudo
by SorenR
2023-11-01 15:16
Forum: Scripting
Topic: More character encoding issues
Replies: 10
Views: 887

Re: More character encoding issues

I have a problem with americans trying to spell my name.... ;-) Sub FixMyName(oMessage) oMessage.EncodeFields = False oMessage.HeaderValue("To") = Replace(oMessage.HeaderValue("To"), "Søren", "=?utf-8?q?S=c3=b8ren?=") oMessage.HeaderValue("Subject") = Replace(oMessage.HeaderValue("Subject"), "Søre...
by SorenR
2023-10-31 01:06
Forum: General discussions
Topic: Mail forward causes SPF failure
Replies: 2
Views: 424

Re: Mail forward causes SPF failure

Add this to your hmailserver.ini [settings] ; When performing forwarding, hMailServer now keeps the original From address rather than changing to that of the forwarding account. ; This change was made to reduce risk of message delivery failures. ; To force the previous behavior, set RewriteEnvelopeF...
by SorenR
2023-10-30 18:21
Forum: General discussions
Topic: Server 2016 vs Server 2022 - mail processing slow
Replies: 4
Views: 441

Re: Server 2016 vs Server 2022 - mail processing slow

If you don't use IPv6, disable it! I've seen posts about Win2022 not creating IPv6 rules in firewall for management thus it has to fallback to IPv4. You could try disabling the firewall before disabling IPv6... Registry ... "Prefer IPv4 over IPv6" https://learn.microsoft.com/en-us/troubleshoot/windo...
by SorenR
2023-10-29 17:50
Forum: General discussions
Topic: Authentication Problem
Replies: 15
Views: 998

Re: Authentication Problem

Thank you for your reply but I have entered my Domain name ******.co.uk right at the start of hmailserver set up, and then added the users that send email for that domain so when I add them in hmailserver it comes up user@*****.co.uk You have no "default domain" so you MUST authenticate with [accou...
by SorenR
2023-10-27 16:46
Forum: Development & alpha discussions
Topic: hMailServer X
Replies: 111
Views: 27402

Re: hMailServer X

@Paulo Yes, i see it the same way. The GNU Compiler has a pretty good compatibility record. I was able a year or so ago to build OpenSSL 1.1.1 even on a MacOS 10.0 System for Power PC 32-Bit which was released 23 yrs ago. You can even build NT4 (released 1996) or DOS Apps in a supported way with mo...
by SorenR
2023-10-23 11:49
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

** ("attachment" ("FILENAME" "This is the email.eml")) **

https://github.com/hmailserver/hmailser ... h.cpp#L944
by SorenR
2023-10-23 11:40
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Something is missing between "------=_MB1BA97929-F72B-4C20-8E5F-AA7EEFFFFF82" and ("attachment" ("FILENAME" "This is the email.eml")) This log is directly linked to "file 4" I mentioned in previous posts. "IMAPD" 2808 2190 "2023-10-22 23:36:52.288" "192.168.0.63" "SENT: * 77 FETCH (UID 624116 RFC822...
by SorenR
2023-10-22 23:08
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Another discovery...

The email in hMailServer "Data" directory DOES contain the "3 missing lines" from above. They are just never transferred to the client!

Note, have not testet POP3 protocol, only IMAP.

I guess I just confirmed everything we already knew :roll:
by SorenR
2023-10-22 17:53
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Oooohh....

File 4 is missing these 3 lines that makes everything right....

Code: Select all

Content-Type: message/rfc822; name="This is the email.eml"
Content-Disposition: attachment; filename="This is the email.eml"

blank line is intensional!

Compare file 3 and file 4 and it is obvious ;-)
by SorenR
2023-10-22 15:06
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Postmaster send email to Soren (Sent Mail) = file 1 Soren receive email (INBOX) = file 2 Soren forward email as attachment to Postmaster (Sent Mail) = file 3 Postmaster receive email (INBOX) = file 4 Email in file 4 = FCUKD ! All done in same server, sender and receiver is same client. I have NO ID...
by SorenR
2023-10-22 14:33
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Postmaster send email to Soren (Sent Mail) = file 1 Soren receive email (INBOX) = file 2 Soren forward email as attachment to Postmaster (Sent Mail) = file 3 Postmaster receive email (INBOX) = file 4 Email in file 4 = FCUKD ! All done in same server, sender and receiver is same client. I have NO IDE...
by SorenR
2023-10-21 22:33
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Hmm....

Using Roundcube... Forward email (as attachment) to other address ... Received and download attached email only ... NO email headers, crap content.

I think RoundCube have an issue here...
by SorenR
2023-10-21 17:47
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 479
Views: 320552

Re: Corona Virus

I've come down with something, possibly (probably) covid or might just be a hideous cold the last 2 days. (i won't be testing to know what). But the UK isn't offering booster jabs to my age yet (over 65 only). I am eligible for this winter's flu vaccine though. [Entered by mobile. Excuse my spellin...
by SorenR
2023-10-21 16:15
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Never had the problem - that I know of ... I'm using Roundcube Webmail 1.3.3 on Apache (Linux/Busybox) Try it? :) It is not a isolated issue as others also have verified here, simply forward a message as attachment , eg: message as message/rfc822 I tested & verified with Roundcube 1.3.x, 1.4.x, 1.5...
by SorenR
2023-10-21 14:43
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 479
Views: 320552

Re: Corona Virus

Well... Anyone else besides me who got their flu and covid shots?

I mean, we are entering winther and...
.
FB_IMG_1697829663673.jpg
FB_IMG_1697829663673.jpg (45.27 KiB) Viewed 1487 times
by SorenR
2023-10-21 14:27
Forum: Off-topic discussions
Topic: hmailserver + roundcube issue
Replies: 43
Views: 5811

Re: hmailserver + roundcube issue

Never had the problem - that I know of ... I'm using Roundcube Webmail 1.3.3 on Apache (Linux/Busybox)
.
391717994_342091078476783_417838.jpg
391717994_342091078476783_417838.jpg (49.13 KiB) Viewed 3948 times
by SorenR
2023-10-20 13:59
Forum: General discussions
Topic: hMailServer reports incorrect RFC822.SIZE
Replies: 92
Views: 12956

Re: hMailServer reports incorrect RFC822.SIZE

RvdH wrote:
2023-10-20 13:48
@SorenR, ExecuteSQLWithReturn, what you gonna return? Why not simply use ExecuteSQL
I had some issues using ExecuteSQL so I switched to ExecuteSQLWithReturn simply to have confirmation that the SQL was executed - if needed.
by SorenR
2023-10-20 13:02
Forum: General discussions
Topic: hMailServer reports incorrect RFC822.SIZE
Replies: 92
Views: 12956

Re: hMailServer reports incorrect RFC822.SIZE

My powershell script is very simple. It looks at every file in the data directory and updates hm_messages.messagesize based on the file name. The query is extremely simple. UPDATE hm_messages SET messagesize = '" + $Size + "' WHERE messagefilename = '" + $FileName + "'; I believe the query syntax f...
by SorenR
2023-10-19 23:12
Forum: General discussions
Topic: hMailServer reports incorrect RFC822.SIZE
Replies: 92
Views: 12956

Re: hMailServer reports incorrect RFC822.SIZE

No problem, I might use your script and try to adapt it best I can, but personally I don't know if it's worth running through every message, including those which don't need it. In any case, your script is cleaner, and a better approach in relation to duplicates, that's for sure. I'll wait until a ...
by SorenR
2023-10-19 22:51
Forum: General discussions
Topic: hMailServer reports incorrect RFC822.SIZE
Replies: 92
Views: 12956

Re: hMailServer reports incorrect RFC822.SIZE

Why worry about duplicates? If you look at my code it is all done completely outside hMailServer, no COM/DCOM, no API! All I use VBScript for is to get the size of the file on disk. Anyways, hm_messages.messageid IS a unique index value. The two tables hm_messages and hm_accounts is all you need to...