Re: I would like help matching my outgoing domains to the right IP for smtpd

2023-08-16 Thread Chris Bennett
On Wed, Aug 16, 2023 at 10:21:34AM +0200, Bruno Flückiger wrote: > How about something like this? > > match from mail-from regex "@example.net" action send_example_net > match from mail-from regex "@example.com" action send_example_com > > Cheers, > Bruno > Thank you very much. I just had to

Re: I would like help matching my outgoing domains to the right IP for smtpd

2023-08-16 Thread Bruno Flückiger
On 11.08., Chris Bennett wrote: > On Sat, Aug 12, 2023 at 03:49:12AM +, Philipp Buehler wrote: > > Am 12.08.2023 03:13 schrieb Chris Bennett: > > > I can't figure out how to match the outgoing mails to the correct IP/mx > > > they are coming from. Just one server, different A records for the

Re: [cpb_m...@bennettconstruction.us: I would like help matching my outgoing domains to the right IP for smtpd]

2023-08-12 Thread Chris Bennett
It's the weekend. I will see if anyone has any advice later. I will spend my time looking at perhaps solving the problem with a filter and using tcpdump and the debug features of smtpd to follow what I come up with. -- Chris Bennett

Re: I would like help matching my outgoing domains to the right IP for smtpd

2023-08-11 Thread Chris Bennett
On Sat, Aug 12, 2023 at 03:49:12AM +, Philipp Buehler wrote: > Am 12.08.2023 03:13 schrieb Chris Bennett: > > I can't figure out how to match the outgoing mails to the correct IP/mx > > they are coming from. Just one server, different A records for the mx > > versus domain name. > > Difficult

Re: I would like help matching my outgoing domains to the right IP for smtpd

2023-08-11 Thread Chris Bennett
On Sat, Aug 12, 2023 at 03:49:12AM +, Philipp Buehler wrote: > Am 12.08.2023 03:13 schrieb Chris Bennett: > > I can't figure out how to match the outgoing mails to the correct IP/mx > > they are coming from. Just one server, different A records for the mx > > versus domain name. > > Difficult

Re: I would like help matching my outgoing domains to the right IP for smtpd

2023-08-11 Thread Philipp Buehler
Am 12.08.2023 03:13 schrieb Chris Bennett: I can't figure out how to match the outgoing mails to the correct IP/mx they are coming from. Just one server, different A records for the mx versus domain name. Difficult to understand what you're trying there... I kinda understand that you have

I would like help matching my outgoing domains to the right IP for smtpd

2023-08-11 Thread Chris Bennett
Hello, as I was updating to the new IP ranges, I changed ~all to -all (My old IP's were crap filled with spam, so I just didn't send mails to the big guys.) I tried sending to gmail.com and got smacked that the spf was referring to an unexpected address on the server. I found that I was getting

[cpb_m...@bennettconstruction.us: I would like help matching my outgoing domains to the right IP for smtpd]

2023-08-11 Thread Chris Bennett
- Forwarded message from Chris Bennett - To: misc@openbsd.org From: Chris Bennett Subject: I would like help matching my outgoing domains to the right IP for smtpd Date: Fri, 11 Aug 2023 18:13:59 -0700 Hello, as I was updating to the new IP ranges, I changed ~all to -all (My old IP's