Re: how to watch opensmtpd filters at work?

2021-01-07 Thread Harald Dunkel

On 1/7/21 3:03 PM, Martijn van Duren wrote:

Could you show your config, steps to reproduce and expected behaviour?
Because I'm not entirely sure what you try to achieve.



I was trying to see which rules in smtpd.conf match. "smtpctl trace all"
didn't work.

Problem was, I hadn't enabled debug logging in syslog.conf. This rendered
"smtpctl trace rules" useless. I would strongly recommend to mention this
in the man page. Its easy to forget.


Regards
Harri



Re: how to watch opensmtpd filters at work?

2021-01-07 Thread edgar
On Jan 7, 2021 5:45 AM, Harald Dunkel  wrote:Hi folks,



for debugging I would like to know which "match" line does

actually match the incoming EMails. Is there some option for

opensmtpd to watch it? "-v" seems to be insufficient.



Every insightful comment would be highly appreciated.





Regards

Harri




I think you are looking forsmtpctl trace rulesEdgar 

Re: how to watch opensmtpd filters at work?

2021-01-07 Thread Martijn van Duren
Could you show your config, steps to reproduce and expected behaviour?
Because I'm not entirely sure what you try to achieve.

On Thu, 2021-01-07 at 13:24 +0100, Harald Dunkel wrote:
> On 1/7/21 1:03 PM, Martijn van Duren wrote:
> > Your question isn't really specific, but my best guess is that -Tfilters
> > will do the trick.
> > 
> 
> I tried "smtpctl trace all", but there was no visual effect.
> 
> 
> Regards
> Harri
> 





Re: how to watch opensmtpd filters at work?

2021-01-07 Thread Harald Dunkel

On 1/7/21 1:03 PM, Martijn van Duren wrote:

Your question isn't really specific, but my best guess is that -Tfilters
will do the trick.



I tried "smtpctl trace all", but there was no visual effect.


Regards
Harri



Re: how to watch opensmtpd filters at work?

2021-01-07 Thread Martijn van Duren
Your question isn't really specific, but my best guess is that -Tfilters
will do the trick.

martijn@

On Thu, 2021-01-07 at 12:45 +0100, Harald Dunkel wrote:
> Hi folks,
> 
> for debugging I would like to know which "match" line does
> actually match the incoming EMails. Is there some option for
> opensmtpd to watch it? "-v" seems to be insufficient.
> 
> Every insightful comment would be highly appreciated.
> 
> 
> Regards
> Harri
> 





how to watch opensmtpd filters at work?

2021-01-07 Thread Harald Dunkel

Hi folks,

for debugging I would like to know which "match" line does
actually match the incoming EMails. Is there some option for
opensmtpd to watch it? "-v" seems to be insufficient.

Every insightful comment would be highly appreciated.


Regards
Harri