Re: local sendmail

2009-02-04 Thread Christian Ebert
* bill lam on Wednesday, February 04, 2009 at 13:28:09 +0800
> Apologise if this OT,  I use rss2email to download rss and then it
> automatically calls sendmail to send them as emails to my gmail
> account so that they can be read with mutt.  My pc does not have valid
> domain name.  I wonder if it is possible to teach sendmail to delivery
> email to local maildir without the need to go through any external
> smtp server.

Have you tried, for testing:

$ mail `whoami`

With my postfix' sendmail here this works.

c
-- 
\black\trash movie_C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html


case-insensitive completion?

2009-02-04 Thread Joost Kremers
Hi all,

Can mutt do case-insensitive completion? If so, how? I've been unable to
find anything...

I'd really prefer case-insensitive completion, because I use upper case a
lot in filenames and mailboxes, but I don't rely upon it to distinguish
between files. It's annoying to constantly have to press the shift key,
especially because I'm used to *not* pressing shift when I use completion
in Bash and Emacs...

TIA


-- 
Joost Kremers
Life has its moments


Re: local sendmail

2009-02-04 Thread bill lam
On Wed, 04 Feb 2009, Christian Ebert wrote:
> With my postfix' sendmail here this works.

Thank for suggestion. I was using msmtp symlink as sendmail that
doesn't work.  Using postfix' sendmail it works ok.  

I am quite happy with rss2email/mutt combination as my newsfeed
reader.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩213 李商隱  無題二首之二
颯颯東風細雨來  芙蓉塘外有輕雷  金蟾齧璅燒香入  玉虎牽絲汲井迴
賈氏窺簾韓掾少  宓妃留枕魏王才  春心莫共花爭發  一寸想思一寸灰


Re: local sendmail

2009-02-04 Thread Christian Ebert
* bill lam on Wednesday, February 04, 2009 at 21:51:59 +0800
> On Wed, 04 Feb 2009, Christian Ebert wrote:
>> With my postfix' sendmail here this works.
> 
> Thank for suggestion. I was using msmtp symlink as sendmail that
> doesn't work.  Using postfix' sendmail it works ok.  

But you can combine the two. I use postfix' sendmail for local
mail and msmtp for "outgoing" mail with roughly the following
hooks:


set my_localpattern='^chris(@(localhost|mymachine(\.my\.fqdn)?))?$'

send-hook ~A ' set sendmail="/usr/local/bin/msmtp-enqueue.sh"' 

send-hook '(~f $my_localpattern | ~t $my_localpattern)' ' \
set sendmail="/usr/sbin/sendmail -oem -oi"'

send2-hook ~A ' set sendmail="/usr/local/bin/msmtp-enqueue.sh"'

send2-hook '(~f $my_localpattern | ~t $my_localpattern)' ' \
set sendmail="/usr/sbin/sendmail -oem -oi"'


> I am quite happy with rss2email/mutt combination as my newsfeed
> reader.

I always wanted to try that, I need more time ... ;-)

c
-- 
\black\trash movie_C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html


Re: local sendmail

2009-02-04 Thread emailjp79

bill [04.Feb.2009 14:51]:


On Wed, 04 Feb 2009, Christian Ebert wrote:

With my postfix' sendmail here this works.


Thank for suggestion. I was using msmtp symlink as sendmail that
doesn't work.  Using postfix' sendmail it works ok.  


Is there some other way around this other than having to run postfix? I
am also running msmtp here, along with procmail, fetchmail, mailx (and
of course mutt). Having to run postfix always seemed to be too much for
my needs and especially my system. Passing a system or local mail
directly to procmail would be more than enough for me.

If I am not mistaken, ssmtp was able to do without postfix - but is
interfering with msmtp. Then I guess I have to change msmtp for ssmtp
and set up multiple account handling via mutt and not via msmtp as
before, right?


JP Bruns

--
Time flies like the wind, but fruit flies like bananas.


Re: local sendmail

2009-02-04 Thread Aron Griffis
emailj...@gmx.de 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.0 -0500
+++ rss2email.py2009-02-04 09:52:14.0 -0500
@@ -188 +188 @@
-   i, o = os.popen2(["/usr/sbin/sendmail", recipient])
+   i, o = os.popen2(["/usr/bin/procmail"])



Re: local sendmail

2009-02-04 Thread Javier Rojas
On Wed, Feb 04, 2009 at 09:53:03AM -0500, Aron Griffis wrote:
> emailj...@gmx.de 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.0 -0500
> +++ rss2email.py2009-02-04 09:52:14.0 -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.

-- 
Javier Rojas

GPG Key ID: 0xA1C57061


pgphnL2tKdrKR.pgp
Description: PGP signature