Procmail forwarding with msmtp?

Procmail forwarding with msmtp?

am 28.11.2007 06:55:40 von 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.

Re: Procmail forwarding with msmtp?

am 28.11.2007 07:34:34 von Andrew

On 2007-11-28, andrew 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.