[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] reg msmtp



On 11.08.14 19:24, PV Juliet wrote:
 I am a new user . I have installed msmtp .I could send mail from command
prompt with out smtp clients. I would like to send the mail from a c
program .
This is working fine . I wanted to run this program from initscript which
is not working. Can i get some points how to make it  to run in boot time.
I am using RHEL 6.0.

afaik msmtp uses HOME environment variable to find msmtprc.
can you set that in your init script?

--
Matus UHLAR - fantomas, uhlar@...186... ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The only substitute for good manners is fast reflexes.