From owner-freebsd-isp Sun Aug 11 15:10:19 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0194E37B400 for ; Sun, 11 Aug 2002 15:10:16 -0700 (PDT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2727443E70 for ; Sun, 11 Aug 2002 15:10:15 -0700 (PDT) (envelope-from invalid.email@ceram.com) Received: from mailgate.cicsltd.com ([62.49.102.146] helo=exchange.ceram.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17e0ub-0000Wz-0U for freebsd-isp@freebsd.org; Sun, 11 Aug 2002 23:10:13 +0100 Received: by exchange with Internet Mail Service (5.5.2653.19) id ; Sun, 11 Aug 2002 23:09:02 +0100 Message-ID: From: "Invalid Email (COM)" To: freebsd-isp Subject: Unsubscribe Date: Sun, 11 Aug 2002 23:07:37 +0100 Importance: high X-Priority: 1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You have sent a message to an address that is no longer in use. The ceram.com domain has been aquired by Ceram Ltd., and as such subscriptions requested by its previous owners / employers are no longer required. You may no longer have permission to use these addresses on mailing lists. Please remove this address from your mailing list(s). This message is an automatic reply sent from an unattended mailbox. Please do not reply to this mail as all messages to this mailbox are automatically deleted. If you have recieved this message in error please reply to invalid.compost@ceram.com with a subject line of Invalid.compost. If you require a list of invalid addresses so that you can remove them please also reply to the above address. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sun Aug 11 19:53:16 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F212D37B400 for ; Sun, 11 Aug 2002 19:53:14 -0700 (PDT) Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706F643E70 for ; Sun, 11 Aug 2002 19:53:14 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [210.49.77.192] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id idehaaaa for ; Mon, 12 Aug 2002 12:53:48 +1000 Message-ID: <3D572309.3030600@quake.com.au> Date: Mon, 12 Aug 2002 12:52:57 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD ISP Subject: ipfw fwd'ing help Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi everyone.. I have two upsteam links on my gateway, but no asn or routing daemon running, and one of the links has a dynamic ip anyway.. What I am trying to do is foward packets out one of the links based on their source address with the ipfw fwd feature.. The way I thought to go about this was to set one link as the default route and then just have rules to foward certain src ips out the other interface.. The problem is that the packets dont go anywhere after being forwarded... Im thinking that this might be a routing issue or something but I cant seem to make it work... What would I need to do to get this setup working? Do I need to maybe go about it a different way? Thanks for any pointers! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 0:55:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEE9037B400 for ; Mon, 12 Aug 2002 00:55:35 -0700 (PDT) Received: from mail.yazzy.org (mail.wrs.no [80.232.16.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2152643E4A for ; Mon, 12 Aug 2002 00:55:35 -0700 (PDT) (envelope-from yazzy@yazzy.org) Received: by mail.yazzy.org (Postfix, from userid 81) id 221106301BFB; Mon, 12 Aug 2002 08:02:41 +0200 (CEST) Received: from 80.232.16.66 (SquirrelMail authenticated user yazzy.yazzy.org) by www.yazzy.org with HTTP; Mon, 12 Aug 2002 08:02:40 +0200 (CEST) Message-ID: <55847.80.232.16.66.1029132160.squirrel@www.yazzy.org> Date: Mon, 12 Aug 2002 08:02:40 +0200 (CEST) Subject: Bridge From: "Marcin Jessa" To: Importance: Normal X-MSMail-Priority: Normal X-Priority: 3 Reply-To: yazzy@yazzy.org X-Mailer: h4x0r mail yazzy.org (version 1337) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. I was wondering if any of you had a HowTo or an URL to a site with instructions about how to set up something like:inet -> router -> bridge/fw -> switch on FreeBSD, OpenBSD or NetBSD. Thanks YazzY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 5: 5:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFF2137B400 for ; Mon, 12 Aug 2002 05:05:30 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B7DB43E72 for ; Mon, 12 Aug 2002 05:05:22 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Aug 2002 19:51:23 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-isp@FreeBSD.ORG Subject: Setting default e-mail sender on Apache Date: Mon, 12 Aug 2002 19:51:14 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and PHP as a module. Our users use PHP's mail() function to send e-mail from within the web application. However, the default sender is the user running the web process and not the virtual host owner. How do I configure Apache (or PHP) to use mail() as the virtual host owner and not the user running the web process? Thanks! --- francis a. vidal [bitstop network services] | http://www.bitstop.ph streaming media + web hosting | http://www.keystone.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 5:26:59 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E71E37B400 for ; Mon, 12 Aug 2002 05:26:57 -0700 (PDT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C96643E88 for ; Mon, 12 Aug 2002 05:26:57 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 17eEHg-000MaM-0X; Mon, 12 Aug 2002 13:26:56 +0100 Message-ID: Date: Mon, 12 Aug 2002 13:26:36 +0100 To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG From: Kevin Golding Subject: Re: Setting default e-mail sender on Apache References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Someone, quite probably , once wrote: >We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and >PHP as a module. Our users use PHP's mail() function to send e-mail from >within the web application. However, the default sender is the user running >the web process and not the virtual host owner. How do I configure Apache >(or PHP) to use mail() as the virtual host owner and not the user running >the web process? In each virtual hosts' config section include the line: php_value sendmail_from user@their.domain Just make sure they have: AllowOverride Options So you can set PHP options on a virtual host basis. If you do that you'll probably want to set some things so they can't be changed like: php_admin_flag safe_mode on Read http://www.php.net/manual/en/configuration.php for more info. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 5:52:45 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EAAA37B400 for ; Mon, 12 Aug 2002 05:52:42 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 943AB43E6A for ; Mon, 12 Aug 2002 05:52:41 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Mon, 12 Aug 2002 20:55:36 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C535@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-isp@FreeBSD.ORG Subject: RE: Setting default e-mail sender on Apache Date: Mon, 12 Aug 2002 20:55:31 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Kevin, Thanks for your response. I have the following values inside the container: php_admin_value doc_root "/usr/local/vhosts//htdocs" php_admin_value sendmail_from "webmaster@" I also double-checked httpd.conf to make sure that the directories have "AllowOverride Options": AllowOverride Options Options Indexes MultiViews IncludesNOEXEC Order allow,deny Allow from all php.ini has "safe_mode = On" but testing the web application still sends e-mail coming from the ID runnig the web process. BTW, my MTA is Postfix if this helps in troubleshooting the problem. Thanks also for the link :) Sincerely yours, Francis A. Vidal --- francis a. vidal [bitstop network services] | http://www.bitstop.ph streaming media + web hosting | http://www.keystone.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph -----Original Message----- From: Kevin Golding [mailto:kevin@caomhin.demon.co.uk] Sent: Monday, August 12, 2002 8:27 PM To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache Someone, quite probably , once wrote: >We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and >PHP as a module. Our users use PHP's mail() function to send e-mail from >within the web application. However, the default sender is the user running >the web process and not the virtual host owner. How do I configure Apache >(or PHP) to use mail() as the virtual host owner and not the user running >the web process? In each virtual hosts' config section include the line: php_value sendmail_from user@their.domain Just make sure they have: AllowOverride Options So you can set PHP options on a virtual host basis. If you do that you'll probably want to set some things so they can't be changed like: php_admin_flag safe_mode on Read http://www.php.net/manual/en/configuration.php for more info. Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 6: 8:45 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CE3437B400 for ; Mon, 12 Aug 2002 06:08:43 -0700 (PDT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1094143E42 for ; Mon, 12 Aug 2002 06:08:43 -0700 (PDT) (envelope-from john@day-light.com) Received: from w1 (118-203.bestdsl.net [216.162.118.203]) by mail.day-light.net (Postfix) with SMTP id A201335235; Mon, 12 Aug 2002 08:08:41 -0500 (CDT) Reply-To: From: "John Brooks" To: , Subject: RE: Setting default e-mail sender on Apache Date: Mon, 12 Aug 2002 08:10:20 -0500 Message-ID: <000001c24201$9c5df900$c905010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C535@mailserver.dagupan.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org would be helpful to see a complete VirtualHost section, plus relavent portions of httpd.conf -- John Brooks john@stlbsd.org -----Original Message----- From: owner-freebsd-isp@FreeBSD.ORG [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of francisv@dagupan.com Sent: Monday, August 12, 2002 7:56 AM To: freebsd-isp@FreeBSD.ORG Subject: RE: Setting default e-mail sender on Apache Hi Kevin, Thanks for your response. I have the following values inside the container: php_admin_value doc_root "/usr/local/vhosts//htdocs" php_admin_value sendmail_from "webmaster@" ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 6:37:31 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A91A237B400 for ; Mon, 12 Aug 2002 06:37:28 -0700 (PDT) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13FE743E3B for ; Mon, 12 Aug 2002 06:37:28 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 17eFNu-000D8m-0V; Mon, 12 Aug 2002 14:37:26 +0100 Message-ID: Date: Mon, 12 Aug 2002 14:37:18 +0100 To: francisv@dagupan.com Cc: freebsd-isp@freebsd.org From: Kevin Golding Subject: Re: Setting default e-mail sender on Apache References: <10F29E27A956D511B0940050DA8D86A985C535@mailserver.dagupan.com> In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C535@mailserver.dagupan.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Someone, quite probably , once wrote: >but testing the web application still sends e-mail coming from the ID runnig >the web process. BTW, my MTA is Postfix if this helps in troubleshooting the >problem. Thanks also for the link :) It's imperfect but you could always try telling them to use: $headers = From: webmaster@client.tld mail("to@address.com", "Subject line", "Test message", $headers); What do you get from a phpinfo()? (just the mail settings really) Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 7:19:10 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EA0537B400 for ; Mon, 12 Aug 2002 07:19:07 -0700 (PDT) Received: from mail.dep.ufscar.br (mail.dep.ufscar.br [200.136.228.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8569543E3B for ; Mon, 12 Aug 2002 07:19:06 -0700 (PDT) (envelope-from aledon@fugspbr.org) Received: from localhost (localhost.dep.ufscar.br [127.0.0.1]) by mail.dep.ufscar.br (Postfix) with ESMTP id AA46F66B10; Mon, 12 Aug 2002 11:19:03 -0300 (BRT) Received: from fugspbr.org (delphos.dep.ufscar.br [200.136.228.127]) by mail.dep.ufscar.br (Postfix) with ESMTP id 9FDDE66B04; Mon, 12 Aug 2002 11:18:59 -0300 (BRT) Message-ID: <3D57C37D.89569C4F@fugspbr.org> Date: Mon, 12 Aug 2002 11:17:33 -0300 From: Alexandre Bensi {'aledon'} X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: pt,en MIME-Version: 1.0 To: yazzy@yazzy.org, freebsd-isp@freebsd.org Subject: Re: Bridge References: <55847.80.232.16.66.1029132160.squirrel@www.yazzy.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org See http://mail.dep.ufscar.br/snort.php3 for Bridge :) []'s Marcin Jessa wrote: > > Hi. > > I was wondering if any of you had a HowTo or an URL to a site with > instructions about how to set up something like:inet -> router -> bridge/fw -> switch > on FreeBSD, OpenBSD or NetBSD. > > Thanks > YazzY > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- Atenciosamente, Alexandre Bensi {'aledon'} System/Network Administrator -- Icq Uin at WORK | HOME: 118731900 | 129462580 E-Mail: echo alexandre dep ufscar br | sed 's/ /@/;s/ /./g' -- This mail send through Unix FreeBSD 4.5 STABLE - Amavis VScan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 12:39:35 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECB6137B400 for ; Mon, 12 Aug 2002 12:39:30 -0700 (PDT) Received: from smtp.fud.org.nz (203-79-83-205.cable.paradise.net.nz [203.79.83.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9B5643E4A for ; Mon, 12 Aug 2002 12:39:29 -0700 (PDT) (envelope-from andy@fud.org.nz) Received: from fud.org.nz (sambo.fud.org.nz [192.168.0.30]) by smtp.fud.org.nz (Postfix) with ESMTP id 5765A68; Tue, 13 Aug 2002 07:39:05 +1200 (NZST) Message-ID: <3D580F1C.70908@fud.org.nz> Date: Tue, 13 Aug 2002 07:40:12 +1200 From: Andrew Thompson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: francisv@dagupan.com, freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache References: <10F29E27A956D511B0940050DA8D86A985C535@mailserver.dagupan.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Going by what Kevin said (and the webpage) you need: php_value sendmail_from "webmaster@" rather than what you have put: php_admin_value sendmail_from "webmaster@" --Andy francisv@dagupan.com wrote: >Hi Kevin, > >Thanks for your response. I have the following values inside the > container: > > php_admin_value doc_root "/usr/local/vhosts//htdocs" > php_admin_value sendmail_from "webmaster@" > >I also double-checked httpd.conf to make sure that the directories have >"AllowOverride Options": > > > AllowOverride Options > Options Indexes MultiViews IncludesNOEXEC > Order allow,deny > Allow from all > > >php.ini has "safe_mode = On" > >but testing the web application still sends e-mail coming from the ID runnig >the web process. BTW, my MTA is Postfix if this helps in troubleshooting the >problem. Thanks also for the link :) > >Sincerely yours, > >Francis A. Vidal >--- >francis a. vidal [bitstop network services] | http://www.bitstop.ph >streaming media + web hosting | http://www.keystone.ph >v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > >-----Original Message----- >From: Kevin Golding [mailto:kevin@caomhin.demon.co.uk] >Sent: Monday, August 12, 2002 8:27 PM >To: francisv@dagupan.com >Cc: freebsd-isp@FreeBSD.ORG >Subject: Re: Setting default e-mail sender on Apache > >Someone, quite probably , once wrote: > > >>We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache >> >> >and > > >>PHP as a module. Our users use PHP's mail() function to send e-mail from >>within the web application. However, the default sender is the user running >>the web process and not the virtual host owner. How do I configure Apache >>(or PHP) to use mail() as the virtual host owner and not the user running >>the web process? >> >> > > >In each virtual hosts' config section include the line: >php_value sendmail_from user@their.domain > >Just make sure they have: >AllowOverride Options > >So you can set PHP options on a virtual host basis. If you do that >you'll probably want to set some things so they can't be changed like: >php_admin_flag safe_mode on > >Read http://www.php.net/manual/en/configuration.php for more info. > >Kevin > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 13: 1:23 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8642A37B405; Mon, 12 Aug 2002 13:01:08 -0700 (PDT) Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id B43D343E42; Mon, 12 Aug 2002 13:01:05 -0700 (PDT) (envelope-from hottymaria@gosympatico.ca) Received: from [209.226.175.136] by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20020812200119.KDYI12452.tomts9-srv.bellnexxia.net@[209.226.175.136]>; Mon, 12 Aug 2002 16:01:19 -0400 From: To: Subject: Hey, whats up? Date: Mon, 12 Aug 2002 16:01:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020812200119.KDYI12452.tomts9-srv.bellnexxia.net@[209.226.175.136]> Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org

My buddies and I were average people, just like you...Then we had our great idea...
find young hot girls
and proposition them to fool around on video tape.
Armed with a camera, a smooth tongue, and a couple of bucks we have made quite a few interesting videos!
BEST OF ALL... MY SITE IS 100% FREE!! If this sounds like something of interest to you,
click here You will be glad you did.











If you never want to hear from me again, please click here and I will remove you from all future mailings.

----- Get your free WebMail account from Sympatico-Lycos at www.sympatico.ca ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 13:41:50 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81C1237B400 for ; Mon, 12 Aug 2002 13:41:47 -0700 (PDT) Received: from stealth.siteplus.com (ns1.siteplus.com [66.129.2.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB15C43E65 for ; Mon, 12 Aug 2002 13:41:46 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by stealth.siteplus.com (8.12.5/8.12.5) with ESMTP id g7CKfUmm096581; Mon, 12 Aug 2002 16:41:31 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Mon, 12 Aug 2002 16:41:31 -0400 (EDT) From: Jim Weeks To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> Message-ID: <20020812163626.J536-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 12 Aug 2002 francisv@dagupan.com wrote: > We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and > PHP as a module. Our users use PHP's mail() function to send e-mail from > within the web application. However, the default sender is the user running > the web process and not the virtual host owner. How do I configure Apache > (or PHP) to use mail() as the virtual host owner and not the user running > the web process? When you say "web application" do you mean some form of webmail, or individual user created scripts? The reason I ask is, I have been working on squirrelmail for the past few days and have come up with a very simple virtual host installation that works very well (very clean headers). Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 16: 2:41 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6664B37B400 for ; Mon, 12 Aug 2002 16:02:38 -0700 (PDT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC1A43E6E for ; Mon, 12 Aug 2002 16:02:34 -0700 (PDT) (envelope-from john@day-light.com) Received: from w1 (118-203.bestdsl.net [216.162.118.203]) by mail.day-light.net (Postfix) with SMTP id C2F0D351FD for ; Mon, 12 Aug 2002 18:02:32 -0500 (CDT) Reply-To: From: "John Brooks" To: Subject: RE: Setting default e-mail sender on Apache Date: Mon, 12 Aug 2002 18:04:12 -0500 Message-ID: <000201c24254$92f1c740$c905010a@daylight.net> MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3D580F1C.70908@fud.org.nz> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "php_admin_value" simply means that this value cannot be changed outside of the main config files, whereas php_value can. use this when you want to keep a client from modifying something. at least that's my understanding of the difference - YMMV -- John Brooks john@stlbsd.org -----Original Message----- From: owner-freebsd-isp@FreeBSD.ORG [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Andrew Thompson Sent: Monday, August 12, 2002 2:40 PM To: francisv@dagupan.com; freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache Hi, Going by what Kevin said (and the webpage) you need: php_value sendmail_from "webmaster@" rather than what you have put: php_admin_value sendmail_from "webmaster@" --Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 18:11:53 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A768237B400 for ; Mon, 12 Aug 2002 18:11:52 -0700 (PDT) Received: from encontacto.net (adsl-64-173-182-158.dsl.mtry01.pacbell.net [64.173.182.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9746843E6A for ; Mon, 12 Aug 2002 18:11:51 -0700 (PDT) (envelope-from eculp@encontacto.net) Received: from localhost (localhost [127.0.0.1]) (uid 80) by encontacto.net with local; Mon, 12 Aug 2002 18:11:49 -0700 Received: from adsl-64-173-182-155.dsl.mtry01.pacbell.net (adsl-64-173-182-155.dsl.mtry01.pacbell.net [64.173.182.155]) by Mail.EnContacto.Net (IMP) with HTTP for eculp@encontacto.net@encontacto.net; Mon, 12 Aug 2002 18:11:49 -0700 Message-ID: <1029201109.3d585cd5b519a@Mail.EnContacto.Net> Date: Mon, 12 Aug 2002 18:11:49 -0700 From: Edwin Culp To: isp@FreeBSD.org Subject: Oracle9e server and/or compiere with FreeBSD and linux emulation. MIME-Version: 1.0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Priority: 3 (Normal) X-Originating-IP: 64.173.182.155 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone used or tried to use Oracle9e and/or Compiere ( http://www.compiere.org ) accounting w/ERP & CRM with FreeBSD / linux emulation. Any experience with either would be great to know about. There is an oracle7-client port so I have some hope:-) Thanks, ed -- ------------------------------------------------------------- http://worldinternet.org - Mergence of Business and Technology To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Mon Aug 12 21:45:43 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DAB837B400 for ; Mon, 12 Aug 2002 21:45:42 -0700 (PDT) Received: from mail.yazzy.org (mail.wrs.no [80.232.16.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B983C43E70 for ; Mon, 12 Aug 2002 21:45:41 -0700 (PDT) (envelope-from yazzy@yazzy.org) Received: by mail.yazzy.org (Postfix, from userid 81) id BC11169D2BA3; Tue, 13 Aug 2002 03:16:42 +0200 (CEST) Received: from 80.232.16.66 (SquirrelMail authenticated user yazzy.yazzy.org) by mail.yazzy.org with HTTP; Tue, 13 Aug 2002 03:16:42 +0200 (CEST) Message-ID: <56221.80.232.16.66.1029201402.squirrel@mail.yazzy.org> Date: Tue, 13 Aug 2002 03:16:42 +0200 (CEST) Subject: ssh chroot From: "Marcin Jessa" To: Importance: Normal X-MSMail-Priority: Normal X-Priority: 3 Reply-To: yazzy@yazzy.org X-Mailer: h4x0r mail yazzy.org (version 1337) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. Is there any way to implement a ssh chroot() functionality on a server? I am not really interested in running jail. I have found something called scponly - http://www.sublimation.org/scponly/ but that is not what I need. I need users to be actually able to ssh to my box , not only scp to/from it without being able to browse and edit their files. Thanks in advance. -- YazzY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Aug 13 10:33:34 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7C6837B400 for ; Tue, 13 Aug 2002 10:33:32 -0700 (PDT) Received: from exuma.irbs.com (exuma.irbs.com [216.86.160.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A5AA43E70 for ; Tue, 13 Aug 2002 10:33:32 -0700 (PDT) (envelope-from jc@irbs.com) Received: from localhost (localhost.irbs.com [127.0.0.1]) by exuma.irbs.com (Postfix) with ESMTP id 0F0AF17430; Tue, 13 Aug 2002 13:33:26 -0400 (EDT) Received: by exuma.irbs.com (Postfix, from userid 2500) id CB48F17416; Tue, 13 Aug 2002 13:33:25 -0400 (EDT) Date: Tue, 13 Aug 2002 13:33:25 -0400 From: John Capo To: Kevin Golding Cc: francisv@dagupan.com, freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache Message-ID: <20020813173325.GA42094@exuma.irbs.com> Reply-To: jc@irbs.com References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Virus-Scans: by Sophos Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Quoting Kevin Golding (kevin@caomhin.demon.co.uk): > > In each virtual hosts' config section include the line: > php_value sendmail_from user@their.domain > Unless the manual is wrong, for Windows only: http://www.php.net/manual/en/ref.mail.php I tried this option a few months back and it was a nop on *nix. John Capo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Aug 13 10:41:16 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84F1837B400 for ; Tue, 13 Aug 2002 10:41:12 -0700 (PDT) Received: from mohegan.mohawk.net (mohegan.mohawk.net [63.66.68.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6343843E4A for ; Tue, 13 Aug 2002 10:41:11 -0700 (PDT) (envelope-from rjh@mohawk.net) Received: from mail.mohawk.net (mail.mohawk.net [63.66.68.12]) by mohegan.mohawk.net (8.11.4/8.11.3) with ESMTP id g7DHead17178; Tue, 13 Aug 2002 13:40:36 -0400 (EDT) Date: Tue, 13 Aug 2002 13:40:36 -0400 (EDT) From: Ralph Huntington To: Jim Weeks Cc: , Subject: Re: Setting default e-mail sender on Apache In-Reply-To: <20020812163626.J536-100000@veager.jwweeks.com> Message-ID: <20020813133847.L31713-100000@mohegan.mohawk.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From=20the sendmail man page (I image there is a similar switch for qmail and postfix): -fname Sets the name of the ``from'' person (i.e., the envelope sender of the mail). This address may also be used in the From: header if that header is missing during initial submission. The envelope sender address is used as the recipient for deliv=AD ery status notifications and may also appear in a Return-Path: header. -f should only be used by ``trusted'' users (normally root, daemon, and net=AD work) or if the person you are trying to become is the same as the person you are. Otherwise, an X- Authentication-Warning header will be added to the message. So, have your script use the -f switch when calling sendmail. This is what IMP does, for example. Hope this is useful, Ralph On Mon, 12 Aug 2002, Jim Weeks wrote: > > On Mon, 12 Aug 2002 francisv@dagupan.com wrote: > > > We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apach= e and > > PHP as a module. Our users use PHP's mail() function to send e-mail fro= m > > within the web application. However, the default sender is the user run= ning > > the web process and not the virtual host owner. How do I configure Apac= he > > (or PHP) to use mail() as the virtual host owner and not the user runni= ng > > the web process? > > When you say "web application" do you mean some form of webmail, or > individual user created scripts? The reason I ask is, I have been > working on squirrelmail for the past few days and have come up with a > very simple virtual host installation that works very well (very clean > headers). > > Jim > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Aug 13 12: 7:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89E6837B400 for ; Tue, 13 Aug 2002 12:07:30 -0700 (PDT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03F5643E6E for ; Tue, 13 Aug 2002 12:07:30 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17eh0q-000IMO-0U; Tue, 13 Aug 2002 20:07:28 +0100 Message-ID: Date: Tue, 13 Aug 2002 20:07:21 +0100 To: jc@irbs.com Cc: francisv@dagupan.com, freebsd-isp@freebsd.org From: Kevin Golding Subject: Re: Setting default e-mail sender on Apache References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> <20020813173325.GA42094@exuma.irbs.com> In-Reply-To: <20020813173325.GA42094@exuma.irbs.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Someone, quite probably John Capo, once wrote: >Quoting Kevin Golding (kevin@caomhin.demon.co.uk): >> >> In each virtual hosts' config section include the line: >> php_value sendmail_from user@their.domain >> > >Unless the manual is wrong, for Windows only: > > http://www.php.net/manual/en/ref.mail.php > >I tried this option a few months back and it was a nop on *nix. A cursory test suggests the manual is right, I'd just always seen it in phpinfo() and assumed it actually had some bearing, my bad. :-( However on that page it does include the following user(anon.) comment: =================================== As noted above sendmail_from is only used on MS Windows, to change the default sender on unix you must add -f to sendmail_path. For example in a directive: php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f webmaster@example.com" would set the default return-path for mail from that virtual host. ==================================== Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Aug 13 21: 0:40 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF50A37B400 for ; Tue, 13 Aug 2002 21:00:38 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95F3B43E4A for ; Tue, 13 Aug 2002 21:00:37 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Aug 2002 12:03:44 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C546@mailserver.dagupan.com> From: francisv@dagupan.com To: jim@jwweeks.com Cc: freebsd-isp@freebsd.org Subject: RE: Setting default e-mail sender on Apache Date: Wed, 14 Aug 2002 12:03:43 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It's a user-created script using the mail() function. I've also posted a follow-up config to this list; it tells a more detailed overview of how the system was configured -----Original Message----- From: Jim Weeks To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Sent: 8/13/02 4:41 AM Subject: Re: Setting default e-mail sender on Apache On Mon, 12 Aug 2002 francisv@dagupan.com wrote: > We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and > PHP as a module. Our users use PHP's mail() function to send e-mail from > within the web application. However, the default sender is the user running > the web process and not the virtual host owner. How do I configure Apache > (or PHP) to use mail() as the virtual host owner and not the user running > the web process? When you say "web application" do you mean some form of webmail, or individual user created scripts? The reason I ask is, I have been working on squirrelmail for the past few days and have come up with a very simple virtual host installation that works very well (very clean headers). Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Tue Aug 13 21: 5:50 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52BEC37B400 for ; Tue, 13 Aug 2002 21:05:48 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8154243E77 for ; Tue, 13 Aug 2002 21:05:47 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Aug 2002 12:08:55 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C547@mailserver.dagupan.com> From: francisv@dagupan.com To: ksemat@wawa.eahd.or.ug Cc: freebsd-isp@freebsd.org Subject: RE: Setting default e-mail sender on Apache Date: Wed, 14 Aug 2002 12:08:54 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a good point. All the while I was looking at /var/log/maillog and looking at all those mail coming from www@hosting instead of client@hosting. The Apache binary has already suEXEC enabled and CGI scripts are being executed by the client UID instead of the UID running the httpd process. I'll try to consult with the client. Thanks! -----Original Message----- From: Noah K Sematimba To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Sent: 8/12/02 10:04 PM Subject: Re: Setting default e-mail sender on Apache You mean the envelope sender or the X-sender? Because setting the sender in the php script itself changes the envelope sender. One memory expensive solution of course would be to run php as a cgi and use suexec to make the scripts run as the owner of the virtualhost. Noah. On Mon, 12 Aug 2002 francisv@dagupan.com wrote: > Hi, > > We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and > PHP as a module. Our users use PHP's mail() function to send e-mail from > within the web application. However, the default sender is the user running > the web process and not the virtual host owner. How do I configure Apache > (or PHP) to use mail() as the virtual host owner and not the user running > the web process? > > Thanks! > > --- > francis a. vidal [bitstop network services] | http://www.bitstop.ph > streaming media + web hosting | http://www.keystone.ph > v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Aug 15 7:22:19 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CA5537B406 for ; Thu, 15 Aug 2002 07:22:15 -0700 (PDT) Received: from mail.ecotech.com.lr (mail.liberiaonline.com.lr [64.110.100.164]) by mx1.FreeBSD.org (Postfix) with SMTP id C0D3243E75 for ; Thu, 15 Aug 2002 07:22:07 -0700 (PDT) (envelope-from max@ecotech.com.lr) Received: (qmail 46873 invoked by uid 85); 15 Aug 2002 14:20:19 -0000 Received: from unknown (HELO wireless) (64.110.100.167) by mail.liberiaonline.com.lr with SMTP; 15 Aug 2002 14:20:18 -0000 Message-ID: <002101c24467$00385fd0$04ef10ac@wireless> From: "Max" To: References: <20020805163516.G99260-100000@ren.sasknow.com> Subject: Proxy Problems Date: Thu, 15 Aug 2002 15:21:08 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I seem to have some problems with my proxy. That's Squid 2.4 stable on FreeBSD 4.4. It starts fine, but when i attempt to use it, it just restarts, and i can't quite use it. Here is a snippet from the log. anyone got an idea? Accepting HTTP connections at 0.0.0.0, port 8080, FD 10. 2002/08/15 14:19:28| Accepting ICP messages at 0.0.0.0, port 8081, FD 11. 2002/08/15 14:19:28| WCCP Disabled. 2002/08/15 14:19:28| Ready to serve requests. 2002/08/15 14:19:33| Not currently OK to rewrite swap log. 2002/08/15 14:19:33| storeDirWriteCleanLogs: Operation aborted. 2002/08/15 14:19:36| Starting Squid Cache version 2.4.STABLE1 for i386-unknown-freebsd4.4... 2002/08/15 14:19:36| Process ID 3549 Max To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Aug 15 8:11: 6 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58D0A37B400 for ; Thu, 15 Aug 2002 08:11:03 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8631743E4A for ; Thu, 15 Aug 2002 08:10:59 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from smtp-relay01.mac.com (smtp-relay01-en1 [10.13.10.224]) by smtpout.mac.com (8.12.1/8.10.2/1.0) with ESMTP id g7FFAwXK000794 for ; Thu, 15 Aug 2002 08:10:59 -0700 (PDT) Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtp-relay01.mac.com (8.12.1/8.12.1/1.0) with ESMTP id g7FFAwVw029580 for ; Thu, 15 Aug 2002 08:10:58 -0700 (PDT) Received: from bust ([12.38.161.88]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H0W4UA00.L5W for ; Thu, 15 Aug 2002 08:10:58 -0700 Date: Thu, 15 Aug 2002 11:10:52 -0400 Subject: Re: Proxy Problems Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: Chuck Swiger To: Content-Transfer-Encoding: 7bit In-Reply-To: <002101c24467$00385fd0$04ef10ac@wireless> Message-Id: <30803284-B061-11D6-855D-000A27D85A7E@mac.com> X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday, August 15, 2002, at 10:21 AM, Max wrote: > anyone got an idea? > > Accepting HTTP connections at 0.0.0.0, port 8080, FD 10. > 2002/08/15 14:19:28| Accepting ICP messages at 0.0.0.0, port 8081, FD 11. > 2002/08/15 14:19:28| WCCP Disabled. > 2002/08/15 14:19:28| Ready to serve requests. > 2002/08/15 14:19:33| Not currently OK to rewrite swap log. > 2002/08/15 14:19:33| storeDirWriteCleanLogs: Operation aborted. Sounds like a permissions problem. Make sure that the cache and logging locations are owned by 'squid' or 'nobody' (ie, whatever user you're running the proxy as). -Chuck Chuck Swiger | chuck@codefab.com | All your packets are belong to us. -------------+-------------------+----------------------------------- "The human race's favorite method for being in control of the facts is to ignore them." -Celia Green To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Thu Aug 15 12:29:54 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94DD537B400 for ; Thu, 15 Aug 2002 12:29:52 -0700 (PDT) Received: from mail.qcislands.net (mail.qcislands.net [209.53.238.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A45D43E4A for ; Thu, 15 Aug 2002 12:29:52 -0700 (PDT) (envelope-from ccstore@autha.qcislands.net) Received: from [209.53.238.9] (helo=autha.qcislands.net) by mail.qcislands.net with esmtp (Exim 4.10) id 17fQJd-000DtT-00 for freebsd-isp@freebsd.org; Thu, 15 Aug 2002 12:29:53 -0700 Received: from ccstore by autha.qcislands.net with local-rmail (Exim 4.10) id 17fQJd-00033m-00 for freebsd-isp@freebsd.org; Thu, 15 Aug 2002 12:29:53 -0700 Received: from fisp by dick.ccstores.com with local (Exim 4.04) id 17fPuE-0001qw-00 for freebsd-isp@freebsd.org; Thu, 15 Aug 2002 12:03:38 -0700 From: fisp@ccstores.com (FreeBSD isp) To: freebsd-isp@freebsd.org Subject: digital signal processor X-Mailer: SCO Shell Date: Thu, 15 Aug 2002 12:03:38 -0700 (PDT) Message-Id: X-local_scan: locally submitted X-local_scan: locally submitted (9) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I can't find a newsgroup or google search on pros-and-cons on v.90 servers. I presently have a Livingston (oops Lucent) PM3. Is there any other brand out there which performs more reliably with the v.90 protocol, or are all about the same? -- FreeBSD isp feed directly mailto:paz@qcislands.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 9:53:15 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F26937B400 for ; Fri, 16 Aug 2002 09:53:13 -0700 (PDT) Received: from usenet.isot.com (usenet.isot.com [63.161.224.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id B797D43E3B for ; Fri, 16 Aug 2002 09:53:12 -0700 (PDT) (envelope-from freebsd@isot.com) Received: (from www@localhost) by usenet.isot.com (8.11.6/8.11.6) id g7GGvSZ24087 for freebsd-isp@FreeBSD.ORG; Fri, 16 Aug 2002 11:57:28 -0500 (CDT) (envelope-from freebsd@isot.com) X-Authentication-Warning: usenet.isot.com: www set sender to freebsd@isot.com using -f Received: from 208.189.118.62 ( [208.189.118.62]) as user freebsd@isot.com by webmail.isot.com with HTTP; Fri, 16 Aug 2002 11:57:27 -0500 Message-ID: <1029517047.3d5d2ef7d33c5@webmail.isot.com> Date: Fri, 16 Aug 2002 11:57:27 -0500 From: itchibahn To: freebsd-isp@FreeBSD.ORG Subject: BIND 8.3.3-REL Doesn't update MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1-cvs X-Originating-IP: 208.189.118.62 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org After removing a domain, 'kill -HUP pid', 'killall -HUP named', named.restart, and named.reload doesn't refresh the changes. Is there a way to make it take effect immediately? ------------------------------------------------- This mail sent through ISOT. To find out more about ISOT, visit http://isot.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 10:36:57 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53F5237B400 for ; Fri, 16 Aug 2002 10:36:55 -0700 (PDT) Received: from mx1.britesite.net (mx1.britesite.net [63.175.65.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B51F643E4A for ; Fri, 16 Aug 2002 10:36:54 -0700 (PDT) (envelope-from lanshark@bsinet.net) Received: from stranger (dsl-232-75.speedsite.com [206.126.232.75]) by mx1.britesite.net (8.11.6/8.11.6) with SMTP id g7GHWRV32082; Fri, 16 Aug 2002 12:32:27 -0500 (CDT) (envelope-from lanshark@bsinet.net) Message-ID: <005101c2454b$93750a20$0201a8c0@stranger> From: "Edward Shabotinsky" To: "itchibahn" Cc: References: <1029517047.3d5d2ef7d33c5@webmail.isot.com> Subject: Re: BIND 8.3.3-REL Doesn't update Date: Fri, 16 Aug 2002 12:37:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org changes where --> on secondary? in named.conf? Edward Shabotinsky Systems Engineer BriteSiteInet Inc. --------------------------------- lanshark@bsinet.net www.britesite.net --------------------------------- ----- Original Message ----- From: "itchibahn" To: Sent: Friday, August 16, 2002 11:57 AM Subject: BIND 8.3.3-REL Doesn't update > After removing a domain, 'kill -HUP pid', 'killall -HUP named', named.restart, > and named.reload doesn't refresh the changes. Is there a way to make it take > effect immediately? > > > > ------------------------------------------------- > This mail sent through ISOT. To find out more > about ISOT, visit http://isot.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 17:16:31 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6058A37B400 for ; Fri, 16 Aug 2002 17:16:29 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 249DC43E72 for ; Fri, 16 Aug 2002 17:16:28 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Sat, 17 Aug 2002 08:19:38 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C568@mailserver.dagupan.com> From: francisv@dagupan.com To: kevin@caomhin.demon.co.uk Cc: freebsd-isp@FreeBSD.ORG Subject: RE: Setting default e-mail sender on Apache Date: Sat, 17 Aug 2002 08:19:37 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adding $headers to any outgoing mail doesn't work with Postfix :-/ -----Original Message----- From: Kevin Golding [mailto:kevin@caomhin.demon.co.uk] Sent: Monday, August 12, 2002 9:37 PM To: francisv@dagupan.com Cc: freebsd-isp@freebsd.org Subject: Re: Setting default e-mail sender on Apache Someone, quite probably , once wrote: >but testing the web application still sends e-mail coming from the ID runnig >the web process. BTW, my MTA is Postfix if this helps in troubleshooting the >problem. Thanks also for the link :) It's imperfect but you could always try telling them to use: $headers = From: webmaster@client.tld mail("to@address.com", "Subject line", "Test message", $headers); What do you get from a phpinfo()? (just the mail settings really) Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 20:41:35 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FE3837B400; Fri, 16 Aug 2002 20:41:30 -0700 (PDT) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB2443E3B; Fri, 16 Aug 2002 20:41:29 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.11.6/8.11.6) with ESMTP id g7H3fSp21200; Fri, 16 Aug 2002 21:41:28 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Fri, 16 Aug 2002 21:41:28 -0600 (CST) From: Ryan Thompson To: freebsd-hardware@freebsd.org Cc: freebsd-isp@freebsd.org Subject: 4-port NICs Message-ID: <20020816212544.Y69193-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, I'm looking for a good 4-port NIC for use in replacing a firewall that joins four networks. Previously, I have done this with a 4U chassis and a slew of single or dual port cards. In this case, I've got a 1U chassis and one PCI slot. I've heard speak of problems with the new D-Link 580TX 4 port cards, with the recent thread on -isp. I can get the Adaptec ANA-64044 card, but it isn't specifically listed as being supported by sf(4), though the 62044 quad port adapter is listed. Can anyone confirm or deny support for the ANA-64044? Beyond that, Neither 3Com or Intel seem to make a 4-port card that any of my suppliers carry. Any recommendations? - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901 1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 21:34:17 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E3C137B400; Fri, 16 Aug 2002 21:34:15 -0700 (PDT) Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C84143E42; Fri, 16 Aug 2002 21:34:14 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [210.49.77.192] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id cgfhaaaa for ; Sat, 17 Aug 2002 14:34:10 +1000 Message-ID: <3D5DD222.2090607@quake.com.au> Date: Sat, 17 Aug 2002 14:33:38 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Thompson Cc: freebsd-hardware@freebsd.org, freebsd-isp@freebsd.org Subject: Re: 4-port NICs References: <20020816212544.Y69193-100000@ren.sasknow.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ryan Thompson wrote: > Hi all, > > I'm looking for a good 4-port NIC for use in replacing a firewall that > joins four networks. Previously, I have done this with a 4U chassis > and a slew of single or dual port cards. In this case, I've got a 1U > chassis and one PCI slot. > > I've heard speak of problems with the new D-Link 580TX 4 port cards, > with the recent thread on -isp. Yes so far these cards dont work at all, the driver doesnt have support for them as of yet.. I have just been using the two port intel cards.. Which cost more and have 2 less ports.. But they work great ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Fri Aug 16 22:11:14 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88F8F37B400 for ; Fri, 16 Aug 2002 22:11:11 -0700 (PDT) Received: from www.golsyd.net.au (golsyd.net.au [203.57.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F62743E72 for ; Fri, 16 Aug 2002 22:11:11 -0700 (PDT) (envelope-from kaltorak@quake.com.au) Received: from [210.49.77.192] by www.quake.com.au (NTMail 4.30.0012/AB6169.63.5324aadf) with ESMTP id fgfhaaaa for ; Sat, 17 Aug 2002 15:11:04 +1000 Message-ID: <3D5DDAC8.1050803@quake.com.au> Date: Sat, 17 Aug 2002 15:10:32 +1000 From: Kal Torak Organization: Quake Networking User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org Subject: fowarding packets - question Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, Just a quick question on fowarding.. Im fowarding based on src ip address using ipfw and I have just been using rules 'fwd from src ip to any' but that means that packets actualy supposed to stop at that system get forwarded anyway... How would I write the rules so that it forwards ONLY if the local host isnt the destination? Or achive something to that effect? Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 2: 2:44 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C5737B400 for ; Sat, 17 Aug 2002 02:02:41 -0700 (PDT) Received: from mail.seattleFenix.net (seattleFenix.net [216.39.145.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA5743E65 for ; Sat, 17 Aug 2002 02:02:40 -0700 (PDT) (envelope-from roo@mail.seattleFenix.net) Received: (from roo@localhost) by mail.seattleFenix.net (8.11.6/8.11.6) id g7H92DG09932; Sat, 17 Aug 2002 02:02:13 -0700 (PDT) (envelope-from roo) Date: Sat, 17 Aug 2002 02:02:13 -0700 From: Benjamin Krueger To: francisv@dagupan.com Cc: kevin@caomhin.demon.co.uk, freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache Message-ID: <20020817020213.J3109@mail.seattleFenix.net> References: <10F29E27A956D511B0940050DA8D86A985C568@mailserver.dagupan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C568@mailserver.dagupan.com>; from francisv@dagupan.com on Sat, Aug 17, 2002 at 08:19:37AM +0800 X-PGP-Key: http://www.macguire.net/benjamin/public_key.asc Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * francisv@dagupan.com (francisv@dagupan.com) [020816 17:16]: > Adding $headers to any outgoing mail doesn't work with Postfix :-/ > > -----Original Message----- > From: Kevin Golding [mailto:kevin@caomhin.demon.co.uk] > Sent: Monday, August 12, 2002 9:37 PM > To: francisv@dagupan.com > Cc: freebsd-isp@freebsd.org > Subject: Re: Setting default e-mail sender on Apache > > Someone, quite probably , once wrote: > >but testing the web application still sends e-mail coming from the ID > runnig > >the web process. BTW, my MTA is Postfix if this helps in troubleshooting > the > >problem. Thanks also for the link :) > > It's imperfect but you could always try telling them to use: > > $headers = From: webmaster@client.tld > mail("to@address.com", "Subject line", "Test message", $headers); > > > What do you get from a phpinfo()? (just the mail settings really) > > Kevin > -- > kevin@caomhin.demon.co.uk This does work with Postfix. I use it all the time. See the following code snippet. $headers = "From: TheDude@somewhere.dom\n"; $headers .= "X-Origin-IP: $REMOTE_ADDR\n"; $headers .= "X-HTTP-Agent: $HTTP_USER_AGENT\n"; $headers .= "X-Mailer: SomeSoftware (C) 2002 Benjamin Krueger\n"; $headers .= "cc: $cc\n"; $to = "someone@somewhere.dom"; $subject = "my subject"; $mail_body = "my message"; mail($to, $subject, $mail_body, $headers); Regards, -- Benjamin Krueger "Life is far too important a thing ever to talk seriously about." - Oscar Wilde (1854 - 1900) ---------------------------------------------------------------- Send mail w/ subject 'send public key' or query for (0x251A4B18) Fingerprint = A642 F299 C1C1 C828 F186 A851 CFF0 7711 251A 4B18 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 3:22:33 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EDB137B400 for ; Sat, 17 Aug 2002 03:22:31 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E2C43E3B for ; Sat, 17 Aug 2002 03:22:30 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Sat, 17 Aug 2002 18:25:44 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C572@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-isp@FreeBSD.ORG Subject: rsync questions Date: Sat, 17 Aug 2002 18:25:43 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm testing rsync on two FreeBSD 4.6-STABLE systems: rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others One server is running rsync as a daemon (rsync --daemon) with the following configuration file: # # rsyncd.conf - Configuration file for rsync in daemon mode # # $Id$ syslog facility = syslog max connections = 4 pid file = /var/run/rsyncd.pid [target] path = /usr/local/backup/target comment = Backup directory for auth users = secrets file = /usr/local/etc/rsyncd.secrets read only = no rsyncd.secrets contain the username:password pair. But when I initiate a transfer from the client machine, I get this error: [francisv@host bin]$ rsync -vv *.sh francisv@server::target/ opening tcp connection to server port 873 Password: expand file_list to 4000 bytes, did move full-backup.sh full-dump.sh mkstemp .full-backup.sh.M0W7iA failed: Permission denied mkstemp .full-dump.sh.P4Q1le failed: Permission denied total: matches=0 tag_hits=0 false_alarms=0 data=1150 wrote 1364 bytes read 113 bytes 422.00 bytes/sec total size is 1150 speedup is 0.78 rsync error: partial transfer (code 23) at main.c(578) --- francis a. vidal [bitstop network services] | http://www.bitstop.ph streaming media + web hosting | http://www.keystone.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 6:21:44 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A2437B400; Sat, 17 Aug 2002 06:21:37 -0700 (PDT) Received: from mtiwmhc21.worldnet.att.net (mtiwmhc24.worldnet.att.net [204.127.131.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A59F43E6E; Sat, 17 Aug 2002 06:21:37 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from prime ([12.88.88.197]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020817132136.NBGB23721.mtiwmhc21.worldnet.att.net@prime>; Sat, 17 Aug 2002 13:21:36 +0000 Message-ID: <007701c245f1$026e4090$0301a8c0@prime> From: "Charles Swiger" To: , References: <20020816212544.Y69193-100000@ren.sasknow.com> Subject: Re: 4-port NICs Date: Sat, 17 Aug 2002 09:14:51 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: "Ryan Thompson" > I'm looking for a good 4-port NIC for use in replacing a firewall that > joins four networks. Previously, I have done this with a 4U chassis > and a slew of single or dual port cards. In this case, I've got a 1U > chassis and one PCI slot. I've had good experiences with a 4-port DEC 21x4x NIC, which I believe was made (or OEMed?) by Asante: pcib2@pci0:16:0: class=0x060400 card=0x000000dc chip=0x00241011 rev=0x03 hdr=0x01 vendor = 'Digital Equipment Corporation' device = '21151/2 PCI to PCI Bridge' class = bridge subclass = PCI-PCI dc0@pci2:4:0: class=0x020000 card=0x11101186 chip=0x00191011 rev=0x41 hdr=0x00 vendor = 'Digital Equipment Corporation' device = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr' class = network subclass = ethernet dc1@pci2:5:0: class=0x020000 card=0x11101186 chip=0x00191011 rev=0x41 hdr=0x00 vendor = 'Digital Equipment Corporation' device = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr' class = network subclass = ethernet dc2@pci2:6:0: class=0x020000 card=0x11101186 chip=0x00191011 rev=0x41 hdr=0x00 vendor = 'Digital Equipment Corporation' device = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr' class = network subclass = ethernet dc3@pci2:7:0: class=0x020000 card=0x11101186 chip=0x00191011 rev=0x41 hdr=0x00 vendor = 'Digital Equipment Corporation' device = 'DC21142/3 PCI/CardBus 10/100 Mbit Ethernet Ctlr' class = network subclass = ethernet I've been using them in various FW/router boxes for about 2 years without any memorable issues. -Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 7: 6:32 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B61137B400 for ; Sat, 17 Aug 2002 07:06:30 -0700 (PDT) Received: from ns2.wananchi.com (ns2.wananchi.com [212.49.74.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8425F43E6E for ; Sat, 17 Aug 2002 07:06:28 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com (Exim 4.10 #9 (FreeBSD)) protocol: local id 17g4DK-000EAk-00 ; Sat, 17 Aug 2002 17:06:02 +0300 Date: Sat, 17 Aug 2002 17:06:02 +0300 From: Odhiambo Washington To: freebsd-isp@freebsd.org Cc: yazzy@yazzy.org Subject: Re: ssh chroot Message-ID: <20020817140602.GE82081@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-isp@freebsd.org, yazzy@yazzy.org References: <56221.80.232.16.66.1029201402.squirrel@mail.yazzy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56221.80.232.16.66.1029201402.squirrel@mail.yazzy.org> User-Agent: Mutt/1.4i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: Majority, n.: That quality that distinguishes a crime from a law. X-Operating-System: FreeBSD 4.6-STABLE i386 X-Best-Window-Manager: Blackbox X-Mailer: Mutt 1.4i (2002-05-29) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 5:03PM up 3 days, 3:21, 2 users, load averages: 0.18, 0.22, 0.24 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Marcin Jessa [20020813 07:45]: wrote: > Hi. > > Is there any way to implement a ssh chroot() functionality on a server? > I am not really interested in running jail. > I have found something called scponly - > http://www.sublimation.org/scponly/ but that is not what I need. I need > users to be actually able to ssh to my box , not only scp to/from it > without being able to browse and edit their files. > Thanks in advance. > > > -- Hi YazzY, Long time ;-) The closest I did with what you are asking was to give those dudes an rbash shell. cd /usr/local/bin && ln bash rbash Add /usr/local/bin/rbash to /etc/shells. Ciao -Wash -- Odhiambo Washington "The box said 'Requires Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,' Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD." GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-) Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 14: 6:15 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ACCE37B400 for ; Sat, 17 Aug 2002 14:06:13 -0700 (PDT) Received: from richard2.pil.net (richard2.pil.net [208.8.16.11]) by mx1.FreeBSD.org (Postfix) with SMTP id D7FA743E42 for ; Sat, 17 Aug 2002 14:06:10 -0700 (PDT) (envelope-from up@3.am) Received: (qmail 78927 invoked by uid 1825); 17 Aug 2002 21:06:06 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 17 Aug 2002 21:06:06 -0000 Date: Sat, 17 Aug 2002 17:06:06 -0400 (EDT) From: up@3.am X-Sender: up@richard2.pil.net To: FreeBSD ISP List Subject: HostnameLookups directive not working in vhosts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I recently moved a lot of virtual hosts from an old FBSD server running apache 1.3.12 to a new one running 1.3.26. The server has HostNameLookups set to On in the main httpd.conf. In the virtual hosts conf file (implemented using include/conf), I have a couple of hosts with the the same directive turned Off. However, the custom logs for these servers still show lookups unless I turn it off in the main config. I'm pretty sure this was working fine on the old box, which had a virtually identical config. The apache docs (http://httpd.apache.org/docs/mod/core.html#hostnamelookups) note that this can be done in a virtual host config. The vhost config looks like: ServerAdmin webmaster@domain.com User joeuser Group vhosts DocumentRoot /home/servers/domain.com/pages ServerName domain.com ServerAlias www.domain.com HostnameLookups off CustomLog /home/servers/domain.com/access_log combined ScriptAlias /cgi-bin/ "/home/servers/domain.com/cgi-bin/" From the main config: AllowOverride all Options Indexes FollowSymLinks MultiViews ExecCGI IncludesNOEXEC Order allow,deny Allow from all Ideas? James Smallacombe PlantageNet, Inc. CEO and Janitor up@3.am http://3.am ========================================================================= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 15:52:34 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC34737B401 for ; Sat, 17 Aug 2002 15:52:30 -0700 (PDT) Received: from firehouse.net (dsl-64-130-18-61.telocity.com [64.130.18.61]) by mx1.FreeBSD.org (Postfix) with SMTP id BD44043E4A for ; Sat, 17 Aug 2002 15:52:28 -0700 (PDT) (envelope-from alan-dated-1030056746.29cc90@clegg.com) Received: (qmail 13242 invoked by uid 85); 17 Aug 2002 22:52:27 -0000 Date: Sat, 17 Aug 2002 18:52:23 -0400 To: Ryan Thompson Cc: freebsd-hardware@freebsd.org, freebsd-isp@freebsd.org Subject: Re: 4-port NICs Message-ID: <20020817185223.A13021@shazam.wetworks.org> References: <20020816212544.Y69193-100000@ren.sasknow.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020816212544.Y69193-100000@ren.sasknow.com>; from ryan@sasknow.com on Fri, Aug 16, 2002 at 09:41:28PM -0600 From: "Alan B. Clegg" X-Delivery-Agent: TMDA/0.52 (Python 2.2 on FreeBSD/i386) X-TMDA-Fingerprint: mnAIVotIa37rnge2T7tUauS86Yg X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Unless the network is lying to me again, Ryan Thompson said:=20 > I'm looking for a good 4-port NIC for use in replacing a firewall that > joins four networks. See identical discussion from last week in -net. Message-ID: <20020814163205.22941.qmail@cobweb.example.org> AlanC --=20 | Alan Clegg | Networks | Security | UNIX | 802.11 |=20 "you just have to be smarter than what you're working on." - Scott Lauren --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE9XtOnyJP8xSfQVdsRAsL5AKDgsMQC5XyEOfKEYbrz26/GcQaisQCgqdet YzdMkL9MDe5FZJkthGTNUp4= =3TUg -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message From owner-freebsd-isp Sat Aug 17 15:57:46 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DE9B37B400; Sat, 17 Aug 2002 15:57:43 -0700 (PDT) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4791643E4A; Sat, 17 Aug 2002 15:57:42 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.11.6/8.11.6) with ESMTP id g7HMvYU25249; Sat, 17 Aug 2002 16:57:34 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sat, 17 Aug 2002 16:57:34 -0600 (CST) From: Ryan Thompson To: "Alan B. Clegg" Cc: freebsd-hardware@freebsd.org, Subject: Re: 4-port NICs In-Reply-To: <20020817185223.A13021@shazam.wetworks.org> Message-ID: <20020817165444.C23445-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alan B. Clegg wrote to Ryan Thompson: > Unless the network is lying to me again, Ryan Thompson said: > > > I'm looking for a good 4-port NIC for use in replacing a firewall > > that joins four networks. > > See identical discussion from last week in -net. > > Message-ID: <20020814163205.22941.qmail@cobweb.example.org> Thanks. Read that just now. I normally follow -net. So, the same suggestions are coming through. I *would* be curious to know if the Adaptec ANA-64044 (NOT the 62044 which _is_ explicitly listed) cards are supported, as I can get those easily and cheaply. Thanks, - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901 1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message