Re: Setting personal mailserver

2023-09-09 Thread Tassilo Philipp
Thanks for the link. They don't require it though, according to the doc, they don't even enforce it for gmail when using it with own domains. It's certainly a good practice, though, that's true. On Sat, Sep 09, 2023 at 01:54:48PM +0900, Pontus Stenetorp wrote: On Sat 09 Sep 2023, Stuart

Re: Setting personal mailserver

2023-09-08 Thread Pontus Stenetorp
On Sat 09 Sep 2023, Stuart Longland wrote: > On 9/9/23 01:28, Tassilo Philipp wrote: > > > [...] I didn't bother with DKIM until Google started mandating > > > it for example [...[ > > > > Hm... do you have a reference for that? I don't have that > > experience with gmail servers. Also I don't

Re: Setting personal mailserver

2023-09-08 Thread Stuart D Gathman
On Thu, 7 Sep 2023, Sagar Acharya wrote: In today's times of mature NLP, you will not be able to differentiate human mail from bot mail or spam. Only in person verification is trustworthy. No. Are you saying that only people who control the network should send mails? Well DNS exactly is for

Re: Setting personal mailserver

2023-09-08 Thread Stuart Longland
On 9/9/23 01:28, Tassilo Philipp wrote: [...] I didn't bother with DKIM until Google started mandating it for example [...[ Hm... do you have a reference for that? I don't have that experience with gmail servers. Also I don't find info about that being mandatory, online.

Re: Setting personal mailserver

2023-09-08 Thread Tassilo Philipp
[...] I didn't bother with DKIM until Google started mandating it for example [...[ Hm... do you have a reference for that? I don't have that experience with gmail servers. Also I don't find info about that being mandatory, online. On Fri, Sep 08, 2023 at 08:24:38AM +1000, Stuart Longland

Re: Setting personal mailserver

2023-09-08 Thread Reio Remma
On 08.09.2023 09:42, Stuart Longland wrote: Your options are: 1. set up a server outside your ISPs network that can transmit the message for you (e.g. if Internode decide to block port 25 or withdraw my public IP, I might use my secondary MX as the outbound mail server relay.) 2. use your

Re: Setting personal mailserver

2023-09-08 Thread Stuart Longland
On 8/9/23 15:51, Sagar Acharya wrote: SRV records would get port, like https://xmpp.org/extensions/xep-0368.html The logic would be like, say there is opensmtpd on the other server too. dig _mail._smtp.humaaraartha.in. SRV get_port_from_SRV() if found_different_port() try_port() else

Re: Setting personal mailserver

2023-09-07 Thread Sagar Acharya
Thank you Stuart. That is very helpful. SRV records would get port, like  https://xmpp.org/extensions/xep-0368.html The logic would be like, say there is opensmtpd on the other server too. dig _mail._smtp.humaaraartha.in. SRV get_port_from_SRV() if found_different_port()  try_port() else 

Re: Setting personal mailserver

2023-09-07 Thread Stuart Longland
On 7/9/23 20:44, Sagar Acharya wrote: Let the mail providers have their setups. Is it possible to have a configuration where I have 2 servers, example.com example2.com where I can send and receive emails on ports say, 777 on plaintext, starttls optional and port 778 with smtps? Give me a

Re: Setting personal mailserver

2023-09-07 Thread Pontus Stenetorp
On Thu 07 Sep 2023, Tassilo Philipp wrote: > > > > Give me a configuration for such a thing.  > > I think several people mentioned by now reading the doc and getting > familiar with email. This is not trying to be mean, I think you really > would set it up faster by learning and using it, then

Re: Setting personal mailserver

2023-09-07 Thread Tassilo Philipp
Give me a configuration for such a thing.  I think several people mentioned by now reading the doc and getting familiar with email. This is not trying to be mean, I think you really would set it up faster by learning and using it, then also understanding it b/c you have to maintain it, than

Re: Setting personal mailserver

2023-09-07 Thread Sagar Acharya
I get you, I get you. Let the mail providers have their setups. Is it possible to have a configuration where I have 2 servers, example.com example2.com where I can send and receive emails on ports say, 777 on plaintext, starttls optional and port 778 with smtps? Give me a configuration for

Re: Setting personal mailserver

2023-09-07 Thread gilles
September 7, 2023 11:44 AM, "Sagar Acharya" wrote: > In today's times of mature NLP, you will not be able to differentiate human > mail from bot mail or > spam. Only in person verification is trustworthy. > No. Are you saying that only people who control the network should send > mails? Well

RE: Setting personal mailserver

2023-09-07 Thread Vigneshwaran Ravichandran
ink/?LinkId=550986> for Windows From: Sagar Acharya<mailto:sagaracha...@tutanota.com> Sent: Thursday, September 7, 2023 5:45 PM To: Archange<mailto:archa...@activis.me> Cc: Misc<mailto:misc@opensmtpd.org> Subject: Re: Setting personal mailserver In today's times of mature N

Re: Setting personal mailserver

2023-09-07 Thread Sagar Acharya
In today's times of mature NLP, you will not be able to differentiate human mail from bot mail or spam. Only in person verification is trustworthy. No. Are you saying that only people who control the network should send mails? Well DNS exactly is for that. If you find I send spams, you can

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 Sagar Acharya
Or maybe we can simplify mail systems more. If mail, a system used to send messages across computers cannot work on "residential" IPs, then we can make it work on "residential" network since most nodes are "residential". You can look at. humaaraartha.in.           TXT And you'll find 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 Sagar Acharya
So what's the solution? I have a public ip. Can you suggest an edit? Thanking you Sagar Acharya https://humaaraartha.in 7 Sept 2023, 00:43 by archa...@activis.me: > Hi, > > Le 06/09/2023 à 22:40, Sagar Acharya a écrit : > >> I checked all network settings. They are perfect. Here is my conf

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: Setting personal mailserver

2023-09-06 Thread Jarod G.
Hello, in your configuration, you're relaying your emails to yourself. action "relay" relay host"smtps://humaaraartha.in" mail-from "@humaaraartha.in" from smtpd.conf(5) : host _relay-url_ Do not perform MX lookups but relay messages to the relay

Re: Setting personal mailserver

2023-09-06 Thread Sagar Acharya
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 cert "path_to_fullchain" pki humaaraartha.in key

Re: Setting personal mailserver

2023-09-03 Thread Alexander Mischke
Hello Sagar, is the port reachable from your system? Check with netcat: nc -v mydomain.com 465 Is the certificate chain complete and are you trusting the root CA? Verify with openssl: openssl s_client -connect mydomain.com:465 (I assume "mydomain.com" is the anonymized form of your

Re: Setting personal mailserver

2023-09-03 Thread Sagar Acharya
I have set spf records, TXT as follows: "v=spf1 ipv4:{myipv4address} -all" You can dig them at humaaraartha.in Everything looks spick and span and the error of smtp-out: No valid route for [connector:[]->[relay:mydomain.com,port=465,smtps,mx],0x0] still remains. Thanking you Sagar Acharya

Re: Setting personal mailserver

2023-09-03 Thread Jarod G.
Hello, Port 465 with implicit TLS for Submissions isn't outdated since RFC 8314, it's even the recommended way to use Submissions as STARTTLS (mostly used on tcp/587) is a security nightmare. More details in this PR i made two months ago :

Re: Setting personal mailserver

2023-09-02 Thread Reio Remma
Port 465 is the deprecated SMTPS submission port, you can't send mail to that. If you're trying to send out e-mail from a residential IP (even with an unblocked outoing port 25), you'll find more problems e.g. receiving servers not accepting your e-mails because of your IP having no FCrDNS

Re: Setting personal mailserver

2023-09-02 Thread Sagar Acharya
Port 25 outgoing is blocked. You were correct. I swotched to port 465 with config  action "relay" relay host smtps://mydomain.com Such is the error message: Again there is "Network error on destination MXs" mta connecting address=smtps://{ipv4}:465 host={xyz} mta error reason=IO Error:

Re: Setting personal mailserver

2023-09-02 Thread Tassilo Philipp
I tested all of the IPs from your output, and all of them listen on port 25 and a smtp server is answering. So if you are relaying to those via port 25, and you get a network error (I guess a timeout), then I guess your outgoing port 25 is blocked. This is relatively common with residential

Re: Setting personal mailserver

2023-09-02 Thread Sagar Acharya
I made some progress. I am able to receive mails now but when I send mail from u...@mydomain.com to sagaracha...@tutanota.com using mutt , I get, result="TempFail" stat="Network error on destination MXs" smtp-out: Enabling route [] <-> 81.3.6.162 (w1.tutanota.de) smtp-out: Enabling route [] <->

Re: Setting personal mailserver

2023-09-02 Thread Tassilo Philipp
If you want to apply the logic you are asking for to emails that are transmitted, I think you need to work with custom filters for specific logic (e.g. looking only at attachment size, per day limits, etc.). There is no "here you go" answer to that, or simple smtpd.conf statements that would

Re: Setting personal mailserver

2023-09-02 Thread Tassilo Philipp
The error is clear: whatever you connect to requires authentification, before submitting the mail. So, provide that info. Authentication is not TLS encryption, so no idea what you mean by you added TLS certs and that STARTTLS should make it work: it's simply not authentication. On Fri, Sep

Re: Setting personal mailserver

2023-09-01 Thread Sagar Acharya
To enable being able to send mails from my server, I added tls certs. Now when I send from this email id to u...@mydomain.com , I get the error below. 530 5.5.1 Invalid command: Must issue an AUTH command first (in reply to MAIL FROM command) Since STARTTLS is working on 25, I think things

Re: Setting personal mailserver

2023-09-01 Thread Sagar Acharya
I used mutt for accessing mail. I still am unable to send mail using my server. I can receive mails. I also completed the whitelist. How can I do this? I want to allow access only upto 25MB attachments from whitelisted emails and allow only 1email (only text based) per day from non-whitelisted

Re: Setting personal mailserver

2023-09-01 Thread Tassilo Philipp
From the doc (smtpd.conf(5)): maildir [pathname [junk]] Deliver the message to the maildir in pathname if specified, or by default to ~/Maildir. So given your config, you seem to get exactly what you configured. For your "whitelist", create the

Re: Setting personal mailserver

2023-09-01 Thread Sagar Acharya
I got a mail, which lies in Maildir, however no mailbox is configured. Is there a default mailbox in alpine and how do I access the mail contents in ~/Maildir My mails are under ~/Maildir/new/ Also, how do I whitelist email ids, say, I want mails only from f...@bar.com f...@bar2.com

Re: Setting personal mailserver

2023-09-01 Thread Sagar Acharya
How do I do that? What CLI tool do I use? While starting the daemon, the configuration is OK as given in prompt. With the DNS configuration I have, where can I send a mail, at u...@mydomain.com or at u...@mail.mydomain.com ? Thanking you Sagar Acharya https://humaaraartha.in 31 Aug 2023,

Re: Setting personal mailserver

2023-08-30 Thread Stuart D Gathman
On Wed, 30 Aug 2023, Sagar Acharya wrote: I'm facing an issue similar to a person a while ago available on archive. I use alpine, and the conf is as below There is nothing in the mailbox. Are you looking with alpine, or with CLI tools like ls? Use CLI tools to check that you've

Setting personal mailserver

2023-08-30 Thread Sagar Acharya
I'm facing an issue similar to a person a while ago available on archive. I use alpine, and the conf is as below table aliases file:/etc/smtpd/aliases listen on eth0 action "local" maildir alias action "relay" relay match from any for domain "mydomain.com" action "local"