On Thu, 3 Oct 2024 at 16:44, Peter Humphrey <pe...@prh.myzen.co.uk> wrote:
> Not wishing to hijack the thread, but I've been trying for years,
> intermittently, to get LAN mail working. It did work once, years ago, but I'm
> damned if I can get it going again now. My problem is not with dovecot but
> with postfix. Mail originating on the posfix machine goes where it should, but
> not any from others on the LAN.

Not wanting to hijack the hijack, and I don't really know which of
these I set up myself, but just my seemingly related config that works
to send mail from my server 'other' to postfix on 'this':

this:
/etc/postfix/aliases:
arve@<other>.lan arve

/etc/postfix/main.cf:
mynetworks = 192.168.0.0/24, 127.0.0.0/8

other:
/etc/mail/local-host-names:
<this>

etc/mail/mailertable:
192.168. smtp:<this>
<this> esmtp:<this>

Obviously 'other' has 'this' in /etc/hosts. And then I send mail with
'sendmail arve@<this>' (with sendmail from mail-mta/opensmtpd)

Regards,
Arve

Reply via email to