Exec'ing a script from Cyrus when imapd has a client

Adam Tauno Williams awilliam at whitemice.org
Sat Nov 7 16:05:53 EST 2009


> >  but then why not fetchmail to the cyrus setup directly 
> > too?
> Well, partly because fetchmail is a rather horrible hack in terms of its
> code and implementation,

So what?  Seriously, if a tool accomplishes the task... and
accomplishing the task is the purpose for the technology to exist in the
first place.  The quality of code and implementation of many mainstream
products could be question - but at the end it just doesn't matter -
they are accomplishing the ends for their users.

>  but mostly because in doing so you're violating
> way too many protocol levels 

Bogus, Fetchmail is a POP/IMAP/SMTP client that automatically moves
messages based upon its configuration.  It doesn't "violate" any
"protocol levels" at all.  If I drag-and-drop messages with my GUI MUA
between two servers, or use fetchmail, it is the exact same affect and
both are perfectly legitimate.  Except, of course, that fetchmail will
do so at 3AM every morning while I sleep.

> and introducing all kinds of possible
> problems and errors, 

Such as?  I've used fetchmail on several occasions and never had "all
kinds of problems".

> some of which will cause your mail to be lost, and

Right, just like a misconfigured MTA will, or a botched DNS server.

> others of which will compromise the security of both servers.

No more so that the use of a MUA; it is just an IMAP/SMTP client after
all.

> The best and proper way to transport mail to any given desired
> location is to use a proper and robust Mail Transport Agent with
> whatever protocol is most appropriate and effective for the job.

Sure, assuming that is an option and you the ability to modify all the
intermediary systems [not likely in the real-world].

> Fetchmail is not a solution to anything, and never was!

It is an excellent solution for automatically moving messages from one
mailbox to another;  just like it always has been.
-- 
OpenGroupware developer: awilliam at whitemice.org
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>



More information about the Info-cyrus mailing list