Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas, linux raid resync after reboot, bind-address mysql multiple, sanibleone xxxx, ftp://192.168.100.100/, www.xxxcon

Links

XODOX
Impressum

#1: Procmail forwarding with msmtp?

Posted on 2007-11-28 06:55:40 by Andrew

Hi,

I have been attempting with a conspicuous lack of success to write a
forwarding recipe for Procmail to redirect mail with msmtp:

:0c
* ^Subject: calculus
| msmtp another.address@gmail.com

which obviously retains a copy. I have an ~/.msmtprc file as follows,
which works flawlessly with both mutt and slrn:

account default
host smtp.gmail.com
port 587
from mygmail.address@gmail.com
tls on
tls_starttls on
tls_trust_file /home/andrew/.certs/ThawtePremiumServerCA.crt
auth on
user my.username
password my.password
logfile ~/.msmtp.log

I have tried a welter of command line options with eventual failure.
Has anybody manged to get msmtp to work with Procmail?

Andrew



--
Now I can praise him, now that I can stand by to mourn
and speak before this web that killed my father; yet
I grieve for the thing done, the death, and all our race.
I have won; but my victory is soiled, and has no pride.

Report this message

#2: Re: Procmail forwarding with msmtp?

Posted on 2007-11-28 07:34:34 by Andrew

On 2007-11-28, andrew <andrew@ilium.invalid> wrote:
> Hi,
>
> I have been attempting with a conspicuous lack of success to write a
> forwarding recipe for Procmail to redirect mail with msmtp:
>
>:0c
> * ^Subject: calculus
>| msmtp another.address@gmail.com

As it turns out the recipe above only failed because of a gmail quirk
(I was resending an email that had already been forwarded through this
address, go figure!) When I used this recipe with a less convoluted
address it worked perfectly.

Andrew


--
Now I can praise him, now that I can stand by to mourn
and speak before this web that killed my father; yet
I grieve for the thing done, the death, and all our race.
I have won; but my victory is soiled, and has no pride.

Report this message