Re: procmail and new grammar in smtpd.conf

2019-01-31 Thread butresin
On 1211 1636, schwack wrote:
> On Wed, Dec 05, 2018 at 10:07:34AM -0500, Daniel Corbe wrote:
> > at 6:22 AM, Eda Sky  wrote:
> > 
> > 
> > > Executive summary: delete the procmail port; the code is not safe and
> > > should not be used as a basis for any further work.
> > 
> 
> Is maildrop a recommended alternative? 
> 

In my opinion: yes.
It works well for me for long years.



Re: procmail and new grammar in smtpd.conf

2018-12-16 Thread Anthony Campbell
On 15 Dec 2018, Marcus MERIGHI wrote:
> cl...@syntheticnation.com (schwack), 2018.12.11 (Tue) 22:36 (CET):
> > On Wed, Dec 05, 2018 at 10:07:34AM -0500, Daniel Corbe wrote:
> > > at 6:22 AM, Eda Sky  wrote:
> > > 
> > > 
> > > > Executive summary: delete the procmail port; the code is not safe and
> > > > should not be used as a basis for any further work.
> > 
> > Is maildrop a recommended alternative? 
> 
> $ pkg_info fdm
> 
> "fdm is a simple, lightweight replacement for mail fetch, filter and
> delivery programs such as fetchmail and procmail."
> 
> Using it since my departure from procmail, no problems seen.
> 
> Marcus

It doesn't seem to work with mutt. Mutt complains that
/var/mail/ is not a mailbox, apparently because the mail
bodies produced by fdm don't start with a "From" line.

-- 
Anthony Campbellhttp://www.acampbell.uk



Re: procmail and new grammar in smtpd.conf

2018-12-15 Thread Marcus MERIGHI
cl...@syntheticnation.com (schwack), 2018.12.11 (Tue) 22:36 (CET):
> On Wed, Dec 05, 2018 at 10:07:34AM -0500, Daniel Corbe wrote:
> > at 6:22 AM, Eda Sky  wrote:
> > 
> > 
> > > Executive summary: delete the procmail port; the code is not safe and
> > > should not be used as a basis for any further work.
> 
> Is maildrop a recommended alternative? 

$ pkg_info fdm

"fdm is a simple, lightweight replacement for mail fetch, filter and
delivery programs such as fetchmail and procmail."

Using it since my departure from procmail, no problems seen.

Marcus



Re: procmail and new grammar in smtpd.conf

2018-12-11 Thread schwack
On Wed, Dec 05, 2018 at 10:07:34AM -0500, Daniel Corbe wrote:
> at 6:22 AM, Eda Sky  wrote:
> 
> 
> > Executive summary: delete the procmail port; the code is not safe and
> > should not be used as a basis for any further work.
> 

Is maildrop a recommended alternative? 



Re: procmail and new grammar in smtpd.conf

2018-12-05 Thread Gregory Edigarov



On 05.12.18 13:22, Eda Sky wrote:

Hi
I'm preparing an update from 6.3 to 6.4 and fix the required 
configuration files
For many years I've been using fetchmail/procmail and I do not know 
how to overwrite smtpd.conf to a new grammar

the original rule is

accept from any for domain "example.com" alias  deliver to 
mda "/usr/local/bin/procmail -f -" \


that seems to become:

action "procmail" mda "/usr/local/bin/procmail -f -"

match for domain "example.com" action "procmail"



I do not know how to write new rules.
Everything I'm trying to do ends with syntax error.

Will anyone advise me?
Thank you





Re: procmail and new grammar in smtpd.conf

2018-12-05 Thread Daniel Corbe

at 6:22 AM, Eda Sky  wrote:


Hi
I'm preparing an update from 6.3 to 6.4 and fix the required  
configuration files
For many years I've been using fetchmail/procmail and I do not know how  
to overwrite smtpd.conf to a new grammar

the original rule is

accept from any for domain "example.com" alias  deliver to mda  
"/usr/local/bin/procmail -f -"


I do not know how to write new rules.
Everything I'm trying to do ends with syntax error.

Will anyone advise me?


procmail is no longer maintained.   It last saw a stable release in  
September of 2001


In the author’s own words:

https://marc.info/?l=openbsd-ports&m=141634350915839&w=2


Executive summary: delete the procmail port; the code is not safe and
should not be used as a basis for any further work.


-Daniel




Re: procmail and new grammar in smtpd.conf

2018-12-05 Thread trondd
On Wed, December 5, 2018 6:22 am, Eda Sky wrote:
>
> the original rule is
>
> accept from any for domain "example.com" alias  deliver to mda
> "/usr/local/bin/procmail -f -"
>
> I do not know how to write new rules.
> Everything I'm trying to do ends with syntax error.
>

What have you tried?



procmail and new grammar in smtpd.conf

2018-12-05 Thread Eda Sky

Hi
I'm preparing an update from 6.3 to 6.4 and fix the required configuration 
files
For many years I've been using fetchmail/procmail and I do not know how to 
overwrite smtpd.conf to a new grammar

the original rule is

accept from any for domain "example.com" alias  deliver to mda 
"/usr/local/bin/procmail -f -"


I do not know how to write new rules.
Everything I'm trying to do ends with syntax error.

Will anyone advise me?
Thank you