DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
Old 5th September 2019
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 197
Default

Congratulazioni!
Reply With Quote
Old 6th September 2019
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 197
Exclamation

Quote:
Originally Posted by ip6ix View Post
Indeed, this is what I do, except I use fetchmail (which I was familiar with from using it on Linux). I also use "procmail", which neatly parses the mail headers and sorts the incoming mail into different mailboxes ready to read with mutt.

Procmail(1) can be set up from within smtpd.conf(5) by use of the "mda" directive.
Ip6ix, if you use procmail you should at least be aware of this discussion on ports@ from five years ago:

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

As people may know, I was the upstream maintainer of procmail back in the
late 1990's though 2001.

Recent fuzzing efforts have found several bugs in procmail. I was
contacted by the Debian port maintainer. (...)
https://marc.info/?l=openbsd-ports&m...4350915839&w=2

From what I gather, while the port hasn't been removed, its use is not encouraged.
Reply With Quote
Old 7th September 2019
ip6ix's Avatar
ip6ix ip6ix is offline
Real Name: Neil
Port Guard
 
Join Date: Sep 2017
Location: Wales, UK
Posts: 42
Default

Quote:
Originally Posted by fvgit View Post
Ip6ix, if you use procmail you should at least be aware of this discussion on ports@ from five years ago:


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

From what I gather, while the port hasn't been removed, its use is not encouraged.
No, I wasn't aware of this. I've been using procmail for over 20 years, first on Linux and now on OpenBSD and have never had any problems, or rather, never noticed any. It still has a large userbase, which is why I suspect it hasn't been removed from ports.

However, while I'm in no hurry to change, I might quietly start to look for alternatives.
__________________
dc -e '[q]sa[ln0=aln256%Pln256/snlbx]sb12247225403800449909543746snlbxq'
Reply With Quote
Old 7th September 2019
TronDD TronDD is offline
Package Pilot
 
Join Date: Sep 2014
Posts: 197
Default

I used to use fetchmail and anytime I mentioned it, I was pointed to fdm.

https://github.com/nicm/fdm

Written by OpenBSD dev nicm@

I only use it for fetching but it also does filtering and can be a procmail replacement. A quick search for 'fdm procmail' shows several blogs about switching.
Reply With Quote
Old 7th September 2019
ip6ix's Avatar
ip6ix ip6ix is offline
Real Name: Neil
Port Guard
 
Join Date: Sep 2017
Location: Wales, UK
Posts: 42
Default

Quote:
Originally Posted by TronDD View Post
I used to use fetchmail and anytime I mentioned it, I was pointed to fdm.

https://github.com/nicm/fdm

Written by OpenBSD dev nicm@

I only use it for fetching but it also does filtering and can be a procmail replacement. A quick search for 'fdm procmail' shows several blogs about switching.
That's really useful, thanks. Fdm is also mentioned a couple of times in the thread referenced in the post by @fvgit.

My procmail setup doesn't do anything particularly complex, mainly separate posts from root and several mailing lists into folders, so converting to fdm should be relatively straightforward.
__________________
dc -e '[q]sa[ln0=aln256%Pln256/snlbx]sb12247225403800449909543746snlbxq'
Reply With Quote
Old 8th September 2019
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 197
Default

Your main alternatives probably are either fdm, as @TronDD suggested, or getmail and/or maildrop as independent replacements for fetchmail and/or procmail.

Personally I'm leaning towards the second, though. I still have a blog post (by one of the FreeBSD regulars, from wonkitty.com - site's gone now) saved somewhere explaining the conversion of a procmail ruleset to maildrop.

Although, if fdm would somehow make it into the OpenBSD base system, the decision would be easy.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD5.4 in win domain dizzappear OpenBSD General 3 28th February 2014 03:06 PM
DNS and purpose of .my.domain on a LAN frcc OpenBSD General 2 19th July 2013 02:40 AM
My domain name as my IRC hostname? guitarscn General software and network 6 15th September 2010 02:43 PM
How to set reverse DNS to my domain? guitarscn General software and network 1 12th September 2010 04:58 PM
Problem with my domain name reacing my machine whispersGhost General software and network 0 6th June 2008 03:28 AM


All times are GMT. The time now is 10:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick