<<< Date Index >>>     <<< Thread Index >>>

Re: local sendmail



On Thu, 05 Feb 2009, Anders Rayner-Karlsson wrote:

> > On Wed, Feb 04, 2009 at 09:53:03AM -0500, Aron Griffis wrote:
> > > emailjp79@xxxxxx wrote:  [Wed Feb 04 2009, 09:38:07AM EST]
> > > > Is there some other way around this other than having to run postfix?
> > > 
> > > I haven't used rss2email but it seems trivial to edit
> > > rss2email.py to call procmail instead of sendmail.  Something
> > > like:
> > > 
> > > --- rss2email.py.orig   2009-02-04 09:51:18.000000000 -0500
> > > +++ rss2email.py        2009-02-04 09:52:14.000000000 -0500
> > > @@ -188 +188 @@
> > > -               i, o = os.popen2(["/usr/sbin/sendmail", recipient])
> > > +               i, o = os.popen2(["/usr/bin/procmail"])
> > > 
> > 
> > I did the same a while ago (6+ months) and it works just fine. Besides,
> > it also helps to keep procastination confined only to my personal PC,
> > instead of chasing me on my online mailboxes.
> 
> Does not work. Tried it today, and you only get a mbox that is not a
> real mbox. You can edit it by hand, inserting a blank line between the

After switching to debian lenny, I encountered the same problem saying
the spool file is not a valid mailbox. But debian and its derivatives
should have already installed exim4 as mta by default. I changed that
line to /usr/sbin/exim and it works again.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩185 杜甫  聞官軍收河南河北
    劍外忽傳收薊北  初聞涕淚滿衣裳  卻看妻子愁何在  漫卷詩書喜欲狂
    白日放歌須縱酒  青春作伴好還鄉  即從巴峽穿巫峽  便下襄陽向洛陽