Re: local sendmail
* 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