Re: How to get send-pr/porttools working when on a cable (dsl)provider link

2005-03-28 Thread Florent Thoumie
Danny Pansters a écrit :
Hi all,
Just migrated all my stuff to a new machine and having troubles sending any 
mail to the freebsd lists and inparticular with send-pr. I have a cable modem 
connected to my gateway which connects to a gbit switch through which the 
other pcs connect. The cable provider uses dhcp. I get my IP ok and my 
hostname (sent through dhclient also, otherwise logging on doesn't work) is 
[EMAIL PROTECTED] I have set up pf to do nat and filtering. 
It's not a firewall problem.

I'm having problems getting sendmail (from my desktp -- a client behind the 
gateway) to be eligible to send mail to the freebsd servers, particularly 
send-pr.

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)... its desktop.homenet, a 
local name.

How do I solve this?
(also...contrast this inconvenience with every non-subscribed spammer 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.
--
Florent Thoumie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get send-pr/porttools working when on a cable (dsl)provider link

2005-03-28 Thread Clement Laforet
On Mon, 28 Mar 2005 10:49:47 +0200
Florent Thoumie [EMAIL PROTECTED] wrote:

 Danny Pansters a écrit :

  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)... its desktop.homenet, a 
  local name.
  
  How do I solve this?
  
  (also...contrast this inconvenience with every non-subscribed spammer 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


pgprAqwoBRibW.pgp
Description: PGP signature


Re: How to get send-pr/porttools working when on a cable (dsl)provider link -- Thanks

2005-03-28 Thread Danny Pansters
On Monday 28 March 2005 17:25, you wrote:
 On Mon, 28 Mar 2005 10:49:47 +0200

 Florent Thoumie [EMAIL PROTECTED] wrote:
  Danny Pansters a écrit :
   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)... its
   desktop.homenet, a local name.
  
   How do I solve this?
  
   (also...contrast this inconvenience with every non-subscribed spammer
   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 from 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=no
 RUN_PORTLINT=yes

+# Set EMAIL to what's in ~/.ssmtprc if it exists
+if [ -f ${HOME}/.ssmtprc ]; then
+   EMAIL=`cat ${HOME}/.ssmtprc`
+fi
+
 # Parse command line arguments
 ARGS=`/usr/bin/getopt hm:d:s:p:cL $*`
 if [ $? != 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 [EMAIL PROTECTED]


Re: How to get send-pr/porttools working when on a cable (dsl)provider link -- Thanks

2005-03-28 Thread Danny Pansters
One more remark (for the archives):

if using mailwrapper, change /etc/mail/mailer.conf to 
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 [EMAIL PROTECTED] wrote:
   Danny Pansters a écrit :
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)... its
desktop.homenet, a local name.
   
How do I solve this?
   
(also...contrast this inconvenience with every non-subscribed spammer
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
 from 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=no
  RUN_PORTLINT=yes

 +# Set EMAIL to what's in ~/.ssmtprc if it exists
 +if [ -f ${HOME}/.ssmtprc ]; then
 +   EMAIL=`cat ${HOME}/.ssmtprc`
 +fi
 +
  # Parse command line arguments
  ARGS=`/usr/bin/getopt hm:d:s:p:cL $*`
  if [ $? != 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
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get send-pr/porttools working when on a cable (dsl) provider link

2005-03-27 Thread Danny Pansters
Hi all,

Just migrated all my stuff to a new machine and having troubles sending any 
mail to the freebsd lists and inparticular with send-pr. I have a cable modem 
connected to my gateway which connects to a gbit switch through which the 
other pcs connect. The cable provider uses dhcp. I get my IP ok and my 
hostname (sent through dhclient also, otherwise logging on doesn't work) is 
[EMAIL PROTECTED] I have set up pf to do nat and filtering. 
It's not a firewall problem.

I'm having problems getting sendmail (from my desktp -- a client behind the 
gateway) to be eligible to send mail to the freebsd servers, particularly 
send-pr.

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)... its desktop.homenet, a 
local name.

How do I solve this?

(also...contrast this inconvenience with every non-subscribed spammer being 
able to spam us if she has a colo set up properly...)


Thanks very much,

Dan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: How to get send-pr/porttools working when on a cable (dsl) provider link

2005-03-27 Thread Danny Pansters
That's host cp464173-a.dbsch1.nb.home.nl minus danny@ -- sorry, mis-paste :)


--  Forwarded Message  --

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 40439 invoked from network); 28 Mar 2005 03:00:44 -
Received: from slime.mail.vuurwerk.net (62.250.3.103)
  by in1.mail.vuurwerk.net with SMTP; 28 Mar 2005 03:00:44 -
Received: (qmail 11744 invoked by uid 85); 28 Mar 2005 03:00:44 -
Received: (vexira-qq 11736-D87B52E8 invoked from network) 28 Mar 2005 05:00:44 
+0200
Received: from as-1.mail.vuurwerk.net (62.250.3.90)
  by slime.mail.vuurwerk.net with SMTP; 28 Mar 2005 03:00:44 -
Received: from mx2.freebsd.org ([216.136.204.119])
by as-1.mail.vuurwerk.net with esmtp (Exim 4.43 (FreeBSD))
id 1DFkUe-000AGX-BW
for [EMAIL PROTECTED]; Mon, 28 Mar 2005 05:00:44 +0200
Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18])
by mx2.freebsd.org (Postfix) with ESMTP
id 77D36563FE; Mon, 28 Mar 2005 03:00:30 + (GMT)
(envelope-from [EMAIL PROTECTED])
Received: from hub.freebsd.org (localhost [127.0.0.1])
by hub.freebsd.org (Postfix) with ESMTP
id 38ED516A4D4; Mon, 28 Mar 2005 03:00:29 + (GMT)
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
by hub.freebsd.org (Postfix) with ESMTP
id 2932616A4CE; Mon, 28 Mar 2005 03:00:25 + (GMT)
Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196])
by mx1.FreeBSD.org (Postfix) with ESMTP
id 2916F43D39; Mon, 28 Mar 2005 03:00:24 + (GMT)
(envelope-from [EMAIL PROTECTED])
Received: from [213.51.128.135] (port=49465 helo=smtp4.home.nl)
by smtpq1.home.nl with esmtp (Exim 4.30)
id 1DFkUI-0001KS-LU; Mon, 28 Mar 2005 05:00:22 +0200
Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:57289
helo=desktop.homenet)   by smtp4.home.nl with esmtp (Exim 4.30)
id 1DFkUH-0006my-4v; Mon, 28 Mar 2005 05:00:21 +0200
Delivered-To: [EMAIL PROTECTED]
From: Danny Pansters [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
 [EMAIL PROTECTED]
Date: Mon, 28 Mar 2005 05:00:15 +0200
User-Agent: KMail/1.8
MIME-Version: 1.0
Content-Type: text/plain;
  charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: [EMAIL PROTECTED]
X-AtHome-MailScanner-Information: Please contact [EMAIL PROTECTED] for more
information
X-AtHome-MailScanner: Found to be clean
Subject: How to get send-pr/porttools working when on a cable (dsl) provider
link
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Porting software to FreeBSD freebsd-ports.freebsd.org
List-Unsubscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-ports,
mailto:[EMAIL PROTECTED]
List-Archive: http://lists.freebsd.org/pipermail/freebsd-ports
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-ports,
mailto:[EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-Versatel-Spam-DNSBL: NO
X-Versatel-Spam-DNSBL-Info: Mail filtered by Versatel DNSBL system
X-AntiVirus: checked by Vexira MailArmor (version: 2.0.2-2; VAE: 6.30.0.2; 
VDF: 6.30.0.50; host: slime.mail.vuurwerk.net)
Status: R
X-Status: NC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  
Hi all,

Just migrated all my stuff to a new machine and having troubles sending any
mail to the freebsd lists and inparticular with send-pr. I have a cable modem
connected to my gateway which connects to a gbit switch through which the
other pcs connect. The cable provider uses dhcp. I get my IP ok and my
hostname (sent through dhclient also, otherwise logging on doesn't work) is
[EMAIL PROTECTED] I have set up pf to do nat and filtering.
It's not a firewall problem.

I'm having problems getting sendmail (from my desktp -- a client behind the
gateway) to be eligible to send mail to the freebsd servers, particularly
send-pr.

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)... its desktop.homenet,
 a local name.

How do I solve this?

(also...contrast this inconvenience with every non-subscribed spammer being
able to spam us if she has a colo set up properly...)


Thanks very much,

Dan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]

---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to get send-pr/porttools working when on a cable (dsl) provider link

2005-03-27 Thread Randy Pratt
On Mon, 28 Mar 2005 05:00:15 +0200
Danny Pansters [EMAIL PROTECTED] wrote:

 Hi all,
 
 Just migrated all my stuff to a new machine and having troubles sending any 
 mail to the freebsd lists and inparticular with send-pr. I have a cable modem 
 connected to my gateway which connects to a gbit switch through which the 
 other pcs connect. The cable provider uses dhcp. I get my IP ok and my 
 hostname (sent through dhclient also, otherwise logging on doesn't work) is 
 [EMAIL PROTECTED] I have set up pf to do nat and filtering. 
 It's not a firewall problem.
 
 I'm having problems getting sendmail (from my desktp -- a client behind the 
 gateway) to be eligible to send mail to the freebsd servers, particularly 
 send-pr.
 
 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)... its desktop.homenet, a 
 local name.
 
 How do I solve this?

I'll leave the sendmail answers to those who really understand it.

As an alternative, sendmail configurations could be avoided by using
ports/sysutils/gtk-send-pr especially if this is your only need
for sendmail.  Gtk-send-pr will deliver mail to any SMTP server.

Just a thought..

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]