Re: postfix not resolving mDNS lookups (make it work in a LAN-without-internet)

2019-08-26 Thread Viktor Dukhovni
> On Aug 26, 2019, at 11:18 AM, postfix-user-2019-8-26 > wrote: > > I applied this patch (that disables chroot) and then it works [1]. Thank > you, Viktor! > > With curiosity, I do not understand why the chroot of postfix is not > resolving through the nsswitch I'm afraid I can't help you debu

Re: postfix not resolving mDNS lookups (make it work in a LAN-without-internet)

2019-08-26 Thread postfix-user-2019-8-26
On 8/26/19 5:18 PM, postfix-user-2019-8-26 wrote: > That's it!! > > I applied this patch (that disables chroot) and then it works [1]. Thank > you, Viktor! > > (...) > > [1] (I think is an untouched master for debian10, yes! it is in two places!) > > # diff -u /etc/postfix/master.cf.orig /etc/postf

Re: postfix not resolving mDNS lookups (make it work in a LAN-without-internet)

2019-08-26 Thread postfix-user-2019-8-26
On 8/26/19 3:57 PM, Viktor Dukhovni wrote: > Is smtp(8) using "chroot" in your master.cf file? If so, the relevant > nsswitch.conf is likely the one in the chroot jail, and the jail would > also need to contain the relevant nss plugin modules. Simpler may be > to disable chroot. That's it!! I

Re: postfix not resolving mDNS lookups (make it work in a LAN-without-internet)

2019-08-26 Thread Viktor Dukhovni
> \On Aug 26, 2019, at 7:33 AM, postfix-user-l...@cas.cat wrote: > > When you install avahi-daemon, hosts line in /etc/nsswitch.conf looks like > > hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname > > so it first tries to do "nsswitch resolution" with mDNS before > contac

postfix not resolving mDNS lookups (make it work in a LAN-without-internet)

2019-08-26 Thread postfix-user-l...@cas.cat
Hi! Introduction === Few days ago I thought it would be a great idea to send emails to others in the same LAN (each participant having their own postfix server) and without reaching Internet. Applications of this is: a dynamic during a conference, a workshop, emergency situation (where Inte