Search found 4461 matches

by palinka
2024-03-27 15:18
Forum: General discussions
Topic: 535 Authentication Failed
Replies: 9
Views: 74

Re: 535 Authentication Failed

"SMTPD" 5212 6 "2024-03-26 14:57:10.721" "172.25.60.134" "SENT: 535 Authentication failed. Restarting authentication process." DOMAINS (No Domains Entered) IP RANGES IP: 172.25.60.134 - 172.25.60.134 Priority: 50 Name: Internal Allow connections Other SMTP: True Antispam : False POP3: False Antivir...
by palinka
2024-03-26 20:41
Forum: Scripting
Topic: limit imap to the newest 100 email messages
Replies: 7
Views: 79

Re: limit imap to the newest 100 email messages

carlatpg99 wrote:
2024-03-26 05:56
Never trust the client is what I was always told.
They were talking about people, not software. Not that the software is any more reliable...
by palinka
2024-03-23 09:03
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

I also noticed that the autoban code is ran, but hmailserver allows them to finish the connection first. Such as checking for any new email messages to download. How do I prevent them from doing whatever action they were trying to do after successfully authenticating? I forgot about that. Basically...
by palinka
2024-03-23 08:56
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

I'm getting this error: "ERROR" 6820 "2024-03-22 16:32:42.566" "Script Error: Source: Microsoft VBScript runtime error - Error: 800A01A8 - Description: Object required: 'Result' - Line: 306 Column: 4 - Code: (null)" Here is the example code I'm using: Sub OnClientLogon(oClient) If oClient.Port <> 2...
by palinka
2024-03-21 20:17
Forum: General discussions
Topic: Emails not going outside Domain.
Replies: 4
Views: 49

Re: Emails not going outside Domain.

Below not delivered, yet addresses work in reply all from Outlook. <nnnnnnnnnn@tmomail.net>; <nnnnnnnnnn@vtext.com>; <nnnnnnnnnn@mms.att.net>; <nnnnnnnnnn@mymetropcs.com>; <nnnnnnnnnn@txt.att.net>; If those are the actual domains, they don't work anymore. US cell carriers cracked down on spam SMS. ...
by palinka
2024-03-21 18:25
Forum: General discussions
Topic: SMTP relayer
Replies: 2
Views: 76

Re: SMTP relayer

Hello, I am new to hmailserver. I want to send emails from a old application that cannot authenticate emails. So I installed the last version of hmailserver ad added my account and added a SMTP relayer with the correct authentication (same of my email) and all works fine. If I try to add a second e...
by palinka
2024-03-18 19:15
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

viewtopic.php?t=38263

This thread has exactly your problem. It was resolved by changing some settings on mimecast side.
by palinka
2024-03-18 19:12
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

viewtopic.php?p=236473#p236473

Same issue: "wrong version number"
Try setting "Connection security" to: "STARTTLS (Optional)" or "STARTTLS (Required)"
^ in reference to your SMTP relay settings

Also, uncheck "Verify Remote SSL/TLS Certs" in the settings.
by palinka
2024-03-18 18:58
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

MarcoPirazzoli wrote:
2024-03-18 18:41

Code: Select all

IPv6 support is available in operating system.
Also, I've had issues with IPv6 in the past - never with hmailserver, but I turn it off anyway. Probably not the problem, but unless you have a specific need for it, it won't hurt to turn it off.
by palinka
2024-03-18 18:49
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

Yeah, sorry, not enough coffee this morning, I guess. You're correct on all accounts: the message is being received and 127.0.0.1 is part of the internet range. I thought that could be a bug or something, but I was focused on the authentication thing, which is not the issue. Delivery is the issue. T...
by palinka
2024-03-18 17:59
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

"SMTPD" 6372 99 "2024-03-18 14:43:20.541" "127.0.0.1" "RECEIVED: AUTH login bmV0MkBpbnRlZ3JhZmluLm5ldA==" Also, I just noticed this. Your client is attempting logon. Your hmailserver has no domains or users, so of course it will fail authentication. Either turn that off (on the client) or create a ...
by palinka
2024-03-18 17:01
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

Very strange. It should work. The only thing i can guess is maybe localhost overrides the internet range somehow? That would be a bug.

To test, add an ip range for 127.0.0.1 and allow external to external without authentication (like you have in internet range).
by palinka
2024-03-18 15:53
Forum: General discussions
Topic: hMailServer as mail relay
Replies: 18
Views: 211

Re: hMailServer as mail relay

Setup looks ok. Can you try another test message and post the logs around the time of that test? Maybe there's a clue there.
by palinka
2024-03-15 08:58
Forum: General discussions
Topic: Auto-Ban Issue
Replies: 10
Views: 315

Re: Auto-Ban Issue

Seems like it is still having issues, possibly because of: W005 - Medium There is a total of 166825 auto-ban IP ranges Is this normal because every time I start mail admin and click on status or advanced settings it can take several minutes with a spinning circle for the display to change to the re...
by palinka
2024-03-15 08:45
Forum: General discussions
Topic: Domain signature?
Replies: 14
Views: 2081

Re: Domain signature?

Unsure if I did or not. I don't remember anything like that so probably not. And not sure how to do so. Maybe start here: https://mariadb.com/downloads/connectors/connectors-data-access/odbc-connector Then after installing, go to windows start, type odbc and then set up a connection to your mailer ...
by palinka
2024-03-14 16:49
Forum: General discussions
Topic: Domain signature?
Replies: 14
Views: 2081

Re: Domain signature?

Did you set up odbc? Do you have any other connector?
by palinka
2024-03-13 14:21
Forum: General discussions
Topic: Exception from HRESULT: 0x800403E9
Replies: 1
Views: 41

Re: Exception from HRESULT: 0x800403E9

Manually back up hmailserver.ini, the database and the data dir, then reinstall hmailserver. Something got corrupted when the power failed. Reinstalling should fix it.
by palinka
2024-03-11 22:13
Forum: General discussions
Topic: 530 SMTP authentication is required
Replies: 36
Views: 564

Re: 530 SMTP authentication is required

Or just press the "defaults" button.
by palinka
2024-03-10 10:57
Forum: General discussions
Topic: Domain signature?
Replies: 14
Views: 2081

Re: Domain signature?

Hi Palinka It's been a while. Had to rebuild server from the ground up after a ransomware attack. So all is good and I'm back to this point. I did get the link to work in the html portion of the script so that the message comes up as a link.....it links to the "unsubscribe.php". I took the code you...
by palinka
2024-03-08 22:26
Forum: User contributed hMailServer 5 scripts
Topic: Ban spammers based on prior spamming
Replies: 9
Views: 12002

Re: Ban spammers based on prior spamming

On a whim I wanted to see how many domains have been banned in the past 4+ years I've been running this. 91 in total. Domain Hits ======================== ===== healthylifestylewiki.com 732 colocrossing.com 385 medguidemagazine.com 375 welfarepriority.com 293 redrugged.com 241 healthflourishing.com ...
by palinka
2024-03-07 16:37
Forum: General discussions
Topic: 530 SMTP authentication is required
Replies: 36
Views: 564

Re: 530 SMTP authentication is required

"SMTPD" 7124 66804 "2024-03-06 09:43:34.168" "88.88.88.88" "SENT: 220 mail.maxxxxxx.com ESMTP" "SMTPD" 7068 66804 "2024-03-06 09:43:34.168" "88.88.88.88" "RECEIVED: EHLO qqqq.i.gmail.com" "SMTPD" 7068 66804 "2024-03-06 09:43:34.168" "88.88.88.88" "SENT: 250-mail.maxxxxx.com[nl]250-SIZE[nl]250-AUTH ...
by palinka
2024-03-07 16:24
Forum: General discussions
Topic: Unread mail.
Replies: 31
Views: 423

Re: Unread mail.

Is IMAP Idle enabled?
by palinka
2024-03-07 08:10
Forum: General discussions
Topic: Dealing with "Message contains bare LF"
Replies: 7
Views: 155

Re: Dealing with "Message contains bare LF"

By script (maybe even possibly by rule), you could trap the message, create a new one with the old message body and delete the original one. That would guarantee to end your line ending issue.
by palinka
2024-03-07 08:01
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

How would I prevent any usernames that do not contain the @ symbol though from trying to connect? Even if the password sent over is wrong, I still want to run them through the autoban code that is there if the username they send over does not contain the @ symbol in it. You can't prevent anyone fro...
by palinka
2024-03-06 16:40
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 482
Views: 963967

Re: Corona Virus

Couldn't be me. I'm not a sucker that falls for fake news, which that story probably is.
by palinka
2024-03-04 22:55
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

I'm curious why you trust junkemailfilter to send only ham. My understanding is that its basically a zombie service after the guy that created it died. I don't care if no one is running it, the backup MX service works, period! Funny how the topic magically changed. :lol: And i told you multiple tim...
by palinka
2024-03-04 22:45
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

palinka wrote:
2024-03-04 18:05
I'm curious why you trust junkemailfilter to send only ham. My understanding is that its basically a zombie service after the guy that created it died.
RvdH wrote:
2024-03-04 22:11
I don't care if no one is running it, the backup MX service works, period!
Funny how the topic magically changed. :lol:
by palinka
2024-03-04 22:41
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

I still don't see any evidence that anyone actually took over after the guy died. If you're having good luck with it, then great. Its a testament to how robust his system was. But that's not the same as actually, you know... being maintained. Why do you need that evidence? What is there to maintain...
by palinka
2024-03-04 22:07
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

I still don't see any evidence that anyone actually took over after the guy died.

If you're having good luck with it, then great. Its a testament to how robust his system was. But that's not the same as actually, you know... being maintained.
by palinka
2024-03-04 20:15
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

Our main business is spam filtering. It is our hope that once you try our free backup MX service that you will be impressed and you will see some spam reduction and you'll want to upgrade to full spam filtering. You do realize forwarding or sending spam is funest for their business model, right? Do...
by palinka
2024-03-04 20:13
Forum: General discussions
Topic: general information account list
Replies: 3
Views: 86

Re: general information account list

You can create a script that loops through domains/users and lists those things.
by palinka
2024-03-04 20:07
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

I'm curious why you trust junkemailfilter to send only ham. Where do i claim that? That said i never got a single spam message from them ( to my knowledge) You claimed it in the code you posted - making it a trusted network in SA and excluding it from examination in EventHandlers.vbs. It is no zomb...
by palinka
2024-03-04 18:05
Forum: General discussions
Topic: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM
Replies: 36
Views: 5731

Re: How To Whitelist MX Email Backup Servers Forwarding As Not SPAM

I'm curious why you trust junkemailfilter to send only ham. My understanding is that its basically a zombie service after the guy that created it died.
by palinka
2024-03-03 10:00
Forum: Off-topic discussions
Topic: limits
Replies: 2
Views: 61

Re: limits

The only limit is your hardware. 1,000 messages is nothing. Even very low class hardware would have no issues with 1,000 messages. However, messages getting through to other mail servers depends on your reputation, and you'll need to set up SPF, DKIM, PTR, etc or your messages will likely be deleted...
by palinka
2024-03-03 09:55
Forum: General discussions
Topic: I sure could use some help with a problem involving POP & IMAP
Replies: 5
Views: 102

Re: I sure could use some help with a problem involving POP & IMAP

developerx wrote:
2024-03-03 04:45
I was told that they have problems with POP and I need to switch to IMAP and the problem will be gone.
You could try using imapsync - https://github.com/imapsync/imapsync
by palinka
2024-03-03 09:22
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

I *think* you can use the same code in OnClientLogon to boot non-authorized username/IP combinations from IMAP and POP3. Sub OnClientLogon(oClient) If oClient.Port <> 25 Then If oClient.Username = "test@test.com" And oClient.IPAddress = "192.168.0.10" Then EventLog.Write(oClient.Username & " on IP ...
by palinka
2024-03-03 01:42
Forum: General discussions
Topic: Advice on setting up a backup server
Replies: 94
Views: 24255

Re: Advice on setting up a backup server

Two minor correction to above: The very good news (for me anyway) is that during testing I have proven that setting the domain for a Route as 'mydomain*' will accept connections to all domains that start with 'mydomain'. It would be nice if the docs could be updated. How many domains start with "my...
by palinka
2024-03-03 01:32
Forum: Scripting
Topic: sanity check on simple throttle script
Replies: 6
Views: 89

Re: sanity check on simple throttle script

I'm sure there might be some optimization possible, but... if it ain't broke, don't fix it.

Looks OK to me. I would store the previous message time in a database, but that's just a matter of personal preference. Your way is just as good and if it works, well... don't fix it.
by palinka
2024-03-03 01:22
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

I *think* you can use the same code in OnClientLogon to boot non-authorized username/IP combinations from IMAP and POP3. Sub OnClientLogon(oClient) If oClient.Port <> 25 Then If oClient.Username = "test@test.com" And oClient.IPAddress = "192.168.0.10" Then EventLog.Write(oClient.Username & " on IP "...
by palinka
2024-03-03 01:17
Forum: Scripting
Topic: only allow authentication of one or more users if they're using a specific ip address
Replies: 27
Views: 419

Re: only allow authentication of one or more users if they're using a specific ip address

There's nothing you can do in eventhandlers.vbs to prevent authentication. However, you can ban based on the combination of username and IP. You would do this in Sub OnAcceptMessage. How many username/IP combinations are we talking about here? Something like this might work: Sub OnAcceptMessage(oCli...
by palinka
2024-02-27 09:35
Forum: General discussions
Topic: discrepancy between database and files on disk
Replies: 4
Views: 100

Re: discrepancy between database and files on disk

Our server has about 850000 mails. I just deleted a huge mail via Roundcube webmail. It went to the trash. I deleted it there also and it was gone but the file was still on disk. So I made a PowerShell script to compare the database with the data folder. The result is: I have 896438 rows in the hm_...
by palinka
2024-02-26 21:29
Forum: General discussions
Topic: SMTP Relay to Office 365
Replies: 9
Views: 304

Re: SMTP Relay to Office 365

The previously sent logs: "TCPIP" 6696 "2024-02-26 10:39:35.319" "TCP - 10.0.0.6 connected to 10.0.0.6:587." "SMTPD" 6696 4 "2024-02-26 10:39:35.319" "10.0.0.6" "SENT: 220 mail.test.com ESMTP" "SMTPD" 5816 4 "2024-02-26 10:39:43.167" "10.0.0.6" "RECEIVED: EHLO testgovbz.com" "SMTPD" 5816 4 "2024-02...
by palinka
2024-02-24 10:18
Forum: General discussions
Topic: SMTP Relay to Office 365
Replies: 9
Views: 304

Re: SMTP Relay to Office 365

You can delete the internet and localhost IP ranges. You don't need them since this is just a relay on your LAN. Also, I don't know if priority of 0 creates any issues or not, but to be safe I would give it a number of some kind. The instructions say: "You can specify a value between 0 and 1000." To...
by palinka
2024-02-22 16:37
Forum: General discussions
Topic: NO MX record for subdomain
Replies: 6
Views: 216

Re: NO MX record for subdomain

Am I missing something here? OP ran the internal diagnostics on his hostname or on his email domain? Why would arecmail.sartrack.nz require an MX record unless he's receiving mail on that subdomain (i.e. message-recipient@arecmail.sartrack.nz)? DNS should be like this: sartrack.nz A -> [whatever web...
by palinka
2024-02-20 14:08
Forum: General discussions
Topic: Configure hMail to send only (do not receive email)
Replies: 12
Views: 347

Re: Configure hMail to send only (do not receive email)

I have a website that sends notifications to anyone. The email for the website's domain - and hence the main company users - is hosted by google. What I did was create a global rule: if message from google domain (those are the notifications), send via route. The route points to smtp-relay.gmail.com...
by palinka
2024-02-17 23:00
Forum: General discussions
Topic: Backup and restore issue
Replies: 23
Views: 635

Re: Backup and restore issue

`routeid` double , What does this mean? "double"? edit: https://www.w3schools.com/mysql/mysql_datatypes.asp DOUBLE(size, d) A normal-size floating point number. The total number of digits is specified in size. The number of digits after the decimal point is specified in the d parameter Never mind -...
by palinka
2024-02-17 10:23
Forum: General discussions
Topic: Backup and restore issue
Replies: 23
Views: 635

Re: Backup and restore issue

I don't know if that's a bug or not. But there are other ways to backup and restore. Here's one.

https://github.com/palinkas-jo-reggelt/ ... ver_Backup
by palinka
2024-02-17 08:30
Forum: General discussions
Topic: Auto-Ban Issue
Replies: 10
Views: 315

Re: Auto-Ban Issue

Run this and post the results: viewtopic.php?f=20&t=30914

Also, you can upload images to the forum and place them in img tags. That will make it a lot easier for people to view and make it less of a security risk.
by palinka
2024-02-15 15:34
Forum: General discussions
Topic: Is there a way to integrate geoIP into hmailserver?
Replies: 16
Views: 2879

Re: Is there a way to integrate geoIP into hmailserver?

Most of my spam in the last couple of months has come through outlook.com. A LOT. But for some reason its quieted down a lot in the last week or so.
by palinka
2024-02-14 19:48
Forum: General discussions
Topic: Hello
Replies: 13
Views: 382

Re: Hello

What can be done? i don't know if i'm missing a 1, that part is echo in cmd after telnet xpcoptimizare.hopto.org You're definitely missing a 1. localhost = 127.0.0.1 I try to connect to telnet xpcoptimizare.hopto.org 25 and it says 421 Cannot connect to SMTP server 27.0.0.1 (27.0.0.1:25), connect e...
by palinka
2024-02-09 19:41
Forum: Development & alpha discussions
Topic: Scripting Engine ...
Replies: 5
Views: 300

Re: Scripting Engine ...

No help... Just an "atta boy!" 👍
by palinka
2024-02-05 18:18
Forum: General discussions
Topic: Rule to Reply with HTML formatted text
Replies: 7
Views: 332

Re: Rule to Reply with HTML formatted text

Soren brought up a couple of excellent points. In his example, its an account level rule, not a global rule. Plus, he has the loop count criteria. Best to use all the criteria in his account level rule, but the action should be what's in my previous post in order to generate an HTML message.
by palinka
2024-02-05 18:14
Forum: General discussions
Topic: Rule to Reply with HTML formatted text
Replies: 7
Views: 332

Re: Rule to Reply with HTML formatted text

SorenR wrote:
2024-02-05 18:08
rule.jpg
OP requested HTML formatting in the reply message.
by palinka
2024-02-05 18:08
Forum: General discussions
Topic: Rule to Reply with HTML formatted text
Replies: 7
Views: 332

Re: Rule to Reply with HTML formatted text

Hi all- SUMMARY: Is there a way to have hMailServer html format reply emails sent using a rule? [ oh, and I've been trying to search the forums on this, but keep getting a 500 error. Is search down? ] We've got a couple mailboxes set up with a rule to automatically reply to the sender after each an...
by palinka
2024-02-04 12:05
Forum: Scripting
Topic: oMessage identifiers
Replies: 7
Views: 401

Re: oMessage identifiers

oMessage.HeaderValue("Reply-To") = ..... https://www.hmailserver.com/documentation/latest/?page=com_object_messageheaders Is it possible to change Reply-To? I thought it was added at delivery (after Sub OnDeliverMessage). :?: Return-Path is defined just before mail leaves the server... Reply-To is ...
by palinka
2024-02-03 18:43
Forum: Scripting
Topic: oMessage identifiers
Replies: 7
Views: 401

Re: oMessage identifiers

jimimaseye wrote:
2024-02-03 14:11
oMessage.HeaderValue("Reply-To") = .....

https://www.hmailserver.com/documentati ... ageheaders
Is it possible to change Reply-To? I thought it was added at delivery (after Sub OnDeliverMessage). :?:
by palinka
2024-01-22 20:27
Forum: General discussions
Topic: SSL cert not working
Replies: 13
Views: 1068

Re: SSL cert not working

Okay, I actually obtained a full chain (it has four certificates in it, the last one being my own public cert). So, I loaded the chain.pem into "Certificate File" in hMailServer. If I go to https://whatsmychaincert.com and test my domain, it says the chain works. But if I add any port to their para...
by palinka
2024-01-19 18:51
Forum: General discussions
Topic: Some emails were not forwarded
Replies: 7
Views: 639

Re: Some emails were not forwarded

"TCPIP" 3804 "2024-01-19 18:11:18.073" "TCP - 80.94.95.170 connected to 149.248.21.10 :25." "SMTPC" 5648 446240 "2024-01-19 18:11:37.448" "52.101.41.1" "RECEIVED: 550 5.7.509 Access denied, sending domain [ MAIL.GONETFLIX.NET ] does not pass DMARC verification and has a DMARC policy of reject. [ME4...
by palinka
2024-01-19 18:41
Forum: General discussions
Topic: Some emails were not forwarded
Replies: 7
Views: 639

Re: Some emails were not forwarded

"APPLICATION" 4988 "2024-01-19 18:11:35.198" "SMTPDeliverer - Message 1438: Message deleted (contained virus Unknown) ." "DEBUG" 4988 "2024-01-19 18:11:30.823" "Scanner: "C:\Program Files\Windows Defender\MpCmdRun.exe" -scan -scantype 3 -file "C:\Program Files (x86)\hMailServer\Data\{B8595542-DD3D-...