Re: how to match my relay rules against a list of IP's?
arrowhead$ more /etc/mail/localhosters [::1]/128 It looks like there is bug. The table has to start with a IPv4 address. This works 127.0.0.1 ::1 while this doesn't ::1 127.0.0.1
Re: how to match my relay rules against a list of IP's?
On Fri, Mar 20, 2020 at 08:51:50PM +0100, Thomas Bohl wrote: > Hi > > > Is this possible? > > Yes > > > This is what I got but it gives me an error... > > > > arrowhead# smtpd -dvvv > > /etc/mail/smtpd.conf:34: table "mylocalhosters" may not be used for from > > lookups > > arrowhead# grep mylocalhosters smtpd.conf > > table mylocalhosters file:/etc/mail/localhosters > > match auth from src for any action "relay" > > Looks ok. > What does your /etc/mail/localhosters look like? arrowhead$ more /etc/mail/localhosters [::1]/128 I also tried without the [] brackets but that did the same error. Regards, -peter
Re: how to match my relay rules against a list of IP's?
Hi Is this possible? Yes This is what I got but it gives me an error... arrowhead# smtpd -dvvv /etc/mail/smtpd.conf:34: table "mylocalhosters" may not be used for from lookups arrowhead# grep mylocalhosters smtpd.conf table mylocalhosters file:/etc/mail/localhosters match auth from src for any action "relay" Looks ok. What does your /etc/mail/localhosters look like?
how to match my relay rules against a list of IP's?
Hi, Is this possible? This is what I got but it gives me an error... arrowhead# smtpd -dvvv /etc/mail/smtpd.conf:34: table "mylocalhosters" may not be used for from lookups arrowhead# grep mylocalhosters smtpd.conf table mylocalhosters file:/etc/mail/localhosters match auth from src for any action "relay" OS and smtpd are OpenBSD 6.6 with patches. Regards, -peter