Re: smtpd.conf new grammar

2018-05-28 Thread Nick Ryan
Final update. I've been working with Edgar who has helped no end and I now have a working config. For me the working line is actually: action "lmtp-local" mda "/usr/libexec/mail.lmtp -d unix:/var/dovecot/lmtp -f %{sender} %{dest}" virtual and the corresponding match is: match tag "SPAM_IN

Re: smtpd.conf new grammar

2018-05-28 Thread Nick Ryan
Hi Edgar, this is the format: postmas...@nr.ie n...@nr.ie webmas...@nr.ien...@nr.ie n...@nr.ie vmail Is this where it's pulling the %{user.username} being vmail from? Dovecot is expecting u...@domain.tld Regards - Nick On 28/05/2018 18:28, Edgar Pettijohn III wrote: On 05/28/18 10:4

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
On 05/28/18 10:48, Nick Ryan wrote: Hi Mark, viq, did either of you get it to work with the virtual table? Mine mostly works with: action "lmtp-local" mda "/usr/libexec/mail.lmtp -d unix:/var/dovecot/lmtp -f %{sender} %{rcpt}" virtual but it ignores the virtual table completely. If I miss

Re: smtpd.conf new grammar

2018-05-28 Thread Nick Ryan
Hi Mark, viq, did either of you get it to work with the virtual table? Mine mostly works with: action "lmtp-local" mda "/usr/libexec/mail.lmtp -d unix:/var/dovecot/lmtp -f %{sender} %{rcpt}" virtual but it ignores the virtual table completely. If I miss out the ${rcpt}, I get a no recipient s

Re: smtpd.conf new grammar

2018-05-28 Thread Edgar Pettijohn III
On 05/28/18 03:50, Gilles Chehade wrote: On Sun, May 27, 2018 at 08:05:05AM -0500, ed...@pettijohn-web.com wrote: On May 27, 2018 2:10 AM, viq wrote: On 18-05-26 20:30:32, Amelia A Lewis wrote: On Sun, 27 May 2018 00:43:02 +0200, viq wrote: Sorry, I've read the announcements, looked at man

Re: smtpd.conf new grammar

2018-05-28 Thread Gilles Chehade
On Sun, May 27, 2018 at 08:05:05AM -0500, ed...@pettijohn-web.com wrote: > > On May 27, 2018 2:10 AM, viq wrote: > > > > On 18-05-26 20:30:32, Amelia A Lewis wrote: > > > On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > > > > Sorry, I've read the announcements, looked at man pages and examples, >

Re: smtpd.conf new grammar

2018-05-27 Thread edgar
On May 27, 2018 2:10 AM, viq wrote: > > On 18-05-26 20:30:32, Amelia A Lewis wrote: > > On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > > > Sorry, I've read the announcements, looked at man pages and examples, > > > but still didn't manage to figure out how to translate "deliver via > > > dovec

Re: smtpd.conf new grammar

2018-05-27 Thread viq
On 18-05-27 09:34:10, Mark Patruck wrote: > For me it works with %{user.username} as mail.lmtp(8) user. > > See "FORMAT SPECIFIERS" in smtpd.conf(5) for details. Shows how well I read the man page With this it works, thank you! > On Sun, May 27, 2018 at 09:04:56AM +0200, viq wrote: > > On 1

Re: smtpd.conf new grammar

2018-05-27 Thread Mark Patruck
For me it works with %{user.username} as mail.lmtp(8) user. See "FORMAT SPECIFIERS" in smtpd.conf(5) for details. On Sun, May 27, 2018 at 09:04:56AM +0200, viq wrote: > On 18-05-26 19:18:56, Edgar Pettijohn III wrote: > > > > > Sorry, I've read the announcements, looked at man pages and examples

Re: smtpd.conf new grammar

2018-05-27 Thread viq
On 18-05-27 09:04:56, viq wrote: > On 18-05-26 19:18:56, Edgar Pettijohn III wrote: > > > > > Sorry, I've read the announcements, looked at man pages and examples, > > > but still didn't manage to figure out how to translate "deliver via > > > dovecot > > > lmtp" > > > (to have sieve working) int

Re: smtpd.conf new grammar

2018-05-27 Thread viq
On 18-05-26 20:30:32, Amelia A Lewis wrote: > On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > > Sorry, I've read the announcements, looked at man pages and examples, > > but still didn't manage to figure out how to translate "deliver via dovecot > > lmtp" > > (to have sieve working) into the new s

Re: smtpd.conf new grammar

2018-05-27 Thread viq
On 18-05-26 19:18:56, Edgar Pettijohn III wrote: > > > Sorry, I've read the announcements, looked at man pages and examples, > > but still didn't manage to figure out how to translate "deliver via dovecot > > lmtp" > > (to have sieve working) into the new syntax. So far my config was: > > > > tab

[patch] Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
On 05/26/18 19:18, Edgar Pettijohn III wrote: Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: table vusers ldap:/etc/ma

Re: smtpd.conf new grammar

2018-05-26 Thread Amelia A Lewis
On Sun, 27 May 2018 00:43:02 +0200, viq wrote: > Sorry, I've read the announcements, looked at man pages and examples, > but still didn't manage to figure out how to translate "deliver via dovecot > lmtp" > (to have sieve working) into the new syntax. So far my config was: > > table vusers ldap:/e

Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: table vusers ldap:/etc/mail/ldap.conf table vdomains ldap:/etc/mail/ldap.con

Re: smtpd.conf new grammar

2018-05-26 Thread viq
On Thu, May 24, 2018 at 2:18 PM, Gilles Chehade wrote: > Hi, > > I have just committed a major change in smtpd that'll require smtpd.conf > to be rewritten before your update to the new code. > > The new grammar is not TOO different from the former one, a lot of stuff > remains exactly identical,

Re: smtpd.conf new grammar

2018-05-26 Thread Leighton Sheppard
On Thu, May 24, 2018 at 02:18:56PM +0200, Gilles Chehade wrote: > Hi, > > I have just committed a major change in smtpd that'll require smtpd.conf > to be rewritten before your update to the new code. > > The new grammar is not TOO different from the former one, a lot of stuff > remains exactly i

Re: smtpd.conf new grammar

2018-05-25 Thread Gilles Chehade
On Thu, May 24, 2018 at 04:38:17PM -0400, Rupert Gallagher wrote: > On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: > > > In effect, instead of having: > > accept from any for local deliver to mbox > > > > You will have: > > action "my_action" mbox > > match from any for local action "my_act

Re: smtpd.conf new grammar

2018-05-24 Thread Ingo Schwarze
Hi Rupert, [ deleted tech@ because this is off topic there ] Rupert Gallagher wrote on Thu, May 24, 2018 at 04:38:17PM -0400: > On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: >> In effect, instead of having: >> accept from any for local deliver to mbox >> >> You will have: >> action "my_a

Re: smtpd.conf new grammar

2018-05-24 Thread Rupert Gallagher
On Thu, May 24, 2018 at 14:18, Gilles Chehade wrote: > In effect, instead of having: > accept from any for local deliver to mbox > > You will have: > action "my_action" mbox > match from any for local action "my_action" It may solve some obscure technical problem, but is a horrible thing to read

smtpd.conf new grammar

2018-05-24 Thread Gilles Chehade
Hi, I have just committed a major change in smtpd that'll require smtpd.conf to be rewritten before your update to the new code. The new grammar is not TOO different from the former one, a lot of stuff remains exactly identical, but the ruleset is now split into two parts: - a named action - a m