whenever i try to send an email it fails and gives the following lines in /var/log/mail.log
Dec 10 22:09:18 mezumil64 sSMTP[30313]: /etc/ssmtp/ssmtp.conf not found
Dec 10 22:09:18 mezumil64 sSMTP[30313]: 530 5.7.0 Must issue a STARTTLS command first. 28sm2455179eyg.36
+ ls -l
-rw-r----- 1 root mail 180 2009-12-10 22:09 /etc/ssmtp/ssmtp.conf
+ cat /etc/ssmtp/ssmtp.conf
ssmtp/overwriteconfig: true
ssmtp/mailname:
ssmtp/mailhub: smtp.gmail.com
ssmtp/fromoverride: true
ssmtp/hostname: X...@gmail.com
ssmtp/root: X...@gmail.com
ssmtp/rewritedomain: some.host.tld
ssmtp/port: 587
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ssmtp depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgnutls26 2.8.5-2 the GNU TLS library - runtime libr
ssmtp recommends no packages.
ssmtp suggests no packages.
-- debconf information excluded
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
To fix your problem, add the username you are using to run ssmtp to the
mail group list in /etc/groups. Something like:
grep ^mail /etc/group
mail:x:8:rob
Please read:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557948
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500454