make relay src prefer IPv6

2019-09-01 Thread Teilzeit-Eremit
Hi everyone!

I have a machine with ine IPv4 and multiple IPv6 addresses. I'd like to
restrict OpenSMTPD to relay only from the IPv4 address and one of the
Ipv6 addresses.

Using the line
> action "outgoing" relay src { ,  }
achieves this, but now OpenSMTPD seems to alternate between using the
IPv4 address and the IPv6 adress. I'd like it to only use IPv4 if the
destination host can't be reached via IPv6 though.

This isn't exactly important, more of a nice to have.

Has anyone else any ideas on how to accomplish this using the existing
features?


Cheers,
Teilzeiteremit



Re: OpenSMTPD 6.4.0

2018-06-29 Thread Teilzeit-Eremit
Am 2018-06-29 um 04:47 schrieb Matt Schwartz:

> However, I cannot send emails to anyone outside of my server and I am
> having trouble determining why. 

"from local" doesn't match authenticated senders any more.
You need another line at the bottom:

match auth from any to any action "dkim"

This should do the trick.

Cheers,
Part time hermite

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-10 Thread Teilzeit-Eremit
Hello everyone,

I tried building the 201801101641p1 Snapshot via poudriere on FreeBSD
11.1-amd64, and poudriere created a package without complaints.
I can't run it though, it gives me:
> debug: parent_send_config: configuring ca process
> debug: smtp: listen on 10.10.10.1 port 10028 flags 0x500 pki "" ca ""
> debug: init private ssl-tree
> debug: control -> klondike: pipe closed
> debug: control agent exiting
> debug: lka -> control: pipe closed
> debug: lookup agent exiting
> debug: smtp: listen on IPv6:fd07:dc0e:3c5b::1 port 10028 flags 0x500 pki "" 
> ca "
> "
> debug: parent -> ca: pipe closed
> debug: scheduler -> control: pipe closed
> debug: smtp: listen on 10.10.10.1 port 25 flags 0x409 pki "" ca ""
> debug: scheduler agent exiting
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 25 flags 0x409 pki "" 
> ca
>  ""
> debug: smtp: listen on 10.10.10.1 port 465 flags 0x40a pki "" ca ""
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 465 flags 0x40a pki 
> "" c
> a ""
> debug: smtp: listen on 10.10.10.1 port 587 flags 0x569 pki "" ca ""
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 587 flags 0x569 pki 
> "" c
> a ""
> debug: smtp: listen on IPv6:fd07:dc0e:3c5b::1 port 587 flags 0x569 pki "" ca 
> ""
> debug: pony: rsae_init
> debug: queue: done loading queue into scheduler
> debug: queue -> control: pipe closed
> debug: queue agent exiting
> smtpd: process ca socket closed

I used the existing mail/opensmtpd-devel port and just changed the
version number.

Cheers, Dominik

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org