Re: New config syntax

2018-10-28 Thread Fred Crowson
Thanks for that what's the best way to debug?

is it smtpd -dvv?

Thanks

Fred
On Sat, 27 Oct 2018 at 05:54, Gilles Chehade  wrote:
>
> Sorry sent too fast, wanted to add that debugging configuration without logs 
> is difficult
>
> Le 27 oct. 2018 06:48, Gilles Chehade  a écrit :
>
> This can mean you have a loop of some sort in aliases expansion, or maybe in  
> .forward
>
>

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



Re: New config syntax

2018-10-26 Thread Gilles Chehade
Sorry sent too fast, wanted to add that debugging configuration without logs is difficultLe 27 oct. 2018 06:48, Gilles Chehade  a écrit :This can mean you have a loop of some sort in aliases expansion, or maybe in  .forward b‹«yÇ¢½çm†+)[yÆ®±ì¨¹ªÞ²æìr¸›yÛhš+¢—§²kivŠàN‹§²æìr¸›zǧu©šŠ[hš+úéì¹»®&Þ¢—§²kivŠà

Re: New config syntax

2018-10-26 Thread Gilles Chehade
This can mean you have a loop of some sort in aliases expansion, or maybe in  .forward 

Re: New config syntax

2018-10-26 Thread Thomas Bohl
Hello,

> In my aliases table I have entries like:
> 
> admin:fred, f...@crowsons.net

Is crowsons.net the hostname of the server?

> 
> but with my new smtpd.conf [1] I'm getting the following error:
> 
> 524 5.2.4 Mailing list expansion problem

What is the full line in /var/log/maillog?

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



Re: New config syntax

2018-10-26 Thread Edgar Pettijohn

On Oct 26, 2018 4:46 AM, Fred Crowson  wrote:
>
> Hi,
>
> In my aliases table I have entries like:
>
> admin:    fred, f...@crowsons.net
>
> but with my new smtpd.conf [1] I'm getting the following error:
>
> 524 5.2.4 Mailing list expansion problem
>
> this worked with my old config [2].
>
> What am I doing wrong?
>
> Thanks
>
> Fred

I don't know, but my relay credentials table isnt working anymore either and I 
can't seem to find the solution either.
>
> [1] New Config:
> # pki setup
> pki mx.crowsons.com cert "/etc/ssl/mx.crowsons.com.crt"
> pki mx.crowsons.com key "/etc/ssl/private/mx.crowsons.com.key"
>
> table sources { 46.235.226.153 }
> table helonames { 46.235.226.153 = mx.crowsons.com }
> table aliases file:/etc/mail/aliases
> table passwd passwd:/etc/mail/passwd
> table secrets file:/etc/mail/cc.sec
> table domains file:/etc/mail/domains
>
> #listen on vio0
> listen on egress port 25 tls pki mx.crowsons.com
> listen on egress port 587 tls-require pki mx.crowsons.com auth 
>
> #actions
> action "local" mbox alias 
> action "relay" relay
> action "c.net" relay host tls+auth://usern...@smtp.mail.com auth 
>
> # allow local messages
> match for local action "local"
> match from any for domain  action "local"
> match for domain crowsons.net action "c.net"
>
> [2] Old Config:
> # pki setup
> pki mx.crowsons.com certificate "/etc/ssl/mx.crowsons.com.crt"
> pki mx.crowsons.com key "/etc/ssl/private/mx.crowsons.com.key"
>
> table aliases file:/etc/mail/aliases
> table passwd passwd:/etc/mail/passwd
>
> #listen on vio0
> listen on egress port 25 tls pki mx.crowsons.com
> listen on egress port 587 tls-require pki mx.crowsons.com auth 
>
> accept from any for domain "crowsons.com" alias  deliver to mbox
> accept for local alias  deliver to mbox
> # allow local messages
> accept from local for any relay
>
> -- 
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>


New config syntax

2018-10-26 Thread Fred Crowson
Hi,

In my aliases table I have entries like:

admin:fred, f...@crowsons.net

but with my new smtpd.conf [1] I'm getting the following error:

524 5.2.4 Mailing list expansion problem

this worked with my old config [2].

What am I doing wrong?

Thanks

Fred

[1] New Config:
# pki setup
pki mx.crowsons.com cert "/etc/ssl/mx.crowsons.com.crt"
pki mx.crowsons.com key "/etc/ssl/private/mx.crowsons.com.key"

table sources { 46.235.226.153 }
table helonames { 46.235.226.153 = mx.crowsons.com }
table aliases file:/etc/mail/aliases
table passwd passwd:/etc/mail/passwd
table secrets file:/etc/mail/cc.sec
table domains file:/etc/mail/domains

#listen on vio0
listen on egress port 25 tls pki mx.crowsons.com
listen on egress port 587 tls-require pki mx.crowsons.com auth 

#actions
action "local" mbox alias 
action "relay" relay
action "c.net" relay host tls+auth://usern...@smtp.mail.com auth 

# allow local messages
match for local action "local"
match from any for domain  action "local"
match for domain crowsons.net action "c.net"

[2] Old Config:
# pki setup
pki mx.crowsons.com certificate "/etc/ssl/mx.crowsons.com.crt"
pki mx.crowsons.com key "/etc/ssl/private/mx.crowsons.com.key"

table aliases file:/etc/mail/aliases
table passwd passwd:/etc/mail/passwd

#listen on vio0
listen on egress port 25 tls pki mx.crowsons.com
listen on egress port 587 tls-require pki mx.crowsons.com auth 

accept from any for domain "crowsons.com" alias  deliver to mbox
accept for local alias  deliver to mbox
# allow local messages
accept from local for any relay

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