Search found 269 matches

by tunis
2021-02-24 17:52
Forum: General discussions
Topic: Understanding the SSL/TLS ciphers list
Replies: 20
Views: 8007

Re: Understanding the SSL/TLS ciphers list

Database is better.
I just make this to see what tls versions that was used before I updated to the HMS with TLS 1.3.
by tunis
2021-02-24 17:40
Forum: General discussions
Topic: Understanding the SSL/TLS ciphers list
Replies: 20
Views: 8007

Re: Understanding the SSL/TLS ciphers list

I use a powershell script on my logs. <# hMailserver Cipher log analyzer script: hmscla.ps1 version: 0.2.0 update: 19-12-02 code: Andreas Tunberg #> # Logfile path #$path = $PSScriptRoot $path = "C:\hMailServer\Logs" # Save file $resultatfile = "$path\cipher-analys.txt" # Date previous month $date =...
by tunis
2021-02-24 14:01
Forum: SpamAssassin implementation discussions
Topic: Max. size to send to Spamassassin
Replies: 34
Views: 686

Re: Max. size to send to Spamassassin

Why have a hard coded limit?
by tunis
2021-02-23 09:36
Forum: General discussions
Topic: eml files are not created
Replies: 13
Views: 262

Re: eml files are not created

When you sending it's SMTP and it's not save anything to any folders.

A client like outlook is sends with SMTP and then move a copy to the sent folder.
by tunis
2021-02-23 09:33
Forum: General discussions
Topic: Running a Python Script from a Rule or Server Event?
Replies: 12
Views: 234

Re: Running a Python Script from a Rule or Server Event?

https://www.rfc-editor.org/rfc/rfc5322.txt The Internet Message Format RFC the latest of which is 5322 2.1.1. Line Length Limits There are two limits that this specification places on the number of characters in a line. Each line of characters MUST be no more than 998 characters, and SHOULD be no m...
by tunis
2021-02-19 12:52
Forum: General discussions
Topic: help setup MX record, not receiving incoming mail
Replies: 11
Views: 326

Re: help setup MX record, not receiving incoming mail

If pavlino.ddns.net.bimpra.digital. is gonna work you must add a cname record, if you can't add just pavlino.ddns.net. as MX.

pavlino.ddns.net.bimpra.digital. CNAME pavlino.ddns.net.
by tunis
2021-02-12 16:47
Forum: General discussions
Topic: Spam on same domain email addresses
Replies: 11
Views: 370

Re: Spam on same domain email addresses

This is how local to local works, no dkim and no sending server IP adds to mails.
by tunis
2021-02-12 14:46
Forum: General discussions
Topic: Spam on same domain email addresses
Replies: 11
Views: 370

Re: Spam on same domain email addresses

However, there should be an SPF Entry for the Domain if in fact the Domain is in Public DNS. We don't know from the information supplied if the Domains being referred to are Public Domains or purely local to hMailServer and therefore do not exist in Public DNS. Problem is when sending to local doma...
by tunis
2021-02-10 09:58
Forum: Development & alpha discussions
Topic: 2 ports for POP
Replies: 1
Views: 68

Re: 2 ports for POP

Yes you can setup multiple ports for pop3.
by tunis
2021-01-14 17:00
Forum: General discussions
Topic: Loging into email account´s is no longer possible
Replies: 3
Views: 1241

Re: Loging into email account´s is no longer possible

"Failed to bind to local port" in your log says that the imap port 993 is i use and hMailserver can't use it.
There for you can't login to see your mail with IMAP.

Test to restart hMailserver and see if the error still show up in the log.
by tunis
2020-12-22 14:04
Forum: Off-topic discussions
Topic: Hmailserver - the social organiser
Replies: 26
Views: 6278

Re: Hmailserver - the social organiser

If I am qualified I in UTC+1.
by tunis
2020-12-17 09:22
Forum: General discussions
Topic: Gmail Pop3
Replies: 11
Views: 1901

Re: Gmail Pop3

This is how mail server works. SPF checks on last sending server/client, in local=>local case it will be you client ip.
I think you can add a script that's add a header on local=>local.

hMailserver can not know that google checks SPF when you use POP3, I don't know any client do that on POP3.
by tunis
2020-12-16 11:49
Forum: General discussions
Topic: Error Notification e.g. with wrong recipient address
Replies: 2
Views: 758

Re: Error Notification e.g. with wrong recipient address

In the logs the from address is empty.
To allow this you must check "Allow empty sender" under settings/SMTP /RFC-compliant.
by tunis
2020-11-19 11:37
Forum: General discussions
Topic: DMARC reports
Replies: 2
Views: 1960

Re: DMARC reports

And this from Amazonses => FAIL But <disposition>none</disposition> I thinks means it go throw. Here is one with quarantine from one report from google (not my ip). <record> <row> <source_ip>81.201.223.77</source_ip> <count>1</count> <policy_evaluated> <disposition>quarantine</disposition> <dkim>fa...
by tunis
2020-11-10 12:28
Forum: General discussions
Topic: 5.6.8-B2431 SPF Check Failures
Replies: 75
Views: 20647

Re: 5.6.8-B2431 SPF Check Failures

My analysis on the message-id is that is a spamming VM or computer.

Code: Select all

Message-ID: <2524244376344971919@WIN-4N5LJLCGCJ1>
No company leaves windows default name of servers and clients.
by tunis
2020-10-07 13:30
Forum: General discussions
Topic: Display number of emails pending in each account?
Replies: 19
Views: 3931

Re: Display number of emails pending in each account?

Found one minor flaw. Your all in one query outputs in alphabetical order by address, instead of by domain, then by address. Its not really a flaw, just a nitpick. Using the COM with your first query, and then using if unread > 0, puts them back into orderly fashion, without the no-unread accounts....
by tunis
2020-10-06 08:29
Forum: General discussions
Topic: Roundcube problem
Replies: 2
Views: 1190

Re: Roundcube problem

- Users are logget off after few minutes with error "Your session is invalid or expired" Check your session time in php.ini https://stackoverflow.com/questions/8311320/how-to-change-the-session-timeout-in-php/8311400 - Users can't change their password (see second config of plugin 'passwords') Make...
by tunis
2020-08-04 13:07
Forum: Feature requests
Topic: Running as a Windows Docker Container
Replies: 3
Views: 1765

Re: Running as a Windows Docker Container

I run windows docker on hyper-v server 2019 (free) with a continer of iis 7 on server 2019. (also free) https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-Server https://hub.docker.com/_/microsoft-windows-servercore-iis To setup using server...
by tunis
2020-06-15 11:54
Forum: General discussions
Topic: Code: 10053, Message: An established connection was aborted by the software in your host machine
Replies: 32
Views: 6990

Re: Code: 10053, Message: An established connection was aborted by the software in your host machine

In the diagnostic test section leave the domain hmailserver.com Your hostname is Settings >> protocols >> SMTP >> Delivery of email >> Local host name Hello. I guess you meant to change the local host name back to blank. No, I did not mean that. I meant what I wrote I meant that field NEEDS to have...
by tunis
2020-06-10 14:38
Forum: General discussions
Topic: Rouncube password
Replies: 23
Views: 5273

Re: Rouncube password

SorenR wrote:
2020-06-10 14:19
Your password driver is not on your github repository...
I will upload it on github then.
by tunis
2020-06-10 13:19
Forum: General discussions
Topic: Rouncube password
Replies: 23
Views: 5273

Re: Rouncube password

This will not work, linux have no com function, it's for php on windows only.
If you using a Linux box for webmail then you must install a webserver on the hmailserver with com enable and use that for api between linux and hmailserver.

linux --> webserver@hmailserver --> hmailserver
by tunis
2020-06-10 08:59
Forum: General discussions
Topic: Diagnostics error -Test outbound port
Replies: 9
Views: 2459

Re: Diagnostics error -Test outbound port

Your internet range has priority 120 and is higher than your autoban.
Higher priority wins so no autoban not working.
Lower Internet range to default 10.
by tunis
2020-06-03 08:32
Forum: General discussions
Topic: Severity: 1 (Critical), Code: HM5519, Source: StackLogger
Replies: 8
Views: 2426

Re: Severity: 1 (Critical), Code: HM5519, Source: StackLogger

Can't it be something with your webbappmail that you said in your other thread that add messages direct to the database. (Direct manipulation whit database is not supported)
by tunis
2020-05-26 13:59
Forum: General discussions
Topic: Help with settings, server receive mail but don`t send
Replies: 7
Views: 1859

Re: Help with settings, server receive mail but don`t send

You have also played and messed up the tcpip ports. Why? Change them back
127.0.0.1 / 25 / SMTP - None
Your port 25 is bound to 127.0.0.1, change that to 0.0.0.0
by tunis
2020-04-28 13:18
Forum: General discussions
Topic: Is HmailServer for the likes of me?
Replies: 127
Views: 31434

Re: Is HmailServer for the likes of me?

"SMTPD" 2392 1 "2020-04-28 11:39:07.160" "192.168.1.127" "SENT: 220 Yahoo ESMTP" "SMTPD" 10684 1 "2020-04-28 11:39:07.163" "192.168.1.127" "RECEIVED: EHLO [192.168.1.127]" "SMTPD" 10684 1 "2020-04-28 11:39:07.164" "192.168.1.127" "SENT: 250-Yahoo[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP" ...
by tunis
2020-04-15 07:54
Forum: General discussions
Topic: Fix my email server setup to stop spammers
Replies: 8
Views: 3187

Re: Fix my email server setup to stop spammers

According to this post: https://www.hmailserver.com/documentation/latest/?page=ts_server_used_for_spam ...I should never enable c and I should require SMTP authentication. I tried to do so, but I don't know if I'm on the right path. What should I do ???? Disable External to External if you don't re...
by tunis
2020-03-16 15:54
Forum: Off-topic discussions
Topic: Corona Virus
Replies: 272
Views: 94185

Re: Corona Virus

I have got spam for face masks.
by tunis
2020-02-25 10:24
Forum: Scripting
Topic: Reply Email Catch and Send
Replies: 8
Views: 5276

Re: Reply Email Catch and Send

Couldn't you just add reply-to: sender in the email. Then when you hit reply it send to sender and not to member.
by tunis
2020-02-25 09:43
Forum: General discussions
Topic: SPF not working correctly
Replies: 95
Views: 59293

Re: SPF not working correctly

Maybe the SPF record has more then 10 lookups?
RMSPF.cpp#L137

https://sendgrid.com/.../spf-limitations/
by tunis
2020-02-24 18:21
Forum: Off-topic discussions
Topic: Need help optimizing database
Replies: 22
Views: 12905

Re: Need help optimizing database

OK I indexed both ipaddress and timestamp, here's a typical query: SELECT DISTINCT(ipaddress), COUNT(ipaddress) AS countip, timestamp FROM hm_fwban_rh WHERE timestamp LIKE '2020-02%' GROUP BY ipaddress And results: (1550 total, Query took 0.3457 seconds.) <-- from phpmyadmin However, the reality is...
by tunis
2020-02-24 09:38
Forum: Off-topic discussions
Topic: Need help optimizing database
Replies: 22
Views: 12905

Re: Need help optimizing database

You don´t need to add unique index.

ALTER TABLE tbl_name ADD INDEX index_name (column_list) − This adds an ordinary index in which any value may appear more than once.
by tunis
2020-02-13 09:08
Forum: Off-topic discussions
Topic: Need help optimizing database
Replies: 22
Views: 12905

Re: Need help optimizing database

All columns you use in query you should have index on.
If you use "select x where timestamp > 'y' order by id" timestamp and id should have index on them to speed up query.
by tunis
2020-02-07 09:35
Forum: General discussions
Topic: hmail with roundcube
Replies: 8
Views: 7325

Re: hmail with roundcube

First, I'm not related to Greta.

I use nginx and php on my hMailserver and I had only uncomment this "com.allow_dcom = true" in php.ini.
Copy required files to your www catalog.

There is instruction in config.inc.dist in all plugins I made.
by tunis
2020-01-30 16:59
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

Re: URL send to SURBL

It literally takes the mail (source!) and tries to lookup url entries in it line by line, this could be in the headers, plain text part, html part (incl style blocks) Maybe you should try what i described above, eg: take the mail source and paste it into https://regex101.com/ and/or https://regexr....
by tunis
2020-01-30 15:45
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

Re: URL send to SURBL

@RvdH I updated hmailServer almost the same email came again without ")". "DEBUG" 1116 "2020-01-30 13:22:53.636" "SURBL: Execute" "DEBUG" 1116 "2020-01-30 13:22:53.636" "SURBL: Found URL: webbdagarna.se" "DEBUG" 1116 "2020-01-30 13:22:53.636" "SURBL: Found URL: trippus.se" "DEBUG" 1116 "2020-01-30 1...
by tunis
2020-01-29 12:39
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

Re: URL send to SURBL

I tried to resend that email and then it's only find the URL I found. "DEBUG" 2684 "2020-01-29 11:23:04.817" "SURBL: Execute" "DEBUG" 2684 "2020-01-29 11:23:04.833" "SURBL: Found URL: idg.se" "DEBUG" 2684 "2020-01-29 11:23:04.833" "SURBL: Found URL: ugglamassage.se" "DEBUG" 2684 "2020-01-29 11:23:04...
by tunis
2020-01-29 10:18
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

Re: URL send to SURBL

I checked the email and all links are like this one. href="https://dmd.idg.se/x/c/?LU.RbsMgDPyVvtCnqQ0hbMokq2q3L1gf9jgRQAldDJEDivb1DLLJtnQn_3w6DbLNCB3vmz7PILnseSbgont_EXmCKcZlfT2ft207kR3srLwZHJmTDnhJEb90WmNAJm.bwuT7v.BJtsd9qXBRbvTwaYfBqFGRV6xt7jHo7ynMWHAtVlvcH6kA.1Mv1vhgb4JdO.KBCndlFgojKUQb999rSKQt...
by tunis
2020-01-23 11:07
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

Re: URL send to SURBL

I checked the email and all links are like this one. href="https://dmd.idg.se/x/c/?LU.RbsMgDPyVvtCnqQ0hbMokq2q3L1gf9jgRQAldDJEDivb1DLLJtnQn_3w6DbLNCB3vmz7PILnseSbgont_EXmCKcZlfT2ft207kR3srLwZHJmTDnhJEb90WmNAJm.bwuT7v.BJtsd9qXBRbvTwaYfBqFGRV6xt7jHo7ynMWHAtVlvcH6kA.1Mv1vhgb4JdO.KBCndlFgojKUQb999rSKQtW...
by tunis
2020-01-23 09:32
Forum: General discussions
Topic: URL send to SURBL
Replies: 24
Views: 12910

URL send to SURBL

Hello, I saw that the URL for SURBL lookup sometimes is faulty. Here is an example from my log. "DEBUG" 3168 "2020-01-23 08:09:03.919" "SURBL: Execute" "DEBUG" 3168 "2020-01-23 08:09:03.919" "SURBL: Found URL: webbdagarna.se" "DEBUG" 3168 "2020-01-23 08:09:03.919" "SURBL: Found URL: trippus.se" "DEB...
by tunis
2019-12-17 09:23
Forum: General discussions
Topic: False positive SURBL match
Replies: 19
Views: 5077

Re: False positive SURBL match

I has also got false hits with multi.surbl.org.
But no false hit with dbl.spamhaus.org.
by tunis
2019-12-12 17:02
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 169
Views: 95265

Re: SpamAssassin Bootcamp (sa-learn) train BAYES

Pop-up is still exist after reverting it back to 0. Are call it with cscript? If you use wscript you get popups. Unfortunately no script. I just normally called it thru windows scheduler. I have no idea how to use cscript. Can you please help me how? Thank you You call it like this in windows sched...
by tunis
2019-12-12 16:06
Forum: User contributed hMailServer 5 scripts
Topic: SpamAssassin Bootcamp (sa-learn) train BAYES
Replies: 169
Views: 95265

Re: SpamAssassin Bootcamp (sa-learn) train BAYES

ashtec014 wrote:
2019-12-12 14:43
palinka wrote:
2019-12-12 13:47
ashtec014 wrote:
2019-12-12 09:16


Hi Palinka, I changed this to

Code: Select all

Const Verbose         = 1
but still I am getting the pop after running the task scheduler.
Should be 0 for no popup.
Pop-up is still exist after reverting it back to 0.
Are call it with cscript?

If you use wscript you get popups.
by tunis
2019-12-05 09:26
Forum: General discussions
Topic: Emails are recognized as SPAM.
Replies: 4
Views: 1594

Re: Emails are recognized as SPAM.

Your IP is on a blacklist.
You can check it here: https://mxtoolbox.com/blacklists.aspx
by tunis
2019-11-28 17:59
Forum: General discussions
Topic: getting blank messages without to, from subject and content
Replies: 8
Views: 4294

Re: getting blank messages without to, from subject and content

Hi, telnet testsmtp.com 25 ehlo testsmtp.com mail from:shanker@test.com rcpt to:test@testsmtp.com data this test msg to test mail. . quit You are not sending to, from or subject telnet testsmtp.com 25 ehlo testsmtp.com mail from:shanker@test.com rcpt to:test@testsmtp.com data To: test@testsmtp.com ...
by tunis
2019-10-22 11:45
Forum: General discussions
Topic: LOCAL GeoIP Test
Replies: 13
Views: 4566

Re: LOCAL GeoIP Test

I use php with local geoip. https://github.com/maxmind/GeoIP2-php How is performance? Are you using a database or it reads a the flat file every time you connect? Preformence approx 10-15ms/request. (in firefox) I have a centos machine with my webmail and GeoIP installed. As you see in examples on ...
by tunis
2019-10-21 15:47
Forum: General discussions
Topic: LOCAL GeoIP Test
Replies: 13
Views: 4566

Re: LOCAL GeoIP Test

I use php with local geoip. https://github.com/maxmind/GeoIP2-php Use this vbs code ' ### ' ### hMailServer GeoAutoban Code ' ### Function GeoAutoban(oClient) Dim oGeoip Dim sPort : sPort = Trim(Mid("SMTP IMAP SMTPSSUBM IMAPS", InStr("25 143 465 587 993 ", oClient.Port), 5)) On Error Resume Next Wit...
by tunis
2019-09-24 15:46
Forum: Scripting
Topic: RCPT TO multiple commands
Replies: 4
Views: 3449

Re: RCPT TO commands when not authenticated

You can disconnect client after too many invalid commands in Settings->Protocols->SMTP->RFC compliance.
Set "Maximum number of invalid commands" to 3 for example.

550 Unknown user is a invalid command and client will be disconnected after 3 tries.
by tunis
2019-09-06 14:45
Forum: General discussions
Topic: Sending mail doesn't work
Replies: 20
Views: 6261

Re: Sending mail doesn't work

qneo wrote:
2019-09-06 11:03
name: mail.almighty.se
data: "v=spf1 a:mailout.telia.com -all"

still goes to junk
spf name must be the same as after @ in email address (almighty.se) not mail.almighty.se.
by tunis
2019-09-06 10:59
Forum: General discussions
Topic: Sending mail doesn't work
Replies: 20
Views: 6261

Re: Sending mail doesn't work

qneo wrote:
2019-09-06 10:45
Like this ?

name:mail.almighty.se, type:TXT, data: "v=spf1 include:mailout.telia.com -all", prio: 0, ttl: 120
mail.telia.com has no spf, so there is nothing to include.

Use a:mailout.telia.com instead of include:mailout.telia.com.
by tunis
2019-09-05 17:03
Forum: General discussions
Topic: Sending mail doesn't work
Replies: 20
Views: 6261

Re: Sending mail doesn't work

What are your "SMTPC" says in the log?
They are your server's outgoing logs.
by tunis
2019-09-03 16:52
Forum: General discussions
Topic: SMTP connection with hubspot failed
Replies: 2
Views: 1330

Re: SMTP connection with hubspot failed

I think the auth format is wrong.
You sending "login+login+password".

PS. You should change password now when it has been posted here.
by tunis
2019-08-30 13:27
Forum: General discussions
Topic: DKIM not working
Replies: 2
Views: 1379

Re: DKIM not working

It look like you have 2048 dkim and that was not working for me.
I use 1024 dkim now and that works.
by tunis
2019-08-21 09:24
Forum: General discussions
Topic: customer not receive bounce email
Replies: 2
Views: 1524

Re: customer not receive bounce email

Check if you allow empty senders (Settings->Protocol->SMTP->RFC compatibility).
Bounce mail often has empty sender.

You can test with bounce mail services like this.
https://www.socketlabs.com/blog/bounce- ... addresses/
by tunis
2019-06-20 14:00
Forum: General discussions
Topic: Email sent to random person as BCC when invalid TO field specified
Replies: 13
Views: 3953

Re: Email sent to random person as BCC when invalid TO field specified

I have test with this script. Set objMsg = CreateObject("CDO.Message") objMsg.Subject = "CDO TEST MESSAGE" & vbTab & Now() objMsg.Sender = "test@test.local" objMsg.To = "test1@test.local; test2@test.local: test3@test.local; test4@test.local;" objMsg.From = "admin@tech.samobler.se" objMsg.TextBody = ...
by tunis
2019-06-13 08:27
Forum: General discussions
Topic: Route for Distribution List
Replies: 6
Views: 2787

Re: Route for Distribution List

I don't use distribution list but you might use global rule.

I have setup a route based on sender.

Criteria
Use AND
From Contains test@domain.com
To Not contains @domain.com

Actions
Send using route NameOfYourRoute
by tunis
2019-06-10 09:10
Forum: General discussions
Topic: Code: HM4403
Replies: 31
Views: 11864

Re: Code: HM4403

Hmm... HM4403 is used in PersistentMessage::LoadHeader and PersistentMessage::LoadBody ... Both are called from DKIM at different times. Wonder if the error goes away if DKIM check is removed? This is tested and error goes away with wait(20) on. But I what it, so I removed wait(20) instead. So on m...
by tunis
2019-06-04 17:00
Forum: General discussions
Topic: HMAIL to Office365 without IMAP/POP
Replies: 25
Views: 10043

Re: HMAIL to Office365 without IMAP/POP

Dravion wrote:
2019-06-04 15:24
What is a "Mail Contact"?
Maybe only available on exchange.

But what I was meaning was mail users

https://docs.microsoft.com/en-us/exchan ... erver-2019
by tunis
2019-06-04 14:39
Forum: General discussions
Topic: HMAIL to Office365 without IMAP/POP
Replies: 25
Views: 10043

Re: HMAIL to Office365 without IMAP/POP

Can't you add EBSSystemMail@publicdomin.com as a mail contact and then the mail sent to EBSSystemHmail@internaldomain.com after you also setup send connector for internaldomain.com domain point to hmailserver.
by tunis
2019-06-03 15:49
Forum: General discussions
Topic: HMAIL to Office365 without IMAP/POP
Replies: 25
Views: 10043

Re: HMAIL to Office365 without IMAP/POP

mattg wrote:
2019-06-03 14:59
HTTPS is a secure web browse connection to a webmail
Exchange server use HTTPS for clients (activesync).
I manage a exchange and only port 443 and 25 open to internet.