Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sending e-mail from command line with SSL auth
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ipartola
n00b
n00b


Joined: 29 Apr 2005
Posts: 11

PostPosted: Sun Dec 04, 2005 10:39 pm    Post subject: Sending e-mail from command line with SSL auth Reply with quote

I'm not sure if this is in the right place so I apologize in advance.

Is there a command line e-mailing tool that would allow me to send an e-mail? I've looked at mailx, email and nail but none of those support SSL authentication (I'm not sending the e-mail through an SMTP server on my localhost but rather the university mail server). Since this thing is going into a script I'm looking for something that does not need user interaction.

Thanks

Igor
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Mon Dec 05, 2005 12:10 am    Post subject: Reply with quote

pine?

Thomas
Back to top
View user's profile Send private message
ipartola
n00b
n00b


Joined: 29 Apr 2005
Posts: 11

PostPosted: Mon Dec 05, 2005 3:54 am    Post subject: Reply with quote

Does pine have a non-interactive mode? I looked at the man page and it said that it was completely interactive. Please correct me if I'm wrong.

Igor
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Mon Dec 05, 2005 6:05 am    Post subject: Reply with quote

Sorry, I overread this part...

How about using ssmtp? It supports SSL/TLS connections?

Thomas
Back to top
View user's profile Send private message
ipartola
n00b
n00b


Joined: 29 Apr 2005
Posts: 11

PostPosted: Tue Dec 06, 2005 1:12 am    Post subject: Reply with quote

Ssmtp seems to work great. My only concern is that it is in /sbin and is not visible to the general public (i.e. unprivileged users). How would I handle the security here?

Thanks,

Igor
Back to top
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Tue Dec 06, 2005 5:23 am    Post subject: Reply with quote

Just run it with full path!

Thomas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum