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: Connection refused
smtp-out: Disabling route [] <-> {ipv4} for 15s
smtp-out: No valid route for
[connector:[]->[relay:mydomain.com,port=465,smtps,mx],0x0]
DNS
mydomain.com MX 10 mydomain.com
Port 465 is perfectly open from ISP.
Thanking you
Sagar Acharya
https://humaaraartha.in
2 Sept 2023, 19:58 by [email protected]:
> 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 uplinks, ask
> your ISP to open port 25 for you.
>
> That said... I'm only guessing here.
>
>
> On Sat, Sep 02, 2023 at 03:52:37PM +0200, Sagar Acharya wrote:
>
>> I made some progress. I am able to receive mails now but when I send mail
>> from [email protected] to [email protected] 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 [] <-> 185.205.69.211 (185.205.69.211) smtp-out: Enabling
>> route [] <-> 81.3.6.165 (w4.tutanota.de)
>> mta error reason=Connection timeout
>>
>>
>> DNS
>>
>> mydomain.com. 86400 IN MX 10 mail.mydomain.com.
>>
>> Thanking you
>> Sagar Acharya
>> https://humaaraartha.in
>>
>>
>>
>> 2 Sept 2023, 05:45 by [email protected]:
>>
>>> Hello, pls show your config file.
>>>
>>> Mit freundlichen Grüßen, V.Bubnov
>>>
>>>> 01.09.2023, в 21:43, Sagar Acharya <[email protected]> написал(а):
>>>>
>>>> To enable being able to send mails from my server, I added tls certs.
>>>>
>>>> Now when I send from this email id to [email protected] , 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 should go smoothly but it
>>>> isn't so. Please help. Thanking you
>>>> Sagar Acharya
>>>> https://humaaraartha.in
>>>>
>>>>
>>>>
>>>> 1 Sept 2023, 20:52 by [email protected]:
>>>>
>>>>> 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
>>>>> emails. How do I do that?
>>>>>
>>>>> How do I limit overall size of mailbox and auto-delete old mails?
>>>>>
>>>>> Thanking you
>>>>> Sagar Acharya
>>>>> https://humaaraartha.in
>>>>>
>>>>>
>>>>>
>>>>> 1 Sept 2023, 14:04 by [email protected]:
>>>>>
>>>>>> 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 match rules for your domains, and for
>>>>>> everything else use a reject rule at the end.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On Fri, Sep 01, 2023 at 09:59:31AM +0200, Sagar Acharya wrote:
>>>>>>>
>>>>>>> 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
>>>>>>>
>>>>>>> [email protected]
>>>>>>> [email protected]
>>>>>>> [email protected]
>>>>>>>
>>>>>>> That's it, no other mails.
>>>>>>> Thanking you
>>>>>>> Sagar Acharya
>>>>>>> https://humaaraartha.in
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 1 Sept 2023, 12:42 by [email protected]:
>>>>>>>
>>>>>>>> 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
>>>>>>>> [email protected] or at [email protected] ?
>>>>>>>>
>>>>>>>> Thanking you
>>>>>>>> Sagar Acharya
>>>>>>>> https://humaaraartha.in
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 31 Aug 2023, 01:06 by [email protected]:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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 configured smtpd to store incoming mail
>>>>>>>>> where you think you have.
>>>>>>>>>
>>>>>>>>> I go so far as to use raw IPv6 for personal mailbox on various
>>>>>>>>> overlay mesh vpns like Cjdns and Yggdrasil (giving you personal
>>>>>>>>> authenticated IPs independent of any ISP). I just caught up with an
>>>>>>>>> online friend that moved from Hawaii to New York. Still works
>>>>>>>>> despite changes in ISP and ICANN domains.
>>>>>>>>>