Date: Tue, 6 Feb 2007 20:38:57 -0500 From: Bob <bob@tamara-b.org> To: freebsd-questions@freebsd.org Subject: Re: sendmail setup Message-ID: <20070206203857.4618ff4d@tania.servebbs.org> In-Reply-To: <c39ec84c0702061335r17f5b61y8f93c68cdd6e2ef5@mail.gmail.com> References: <c39ec84c0702061335r17f5b61y8f93c68cdd6e2ef5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_ZgkOIhNjGlRFFGkCESmTFDy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 6 Feb 2007 22:35:05 +0100 usleepless@gmail.com wrote: As a previous poster has surmised your port 25 may be blocked. That is not your only problem. Many many systems will (correctly) refuse port 25 SMTP sessions from end-user accounts, as those sessions are almost always 100% spam. =20 The solution is to use a smarthost for your outbound mail. Using a smart host via SMTP AUTH on ports 465 or 587 gets you around the port 25 blocks. =20 Gmail will allow SMTP AUTH connections, and will relay your mail for you. Set your smart host to smtp.gmail.com use STARTTLS to initiate the SSL connection; use your Gmail username (including @gmail.com) and your Gmail password.=20 You will have to read up on Sendmail and SSL, but basically you will need entries similar to these in your local.mc file: define(`SMART_HOST',`smtp.gmail.com')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs') define(`confCACERT_PATH', `CERT_DIR') define(`confCACERT', `CERT_DIR/CAcert.pem') define(`confSERVER_CERT', `CERT_DIR/mycert.pem') I have had mixed luck using smtp.gmail.com reaching systems which use some rbls for spam blocking, as gmail gets listed often as a spam source.=20 =20 However, there are some excellent third party systems out there specifically designed to provide the very SMTP service you need. The one I have direct experience with is dyndns.com. You can set up your sendmail to use them to relay for you. Their service is called MailHop Relay https://www.dyndns.com/services/mailhop/relay.html and goes for about $40/Year =20 Best Regards Bob =20 --=20 /"\ \ / ASCII Ribbon Campaign - Motor Vessel Tamara B X against HTML email & vCards - http://www.tamara-b.org / \ --Sig_ZgkOIhNjGlRFFGkCESmTFDy Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFyS3CqEJbgtZS/7MRAiMQAJ9peEEIP0ZHHe/nHGoG0E38yEytSwCeK+5g zEbV4fOPr1AeqYGDIcb2imY= =KWSD -----END PGP SIGNATURE----- --Sig_ZgkOIhNjGlRFFGkCESmTFDy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070206203857.4618ff4d>