Relay own domain via IP - not local delivery.

2017-10-18 Thread Lars Bonnesen
I have a setup where I need all mails to be delivered via DNS - except malis for openSMTPd own domain (abc.com) My smtpd.conf says: table aliases file:/etc/mail/aliases table relayhosts file:/etc/mail/relayhosts listen on lo0 listen on em0 accept from any for domain "abc.com" relay via

OpenSMTPd as mx bsckup

2018-11-13 Thread Lars Bonnesen
Anyone can post a working smtpd.conf for OpenSMTPd on OpenBSD 6.4? Lets say I want OpenSMTPd to backup for the domain "donald.duck" with a primary mail server as "mail.donald.duck" Thanks, Lars.

Re: OpenSMTP as mx backup

2018-11-14 Thread Lars Bonnesen
ctl show queue and mail shows up ending with: |pending|417|Network error on destination MXs For how long will they stay in the queue by default and how do I change this to say... 90 days? Regards, Lars. On Tue, Nov 13, 2018 at 3:01 PM Lars Bonnesen wrote: > Anyone can post a working sm

Re: OpenSMTP as mx backup

2018-11-25 Thread Lars Bonnesen
4, 2018 at 10:41:44AM +0100, Lars Bonnesen wrote: > > I managed to figure it out. Seems quite simple. What does the trick is: > > > > action "disney" relay backup mx mxbackup.donald.duck > > > match from any for domain "donald.duck" action "disney