Re: ssmtp fails to open smtp server
Message: 5 Date: Tue, 14 Dec 2004 12:49:09 + From: Daniel Bye <[EMAIL PROTECTED]> Subject: Re: ssmtp fails to open smtp server To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" On Mon, Dec 14, 2004 at 12:49:09 09 +, Daniel Bye wrote: >> >> 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/ And so it is. [---snip---] >> And then created a ssmtp.conf file thusly: >> >> su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf >> [EMAIL PROTECTED] >> [EMAIL PROTECTED] >> rewriteDomain=socal.rr.com >> hostname=fuzz.socal.rr.com >> >It looks to me as if mailhub should be an fqdn of a mail relay server, >not an email address... Yep, these typos are killing me. That got ssmtp working, and I'm sending mail out quite nicely with mutt now. However, into each life a little rain must fall. Fetchmail is no longer working. After googling the error message I found that fetchmail uses sendmail to deliver mail to my mail spool, and I disabled sendmail after installing ssmtp. Hoepfully I can find a way to get fetchmail to deliver directly to my spool. Back to the man pages. Thanks for your help. Gary Schenk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssmtp fails to open smtp server
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 > [EMAIL PROTECTED]:/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 > [EMAIL PROTECTED] > [EMAIL PROTECTED] > 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 [EMAIL PROTECTED] > Dec 13 21:55:44 fuzz sSMTP[525]: Cannot open [EMAIL PROTECTED]:25 > Dec 13 22:00:25 fuzz sSMTP[629]: Unable to locate [EMAIL PROTECTED] > Dec 13 22:00:25 fuzz sSMTP[629]: Cannot open [EMAIL PROTECTED]: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 / \ pgp2tJV4t31EV.pgp Description: PGP signature
Re: ssmtp fails to open smtp server
On Tue, Dec 14, 2004 at 08:53:53PM -0800, Gary Schenk wrote: > Yep, these typos are killing me. That got ssmtp working, and I'm sending > mail out quite nicely with mutt now. However, into each life a little > rain must fall. Fetchmail is no longer working. After googling the error > message I found that fetchmail uses sendmail to deliver mail to my > mail spool, and I disabled sendmail after installing ssmtp. Hoepfully I > can find a way to get fetchmail to deliver directly to my spool. Back to > the man pages. If you don't mind the added complexity, you can always tell fetchmail to use procmail as your local delivery agent. This gives you the opportunity then to filter and sort mail as it comes in. poll your.mail.host user '[EMAIL PROTECTED]' there with password '' is 'you' here and wants mda /usr/local/bin/procmail Just a thought. 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 / \ pgpcg5nzzi5MR.pgp Description: PGP signature