Search found 277 matches

by tunis
2021-03-18 15:41
Forum: General discussions
Topic: Migrating one particular domain from a multi-domain server
Replies: 5
Views: 196

Re: Migrating one particular domain from a multi-domain server

Go the middle way.

Disable domain.com on server

Backup database only on source server.

zip data\domain.com

unzip on new server

restore backup on new server

Delete as SorenR said
by tunis
2021-03-18 12:53
Forum: Off-topic discussions
Topic: bruteforce new joker in town
Replies: 4
Views: 219

Re: bruteforce new joker in town

I got http traffic to. "SMTPD" 1732 3400 "2021-03-16 16:32:30.942" "92.118.160.49" "SENT: 220 Make my day, punk!" "SMTPD" 3032 3400 "2021-03-16 16:32:30.957" "92.118.160.49" "RECEIVED: GET / HTTP/1.1" "SMTPD" 3032 3400 "2021-03-16 16:32:30.957" "92.118.160.49" "SENT: 503 Bad sequence of commands" "S...
by tunis
2021-03-16 15:09
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

How do the rule Create and send copy work? I can't find it in the documentation https://www.hmailserver.com/documentation/latest/?page=reference_rule https://www.hmailserver.com/forum/viewtopic.php?p=132753#p132753 It is about as useful as pineapple on pizza :mrgreen: I see no use at all, why would...
by tunis
2021-03-16 15:04
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

There aren't too many legitimate message originators that use an empty envelope sender (MAIL FROM:<>). So this probably will handle external bounce suppression: First, you need to write a Header to save the enveloper sender. Put this code in the EventHandlers.vbs: Sub OnAcceptMessage(oClient, oMess...
by tunis
2021-03-16 14:45
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

Global rule From contains 'mailer-daemon' works for me This works great. I tested with run function to mail me a copy. Your message did not reach some or all of the intended recipients. Sent: Tue, 16 Mar 2021 11:33:15 +0000 (UTC) Subject: Vecka 11 - Veckans profiler The following recipient(s) could...
by tunis
2021-03-15 10:18
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Re: Stop bounce messages from exchange

exchange server 2016 and/or above ? if you want to use spamfilter functionality in exchange 2016 perhaps you should ditch hmailserver as frontend and set up an exchange edge transport server ( which could get the settings provided by your users in the mailbox server and then "automatically" exporte...
by tunis
2021-03-11 16:07
Forum: General discussions
Topic: Stop bounce messages from exchange
Replies: 14
Views: 467

Stop bounce messages from exchange

Hello, I have hmailServer in front of a Exchange server and if the user blocks a sender exchange send this: "RECEIVED: 554 5.7.105 SenderFilterAgent; Sender denied as sender's email address is on SenderFilterConfig list" The message then bounce back to the sender by hmailserver. "SMTPC" 2644 36594 "...
by tunis
2021-03-11 14:10
Forum: General discussions
Topic: Group administration
Replies: 1
Views: 162

Re: Group administration

You can only have server admin or domain admin.
by tunis
2021-02-24 17:52
Forum: General discussions
Topic: Understanding the SSL/TLS ciphers list
Replies: 20
Views: 8515

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: 8515

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: 48
Views: 1621

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: 583

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: 526

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: 604

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: 652

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: 652

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: 173

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: 1326

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: 6773

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: 2084

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: 829

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: 2061

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: 21557

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: 4156

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: 1293

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: 1893

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: 7410

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: 5592

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: 5592

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: 2623

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: 2587

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: 1952

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: 32959

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: 3355

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: 97793

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: 5435

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: 60499

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: 13317

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: 13317

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: 13317

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: 7553

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: 13252

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: 13252

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: 13252

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: 13252

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: 13252

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: 13252

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: 5372

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: 97667

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: 97667

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: 1681

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: 4450

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: 4859

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: 4859

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: 3534

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: 6632

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: 6632

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: 6632

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: 1405

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.