Using ssmtp to send mails

From: Gerhard W. Gruber (sparhawk_at_gmx.at)
Date: 10/31/04


Date: Sun, 31 Oct 2004 10:12:09 +0100

I setup a CVS server for our Doom 3 mod team. Now I wanted to get CVS sending
notification emails to all devs. I have ssmtp installed on my system and I
using gmx as my mail provider, but I can seem to get ssmt sending any mails.
I always get erorr messages like "sender doesn not belong to logged in user"
or "cannot resolve your domain".

Can anybody tell me how I can write a simple script that can send a mail via
my provider?

I tried the follwoing commandline:
sendmail -f'sparhawk@gmx.at' -au<loginname> -au<password> 'sparhawk@gmx.at'
Test
CTRL-D

It seems that the problem is in the ssmtp.config file. There is a line that
says rewriteDomain. When I leave it empty I get the erorr message about the
domain and when I write some domain in there I get the error message about the
user.

-- 
Gerhard Gruber
SoftICE for Linux - http://pice.sourceforge.net/
http://sourceforge.net/projects/desktoptools