ssmtp fails to open smtp server
Daniel Bye
freebsd-questions at slightlystrange.org
Tue Dec 14 04:49:10 PST 2004
On Mon, Dec 13, 2004 at 10:30:22PM -0800, Gary Schenk wrote:
> I need help, I'm out of ideas. I've just installed 5.3:
>
> bash-2.05b$ uname -a
> FreeBSD fuzz.socal.rr.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5
> 04:19:18 UTC 2004
> root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>
> My email is working fine with Mozilla, however I'd like to get mutt
> working. The problem is sending email with mutt. I first tried to make a
> custom sendmail.cf file as outlined in the handbook vol.II page 334. I
> wrote the file, and then tried to follow the instructions on page 332 to
> make a valid sendamil.cf file. When I tried the command:
>
> su-2.05b# cd /usr/src/usr.sbin/sendmail/cf/cf
> su: cd: /usr/src/usr.sbin/sendmail/cf/cf: No such file or directory
This is actually to be found in /usr/src/contrib/sendmail/cf/cf/
> The handbook on the web was no different. So that had me stuck. Reading
> further I saw ssmtp might be the solution to my problems. As shown in
> the handbook I installed ssmtp with 'make install replace clean' Then
> did 'make replace' as per the message after installing. I then edited
> the rc.conf file:
>
[---snip---]
> sendmail_enable="NONE"
>
> And then created a ssmtp.conf file thusly:
>
> su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf
> root=gwschenk at socal.rr.com
> mailhub=smtp-server at socal.rr.com
> rewriteDomain=socal.rr.com
> hostname=fuzz.socal.rr.com
>
> When I installed, I gave my machine a hostname that I thought might help
> me fool sendmail into working for me.
>
> su-2.05b# hostname
> fuzz.socal.rr.com
>
> When I try to send mail from mutt I get these errors in /var/log/maillog:
>
> Dec 13 21:55:44 fuzz sSMTP[525]: Unable to locate smtp-server at socal.rr.com
> Dec 13 21:55:44 fuzz sSMTP[525]: Cannot open smtp-server at socal.rr.com:25
> Dec 13 22:00:25 fuzz sSMTP[629]: Unable to locate smtp-server at socal.rr.com
> Dec 13 22:00:25 fuzz sSMTP[629]: Cannot open smtp-server at socal.rr.com:25
>
> I've botched something up, but don't know what. Any ideas?
It looks to me as if mailhub should be an fqdn of a mail relay server,
not an email address...
Dan
--
Daniel Bye
PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
_
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041214/7fc7ebf4/attachment.bin
More information about the freebsd-questions
mailing list