yggmail via unix socket and Multicast Peer Discovery
ygguser opened this issue · comments
A couple of questions )
When I run yggmail like this: yggmail -peer=unix:///var/run/yggdrasil.sock -database=/home/USER/mail/yggmail.db -smtp=192.168.1.15:1025 -imap=192.168.1.15:1143
Every minute the following will be recorded in the log:
2022/10/19 22:29:29 [ Yggdrasil ] Failed to dial UNIX : duplicate connection attempt
2022/10/19 22:30:29 [ Yggdrasil ] Failed to dial UNIX : duplicate connection attempt
2022/10/19 22:31:29 [ Yggdrasil ] Failed to dial UNIX : duplicate connection attempt
...
Is this how it should be?
And second: when I don't specify the -multicast
parameter when starting yggmail - does it not disable Multicast Peer Discovery?
Because in the log I see the following:
./yggmail -peer=unix:///var/run/yggdrasil.sock -database=/home/user/mail/yggmail.db -smtp=192.168.1.15:1025 -imap=192.168.1.15:1143
2022/10/20 01:37:05 [ Yggmail ] Using database file "/home/user/mail/yggmail.db"
2022/10/20 01:37:05 [ Yggmail ] Mail address: 44ed9bc4a0fafbbc621b73bca3bf62b31c140f18e3ef143559a0143be4e0fe50@yggmail
2022/10/20 01:37:05 [ Yggmail ] Listening for IMAP on: 192.168.1.15:1143
2022/10/20 01:37:05 [ Yggdrasil ] Connected UNIX: 200:31e:cba5:1c08:758c:5bdf:e04c:8a80@/var/run/yggdrasil.sock, source @
2022/10/20 01:37:05 [ Yggmail ] Listening for SMTP on: 192.168.1.15:1025
2022/10/20 01:37:05 [ Yggdrasil ] TLS listener started on [fe80::8c63:de15:b147:9591%eth0]:40729
TLS listener started on...