Re: mlmmj with opensmtpd

2016-08-17 Thread Gilles Chehade
You should not be running EXPERIMENTAL filters if you are unable to troubleshoot something as trivial as this by yourself... Gilles b‹«yÇ¢½çm†+)[yÆ®±ì¨¹ªÞ²æìr¸›yÛhš+¢—§²kivŠàN‹§²æìr¸›zǧu©šŠ[hš+úéì¹»®&Þ¢—§²kivŠà

Re: What is the correct syntax in opensmtpd

2016-08-17 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 17, 2016, at 2:41 PM, Mik J wrote: > > Hello, > > I have two rules like these > accept from local for domain relay via smtp://127.0.0.1:10023 > accept from source for domain relay via > smtp://127.0.0.1:10023 > Seems like you could add

What is the correct syntax in opensmtpd

2016-08-17 Thread Mik J
Hello, I have two rules like theseaccept from local for domain relay via smtp://127.0.0.1:10023 accept from source for domain relay via smtp://127.0.0.1:10023 Is there a way to make only one rule ? If a mail is local OR coming from some ips I trust then relay the mails Regards

Re: mlmmj with opensmtpd

2016-08-17 Thread Marcus MERIGHI
siefke_lis...@web.de (siefke_lis...@web.de), 2016.08.17 (Wed) 15:52 (CEST): > On Wed, 17 Aug 2016 07:39:43 -0500 Edgar Pettijohn > wrote: > > > > On Aug 17, 2016, at 7:20 AM, Marcus MERIGHI > > > wrote: > > > > > > I think: > > > > > > 1) smtpd

Re: mlmmj with opensmtpd

2016-08-17 Thread siefke_lis...@web.de
On Wed, 17 Aug 2016 14:20:21 +0200 Marcus MERIGHI wrote: > I think: > > 1) smtpd accepts message >(accept from any recipient ! for domain relay > via "smtp://127.0.0.1:10024") > 2) smtpd forwards to amavisd > 3) avavisd returns the message scanned to smtpd > 4)

Re: table ownership/permissions issues

2016-08-17 Thread Jeremy Volkening
On Wed, Aug 17, 2016 at 09:57:22AM +0100, Craig Skinner wrote: Hi Jeremy/all, On Wed, 17 Aug 2016 00:25:30 -0500 Jeremy Volkening wrote: The short of it is that to share the passwd file, either: 1. The file must be world-readable (not so good) 2. The opensmtpd and dovecot daemon users

Re: mlmmj with opensmtpd

2016-08-17 Thread siefke_lis...@web.de
On Wed, 17 Aug 2016 07:39:43 -0500 Edgar Pettijohn wrote: > > On Aug 17, 2016, at 7:20 AM, Marcus MERIGHI > > wrote: > > > > I think: > > > > 1) smtpd accepts message > > (accept from any recipient ! for domain relay > > via

Re: mlmmj with opensmtpd

2016-08-17 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 17, 2016, at 7:20 AM, Marcus MERIGHI wrote: > > I think: > > 1) smtpd accepts message > (accept from any recipient ! for domain relay via >"smtp://127.0.0.1:10024") > 2) smtpd forwards to amavisd > 3) avavisd returns the message

Re: mlmmj with opensmtpd

2016-08-17 Thread Marcus MERIGHI
I think: 1) smtpd accepts message (accept from any recipient ! for domain relay via "smtp://127.0.0.1:10024") 2) smtpd forwards to amavisd 3) avavisd returns the message scanned to smtpd 4) smtpd does not accept the message (invalid rcpt) (accept tagged Scanned from local for domain

Re: mlmmj with opensmtpd

2016-08-17 Thread Silvio Siefke
On Tue, 16 Aug 2016 23:17:18 -0500 Edgar Pettijohn wrote: So now cleaner after i kick out the filter's. smtpd -dv debug: init ssl-tree info: loading pki information for fr-sb.silviosiefke.com debug: init ca-tree debug: init ssl-tree info: loading pki keys for

Re: mlmmj with opensmtpd

2016-08-17 Thread Joerg Jung
> On 17 Aug 2016, at 12:47, Silvio Siefke wrote: > > On Tue, 16 Aug 2016 23:17:18 -0500 > Edgar Pettijohn wrote: > > >> # smtpd -dv > > # smtpd -dv > debug: init ssl-tree > info: loading pki information for fr-sb.silviosiefke.com > debug:

Re: mlmmj with opensmtpd

2016-08-17 Thread Silvio Siefke
On Tue, 16 Aug 2016 23:17:18 -0500 Edgar Pettijohn wrote: > # smtpd -dv # smtpd -dv debug: init ssl-tree info: loading pki information for fr-sb.silviosiefke.com debug: init ca-tree debug: init ssl-tree info: loading pki keys for fr-sb.silviosiefke.com info:

Re: table ownership/permissions issues

2016-08-17 Thread Craig Skinner
Hi Jeremy/all, On Wed, 17 Aug 2016 00:25:30 -0500 Jeremy Volkening wrote: > > The short of it is that to share the passwd file, either: > > 1. The file must be world-readable (not so good) > > 2. The opensmtpd and dovecot daemon users must share a primary group, > or > > 3. The daemons

Re: table ownership/permissions issues

2016-08-17 Thread Jeremy Volkening
On Wed, Aug 17, 2016 at 07:39:41AM +0200, Joerg Jung wrote: My conclusions on this issue: It seems on Linux that a process started as a user by another user (as done by opensmptd and dovecot to drop permissions to a non-privileged user) inherits by default only that user's primary group.