From owner-freebsd-questions@FreeBSD.ORG Tue Mar 29 00:15:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D47316A4CE for ; Tue, 29 Mar 2005 00:15:11 +0000 (GMT) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5620B43D1D for ; Tue, 29 Mar 2005 00:15:10 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.135] (port=33058 helo=smtp4.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1DG4Nx-0002GV-Mb for freebsd-questions@freebsd.org; Tue, 29 Mar 2005 02:15:09 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:60255 helo=desktop.homenet) by smtp4.home.nl with esmtp (Exim 4.30) id 1DG4Nw-0000bB-Hz for freebsd-questions@freebsd.org; Tue, 29 Mar 2005 02:15:08 +0200 From: Danny Pansters To: freebsd-questions@freebsd.org Date: Tue, 29 Mar 2005 02:15:01 +0200 User-Agent: KMail/1.8 References: <200503280500.15465.danny@ricin.com> <20050328172502.1e0ed2b5.sheepkiller@cultdeadsheep.org> <200503290056.06112.danny@ricin.com> In-Reply-To: <200503290056.06112.danny@ricin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200503290215.01901.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Subject: Re: How to get send-pr/porttools working when on a cable (dsl)provider link -- Thanks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 00:15:11 -0000 One more remark (for the archives): if using mailwrapper, change /etc/mail/mailer.conf to=20 have /usr/local/sbin/ssmtp as the sendmail (and other) program. Then restart /etc/rc.d/sendmail Dan On Tuesday 29 March 2005 00:56, Danny Pansters wrote: > On Monday 28 March 2005 17:25, you wrote: > > On Mon, 28 Mar 2005 10:49:47 +0200 > > > > Florent Thoumie wrote: > > > Danny Pansters a =E9crit : > > > > I already set my isp's smtp as smart relay in freensd.mc and did > > > > make, but now my FQDN hostname is not considered cosher (helo)... i= ts > > > > desktop.homenet, a local name. > > > > > > > > How do I solve this? > > > > > > > > (also...contrast this inconvenience with every non-subscribed spamm= er > > > > being able to spam us if she has a colo set up properly...) > > > > > > You might want to use ssmtp. Since you're using your ISP's smtp > > > server to send mail, there should be no problem if you don't > > > have a FQDN hostname. > > > > A very simple and complicated HOWTO :) > > http://www.cultdeadsheep.org/~clement/FreeBSD/send-pr+ssmtp.txt > > > > clem > > This is an excellent solution, much better than what I did before. I was > actually editing the sendmail .cf file to change my FQDN and address. > Messy. > > I can simply use my regular email address @ricin.com (at a hosting > provider) too now. Both send-pr and porttools need a slight modification = to > also take the preferred email adress from .ssmtprc. To have the right > and be also recognised as maintainer by porttools something like > this will do: > > --- cmd_submit.orig Tue Mar 29 00:10:35 2005 > +++ cmd_submit Tue Mar 29 00:36:17 2005 > @@ -70,6 +70,11 @@ > COMMITTER=3D"no" > RUN_PORTLINT=3D"yes" > > +# Set EMAIL to what's in ~/.ssmtprc if it exists > +if [ -f ${HOME}/.ssmtprc ]; then > + EMAIL=3D"`cat ${HOME}/.ssmtprc`" > +fi > + > # Parse command line arguments > ARGS=3D`/usr/bin/getopt hm:d:s:p:cL $*` > if [ $? !=3D 0 ] > > > Thanks a lot, sane solution with little effort, just the way I like it :) > > Dan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"