Re: Setting personal mailserver

2023-09-07 Thread Archange
This is not the 80–90’s anymore. Internet is not a friendly place, and the bulk of emails sent today are spams. So most actors are leveraging everything they can to reduce that, and a high entrance barrier to email sending is definitively part of this plan. That’s why we have (fc)rDNS, SPF,

Re: Setting personal mailserver

2023-09-07 Thread Archange
Learn the basics. Unfortunately, you do not seem to understand MTA/SMTP. So read maybe https://github.com/poolpOrg/OpenSMTPD-book, also https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/, and get a better understanding of SMTP/MTA requirements. A

Re: Setting personal mailserver

2023-09-06 Thread Archange
Hi, Le 06/09/2023 à 22:40, Sagar Acharya a écrit : I checked all network settings. They are perfect. Here is my conf below exactly. There's some issue with it. == smtpd.conf == table aliases file:/etc/smtpd/aliases table whitelist file:/etc/smtpd/whitelist pki humaaraartha.in

Re: Strange timeout issue

2023-08-06 Thread Archange
Le 07/08/2023 à 00:00, Tobias Fiebig a écrit : Heho, On Sun, 2023-08-06 at 22:58 +0400, Archange wrote: isis.lip6.fr This host has an IPv4 and IPv6 address. If you use the v4 addr. verbatim, the connection fails. If you use the FQDN, you use the v6 addr, the connection works. I feel silly

Strange timeout issue

2023-08-06 Thread Archange
Hi there, On one of the server I’m managing, they are some emails stuck in queue because smtpd cannot reach the destination servers. My log is filled with: ``` smtp-out: Enabling route <-> 132.227.60.30 (osiris.lip6.fr) mta connecting address=smtp://132.227.60.30:25 host=osiris.lip6.fr mta

Re: List expansion problem

2023-08-03 Thread Archange
Le 03/08/2023 à 20:55, Archange a écrit : Hi there, I don’t know if you’ve got an answer off-list or fixed your issue, but here is my quick analysis. Le 09/07/2023 à 03:10, Andrea D'Amore a écrit : Hello, I am using a opensmtpd 7.3.0 instance to collect and forward email from my domains

Re: List expansion problem

2023-08-03 Thread Archange
Hi there, I don’t know if you’ve got an answer off-list or fixed your issue, but here is my quick analysis. Le 09/07/2023 à 03:10, Andrea D'Amore a écrit : Hello, I am using a opensmtpd 7.3.0 instance to collect and forward email from my domains toward a gmail account. My stripped down

Re: Multiple dkim key with filter-dkimsign

2022-10-19 Thread Archange
Le 19/10/2022 à 09:10, Martijn van Duren a écrit : On Wed, 2022-10-19 at 00:23 +0400, Archange wrote: Le 19/10/2022 à 00:07, Martijn van Duren a écrit : On Wed, 2022-10-19 at 00:02 +0400, Archange wrote: Hi there, Due to an issue with the rspamd filter running against rspamd 3.3 (https

Re: New config fails

2021-11-06 Thread Archange
Le 07/11/2021 à 01:53, Rodolphe Bréard a écrit : On 06/11/2021 22:49, Matthieu C wrote: Hi! > Hi! On 06/11/2021 22:49, Matthieu C wrote: However, my opensmtpd service fails to start (even manually) with this error: smtpd[2160]: pony express: smtpd: bind: Cannot assign requested address

Re: New config fails

2021-11-06 Thread Archange
Le 07/11/2021 à 01:49, Matthieu C a écrit : Hi! I just setup a fresh install with opensmtpd and dovecot on my Ubuntu server with the help of this tutorial: https://rodolphe.breard.tf/en/article/how-to-deploy-a-personal-email-server/ However, my opensmtpd service fails to start (even

Re: Misunderstanding and/or possible bug regarding SNI

2021-07-26 Thread Archange
Le 26/07/2021 à 13:24, papush a écrit : Hello, I'm having issues getting SNI to work, or maybe I'm misunderstanding its purpose. I have three domains, all pointing to the same server, and would like opensmtpd to serve the right certificate depending on which one was used for the connection. The

Re: Misunderstanding and/or possible bug regarding SNI

2021-07-26 Thread Archange
Le 26/07/2021 à 13:43, Chris Brannon a écrit : papush writes: Hello, I'm having issues getting SNI to work, or maybe I'm misunderstanding its purpose. You don't need SNI just to host mail for multiple domains, though maybe there are other reasons you might want it. I host multiple domains

Re: Filter issue

2021-06-04 Thread Archange
Le 04/06/2021 à 13:58, Pete a écrit : It seems that the reality is "Finally, a number of decisions must (mandatory) be taken:" Well sure. A decison has to be made. filter whitelist \ chain { test-rdns , test-fcrdns } \ bypass Is this even valid syntax? AFAIR the decision needs to be

Re: relays - port configuration

2021-04-23 Thread Archange
Le 23 avril 2021 11:11:56 GMT+04:00, Sean Kamath a écrit : >> On Apr 22, 2021, at 13:01, ED Fochler wrote: >> >> No. >> >> You're only trying to send mail. Your ISP is only trying to stop you from >> sending mail. >> >> Mail delivery is meant to be very well defined and easy to

Re: relays - port configuration

2021-04-22 Thread Archange
Le 23 avril 2021 01:24:03 GMT+04:00, ni...@hush.ai a écrit : >> Emails must be relayed on port 25. > >Thanks guys. This is the confirmation I needed. So then it's a limitation due >to protocol specs as opposed to smtpd, yes? It’s a limitation due to the fact most servers listen on port 25

Re: relays - port configuration

2021-04-22 Thread Archange
somewhere in a proper data center. Might not even be 5$/month, VPS start event at 1$/month if you have very low needs (in this case just relaying emails). And in any case, I would advise this over trying to set it up at home. Regards, Archange

Re: Handling a mail alias for another domain

2020-10-14 Thread Archange
kind of mailing list of the poor, right? If so I might have a solution, since I used to do that in the past (but now that has moved to a proper mailing list, so I would need to find back what I did). Regards, Archange

Re: issue with 'smtpctl encrypt'

2020-09-29 Thread Archange
https://github.com/OpenSMTPD/OpenSMTPD/issues/1069 and https://github.com/OpenSMTPD/OpenSMTPD/pull/1073 Workaround until this get released: /usr/lib/smtpd/opensmtpd/encrypt newpassword Regards, Archange

Re: Simple virtual user setup with multiple domains

2020-09-24 Thread Archange
>> rootmainu...@maindomain.tld >> contact mainu...@maindomain.tld >> mainu...@maindomain.tld vmail >> someotheru...@somedomain.tldvmail >> someal...@somedomain.tldmainu...@mai

Re: Simple virtual user setup with multiple domains

2020-09-24 Thread Archange
Le 24/09/2020 à 14:42, Uwe Werler a écrit : > On 24 Sep 11:33, Unicorn wrote: >> Also, how does dkim signing with rspamd work for multiple domains? >> Right now my /etc/rspamd/local.d/dkim-signing.conf looks like this: >> >> ## >>

Re: Simple virtual user setup with multiple domains

2020-09-24 Thread Archange
## > allow_username_mismatch = true; > > domain { > firstdomain.tld { > path = "/etc/mail/dkim/firstdomain.tld.key"; > selector = "blah"; > } > } > ## > > Will it work automatically by simply entering eg. 'seconddomain.tld > {...}' with its respective keyfile and selector? Yes. And if you use sensible file names like me, you can even do this: path = "/etc/mail/dkim/$domain.$selector.key"; Regards, Archange

Re: requesting help with smtpd relay

2020-09-20 Thread Archange
configuration at this point… Archange

Re: requesting help with smtpd relay

2020-09-19 Thread Archange
` instead of `from any auth`, and I seem to remember my former syntax to be `auth from any` and not `from any auth`, so maybe you could try one of my two versions? Regards, Archange Le 20/09/2020 à 02:39, Hakan E. Duran a écrit : > I played around a little bit more and was able to get this er

Re: Converting from old format to new format

2020-08-23 Thread Archange
Le 22/08/2020 à 22:23, Mik J a écrit : > In old format I had > accept tagged CLAM_IN for domain virtual > deliver to maildir > "/home/mail/%{dest.domain:lowercase}/%{dest.user:lowercase}/Maildir" > > In new format I wrote > action DELIVRE_VIRTUELS maildir >

Re: request (privately) for maillog

2020-02-24 Thread Archange
Hi, Le 24/02/2020 à 18:41, Peter J. Philipp a écrit : > Hi, > > I got another "bouncing messages from misc@opensmtpd.org" message. The > particular message was 4669 that bounced. Yet I have no record of this in > my maillog, so I suspect a DNS fault. The exact same one bounced for me, and I

Re: Enforce outgoing mail to always use TLS

2020-02-22 Thread Archange
Re, Le 22/02/2020 à 21:25, Søren Aurehøj a écrit : >> Den 22. feb. 2020 kl. 20.01 skrev Archange > <mailto:archa...@activis.me>>: >> Le 22/02/2020 à 19:55, Søren Aurehøj a écrit : >>> Hi Misc >>> >>> I am using OpenSMTPD 6.6.0 on OpenBSD 6.6

Re: Enforce outgoing mail to always use TLS

2020-02-22 Thread Archange
was unable to establish a correct TLS session, but still succeed some time after that. Regards, Archange

Translate `relay as` rule?

2019-10-26 Thread Archange
//man.openbsd.org/OpenBSD-6.3/smtpd.8> to rewrite the user-part, the domain-part, or the entire address, respectively.” ”Use mailaddr as the MAIL FROM address within the SMTP transaction.” Is there anyway to recover old behaviour? Regards, Archange