Re: [gentoo-user] ssmtp.conf security concern

2006-05-01 Thread John J. Foster
On Sun, Apr 30, 2006 at 05:48:41PM -0400, John J. Foster wrote:
 On Mon, May 01, 2006 at 02:37:20AM +0530, Farhan Ahmed wrote:
  
  How bout using msmtp? It's lightweight and is well documented (?).. To
  use it change the value of sendmail in your .muttrc to this:
  
 I'm reading the manual right now, and will probably try it tonight.
 
Well OK, I installed msmtp last night and all seems to be working just
fine.

Thanks Farhan,
festus

-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpAn5wgwgZ9a.pgp
Description: PGP signature


[gentoo-user] ssmtp.conf security concern

2006-04-30 Thread John J. Foster
Good afternoon,

I solved my problem of a few days ago by adding

[EMAIL PROTECTED]
AuthPass=PASSWORD

to /etc/ssmtp/ssmtp.conf. This was related to my ISP now requiring SMTP
AUTH for mail. But I'm concerned about the security implications of
having this in a world-readable file. If this was only necessary to get
mutt mail off my system, I could just add

set sendmail=/usr/sbin/ssmtp -au [EMAIL PROTECTED] -ap PASSWORD

to my .muttrc file. But cron also need this in order to mail me results
of nightly jobs using mailx. I realize this is just a single user
system, but this solution just doesn't seem right. Are there config
options that can be placed in individual $HOME rc files, ie.
$HOME/.ssmtp.conf. I can't seem to track down much documentation on
ssmtp.conf. I don't really want to go with something fullblown like
sendmail.

Thanks,
festus

-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpYJ9VLmyHgF.pgp
Description: PGP signature


Re: [gentoo-user] ssmtp.conf security concern

2006-04-30 Thread Farhan Ahmed
John J. Foster wrote:
 Good afternoon,
 
 I solved my problem of a few days ago by adding
 
 [EMAIL PROTECTED]
 AuthPass=PASSWORD
 
 to /etc/ssmtp/ssmtp.conf. This was related to my ISP now requiring SMTP
 AUTH for mail. But I'm concerned about the security implications of
 having this in a world-readable file. If this was only necessary to get
 mutt mail off my system, I could just add
 
 set sendmail=/usr/sbin/ssmtp -au [EMAIL PROTECTED] -ap PASSWORD
 
 to my .muttrc file. But cron also need this in order to mail me results
 of nightly jobs using mailx. I realize this is just a single user
 system, but this solution just doesn't seem right. Are there config
 options that can be placed in individual $HOME rc files, ie.
 $HOME/.ssmtp.conf. I can't seem to track down much documentation on
 ssmtp.conf. I don't really want to go with something fullblown like
 sendmail.
 

How bout using msmtp? It's lightweight and is well documented (?).. To
use it change the value of sendmail in your .muttrc to this:

set sendmail=/usr/bin/msmtp

Also fill in your account details in ~/.msmtprc:

account default
host smtp.your_provider.net
from [EMAIL PROTECTED]
#see man page for more auth options
auth login
user your_username
password your_password
#If your SMTP Server supports TLS encryption, uncomment the next line
#tls

Be sure to execute chmod 0600 ~/.msmtprc

I copied these info from Gentoo Documentation.. Hope this helps..
Personally i use postfix with my gmail account..

Farhan Ahmed

P.S: Give muttng a try.. It has lots of features like nntp, smtp,
sidebar support and plenty..
-- 
Place   :  Bangalore, Karnataka, India
GPG Key :  8BE90E98
WengoPhone ID   :  farhanahmed
IRC Nick:  farhanahmed / farhanahmed06 (irc.freenode.net)


pgpINKeC6F08c.pgp
Description: PGP signature


Re: [gentoo-user] ssmtp.conf security concern

2006-04-30 Thread John J. Foster
On Mon, May 01, 2006 at 02:37:20AM +0530, Farhan Ahmed wrote:
 
 How bout using msmtp? It's lightweight and is well documented (?).. To
 use it change the value of sendmail in your .muttrc to this:
 
I'm reading the manual right now, and will probably try it tonight.

 Farhan Ahmed
 
 P.S: Give muttng a try.. It has lots of features like nntp, smtp,
 sidebar support and plenty..

I tried using muttng on and off since it came out. Had some nice
features that aren't in mainline, but too unstable for me, and just
about totally unsupported right now.

Thanks,
festus
-- 
It is not unusual for those at the wrong end of the club to have a
clearer picture of reality than those who wield it.
  Noam Chomsky


pgpJ9w4dFQAw0.pgp
Description: PGP signature