How do I reliably expose MacPorts dovecot to the LAN on macOS Sonoma?
Steven Smith
steve.t.smith at gmail.com
Fri Jan 26 00:21:32 UTC 2024
Sounds like a DHCP issue on your router that was cleared up after a reboot.
I’d recommend trying togging the network interface off/on the next time that happens, or rebooting the router.
> On Jan 24, 2024, at 12:19 PM, Gerben Wierda <gerben.wierda at rna.nl> wrote:
>
> I can after some more testing confirm:
>
> - After turning of SIP, it works
> - After then turning SIP on again, it still works (?!?!?!)
>
> So, turning SIP off and on again cleared something.
>
> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl>)
> R&A IT Strategy <https://ea.rna.nl/> (main site)
> Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
> YouTube Channel <http://www.youtube.com/@GerbenWierda>
>
>> On 24 Jan 2024, at 16:18, Gerben Wierda <gerben.wierda at rna.nl> wrote:
>>
>> Hello people,
>>
>> I am currently making an attempt to run various ports on macOS Sonoma (mail server stuff, like postfix, dovecot, installed by MacPorts) and I am running into a problem.
>>
>> From inside the machine itself, everything is fine. I can connect to the ports using nc
>>
>> But from another machine on my LAN I cannot. It simply times out when I try
>>
>> nc -v -z <sonoma-machine-ip> 993
>>
>> from any other machine on the LAN. But on the machine itself it works. The process is running, it is listening to the correct port. I have used Murus (PF configurator/logger) to see that the connection from the outside is actually made. I tried Vallum (ALF configurator) to see what I could do/see.
>>
>> At one point I had postfix reacting to connections from outside the Mac, but not dovecot. Then I tried to change everything back and try again, now postfix isn't accepting connections either and I don't remember what I exactly did.
>>
>> Two questions:
>> how do I expose MacPorts dovecot to the outside?
>> how do I find out what part of Sonoma is stopping the connection and why?
>>
>> Help?
>>
>> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl>)
>> R&A IT Strategy <https://ea.rna.nl/> (main site)
>> Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
>> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
>> YouTube Channel <http://www.youtube.com/@GerbenWierda>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240125/c4f7ca8f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4421 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240125/c4f7ca8f/attachment.bin>
More information about the macports-users
mailing list