Re: Newbie config question

2020-06-13 Thread Thomas Bohl

I've been wrestling with this for days with no progress.


Next time, post what config you have, please.


Can someone drop me a v6.6.4 config to do something similar to the 
following.


Untested:

v4adr = 999.2.3.4
hostn = mx.davidfavor.com

table aliases file:/etc/mail/aliases
table ma2help { supp...@davidfavor.com }
table ma2user { da...@davidfavor.com = david, i...@davidfavor.com = 
david, da...@radicalhealth.com = david
supp...@radicalhealth.com = support, 
i...@radicalhealth.com = support }


pki $hostn cert "/etc//mx.davidfavor.com_Fullchain.pem"
pki $hostn key "/etc/ssl/mx.davidfavor.com_Key.pem"

listen on lo0
listen on $v4adr port 25 tls \
hostname $hostn pki $hostn
listen on $v4adr smtps \
hostname $hostn pki $hostn \
auth
listen on $v4adr port 587 tls-require \
hostname $hostn pki $hostn \
auth

action "receivedLocally" maildir alias 
action "receivedRemotely" maildir virtual 
action "relay2Helpdesk" relay \
host smtps://f...@mail.helpdesk.com \
auth { foo = password } \
helo $hostn \
src $v4adr
action "relay2Internet" relay \
helo $hostn \
src $v4adr

match for local action "receivedLocally"
match from any for rcpt-to  action "relay2Helpdesk"
match from any for domain { davidfavor.com, radicalhealth.com } action 
"receivedRemotely"

match auth from any for any action "relay2Internet"



Re: Newbie config question

2020-06-13 Thread David Favor

David Favor wrote:

I've been wrestling with this for days with no progress.

Can someone drop me a v6.6.4 config to do something similar to the 
following.


   da...@davidfavor.com   - maildir
   i...@davidfavor.com- forward to da...@davidfavor.com
   supp...@davidfavor.com - forward to f...@helpdesk.com using MailGun 
Relay Service


   supp...@radicalhealth.com - maildir
   i...@radicalhealth.com- forward to supp...@radicalhealth.com
   da...@radicalhealth.com   - send natively to da...@davidfavor.com (no 
Smarthost or Relay Service)


Just a raw config file will be fine, I can remove
whatever I don't require right now, like DKIM signing,
which I'll add later.

I'm just trying to get basic OpenSMTPD delivery working.

Thanks.


Still be great to have a working config.

No requirement for long explanation, just a copy of
a working config, that handles all the above.

Thanks.



Re: Newbie config question

2020-06-05 Thread Edgar Pettijohn
On Fri, Jun 05, 2020 at 11:28:12AM -0500, David Favor wrote:
> I've been wrestling with this for days with no progress.
> 
> Can someone drop me a v6.6.4 config to do something similar to the following.
> 
>da...@davidfavor.com   - maildir
>i...@davidfavor.com- forward to da...@davidfavor.com
>supp...@davidfavor.com - forward to f...@helpdesk.com using MailGun Relay 
> Service
> 
>supp...@radicalhealth.com - maildir
>i...@radicalhealth.com- forward to supp...@radicalhealth.com
>da...@radicalhealth.com   - send natively to da...@davidfavor.com (no 
> Smarthost or Relay Service)
> 
> Just a raw config file will be fine, I can remove
> whatever I don't require right now, like DKIM signing,
> which I'll add later.
>

It would likely be easier if you just posted your current smtpd.conf and
associated tables. 

Edgar

> I'm just trying to get basic OpenSMTPD delivery working.
> 
> Thanks.



Re: Newbie config question

2020-06-05 Thread gilles
On my phone but I'll show you tomorrow if no one answers before, this is trivialGillesOn Jun 5, 2020 18:28, David Favor  wrote:I've been wrestling with this for days with no progress.

Can someone drop me a v6.6.4 config to do something similar to the following.

    da...@davidfavor.com   - maildir
    i...@davidfavor.com    - forward to da...@davidfavor.com
    supp...@davidfavor.com - forward to f...@helpdesk.com using MailGun Relay Service

    supp...@radicalhealth.com - maildir
    i...@radicalhealth.com    - forward to supp...@radicalhealth.com
    da...@radicalhealth.com   - send natively to da...@davidfavor.com (no Smarthost or Relay Service)

Just a raw config file will be fine, I can remove
whatever I don't require right now, like DKIM signing,
which I'll add later.

I'm just trying to get basic OpenSMTPD delivery working.

Thanks.




Newbie config question

2020-06-05 Thread David Favor

I've been wrestling with this for days with no progress.

Can someone drop me a v6.6.4 config to do something similar to the following.

   da...@davidfavor.com   - maildir
   i...@davidfavor.com- forward to da...@davidfavor.com
   supp...@davidfavor.com - forward to f...@helpdesk.com using MailGun Relay 
Service

   supp...@radicalhealth.com - maildir
   i...@radicalhealth.com- forward to supp...@radicalhealth.com
   da...@radicalhealth.com   - send natively to da...@davidfavor.com (no 
Smarthost or Relay Service)

Just a raw config file will be fine, I can remove
whatever I don't require right now, like DKIM signing,
which I'll add later.

I'm just trying to get basic OpenSMTPD delivery working.

Thanks.