From owner-freebsd-isp@FreeBSD.ORG Sun Jun 8 06:19:06 2003 Return-Path: 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 9356237B404 for ; Sun, 8 Jun 2003 06:19:06 -0700 (PDT) Received: from traven9.uol.com.br (traven9.uol.com.br [200.221.29.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552F643FE1 for ; Sun, 8 Jun 2003 06:19:04 -0700 (PDT) (envelope-from antonio.torres@newspace.net.br) Received: from thinkpad.newspace.net.br ([200.221.55.15]) by traven9.uol.com.br (8.9.1/8.9.1) with SMTP id KAA05304 for ; Sun, 8 Jun 2003 10:19:01 -0300 (BRT) Date: Sun, 8 Jun 2003 10:19:03 -0300 From: Antonio Torres To: freebsd-isp@freebsd.org Message-Id: <20030608101903.04895b7c.antonio.torres@newspace.net.br> In-Reply-To: <001501c32d87$c7ecddd0$162ea8c0@computer> References: <001501c32d87$c7ecddd0$162ea8c0@computer> Organization: Newspace Telecom. X-Mailer: Sylpheed version 0.9.1 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Apache crashing if user's www directory is deleted X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 13:19:06 -0000 workarround : man chflags ... sunlnk set the system undeletable flag (super-user only) ... [] On Sun, 8 Jun 2003 09:32:47 +0300 "PsYxAkIaS (FreeBSD)" wrote: > Hello > > I use apache/2.045 and virtual hosts like that: > > > ScriptAlias /cgi-bin/ /usr/homeb1/psyxakias/www/cgi-bin/ > ServerName www.psyxakias.org > ErrorLog /usr/homeb1/psyxakias/www-logs/error.log > ServerAdmin psyxakias@psyxakias.org > CustomLog /usr/homeb1/psyxakias/www-logs/custom.log common > DocumentRoot /usr/homeb1/psyxakias/www > > > If a user removes his www or cgi-bin directory, apache crashes on next rehash/restart because it doesnt find the directory. > > Any solutions? I was thinking to change their permissions with chown/chmod but as they have rwx on their homedir they will still be able to delete the dirs. > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > -- Antonio Torres antonio.torres@newspace.net.br From owner-freebsd-isp@FreeBSD.ORG Sun Jun 8 06:24:07 2003 Return-Path: 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 04B7437B401 for ; Sun, 8 Jun 2003 06:24:07 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D04E43FA3 for ; Sun, 8 Jun 2003 06:24:06 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 10367 invoked from network); 8 Jun 2003 13:24:05 -0000 Received: from athe535-c076.otenet.gr (HELO computer) (62.103.191.76) by bofh.reverse.net with SMTP; 8 Jun 2003 13:24:05 -0000 Message-ID: <002b01c32dc1$3bb98d60$162ea8c0@computer> From: "PsYxAkIaS (FreeBSD)" To: References: <001501c32d87$c7ecddd0$162ea8c0@computer> <20030608101903.04895b7c.antonio.torres@newspace.net.br> Date: Sun, 8 Jun 2003 16:24:02 +0300 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.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: Apache crashing if user's www directory is deleted X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 13:24:07 -0000 Ok fixed:) Thanks both Antonio Torress and Clement Laforet(for your private email). [psyxakias@Bitch-2:~] mkdir test2 [psyxakias@Bitch-2:~] exit logout [root@Bitch-2:/homeb1/psyxakias] chflags sunlnk test2 [root@Bitch-2:/homeb1/psyxakias] su - psyxakias [psyxakias@Bitch-2:~] rm -r test2 rm: test2: Operation not permitted ----- Original Message ----- From: "Antonio Torres" To: Sent: Sunday, June 08, 2003 4:19 PM Subject: Re: Apache crashing if user's www directory is deleted > > workarround : > > man chflags > ... > sunlnk set the system undeletable flag (super-user only) > ... > > > [] > > > On Sun, 8 Jun 2003 09:32:47 +0300 > "PsYxAkIaS (FreeBSD)" wrote: > > > Hello > > > > I use apache/2.045 and virtual hosts like that: > > > > > > ScriptAlias /cgi-bin/ /usr/homeb1/psyxakias/www/cgi-bin/ > > ServerName www.psyxakias.org > > ErrorLog /usr/homeb1/psyxakias/www-logs/error.log > > ServerAdmin psyxakias@psyxakias.org > > CustomLog /usr/homeb1/psyxakias/www-logs/custom.log common > > DocumentRoot /usr/homeb1/psyxakias/www > > > > > > If a user removes his www or cgi-bin directory, apache crashes on next rehash/restart because it doesnt find the directory. > > > > Any solutions? I was thinking to change their permissions with chown/chmod but as they have rwx on their homedir they will still be able to delete the dirs. > > _______________________________________________ > > freebsd-isp@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > > > > > > -- > Antonio Torres > antonio.torres@newspace.net.br > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 01:50:31 2003 Return-Path: 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 B6F4337B401 for ; Mon, 9 Jun 2003 01:50:31 -0700 (PDT) Received: from mail.trident-uk.co.uk (mail.trident-uk.co.uk [81.3.89.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 597B043FCB for ; Mon, 9 Jun 2003 01:50:30 -0700 (PDT) (envelope-from jamie@tridentmicrosystems.co.uk) Received: from localhost (localhost.pe.trident-uk.co.uk [127.0.0.1]) by mail.trident-uk.co.uk (Postfix) with ESMTP id 758EDEA2; Mon, 9 Jun 2003 09:49:56 +0100 (BST) Received: from jamieheckford (wrkstn-82.pe.trident-uk.co.uk [192.168.100.82]) by mail.trident-uk.co.uk (Postfix) with ESMTP id 70648E9C; Mon, 9 Jun 2003 09:49:55 +0100 (BST) From: "Jamie Heckford" To: "'Chuck Swiger'" Date: Mon, 9 Jun 2003 09:48:42 +0100 Organization: Trident Microsystems Ltd Message-ID: <001801c32e63$edd0a5e0$5264a8c0@jamieheckford> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <3EE21F2A.6010807@mac.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: by AMaViS perl-11 cc: freebsd-isp@freebsd.org Subject: RE: Block exe files with Sendmail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jamie@tridentmicrosystems.co.uk List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 08:50:32 -0000 > James Godwin wrote: > Can anyone point me in the direction of a solution, scripts or > documentation detailing the removal of exe files using sendmail. > Or, If you fancied trying the excellent postfix, its as simple as: -- /usr/local/etc/postfix/block /^(Content-(Type|Disposition):.*|[[:space:]]*(file)?)name=("[^"]*|{^{:sp ace:]]*)\.(exe)[[:>:]]/ REJECT -- /usr/local/etc/postfix/main.cf Body_checks= regexp:/usr/local/etc/postfix/block Cheers, Jamie From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 02:12:40 2003 Return-Path: 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 50EA537B401 for ; Mon, 9 Jun 2003 02:12:40 -0700 (PDT) Received: from borja.sarenet.es (borja.sarenet.es [192.148.167.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC0EA43FBD for ; Mon, 9 Jun 2003 02:12:38 -0700 (PDT) (envelope-from borjam@sarenet.es) Received: from borja.sarenet.es (localhost [127.0.0.1]) by borja.sarenet.es (8.12.6/8.12.6) with ESMTP id h599CXV7011725; Mon, 9 Jun 2003 11:12:36 +0200 (CEST) (envelope-from borjam@sarenet.es) Content-Type: text/plain; charset="iso-8859-1" From: Borja Marcos Organization: Sarenet S.A. To: James Godwin , Date: Mon, 9 Jun 2003 11:12:32 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306091112.33193.borjam@sarenet.es> Subject: Re: Block exe files with Sendmail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 09:12:40 -0000 =09This regular expressions were suggested by Hobbit in a Postfix mail li= st=20 last year. It rejects any executable file, regardless of its name,=20 extension, extension of the extension, MIME type, etc. =09 =09/^TV[nopqr]....[AB]..A.A....*AAAA...*AAAA/ =09/^M35[GHIJK].`..`..*````/ =09Some people didn't like them, but I think this is a very effective way= of=20 dealing with viruses. These lists are applied always in some mail servers= =20 I administer, and they have rejected every infected message they have=20 received. =09Of course, you must tell your users not to send executables, a bad=20 practice. =09Borja. From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 08:10:01 2003 Return-Path: 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 7F5B037B401 for ; Mon, 9 Jun 2003 08:10:01 -0700 (PDT) Received: from smartire.com (mail.smartire.com [64.114.43.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB05243FB1 for ; Mon, 9 Jun 2003 08:10:00 -0700 (PDT) (envelope-from lwelbourn@smartire.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C32E99.52ACAFCE" Date: Mon, 9 Jun 2003 08:10:54 -0700 Message-ID: <77C0D4581FF7244BA453CD4DDCD3DCBF246AB8@bugatti.smartire.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: <77C0D4581FF7244BA453CD4DDCD3DCBF246AB8@bugatti.smartire.com> Thread-Topic: Virus Found in message "Approved" Thread-Index: AcMumVKsbgH4m0aeS4mhVpPWFOcieQ== From: "Lisa Welbourn" To: X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Virus Found in message "Approved" X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 15:10:01 -0000 This is a multi-part message in MIME format. ------_=_NextPart_001_01C32E99.52ACAFCE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Norton AntiVirus found a virus in an attachment you = (freebsd-isp@freebsd.org ) sent to Public = Relations. To ensure the recipient(s) are able to use the files you sent, perform a = virus scan on your computer, clean any infected files, then resend this = attachment. Attachment: screensaver.scr Virus name: W32.Sobig.C@mm Action taken: Clean failed : Quarantine succeeded :=20 File status: Infected ------_=_NextPart_001_01C32E99.52ACAFCE-- From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 16:34:39 2003 Return-Path: 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 9937C37B401 for ; Mon, 9 Jun 2003 16:34:39 -0700 (PDT) Received: from alice.netmint.com (alice.netmint.com [207.106.37.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE5B443FBD for ; Mon, 9 Jun 2003 16:34:36 -0700 (PDT) (envelope-from support@netmint.com) Received: from alice.netmint.com (localhost.netmint.com [127.0.0.1]) by alice.netmint.com (8.12.8p1/8.12.8) with ESMTP id h59NYWe0075298; Mon, 9 Jun 2003 19:34:32 -0400 (EDT) (envelope-from support@netmint.com) Received: from localhost (support@localhost)h59NYVkV075294; Mon, 9 Jun 2003 19:34:31 -0400 (EDT) (envelope-from support@netmint.com) X-Authentication-Warning: alice.netmint.com: support owned process doing -bs Date: Mon, 9 Jun 2003 19:34:31 -0400 (EDT) From: Support To: Lewis Watson In-Reply-To: <00f501c32c82$c53e9750$de0a0a0a@vsis169> Message-ID: <20030609193427.N75289@alice.netmint.com> References: <00f501c32c82$c53e9750$de0a0a0a@vsis169> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org Subject: Re: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 23:34:39 -0000 On Fri, 6 Jun 2003, Lewis Watson wrote: > I am a big fan of the ports collection and use the ports to build the > programs I use on our production servers. Now I am wanting to update some > ports and have a chicken and egg issue. If I go ahead and update a port > (pure-ftpd for example)... > > After I run "CVSUP portfile" the old version that's running has no > graceful way of being removed. If I try to remove it I am notified that > the version that is running is not on the machine so then I guess force > the uninstall? Either that or just do a make - make install and overwrite > the old port binaries with the new binaries ( this does not seem good > either). > > It appears the only way to cleanly upgrade a port is to deinstall the > current port. Run CVSUP portfile... and get the new port files... do a > make - make install and get the new version of the port installed. This > opens the machine to several minutes of downtime while the program is > being made... (not good either) > > Please tell me the way that it's being handled on your servers/ network... > Thanks! > Lewis > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 17:14:51 2003 Return-Path: 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 ED36337B401 for ; Mon, 9 Jun 2003 17:14:51 -0700 (PDT) Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D97C943F3F for ; Mon, 9 Jun 2003 17:14:50 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 66070EF45A for ; Tue, 10 Jun 2003 02:03:44 +0200 (CEST) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id C4E155D009 for ; Tue, 10 Jun 2003 02:15:06 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 5FDCD5D008 for ; Tue, 10 Jun 2003 02:15:06 +0200 (CEST) Received: from tx0-go2france-c.Go2France.com [24.242.169.51] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A872BDB300F4; Tue, 10 Jun 2003 02:38:10 +0200 Message-Id: <5.2.0.9.2.20030609191237.036d2920@mail.go2france.com> X-Sender: LConrad@Go2France.com@mail.go2france.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 09 Jun 2003 19:14:44 -0500 To: freebsd-isp@freebsd.org From: Len Conrad In-Reply-To: <001801c32e63$edd0a5e0$5264a8c0@jamieheckford> References: <3EE21F2A.6010807@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: Block exe files with Sendmail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 00:14:52 -0000 >Or, If you fancied trying the excellent postfix, its as simple as: > >-- /usr/local/etc/postfix/block > >/^(Content-(Type|Disposition):.*|[[:space:]]*(file)?)name=("[^"]*|{^{:sp >ace:]]*)\.(exe)[[:>:]]/ REJECT > > >-- /usr/local/etc/postfix/main.cf > >Body_checks= regexp:/usr/local/etc/postfix/block tpcre: is 10's of times more efficient than POSIX regexp: see the postfix PCRE README Len _____________________________________________________________________ http://MenAndMice.com/DNS-training: New York; Seattle; Chicago IMGate.MEIway.com: anti-spam gateway, effective on 1000's of sites, free From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 17:29:09 2003 Return-Path: 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 6ADED37B401 for ; Mon, 9 Jun 2003 17:29:09 -0700 (PDT) Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE1843F85 for ; Mon, 9 Jun 2003 17:29:08 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 163A3EF42C for ; Tue, 10 Jun 2003 02:18:01 +0200 (CEST) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 83E4D5D008 for ; Tue, 10 Jun 2003 02:29:22 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id D6EE05D009 for ; Tue, 10 Jun 2003 02:29:15 +0200 (CEST) Received: from tx0-go2france-c.Go2France.com [24.242.169.51] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id ABB01C670038; Tue, 10 Jun 2003 02:52:00 +0200 Message-Id: <5.2.0.9.2.20030609192741.02027ce0@mail.go2france.com> X-Sender: LConrad@Go2France.com@mail.go2france.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 09 Jun 2003 19:28:53 -0500 To: freebsd-isp@freebsd.org From: Len Conrad In-Reply-To: <5.2.0.9.2.20030609191237.036d2920@mail.go2france.com> References: <001801c32e63$edd0a5e0$5264a8c0@jamieheckford> <3EE21F2A.6010807@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: Block exe files with Sendmail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 00:29:09 -0000 > >tpcre: is 10's of times more efficient than POSIX regexp: sorry, pcre: is 10's of times more efficient than POSIX regexp: Len _____________________________________________________________________ http://MenAndMice.com/DNS-training: New York; Seattle; Chicago IMGate.MEIway.com: anti-spam gateway, effective on 1000's of sites, free From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 23:15:57 2003 Return-Path: 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 4B03837B401 for ; Mon, 9 Jun 2003 23:15:57 -0700 (PDT) Received: from exhsto1.se.dataphone.com (exhsto1.se.dataphone.com [212.37.6.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0181143FE0 for ; Mon, 9 Jun 2003 23:15:56 -0700 (PDT) (envelope-from patrik.forsberg@dataphone.net) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Jun 2003 08:15:52 +0200 X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Updating Ports on Production Servers Thread-Index: AcMu37qHq+KyRJN7Q/qj+6W0xvrh3AANuA0Q From: "Patrik Forsberg" To: "Support" , "Lewis Watson" cc: freebsd-isp@freebsd.org Subject: RE: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 06:15:57 -0000 > > I am a big fan of the ports collection and use the ports to=20 > build the > > programs I use on our production servers. Now I am wanting=20 > to update some > > ports and have a chicken and egg issue. If I go ahead and=20 > update a port > > (pure-ftpd for example)... > > > > After I run "CVSUP portfile" the old version that's running has no > > graceful way of being removed. If I try to remove it I am=20 > notified that > > the version that is running is not on the machine so then I=20 > guess force > > the uninstall? Either that or just do a make - make install=20 > and overwrite > > the old port binaries with the new binaries ( this does not=20 > seem good > > either). > > > > It appears the only way to cleanly upgrade a port is to=20 > deinstall the > > current port. Run CVSUP portfile... and get the new port=20 > files... do a > > make - make install and get the new version of the port=20 > installed. This > > opens the machine to several minutes of downtime while the=20 > program is > > being made... (not good either) > > > > Please tell me the way that it's being handled on your=20 > servers/ network... What a "make deinstall" aculy does is a pkg_delete, so what you could do is a pkg_delete and then "make install" the new package. You could also install the package called "portupgrade", that can be found under "ports/sysutils", when you've installed this port you can simply do a "portupgrade " and it will take care of deinstalling the old port and installing the new one.=20 The bad part about using portupgrade is that you can't specify any "special" make parameters if you use any - perhaps I haven't dug deap enough into portupgrade to find out how but from what I've seen you can't. So if you use any make params to the port I'd surgest doing a "pkg_delete " and then "make install" it rather then using portupgrade. The good thing about portupgrade tho is that you can do a system-wide upgrade without knowing which packages that need to be upgraded. Regards, Patrik From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 23:30:02 2003 Return-Path: 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 84B3537B401 for ; Mon, 9 Jun 2003 23:30:02 -0700 (PDT) Received: from smtp-2.paradise.net.nz (smtp-2a.paradise.net.nz [202.0.32.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7989643F85 for ; Mon, 9 Jun 2003 23:30:00 -0700 (PDT) (envelope-from andy@fud.org.nz) Received: from [192.168.10.254] (203-79-110-29.cable.paradise.net.nz [203.79.110.29]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 953089EC40; Tue, 10 Jun 2003 18:29:59 +1200 (NZST) From: Andrew Thompson To: Patrik Forsberg In-Reply-To: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> References: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> Content-Type: text/plain Message-Id: <1055226876.12315.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 10 Jun 2003 18:34:37 +1200 Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org cc: Support Subject: RE: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 06:30:02 -0000 On Tue, 2003-06-10 at 18:15, Patrik Forsberg wrote: > > What a "make deinstall" aculy does is a pkg_delete, so what you could do > is a pkg_delete and then "make install" the new > package. > > The bad part about using portupgrade is that you can't specify any > "special" make parameters if you use any - perhaps I haven't dug deap > enough into portupgrade to find out how but from what I've seen you > can't. So if you use any make params to the port I'd surgest doing a > "pkg_delete " and then "make install" it rather then using > portupgrade. > Oh, you are quite mistaken. make args are one of its strong points :) Firstly you can use -m on the command line. But even better is pkgtools.conf where you can store the parameters permanently, no need to remember them or retype next time you upgrade. Here is a snippet from mine: MAKE_ARGS = { 'www/mozilla' => '-DWITH_GTK2' } Andy From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 23:34:49 2003 Return-Path: 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 0041237B401 for ; Mon, 9 Jun 2003 23:34:48 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57DBF43FAF for ; Mon, 9 Jun 2003 23:34:48 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23]) by attbi.com (sccrmhc02) with SMTP id <2003061006344700200dm1mde>; Tue, 10 Jun 2003 06:34:47 +0000 Date: Mon, 9 Jun 2003 23:34:46 -0700 (PDT) From: Doug Barton To: Patrik Forsberg In-Reply-To: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> Message-ID: <20030609232644.U23396@znfgre.qbhto.arg> References: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org cc: Support Subject: RE: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 06:34:49 -0000 If you're installing stuff on production servers, you probably want to build a package on a trusted system, then ship the package out to the production servers and use pkg_add/pkg_delete. Building ports on individual machines generally doesn't scale, and adding portupgrade to that mix is destined to complicate things rather dramatically. Hope this helps, Doug -- This .signature sanitized for your protection From owner-freebsd-isp@FreeBSD.ORG Tue Jun 10 06:25:27 2003 Return-Path: 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 E536737B401 for ; Tue, 10 Jun 2003 06:25:27 -0700 (PDT) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BEE143FCB for ; Tue, 10 Jun 2003 06:25:27 -0700 (PDT) (envelope-from lambert@lambertfam.org) Received: from laptop.lambertfam.org (laptop.int.lambertfam.org [10.1.0.2]) by mail.lambertfam.org (Postfix) with ESMTP id 5C14534D1F for ; Tue, 10 Jun 2003 09:25:25 -0400 (EDT) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id DA460896E; Tue, 10 Jun 2003 09:25:06 -0400 (EDT) Date: Tue, 10 Jun 2003 09:25:06 -0400 From: Scott Lambert To: freebsd-isp@freebsd.org Message-ID: <20030610132506.GA90654@laptop.lambertfam.org> Mail-Followup-To: freebsd-isp@freebsd.org References: <8F69143C0B1A9F4D95AFC58CF69877E501354AB0@exhsto1.se.dataphone.com> <20030609232644.U23396@znfgre.qbhto.arg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030609232644.U23396@znfgre.qbhto.arg> User-Agent: Mutt/1.4.1i Subject: Re: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 13:25:28 -0000 On Mon, Jun 09, 2003 at 11:34:46PM -0700, Doug Barton wrote: > If you're installing stuff on production servers, you probably want to > build a package on a trusted system, then ship the package out to the > production servers and use pkg_add/pkg_delete. Building ports on > individual machines generally doesn't scale, and adding portupgrade to > that mix is destined to complicate things rather dramatically. I NFS mount my ports tree. Using the build "-p -P" options to portupgrade, you build the package once, for whichever machine, and the next machine that needs it just grabs it from ports/packages/. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org From owner-freebsd-isp@FreeBSD.ORG Tue Jun 10 08:36:45 2003 Return-Path: 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 8CEA737B401 for ; Tue, 10 Jun 2003 08:36:45 -0700 (PDT) Received: from bill.infodev.ca (host3.infodev.ca [216.13.47.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id C552343FAF for ; Tue, 10 Jun 2003 08:36:44 -0700 (PDT) (envelope-from dpageau@infodev.ca) Received: from localhost (localhost.infodev.ca [127.0.0.1]) by bill.infodev.ca (Postfix) with ESMTP id 82AB62EB43; Tue, 10 Jun 2003 11:36:50 -0400 (EDT) Received: from bill.infodev.ca ([127.0.0.1]) by localhost (bill.infodev.ca [127.0.0.1:10024]) (amavisd-new) with ESMTP id 10906-06; Tue, 10 Jun 2003 11:36:50 -0400 (EDT) Received: from infodev.ca (host2.infodev.ca [216.13.47.2]) by bill.infodev.ca (Postfix) with ESMTP id 0A2A22EB3F for ; Tue, 10 Jun 2003 11:36:50 -0400 (EDT) Message-ID: <3EE5FA40.2020002@infodev.ca> Date: Tue, 10 Jun 2003 11:33:20 -0400 From: "D.Pageau" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Subject: broken port X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 15:36:45 -0000 I have cvsup my port collection, and one of the port I need is now broken. I have send an email to the port maintainer but now how do I go back to the latest working version. How do I get an older port? Thanks -- Dominic Pageau From owner-freebsd-isp@FreeBSD.ORG Tue Jun 10 10:09:38 2003 Return-Path: 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 6158237B401; Tue, 10 Jun 2003 10:09:38 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C0E343FBD; Tue, 10 Jun 2003 10:09:37 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from Admin02 (admin02.westbend.net [216.47.253.19]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h5AH9YTK067237; Tue, 10 Jun 2003 12:09:34 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <007f01c32f73$13d0ee70$13fd2fd8@Admin02> From: "Scot W. Hetzel" To: "D.Pageau" , "freebsd-ports" References: <3EE5FA40.2020002@infodev.ca> Date: Tue, 10 Jun 2003 12:07: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.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=0.5 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_05_08, USER_AGENT_OE version=2.43 X-Mailman-Approved-At: Tue, 10 Jun 2003 10:13:17 -0700 Subject: Re: broken port X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 17:09:38 -0000 From: "D.Pageau" > I have cvsup my port collection, and one of the port I need is now > broken. I have send an email to the port maintainer but now how do I go > back to the latest working version. How do I get an older port? > To go back to an earlier date you need to set the date in your cvsup file, according to the cvsup man page the format is: date=[cc]yy.mm.dd.hh.mm.ss This specifies a date that should be used to select the revi- sions that are checked out from the CVS repository. The client will receive the revisions that were in effect at the specified date and time. At present, the date format is inflexible. All 17 or 19 characters must be specified, exactly as shown. For the years 2000 and beyond, specify the century cc. For earlier years, specify only the last two digits yy. Dates and times are considered to be GMT. The default date is `.', which means ``as late as possible''. NOTE: you'll need to remove this settng later, when you want to get a current ports collection. If you let us know what problems your having with the port (on the ports mailing list), maybe some one here can help. Scot PS. Send all further replies to the ports mailing list From owner-freebsd-isp@FreeBSD.ORG Wed Jun 11 11:52:16 2003 Return-Path: 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 EADA737B401 for ; Wed, 11 Jun 2003 11:52:16 -0700 (PDT) Received: from mail.parperfeito.com.br (host-84.c8b96a.parperfeito.com.br [200.185.106.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A4C843F75 for ; Wed, 11 Jun 2003 11:52:16 -0700 (PDT) (envelope-from jfassad@parperfeito.com.br) Received: from 127.0.0.1 (support.parperfeito.com.br [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 4B773DC007 for ; Wed, 11 Jun 2003 15:52:13 -0300 (GMT+3) Received: from joao (unknown [200.185.115.130]) by mail.parperfeito.com.br (Postfix) with SMTP id 0E28BDC012 for ; Wed, 11 Jun 2003 15:52:12 -0300 (GMT+3) Message-ID: <020201c3304a$8fc5bd80$0402a8c0@joao> From: =?iso-8859-1?Q?Jo=E3o_Assad?= To: Date: Wed, 11 Jun 2003 15:52:05 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Transfer-Encoding: quoted-printable Subject: ipf/ipnat no memory problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 18:52:17 -0000 Hello guys, Does anybody have a clue on how to solve this problem ? firewall# ipfstat -s IP states added: 8950710 TCP 24299 UDP 4134 ICMP 1592473870 hits 3165269525 misses 6 maximum 650 no memory 9215 bkts in use 11005 active 29606 expired 8939070 closed firewall# ipnat -s mapped in 913470782 out 1028719022 added 59149802 expired 59056159 no memory 129676 bad nat 0 inuse 93643 rules 38 wilds 0 firewall# I am getting "no memory" in both ipf and ipnat. CPU: Pentium III/Pentium III Xeon/Celeron (802.72-MHz 686-class CPU) real memory =3D 134217728 (131072K bytes) avail memory =3D 127221760 (124240K bytes) ---------Relevant configurations---------- In /usr/src/sys/contrib/ipfilter/netinet/ip_state.h : # define IPSTATE_SIZE 30011 # define IPSTATE_MAX 21011 /* Maximum number of states held = */ Kernel options: maxusers 0 options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK options IPSTEALTH options VM_KMEM_SIZE_SCALE=3D"2" I dont have the netstat -m output of my peak time which is when the probl= em occurs, but right now its: firewall# netstat -m 269/912/6016 mbufs in use (current/peak/max): 269 mbufs allocated to data 265/594/1504 mbuf clusters in use (current/peak/max) 1416 Kbytes allocated to network (31% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines I would appreciate it if someone can give me some help in this issue, Im completely in the dark right now. Best regards, -- Jo=E3o Assad ParPerfeito Comunica=E7=E3o LTDA http://www.parperfeito.com.br/ From owner-freebsd-isp@FreeBSD.ORG Wed Jun 11 18:12:44 2003 Return-Path: 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 B24ED37B405 for ; Wed, 11 Jun 2003 18:12:44 -0700 (PDT) Received: from mail.2goons.net (2goons.net [216.27.161.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A2AD43FBD for ; Wed, 11 Jun 2003 18:12:43 -0700 (PDT) (envelope-from mwilliams@2goons.net) Received: (qmail 95750 invoked by uid 89); 11 Jun 2003 21:12:41 -0000 Received: from unknown (HELO admin.2goons.net) (mwilliams@216.27.161.249) by 2goons.net with SMTP; 11 Jun 2003 21:12:41 -0000 MIME-Version: 1.0 X-Mailer: V-webmail 1.5.0 ( http://www.v-webmail.co.uk/ ) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: In-Reply-To: <020201c3304a$8fc5bd80$0402a8c0@joao> References: <020201c3304a$8fc5bd80$0402a8c0@joao> Date: Wed, 11 Jun 2003 17:12:41 -0400 From: "MFW" To: =?ISO-8859-1?Q?Jo=E3o?= Assad , Subject: Re: ipf/ipnat no memory problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mwilliams@2goons.net List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 01:12:45 -0000 I will take a quick stab at it. First off, I would add this to your kernel: options NMBCLUSTERS=3D16384 That will give you more memory for network traffic. Looks like this server = is reaching its limits. you might want to give that a shot now and see if you = are running into the same problem tonight. I would also write a script that run= s at peak time to capture 'netstat -m'. Also, if this box is running any gig interfaces, I would crank the number above up to 32768 (Maximum value for NMBCLUSTERS). Just my 2 cents. Matt Jo=E3o Assad wrote: > Hello guys, >=20 > Does anybody have a clue on how to solve this problem ? >=20 > firewall# ipfstat -s > IP states added: > 8950710 TCP > 24299 UDP > 4134 ICMP > 1592473870 hits > 3165269525 misses > 6 maximum > 650 no memory > 9215 bkts in use > 11005 active > 29606 expired > 8939070 closed >=20 > firewall# ipnat -s > mapped in 913470782 out 1028719022 > added 59149802 expired 59056159 > no memory 129676 bad nat 0 > inuse 93643 > rules 38 > wilds 0 > firewall# >=20 > I am getting "no memory" in both ipf and ipnat. >=20 > CPU: Pentium III/Pentium III Xeon/Celeron (802.72-MHz 686-class CPU) > real memory =3D 134217728 (131072K bytes) > avail memory =3D 127221760 (124240K bytes) >=20 > ---------Relevant configurations---------- > In /usr/src/sys/contrib/ipfilter/netinet/ip_state.h : > # define IPSTATE_SIZE 30011 > # define IPSTATE_MAX 21011 /* Maximum number of states held = */ >=20 > Kernel options: > maxusers 0 > options IPFILTER > options IPFILTER_LOG > options IPFILTER_DEFAULT_BLOCK > options IPSTEALTH > options VM_KMEM_SIZE_SCALE=3D"2" >=20 > I dont have the netstat -m output of my peak time which is when the probl= em > occurs, but right now its: >=20 > firewall# netstat -m > 269/912/6016 mbufs in use (current/peak/max): > 269 mbufs allocated to data > 265/594/1504 mbuf clusters in use (current/peak/max) > 1416 Kbytes allocated to network (31% of mb_map in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines >=20 >=20 > I would appreciate it if someone can give me some help in this issue, Im > completely in the dark right now. >=20 > Best regards, >=20 > -- > Jo=E3o Assad > ParPerfeito Comunica=E7=E3o LTDA > http://www.parperfeito.com.br/ >=20 >=20 >=20 > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >=20 _________________________________________________________ This mail sent using V-webmail - http://www.v-webmail.org From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 07:51:16 2003 Return-Path: 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 2B55537B401 for ; Thu, 12 Jun 2003 07:51:16 -0700 (PDT) Received: from bellana.nc-rj.rnp.br (bellana.nc-rj.rnp.br [200.17.63.130]) by mx1.FreeBSD.org (Postfix) with SMTP id D055443F75 for ; Thu, 12 Jun 2003 07:51:13 -0700 (PDT) (envelope-from alex@rnp.br) Received: (qmail 51569 invoked by uid 0); 12 Jun 2003 14:51:11 -0000 Received: from kira.nc-rj.rnp.br (200.17.63.90) by 0 with SMTP; 12 Jun 2003 14:51:11 -0000 Received: (qmail 36879 invoked by uid 1013); 12 Jun 2003 14:51:10 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Jun 2003 14:51:10 -0000 Date: Thu, 12 Jun 2003 11:51:10 -0300 (EST) From: Alex Soares de Moura X-X-Sender: alex@kira.nc-rj.rnp.br To: =?iso-8859-1?Q?Jo=E3o_Assad?= In-Reply-To: <020201c3304a$8fc5bd80$0402a8c0@joao> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-isp@freebsd.org Subject: Re: ipf/ipnat no memory problem X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 14:51:16 -0000 Hello Jo=E3o, You can try testing (increasing) the kernel states below. The command below does the job: sysctl =3D net.inet.tcp.sendspace net.inet.tcp.recvspace net.inet.udp.recvspace net.inet.raw.maxdgram net.inet.raw.recvspace example: sysctl net.inet.tcp.sendspace =3D 32768 Alex -- RNP - Rede Nacional de Ensino e Pesquisa - http://www.rnp.br/ On Wed, 11 Jun 2003, Jo=E3o Assad wrote: > Hello guys, > > Does anybody have a clue on how to solve this problem ? > > firewall# ipfstat -s > IP states added: > 8950710 TCP > 24299 UDP > 4134 ICMP > 1592473870 hits > 3165269525 misses > 6 maximum > 650 no memory > 9215 bkts in use > 11005 active > 29606 expired > 8939070 closed > > firewall# ipnat -s > mapped in 913470782 out 1028719022 > added 59149802 expired 59056159 > no memory 129676 bad nat 0 > inuse 93643 > rules 38 > wilds 0 > firewall# > > I am getting "no memory" in both ipf and ipnat. > > CPU: Pentium III/Pentium III Xeon/Celeron (802.72-MHz 686-class CPU) > real memory =3D 134217728 (131072K bytes) > avail memory =3D 127221760 (124240K bytes) > > ---------Relevant configurations---------- > In /usr/src/sys/contrib/ipfilter/netinet/ip_state.h : > # define IPSTATE_SIZE 30011 > # define IPSTATE_MAX 21011 /* Maximum number of states held = */ > > Kernel options: > maxusers 0 > options IPFILTER > options IPFILTER_LOG > options IPFILTER_DEFAULT_BLOCK > options IPSTEALTH > options VM_KMEM_SIZE_SCALE=3D"2" > > I dont have the netstat -m output of my peak time which is when the probl= em > occurs, but right now its: > > firewall# netstat -m > 269/912/6016 mbufs in use (current/peak/max): > 269 mbufs allocated to data > 265/594/1504 mbuf clusters in use (current/peak/max) > 1416 Kbytes allocated to network (31% of mb_map in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines > > > I would appreciate it if someone can give me some help in this issue, Im > completely in the dark right now. > > Best regards, > > -- > Jo=E3o Assad > ParPerfeito Comunica=E7=E3o LTDA > http://www.parperfeito.com.br/ > > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > -- Alex Soares de Moura RNP - Rede Nacional de Ensino e Pesquisa | http://www.rnp.br/ +55 21 3205-9666 Tel +55 21 3205-9660 Fax From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:10:46 2003 Return-Path: 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 8C1B937B401 for ; Thu, 12 Jun 2003 10:10:46 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id B6E2E43F85 for ; Thu, 12 Jun 2003 10:10:45 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 22923 invoked from network); 12 Jun 2003 17:10:44 -0000 Received: from athei53-a-157.otenet.gr (HELO computer) (PsYxAk?aS@62.103.210.157) by web1.subnetmask.net with SMTP; 12 Jun 2003 17:10:44 -0000 Message-ID: <000a01c33105$8e4e4ec0$152ea8c0@computer> From: "PsYxAkIaS (FreeBSD)" To: Date: Thu, 12 Jun 2003 20:10:39 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: cannot reboot from a script ran by root's crontab X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:10:46 -0000 Hello $ cat /usr/sbin/checkre #!/bin/bash mkdir /tmp/reboot reboot now $ crontab -l 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/sbin/checkre >/dev/null = 2>&1 $ whoami root when the time comes, it makes the directory /tmp/reboot but it doesnt = 'reboot now'. Is this a security issue that forbids FreeBSD to reboot from a script = running by root's crontab? if yes, how can i bypass it? Thanks. From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:17:07 2003 Return-Path: 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 2FDEF37B401 for ; Thu, 12 Jun 2003 10:17:07 -0700 (PDT) Received: from hexagon.stack.nl (hexagon.stack.nl [131.155.140.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EE5343FB1 for ; Thu, 12 Jun 2003 10:17:06 -0700 (PDT) (envelope-from dean@dragon.stack.nl) Received: by hexagon.stack.nl (Postfix, from userid 65534) id 23E461C4C; Thu, 12 Jun 2003 19:17:05 +0200 (CEST) Received: from dragon.stack.nl (dragon.stack.nl [2001:610:1108:5011:207:e9ff:fe09:230]) by hexagon.stack.nl (Postfix) with ESMTP id D59B51C38; Thu, 12 Jun 2003 19:17:00 +0200 (CEST) Received: by dragon.stack.nl (Postfix, from userid 1600) id CC2465F187; Thu, 12 Jun 2003 19:17:00 +0200 (CEST) Date: Thu, 12 Jun 2003 19:17:00 +0200 From: Dean Strik To: "PsYxAkIaS (FreeBSD)" Message-ID: <20030612171700.GA64585@dragon.stack.nl> References: <000a01c33105$8e4e4ec0$152ea8c0@computer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c33105$8e4e4ec0$152ea8c0@computer> X-Editor: VIM Rulez! http://www.vim.org/ X-MUD: Outerspace - telnet://mud.stack.nl:3333 X-Really: Yes User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-isp@freebsd.org Subject: Re: cannot reboot from a script ran by root's crontab X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:17:07 -0000 PsYxAkIaS (FreeBSD) wrote: > Hello > > $ cat /usr/sbin/checkre > #!/bin/bash You have a /bin/bash? Use /bin/sh instad. > mkdir /tmp/reboot > reboot now > $ crontab -l 0,5,10,15,20,25,30,35,40,45,50,55 * * * * > /usr/sbin/checkre >/dev/null 2>&1 > > $ whoami root > > when the time comes, it makes the directory /tmp/reboot but it doesnt > 'reboot now'. > > > Is this a security issue that forbids FreeBSD to reboot from a script > running by root's crontab? if yes, how can i bypass it? The reboot binary is in /sbin. Which is not in your PATH. Either set PATH in the crontab, or edit the checkre script to use /sbin/reboot instead. Root should have the errors in it's mail btw... -- Dean C. Strik Eindhoven University of Technology dean@stack.nl | dean@ipnet6.org | http://www.ipnet6.org/ "This isn't right. This isn't even wrong." -- Wolfgang Pauli From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:28:53 2003 Return-Path: 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 5843837B401 for ; Thu, 12 Jun 2003 10:28:53 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 9128F43F85 for ; Thu, 12 Jun 2003 10:28:52 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 24010 invoked from network); 12 Jun 2003 17:28:51 -0000 Received: from athe535-a225.otenet.gr (HELO computer) (62.103.188.225) by bofh.reverse.net with SMTP; 12 Jun 2003 17:28:51 -0000 Message-ID: <002801c33108$1592fdc0$162ea8c0@computer> From: "PsYxAkIaS (FreeBSD)" To: Date: Thu, 12 Jun 2003 20:28:45 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: THANKS, FIXED - Re: cannot reboot from a script ran by root's crontab X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:28:53 -0000 Thanks both Dean and Jan. It worked great! I wasnt receiving email from the crontab because i had > /dev/null 2>&1 = at the end of the crontab line My mind was stuck to think that crontab may be using different path than = my shell. PS: what a fast response, you both responded in less than 10 minutes From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:36:05 2003 Return-Path: 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 612AF37B401 for ; Thu, 12 Jun 2003 10:36:05 -0700 (PDT) Received: from mail.nortenet.pt (mar.nortenet.pt [212.13.32.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7061243FBF for ; Thu, 12 Jun 2003 10:36:03 -0700 (PDT) (envelope-from guilherme@nortenet.pt) Received: from nortenet.pt (mail.nortenet.pt [212.13.32.243]) by mail.nortenet.pt (8.11.1/8.11.1) with SMTP id h5CHYnB26720; Thu, 12 Jun 2003 18:34:49 +0100 From: "Guilherme Oliveira" Sender: guilherme@nortenet.pt To: freebsd-isp@freebsd.org X-CC-Sender: guilherme@nortenet.pt Date: Thu, 12 Jun 2003 18:34:49 gmt X-Mailer: DMailWeb Web to Mail Gateway 2.5e, http://netwinsite.com/top_mail.htm Message-id: <3ee8b9b9.685c.0@nortenet.pt> X-User-Info: 81.193.98.132 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: [help] adsl with fixed ip's + natd X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: guilherme@nortenet.pt List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:36:05 -0000 Hi ! I'm having some problems configuring my DMZ with adsl fixes ip's. My ISP give to me 1 ip for the connection fase (213.13.123.140) and others ip for my netroking needs (213.13.121.72/29) My modem connects very well (looking ppp.log), I was pinging once but didn't nat. Now it does nothing ! dmesg shows: natd: tun0: Cannot get interface address pinging some valid ip from internet: ping: no route to host netstat -nr Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#2 UC 0 0 xl1 192.168.1 link#3 UC 0 0 xl2 213.13.121.74/32 link#1 UC 0 0 xl3 ppp.conf: default: set device PPPoE:xl0 set speed sync set mru 1492 set mtu 1492 set ctsrts off enable lqr set log phase tun set ifaddr 213.13.123.140 213.13.121.73 255.255.255.248 add default HISADDR enable dns isp: set authname USERNAME set authkey PASSWORD rc.conf: firewall_enable="YES" firewall_type="open" natd_enable="YES" natd_interface="tun0" ifconfig_xl0="up" ifconfig_xl1="inet 192.168.0.1 netmask 255.255.255.0" # desktop network ifconfig_xl2="inet 192.168.1.1 netmask 255.255.255.0" # server network ifconfig_xl0_alias0="inet 213.13.121.74 netmask 255.255.255.255" # for port forward to 192.168.1.2 ifconfig_xl0_alias1="inet 213.13.121.75 netmask 255.255.255.255" # for port forward to 192.168.1.3 ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="isp" defaultrouter="NO" static_routes="" gateway_enable="YES" router_enable="NO" From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 10:58:39 2003 Return-Path: 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 515A837B401 for ; Thu, 12 Jun 2003 10:58:39 -0700 (PDT) Received: from vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3187F43F3F for ; Thu, 12 Jun 2003 10:58:38 -0700 (PDT) (envelope-from ericx@vineyard.net) Received: from localhost (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id 80BBD9207B; Thu, 12 Jun 2003 13:58:37 -0400 (EDT) Received: from vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 99125-08; Thu, 12 Jun 2003 13:58:37 -0400 (EDT) Received: from fortiva (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id 0BDCD91E13; Thu, 12 Jun 2003 13:58:37 -0400 (EDT) Message-ID: <05d501c3310c$1030ad60$68c311cc@fortiva> From: "Eric W. Bates" To: "Scott Gerhardt" References: Date: Thu, 12 Jun 2003 13:57:16 -0400 Organization: Vineyard.NET, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: base64 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS at Vineyard.NET cc: freebsd-isp@freebsd.org Subject: Re: Mirroring Solution X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 17:58:39 -0000 DQotLS0tLSBPcmlnaW5hbCBNZXNzYWdlIC0tLS0tIA0KRnJvbTogIlNjb3R0IEdlcmhhcmR0IiA8 c2NvdHRAZy1pdC5jYT4NClRvOiA8ZnJlZWJzZC1pc3BAZnJlZWJzZC5vcmc+DQpTZW50OiBTYXR1 cmRheSwgSnVuZSAwNywgMjAwMyAyOjQ2IFBNDQpTdWJqZWN0OiBNaXJyb3JpbmcgU29sdXRpb24N Cg0KDQo+IA0KPiBEb2VzIGFueW9uZSBrbm93IG9mIGEgZ29vZCB3YXkgdG8gbWlycm9yIHR3byBz ZXJ2ZXJzIHJ1bm5pbmcgQXBhY2hlLCBQSFAgYW5kDQo+IE15U1FMIG9uIEZyZWVCU0QgNC44Pw0K PiANCj4gVGhlIGlkZWFsIHNvbHV0aW9uIHdvdWxkIGJlIHJlYWwtdGltZSAoc3luY2hyb25vdXMp IG9yIG5lYXItcmVhbC10aW1lDQo+IG1pcnJvcmluZy4gIFRoZSBmYWlsb3ZlciB0cmFuc2ZlciBp cyBhbHJlYWR5IHRha2VuIGNhcmUgb2YuDQo+IA0KPiBJIHRoaW5rIFJzeW5jIHJ1biBmcm9tIGNy b24gd291bGQgZG8gYSBnb29kIGpvYiBvZiBzeW5jaW5nIHRoZSByZWxhdGl2ZWx5DQo+IHN0YXRp YyBmaWxlcyAoY29uZmlncywgcGhwIHNjcmlwdHMgZXRjLikuICBJIGRvbid0IHRoaW5rIFJzeW5j IHdvdWxkIGJlIGENCj4gZ29vZCB3YXkgb2YgbWlycm9yaW5nIHRoZSBNeVNRTCBEQiB0aG91Z2gu ICBGb3IgdGhhdCwgSSdtIHRoaW5raW5nIG9mIHVzaW5nDQo+IE15U1FMJ3MgYnVpbHQgaW4gcmVw bGljYXRpb24uDQoNCllvdSBhcmUgY29ycmVjdC4gIFN5bmNpbmcgbGl2ZSBteXNxbCBkYXRhIGZp bGVzIGlzIGEgYmFkIGlkZWEuIEF0IGFueSBnaXZlbiBpbnN0YW50IHRoZXkgY2Fubm90IHJlYWxs eSBiZSBjb25zaWRlcmVkIHRvIGJlIGluIGEgY29uc2lzdGVudCBzdGF0ZSBiZWNhdXNlIHNvIG11 Y2ggaW5mb3JtYXRpb24gaXMgaW4gbWVtb3J5LiAgSWYgeW91IHdhbnQgdG8gcGh5c2ljYWxseSBj b3B5IGZpbGVzLCBteXNxbGhvdGNvcHkgZG9lcyBhIHByZXR0eSBnb29kIGpvYi4gIEhvd2V2ZXIs IHdlIGhhdmUgZm91bmQgdGhhdCB1c2luZyByZXBsaWNhdGlvbiAodiA0J3MgY2lyY3VsYXIgcmVw bGljYXRpb24gaXMgYSBiaWcgaW1wcm92ZW1lbnQpIGFsbG93cyB1cyB0byBydW4gbXlzcWxob3Rj b3B5IG9uIHRoZSBiYWNrdXAgbWFjaGluZSByYXRoZXIgdGhhbiB0aGUgbGl2ZSBvbmUgKHdlIGRv IGEgaG90IGR1bXAgZXZlcnkgMTUgbWludXRlcykuIElmIHlvdSBoYXZlIHRvIHJlc3RvcmUgZnJv bSB0YXBlLCB5b3Ugd2lsbCBuZWVkIGEgZHVtcC4NCg0KTkI6IHJlcGxpY2F0aW9uIGlzIGNsZWFy LXRleHQuICh0aGUgbXlzcWwgdjQgZG9jcyBzYXkgIm5vIHNzbCBmb3IgcmVwbGljYXRpb24geWV0 IikgIFdlIHVzZSBzdHVubmVsIHRvIG9ic2N1cmUgdGhpbmdzLg0KDQpUaGVyZSBpcyBhIHByb2Js ZW0gd2l0aCByc3luYyB3aGVuIHRoZSBsaXN0IG9mIGZpbGVzIHRvIHJlcGxpY2F0ZSBncm93cyB0 b28gbG9uZy4gIFdlIG5ldmVyIHJlYWxseSBuYWlsZWQgaXQgZG93bjsgYnV0IGlmIHlvdSBhdHRl bXB0IHRvIHJzeW5jIC91c3IsIGl0IHdpbGwgcHJvYmFibHkgZmFpbC4gIFdoYXQgd2Ugc2VlIGlz IHRoZSBzZW5kaW5nIHZlcnNpb24gb2YgcnN5bmMgZXZlbnR1YWxseSB0aW1pbmcgb3V0IHdoaWxl IHdhaXRpbmcgZm9yIHRoZSByZWNlaXZpbmcgY29weTsgbWVhbndoaWxlIHRoZSByZWNlaXZpbmcg Y29weSBlbmRzIHVwIGh1bmcgd2l0aCBubyB2aXNpYmxlIGVycm9ycy4gIE91ciB3b3JrLWFyb3Vu ZCB3YXMgYSBsaXR0bGUgbWV0YSBzY3JpcHQgd2l0aCBhIGNvbmZpZyBmaWxlIGxpc3Rpbmcgd2hp Y2ggdHJlZXMgc2hvdWxkIGJlIHN5bmNlZCBiZXR3ZWVuIHdoaWNoIG1hY2hpbmVzOyBhbmQgaXQg cnVucyBzbWFsbGVyIHJzeW5jIGpvYnMgaW4gc2VxdWVuY2UuICBPZGRseSBlbm91Z2gsIHdlIHJh biBpbnRvIHNpbWlsYXIgZmFpbHVyZSBtb2RlcyB3aXRoIHJkaXN0IGFuZCB1bmlzb24uDQoNCj4g SSB0aGluayBkdW1waW5nIHRoZSBNeVNRTCBkYXRhIGFuZCBpbXBvcnRpbmcgaW50byB0aGUgc2xh dmUgd291bGQgYmUgYSBiaXQNCj4gY2x1bXN5IGFuZCBzbG93IGVzcGVjaWFsbHkgd2hlbiB0aGUg REIgZ3Jvd3MgcXVpdGUgbGFyZ2UuDQo+IA0KPiBEb2VzIGFueW9uZSBvbiB0aGUgbGlzdCBoYXZl IGFueSByZWNvbW1lbmRhdGlvbnMgb3IgZXhwZXJpZW5jZSB3aXRoDQo+IG1pcnJvcmluZyBvZiB0 aGlzIHR5cGU/DQo+IA0KPiBBbnkgb3RoZXIgcmVjb21tZW5kYXRpb25zIGJlc2lkZXMgUnN5bmMg KyBNeVNRTCByZXBsaWNhdGlvbj8NCj4gDQo+IA0KPiANCj4gVGhhbmtzLA0KPiANCj4gDQo+IC0t IA0KPiBTY290dCBHZXJoYXJkdCwgUC5HZW8uDQo+IEdlcmhhcmR0IEluZm9ybWF0aW9uIFRlY2hu b2xvZ2llcyBbRy1JVF0NCj4gDQo+IA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fXw0KPiBmcmVlYnNkLWlzcEBmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QN Cj4gaHR0cDovL2xpc3RzLmZyZWVic2Qub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWJzZC1pc3AN Cj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwgdG8gImZyZWVic2QtaXNwLXVuc3Vic2Ny aWJlQGZyZWVic2Qub3JnIg0KPiA= From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 12:20:18 2003 Return-Path: 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 6741337B435 for ; Thu, 12 Jun 2003 12:20:18 -0700 (PDT) Received: from opium.co.za (opium.co.za [196.34.165.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4988643FBD for ; Thu, 12 Jun 2003 12:20:17 -0700 (PDT) (envelope-from mark@opium.co.za) Received: from mark (helo=localhost) by opium.co.za with local-esmtp (Exim 4.12) id 19QXcJ-0000Ba-00 for freebsd-isp@freebsd.org; Thu, 12 Jun 2003 21:20:11 +0200 Date: Thu, 12 Jun 2003 21:20:11 +0200 (SAST) From: Mark Bojara X-X-Sender: mark@opium.co.za To: freebsd-isp@freebsd.org In-Reply-To: <3ee8b9b9.685c.0@nortenet.pt> Message-ID: <20030612211810.X314-100000@opium.co.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: mark Subject: QoS for FreeBSD X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 19:20:18 -0000 Hello All, Im looking for a CBQ based QoS for FreeBSD something that will work properly on a tun0 device. Currently ALTQ is the only option I have found wich works very nice but doesnt work properly for tun0 devices (userland-ppp). Does anybody have any recommendations of software I could try? Ive heard that OpenBSD's pf should be incorporated to FreeBSD wich offers QoS (ALTQ) is this true? Thanks Mark From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 12:40:13 2003 Return-Path: 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 EE31A37B404; Thu, 12 Jun 2003 12:40:13 -0700 (PDT) Received: from Chow.corp.media.net (rottie.media.net [66.113.65.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 516B243F3F; Thu, 12 Jun 2003 12:40:13 -0700 (PDT) (envelope-from max.clark@media.net) Received: from media5wfh126d9 (76.0.6.10.IN-ADDR.ARPA [10.6.0.76]) by Chow.corp.media.net (Netscape Messaging Server 4.15) with SMTP id HGDVSN00.71W; Thu, 12 Jun 2003 12:36:23 -0700 From: "Max Clark" To: , Date: Thu, 12 Jun 2003 12:44:17 -0700 Message-ID: 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 IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: 3+ TB Storage... CCD, growfs, etc... X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 19:40:14 -0000 Hi all, I am looking at the promise ultratrak RM 15000 (http://www.promise.com/product/product_detail_eng.asp?productId=109&familyI d=6) Raid appliance with a 3TB disk configuration. This box connects to the host with a SCSI 160 interface which is no problem, and as I understand it UFS2 is 64 bit so I am not constrained by a 2TB filesystem limit. The smallest size file on this box will be 11GB, and there will be lots of them. My questions are. 1) What is the maximum filesystem size with UFS2? Are there any special tuning parameters that I should be aware of that will better optimize the disk? 2) How much CPU/Ram would be suggested per TB of disk attached? 3) If I wanted to eventually strip two+ of these external boxes what would I need to do? Given this configuration would Vinum or CCD be better? Why? Oh... and this will be running Samba to serve these files to windows pc's over 1Gb copper ethernet. Thanks in advance, Max From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 12:47:11 2003 Return-Path: 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 1210B37B401 for ; Thu, 12 Jun 2003 12:47:11 -0700 (PDT) Received: from vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4043B43F85 for ; Thu, 12 Jun 2003 12:47:10 -0700 (PDT) (envelope-from ericx@vineyard.net) Received: by vineyard.net (Postfix, from userid 0) id A8F9F91F68; Thu, 12 Jun 2003 15:47:09 -0400 (EDT) To: Andrew Thompson , Patrik Forsberg From: Eric W.Bates Sender: Eric W.Bates Date: Thu, 12 Jun 2003 15:47:09 -0400 Message-Id: <20030612194709.A8F9F91F68@vineyard.net> cc: freebsd-isp@freebsd.org Subject: Re: Updating Ports on Production Servers X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 19:47:11 -0000 If you feel you have to avoid portupgrade (it's a wonderful tool, but it doesn't work on new machines until you have built it), you can create a /usr/ports/../Makefile.inc and have it include your own make.conf. It would seem that using /usr/ports/Makefile.local would be a good way to do this; but it is only included during the pre-makefile period of the build and consequently, won't quite work if the flags you want to set have to be individual for each port (e.g. ${CONFIGURE_ARGS}). /usr/ports/../Makefile.inc is included during both the pre-makefile and post-makefile phases. Caveat: I have no idea why the ports gurus are including ${MASTERDIR}/../Makefile.inc in /usr/ports/Mk/bsd.port.mk; so I can't intelligently promise that this mechanism will continue to work. # -*- makefile -*- # $Id: Makefile.inc,v 1.2 2002/08/28 15:51:12 ericx Exp $ # # $Log: Makefile.inc,v $ # Revision 1.2 2002/08/28 15:51:12 ericx # Check-in for ASC # Also added comments and emacs directive # # Revision 1.1 2002/03/19 15:07:59 asc # Initial revision # # file is loaded up via what may be an oddity in the Mk configuration # files in /usr/ports/Mk/bsd.port.mk AFTER all the variables are set # in the various Makefiles. Unlike /etc/make.conf, this gives an # opportunity to override settings in port Makefiles. # This requires a flag be set in /etc/make.conf .if defined(VNIAFTERPORTMK) && ${VNIAFTERPORTMK} == YES .if exists(/etc/make.conf.vni) # But if the flag is set, and the file exists, pull it in. .include .endif .undef VNIAFTERPORTMK .endif # -*- makefile -*- # File: make.conf.vni # Author: Charlie Root, ericx@vineyard.net # Date: Thu Jan 3 00:34:51 2002 # Time-stamp: <2003-05-18 10:44:51 ericx> # Description: Setting variable in /etc/make.conf is not optimal # because those variables are read very early in the # compilation process and anything can be overridden in # the various Makefiles embedded in the ports # system. Nor can variables in /etc/make.conf be set on # a per-port basis, because at the time it is read # ${PORTNAME} has not been set. # # This file is read in at the END of make's parsing phase # after all other Makefiles have been # included. Conditional variables can be can be set # based on ${PORTNAME} and decisions made by the port's # maintainer can be overridden. # # See also: /etc/make.conf, /usr/Makfile.inc, /usr/ports/Mk # # # $Id: make.conf.vni,v 1.11 2003/05/18 14:56:07 ericx Exp $ # $Log: make.conf.vni,v $ # Revision 1.11 2003/05/18 14:56:07 ericx # Removed redundant php4 entry. # Adjusted php4 entry to use port's configure mechanism. # Removed OpenLDAP2 option because it causes httpd to core dump. No # idea why. # # Revision 1.10 2003/05/14 18:50:04 ericx # Please be careful. This makefile is NOT exclusive to the ports tree; # but is used system wide by all compiles including buildworld. # # Patched conditionals for mod_php4 and imp3 so they won't barf for # non-ports compiles. # # Revision 1.9 2003/04/23 14:56:22 asc # Added bugzilla entry. # # Revision 1.8 2003/04/18 16:04:18 theqblas # Added imp3 flags # # Revision 1.7 2003/04/18 16:02:44 theqblas # Added mod_php4 configure args. # .if defined(VNIAFTERPORTMK) HOSTNAME?= /bin/hostname .if defined(PORTNAME) && ${PORTNAME} == perl # Per the INSTALL docs this needs to be a colon-separated # list of paths. If someone else knows how to do that spanning # multiple lines, please go nuts. # Note we are only including the site_perl directories to # try and prevent any weirdness with the core libraries. # Note also that we are *not* including the ${PERL_ARCH} # directory which gets automagically included. Dunno. CONFIGURE_ARGS+= -Dotherlibdirs=${PREFIX}/lib/perl5/site_perl/5.005 .endif # End of perl port configs .if defined(PORTNAME) && ${PORTNAME} == bugzilla # Need to find some way to patch the default # patch for checksetup.pl to set webservergroup # as 'http'. I don't know how to do this; there # is an entry in bugzilla... .endif # End of 'bugzilla' .if defined(PORTNAME) && ${PORTNAME} == apache+mod_ssl # We disable the use of apache's built-in expat-lite because it makes # using anything that uses the XML::Parser package in a mod_perl # context impossible. CONFIGURE_ARGS+= --disable-rule=EXPAT .endif # End of apache+mod_ssl port configs .if defined(PORTNAME) && ${PORTNAME} == mod_dav CONFIGURE_ARGS+= --with-expat=/usr/local .endif # End of mod_dav .if defined(PORTNAME) && ${PORTNAME} == mod_php4 # This is to preempt the interactive menu normally used by the php # port. # The mod_php4 port uses PHP4_OPTIONS to set a number of compile # options (including dependencies). Only setting CONFIGURE_ARGS for # these skips the dependencies and other make linkages; so unless you # want to look them all up and do them by hand too, just set # PHP4_OPTIONS above. The code that runs all this is found in # /usr/ports/www/mod_php4/scripts/configure.php. No, I don't really # grok the need for the escaped quotes... SCRIPTS_ENV+= BATCH=yes # as of mod_php4 4.3.1, the compile with openldap 2.0 builds ok; but # the resultant httpd won't run (no errors; just a core) PHP4_OPTIONS= \ \"zlib\" \ \"mcrypt\" \ \"IMAP\" \ \"IMAP-SSL\" \ \"MySQL\" \ \"OpenSSL\" \ \"XML\" \ \"DOMXML\" \ \"FTP\" \ \"gettext\" \ \"MCAL\" # \"OpenLDAP2\" \ CONFIGURE_ARGS+= \ --enable-memory-limit \ --enable-safe-mode # mod_php4 .endif ## IMP flags .if defined(PORTNAME) && ${PORTNAME} == imp3 # Don't require an IMAP server to exist on this machine WITHOUT_IMAPSERVER=yes # imp3 .endif .if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == p5- # this is a context for (hopefully) all perl5 modules MAKE_ARGS+= UNINST=1 #.error the var = ${CONFIGURE_ENV} .endif # p5- modules .endif # End of VNIAFTERPORTMK ----- Original Message ----- From: "Andrew Thompson" To: "Patrik Forsberg" Cc: ; "Support" Sent: Tuesday, June 10, 2003 2:34 AM Subject: RE: Updating Ports on Production Servers > On Tue, 2003-06-10 at 18:15, Patrik Forsberg wrote: > > > > What a "make deinstall" aculy does is a pkg_delete, so what you could do > > is a pkg_delete and then "make install" the new > > package. > > > > The bad part about using portupgrade is that you can't specify any > > "special" make parameters if you use any - perhaps I haven't dug deap > > enough into portupgrade to find out how but from what I've seen you > > can't. So if you use any make params to the port I'd surgest doing a > > "pkg_delete " and then "make install" it rather then using > > portupgrade. > > > > Oh, you are quite mistaken. make args are one of its strong points :) > > Firstly you can use -m on the command line. But even better is > pkgtools.conf where you can store the parameters permanently, no need to > remember them or retype next time you upgrade. > > Here is a snippet from mine: > MAKE_ARGS = { > 'www/mozilla' => '-DWITH_GTK2' > } > > > Andy > From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 14:09:07 2003 Return-Path: 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 D928A37B404 for ; Thu, 12 Jun 2003 14:09:07 -0700 (PDT) Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 425B143FCB for ; Thu, 12 Jun 2003 14:09:07 -0700 (PDT) (envelope-from munk@mail.munk.nu) Received: from munk by mail.munk.nu with local (Exim 4.20) id 19QZJi-000Oe5-BB for freebsd-isp@freebsd.org; Thu, 12 Jun 2003 22:09:06 +0100 Date: Thu, 12 Jun 2003 22:09:06 +0100 From: Jez Hancock To: freebsd-isp@freebsd.org Message-ID: <20030612210906.GB92182@users.munk.nu> Mail-Followup-To: freebsd-isp@freebsd.org References: <000a01c33105$8e4e4ec0$152ea8c0@computer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c33105$8e4e4ec0$152ea8c0@computer> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: cannot reboot from a script ran by root's crontab X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 21:09:08 -0000 On Thu, Jun 12, 2003 at 08:10:39PM +0300, PsYxAkIaS (FreeBSD) wrote: > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/sbin/checkre >/dev/null 2>&1 */5 * * * * /usr/sbin/checkre >/dev/null 2>&1 Saves a bit of typing :) Something like: */5 * * * * root /sbin/reboot in /etc/crontab should work. Regards, Jez From owner-freebsd-isp@FreeBSD.ORG Thu Jun 12 23:36:59 2003 Return-Path: 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 71AFA37B401 for ; Thu, 12 Jun 2003 23:36:59 -0700 (PDT) Received: from surfeu.fi (mailbox.surfeu.fi [213.173.154.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8975B43FE0 for ; Thu, 12 Jun 2003 23:36:58 -0700 (PDT) (envelope-from vezku@surfeu.fi) Received: from [213.173.154.9] (HELO surfeu.fi) by surfeu.fi (CommuniGate Pro SMTP 3.4.1) with SMTP id 43215305 for freebsd-isp@freebsd.org; Fri, 13 Jun 2003 09:36:57 +0300 Received: from 62.142.81.6 (SquirrelMail authenticated user vezku) by redbull.tiscali.fi with HTTP; Fri, 13 Jun 2003 09:35:40 +0300 (EEST) Message-ID: <4490.62.142.81.6.1055486140.squirrel@redbull.tiscali.fi> Date: Fri, 13 Jun 2003 09:35:40 +0300 (EEST) From: To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.11) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: enteprise account management X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 06:36:59 -0000 Hi all, I'm planning to run FreeBSD on a system with +5000 shell/mail accounts. What account management solutions are available? New account applications will be made via a web form so this feature would be good. Am I stuck with making my own scripts? Are there any good commercial systems out there? I've heard about Novell solutions, but they are damn expensive. Thanks. -Vesa UNIX SysAdmin P.S. this would be a good topic to add in handbook user account section..."When adduser is not enough" :-) From owner-freebsd-isp@FreeBSD.ORG Fri Jun 13 07:04:13 2003 Return-Path: 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 BD57337B401 for ; Fri, 13 Jun 2003 07:04:13 -0700 (PDT) Received: from fep2.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF3C243FCB for ; Fri, 13 Jun 2003 07:04:12 -0700 (PDT) (envelope-from tom@dwyers.ca) Received: from tom (d235-131-219.home1.cgocable.net [24.235.131.219]) by fep2.cogeco.net (Postfix) with SMTP id 8554ED3F for ; Fri, 13 Jun 2003 10:04:11 -0400 (EDT) Message-ID: <000e01c331b5$76e29bf0$020010ac@protechnologies> From: "Thomas Dwyer" To: Date: Fri, 13 Jun 2003 10:08:45 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: MySQL / Courier-IMAP / Postfix / sqWebMail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 14:04:14 -0000 Hello; I have installed the latest ports for: MySQL, Postfix, Courier-IMAP and sqWebMail I am using MySQL Authentication for Postfix and Courier-IMAP. I can send and receive email to virtual users using Postfix, and I can = login with an IMAP client (Outlook Express) and read the folders, no = problems. However when I try to login using sqWebMail it times out. The message in the Browser says: Invalid User ID or Password The message in the logs says: Jun 13 09:49:35 freebsd sqwebmail: authdaemon: s_connect() failed: = Operation timed out Documentation seems to indicate that sqWebmail uses the same authdaemon = that Courier-IMAP uses, so there is no need to start another. Can someone shed some light on this? Thanks Tom From owner-freebsd-isp@FreeBSD.ORG Fri Jun 13 07:22:55 2003 Return-Path: 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 AF69C37B401 for ; Fri, 13 Jun 2003 07:22:55 -0700 (PDT) Received: from accounts.amigo.net (mail.amigo.net [209.94.64.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC99043F75 for ; Fri, 13 Jun 2003 07:22:54 -0700 (PDT) (envelope-from randys@amigo.net) Received: from stalker.amigo.net ([209.94.67.250]) by accounts.amigo.net with esmtp; Fri, 13 Jun 2003 08:22:53 -0600 Date: Fri, 13 Jun 2003 08:23:46 -0600 (MDT) From: Randy Smith X-X-Sender: randy@stalker.amigo.net To: Thomas Dwyer In-Reply-To: <000e01c331b5$76e29bf0$020010ac@protechnologies> Message-ID: <20030613082018.O1202-100000@stalker.amigo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: "freebsd-isp@freebsd.org" Subject: Re: MySQL / Courier-IMAP / Postfix / sqWebMail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 14:22:56 -0000 On Fri, 13 Jun 2003, Thomas Dwyer wrote: > Date: Fri, 13 Jun 2003 10:08:45 -0400 > From: Thomas Dwyer > To: "freebsd-isp@freebsd.org" > Subject: MySQL / Courier-IMAP / Postfix / sqWebMail > > Hello; > > I have installed the latest ports for: > MySQL, Postfix, Courier-IMAP and sqWebMail > > I am using MySQL Authentication for Postfix and Courier-IMAP. > > I can send and receive email to virtual users using Postfix, and I can login with an IMAP client (Outlook Express) and read the folders, no problems. > > However when I try to login using sqWebMail it times out. > > The message in the Browser says: Invalid User ID or Password > > The message in the logs says: > Jun 13 09:49:35 freebsd sqwebmail: authdaemon: s_connect() failed: Operation timed out > > Documentation seems to indicate that sqWebmail uses the same authdaemon that Courier-IMAP uses, so there is no need to start another. > > Can someone shed some light on this? sqWebMail does use authdaemon to authenticate. I don't know what would cause it to timeout unless the server is loaded. That said, sqWebMail takes a while to authenticate on my server. SquirrelMail logs in just fine. You might ask on the courier-users@list.sourceforge.net mailing list. -- Randy Smith Amigo.Net Systems Administrator 1-719-589-6100 x 4185 http://www.amigo.net/ From owner-freebsd-isp@FreeBSD.ORG Fri Jun 13 07:52:41 2003 Return-Path: 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 6646737B401 for ; Fri, 13 Jun 2003 07:52:41 -0700 (PDT) Received: from fep1.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id E08AC43FB1 for ; Fri, 13 Jun 2003 07:52:40 -0700 (PDT) (envelope-from tom@dwyers.ca) Received: from tom (d235-131-219.home1.cgocable.net [24.235.131.219]) by fep1.cogeco.net (Postfix) with SMTP id 556C688A; Fri, 13 Jun 2003 10:52:40 -0400 (EDT) Message-ID: <001701c331bc$3ca513d0$020010ac@protechnologies> From: "Thomas Dwyer" To: "Randy Smith" References: <20030613082018.O1202-100000@stalker.amigo.net> Date: Fri, 13 Jun 2003 10:58:23 -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.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: freebsd-isp@freebsd.org Subject: Re: MySQL / Courier-IMAP / Postfix / sqWebMail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 14:52:41 -0000 Thank you for your comments Randy; I found a solution. Apparently sqWebMail requires its own authdaemond.mysql to be running as well as the authdaemond.mysql that is started by Courier-IMAP. Simply make copies of the Courier_IMAP authmysqlrc and place it in the directory where the other sqwebmail scripts are. Make a link to start the sqwebmail authdaemond.mysql in /rc.d/ and everything works as advertised. Tom ----- Original Message ----- From: "Randy Smith" To: "Thomas Dwyer" Cc: Sent: Friday, June 13, 2003 10:23 AM Subject: Re: MySQL / Courier-IMAP / Postfix / sqWebMail > On Fri, 13 Jun 2003, Thomas Dwyer wrote: > > > Date: Fri, 13 Jun 2003 10:08:45 -0400 > > From: Thomas Dwyer > > To: "freebsd-isp@freebsd.org" > > Subject: MySQL / Courier-IMAP / Postfix / sqWebMail > > > > Hello; > > > > I have installed the latest ports for: > > MySQL, Postfix, Courier-IMAP and sqWebMail > > > > I am using MySQL Authentication for Postfix and Courier-IMAP. > > > > I can send and receive email to virtual users using Postfix, and I can login with an IMAP client (Outlook Express) and read the folders, no problems. > > > > However when I try to login using sqWebMail it times out. > > > > The message in the Browser says: Invalid User ID or Password > > > > The message in the logs says: > > Jun 13 09:49:35 freebsd sqwebmail: authdaemon: s_connect() failed: Operation timed out > > > > Documentation seems to indicate that sqWebmail uses the same authdaemon that Courier-IMAP uses, so there is no need to start another. > > > > Can someone shed some light on this? > > sqWebMail does use authdaemon to authenticate. I don't know what would > cause it to timeout unless the server is loaded. That said, sqWebMail > takes a while to authenticate on my server. SquirrelMail logs in just > fine. > > You might ask on the courier-users@list.sourceforge.net mailing list. > > -- > Randy Smith > Amigo.Net Systems Administrator > 1-719-589-6100 x 4185 > http://www.amigo.net/ > > From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 05:11:51 2003 Return-Path: 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 D3A2737B401 for ; Sat, 14 Jun 2003 05:11:51 -0700 (PDT) Received: from bart.LF.net (bart.LF.net [212.9.190.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A22243FBD for ; Sat, 14 Jun 2003 05:11:51 -0700 (PDT) (envelope-from ms@bart.LF.net) Received: from ms by bart.LF.net with local (Exim 4.10) id 19R9rt-000Eqr-00; Sa, 14 Jun 2003 14:10:49 +0200 Date: Sat, 14 Jun 2003 14:10:49 +0200 From: Marc Schoechlin To: vezku@surfeu.fi Message-ID: <20030614121049.GA57026@LF.net> References: <4490.62.142.81.6.1055486140.squirrel@redbull.tiscali.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4490.62.142.81.6.1055486140.squirrel@redbull.tiscali.fi> User-Agent: Mutt/1.4i X-Ticket-Action: x X-Ticket-Nr: x Sender: Marc Schoechlin cc: freebsd-isp@freebsd.org Subject: Re: enteprise account management X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 12:11:52 -0000 Hi ! On Fri, Jun 13, 2003 at 09:35:40AM +0300, vezku@surfeu.fi wrote: > I'm planning to run FreeBSD on a system with +5000 shell/mail accounts. > What account management solutions are available? New account applications > will be made via a web form so this feature would be good. > Am I stuck with making my own scripts? Are there any good commercial > systems out there? I've heard about Novell solutions, but they are damn > expensive. Thanks. What`s about using OpenLDAP ? http://www.openldap.org/ With OpenLDAP you can: * store your user-accounts in a centralized database (replication is also possible) * define your own attributes (usernames, passwords, adresses, mail-aliases, customer-data, user-rights,....) * program your own management-interfaces in many programming-languages .... Many applications are able to use LDAP-directories for authentification and configuration - but there is also the possibility to use the pam-ldap-module to import the ldap-users as regular system-users. There are also some gui- and web-based management-tools available..... (If you like this - look at freshmeat.net) Regards Marc Schoechlin -- Gruss / Best regards | LF.net GmbH | fon +49 711 90074-413 Marc Schoechlin | Ruppmannstr. 27 | fax +49 711 90074-33 ms@LF.net | D-70565 Stuttgart | http://www.lf.net From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 06:13:25 2003 Return-Path: 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 E6C9437B401 for ; Sat, 14 Jun 2003 06:13:25 -0700 (PDT) Received: from mirage.nlink.com.br (mirage.nlink.com.br [200.249.195.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 374E443FB1 for ; Sat, 14 Jun 2003 06:13:24 -0700 (PDT) (envelope-from paulo@nlink.com.br) Received: (qmail 9026 invoked by uid 85); 14 Jun 2003 13:13:22 -0000 Received: from paulo@nlink.com.br by mirage.nlink.com.br by uid 82 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.55. Clear:. Processed in 0.233709 secs); 14 Jun 2003 13:13:22 -0000 Received: from foker.nlink.com.br (HELO nlink.com.br) (200.249.197.10) by mirage.nlink.com.br with SMTP; 14 Jun 2003 13:13:21 -0000 Message-ID: <3EEB1F64.3000706@nlink.com.br> Date: Sat, 14 Jun 2003 10:13:08 -0300 From: Paulo Fragoso User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030523 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Limit for smtp connection X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 13:13:26 -0000 Hi, How can we limit the number of simultaneously accepted connections from the same IP address to our smtp server? We are using qmail+daemontools+spamcontrol+qmailscanner+spamd, but sometimes there are floods from same IP to our server (smtp port), reaching connetions limit configured on tcpserver startup (tcpserver -c #). We can't increase this limit because it can kill other process by out swap (DoS). We have found some SMTP server on the internet which accept no more than 5 simultaneusly connection from our SMTP server. How to implement this using qmail+tcpserver? Paulo. From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 06:45:24 2003 Return-Path: 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 677BB37B401 for ; Sat, 14 Jun 2003 06:45:24 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id E00F543F3F for ; Sat, 14 Jun 2003 06:45:22 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 29843 invoked from network); 14 Jun 2003 13:45:21 -0000 Received: from unknown (HELO lucifer.cultdeadsheep.org) (192.168.0.2) by goofy.cultdeadsheep.org with SMTP; 14 Jun 2003 13:45:21 -0000 Date: Sat, 14 Jun 2003 15:45:21 +0200 From: Clement Laforet To: Paulo Fragoso Message-Id: <20030614154521.5fdc98ce.sheepkiller@cultdeadsheep.org> In-Reply-To: <3EEB1F64.3000706@nlink.com.br> References: <3EEB1F64.3000706@nlink.com.br> Organization: tH3 cUlt 0f tH3 d3@d sH33p X-Mailer: Sylpheed version 0.9.1 (GTK+ 1.2.10; i386-portbld-freebsd4.8) X-Face: ._cVVRDn#-2((lnfi^P7CoD4htI$4+#G/G)!w|,}H5yK~%(3-C.JlEYbOjJGFwJkt*7N^%z jYeu[;}]}F"3}l5R'l"X0HbvT^D\Q&%deCo)MayY`);TO Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: Limit for smtp connection X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 13:45:24 -0000 On Sat, 14 Jun 2003 10:13:08 -0300 Paulo Fragoso wrote: > Hi, Hi Paulo, > We have found some SMTP server on the internet which accept no more than > 5 simultaneusly connection from our SMTP server. How to implement this > using qmail+tcpserver? I used to limit incoming connections via ipfw like this : 00050 check-state 00060 allow tcp from any to me dst-port 25 setup limit src-addr 5 00070 deny ip from any to me dst-port 25 regards, clem From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 08:26:54 2003 Return-Path: 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 8729A37B404 for ; Sat, 14 Jun 2003 08:26:54 -0700 (PDT) Received: from fep06.tmt.tele.fi (hank-fep6-0.inet.fi [194.251.242.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB56C43F93 for ; Sat, 14 Jun 2003 08:26:52 -0700 (PDT) (envelope-from vezku@surfeu.fi) Received: from surfeu.fi ([80.223.235.8]) by fep06.tmt.tele.fi (InterMail vM.5.01.03.13 201-253-122-118-113-20010918) with ESMTP id <20030614152651.WDQW13416.fep06.tmt.tele.fi@surfeu.fi> for ; Sat, 14 Jun 2003 18:26:51 +0300 Message-ID: <3EEB3EF0.6060505@surfeu.fi> Date: Sat, 14 Jun 2003 18:27:44 +0300 From: Vesa Alho User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: <4490.62.142.81.6.1055486140.squirrel@redbull.tiscali.fi> <20030614121049.GA57026@LF.net> In-Reply-To: <20030614121049.GA57026@LF.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: enteprise account management X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vezku@surfeu.fi List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 15:26:54 -0000 > What`s about using OpenLDAP ? Yes, good point. I made some research and testing a couple of years back on OpenLDAP, but there were not enough modules and tools at the time. LDAP is what Novell and SUN use on their heavy weight systems so it must work. :-) I've been following the development and seems that things are better now. I just wish I had more time. But I bet I'm not alone. :-) Thanks for the pointers. I will make a document on-line if I succeed... -Vesa, SysAdmin From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 10:25:33 2003 Return-Path: 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 9EC3037B401 for ; Sat, 14 Jun 2003 10:25:33 -0700 (PDT) Received: from fragma.wildcardinternet.co.uk (fragma.wildcardinternet.co.uk [195.82.114.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E26E243FE1 for ; Sat, 14 Jun 2003 10:25:32 -0700 (PDT) (envelope-from lee@wildcardinternet.co.uk) Received: from ded.ncl-ne39.wildcardinternet.co.uk ([195.82.114.89] helo=gate.p.ncl-ne39.wildcardinternet.co.uk) by fragma.wildcardinternet.co.uk with esmtp (Exim 3.35 #1) id 19REmO-00006z-00; Sat, 14 Jun 2003 18:25:28 +0100 From: Lee Johnston In-Reply-To: <20030614121049.GA57026@LF.net> X-Mailer: clevercactus beta Date: Sat, 14 Jun 03 18:25:47 +0100 X-Spaces-Space: Default To: vezku@surfeu.fi, Marc Schoechlin Content-Type: text/plain Message-ID: <-1294203520.1055611547881@clevercactus.6488153> cc: freebsd-isp@freebsd.org Subject: Re: enteprise account management X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lee Johnston List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 17:25:33 -0000 I looked into the LDAP solution a while back... Basically you'll be fine using LDAP if the applications can query an LDAP directory directly, or via PAM using PADLs pam_ldap module. The problem comes when you need system accounts stored in an LDAP directory, as far as I know (or at least this was the case a few months ago) the nss_ldap module won't work with with FreeBSD Nameserver switch preventing alternative methods of storing system account details. Mind, someone did mention this was possible by recompiling the C library to use BIND IRS. Another solution maybe to use PADLs commercial NIS/LDAP gateway, so you have a replacement for an NIS server which queries an LDAP directory - http://www.padl.com/ Hope this helps, Lee. > -----Original Message----- > What`s about using OpenLDAP ? > > http://www.openldap.org/ > > With OpenLDAP you can: > > * store your user-accounts in a centralized > database > (replication is also possible) > * define your own attributes > (usernames, passwords, adresses, mail-aliases, > customer-data, > user-rights,....) > * program your own management-interfaces in many > > programming-languages > .... > > Many applications are able to use > LDAP-directories for authentification and > configuration - but there is also the possibility > to use the pam-ldap-module > to import the ldap-users as regular > system-users. > > There are also some gui- and web-based > management-tools available..... > (If you like this - look at freshmeat.net) > > Regards > > Marc Schoechlin From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 10:43:16 2003 Return-Path: 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 82F8D37B401 for ; Sat, 14 Jun 2003 10:43:16 -0700 (PDT) Received: from aurora.siteplus.com (aurora.siteplus.com [66.129.2.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95CD643FA3 for ; Sat, 14 Jun 2003 10:43:15 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp03144169pcs.midval01.tn.comcast.net [68.59.246.106]) by aurora.siteplus.com (8.12.9/8.12.6) with ESMTP id h5EHh4Oe020554; Sat, 14 Jun 2003 13:43:15 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Sat, 14 Jun 2003 13:42:52 -0400 (EDT) From: Jim Weeks To: "PsYxAkIaS (FreeBSD)" In-Reply-To: <000a01c33105$8e4e4ec0$152ea8c0@computer> Message-ID: <20030614133557.X4189-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-isp@freebsd.org Subject: Re: cannot reboot from a script ran by root's crontab X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 17:43:16 -0000 On Thu, 12 Jun 2003, PsYxAkIaS (FreeBSD) wrote: > $ cat /usr/sbin/checkre > #!/bin/bash > mkdir /tmp/reboot > reboot now I would assume that crontab can't find "reboot", ie "sbin" isn't in your path. (/sbin/reboot now) > $ crontab -l > 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/sbin/checkre >/dev/null 2>&1 This could be more easily written in this manner; 0-59/5 * * * * /usr/sbin/checkre >/dev/null 2>&1 BTW, ">/dev/null" is the reason you aren't seeing the "not found error". Hope this helps, -- Jim From owner-freebsd-isp@FreeBSD.ORG Sat Jun 14 12:48:30 2003 Return-Path: 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 B481D37B401 for ; Sat, 14 Jun 2003 12:48:30 -0700 (PDT) Received: from psknet.com (kennedy.psknet.com [63.171.251.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07BB443FCB for ; Sat, 14 Jun 2003 12:48:30 -0700 (PDT) (envelope-from troy@psknet.com) Received: from pool-141-152-68-169.roa.east.verizon.net ([141.152.68.169] helo=tws) by psknet.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.20) id 19RH0i-0004e9-R2; Sat, 14 Jun 2003 15:48:25 -0400 From: "Troy Settle" To: "'Thomas Dwyer'" , "'Randy Smith'" Date: Sat, 14 Jun 2003 15:48:32 -0400 Message-ID: <000601c332ad$f0236b90$0100a8c0@tws> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <001701c331bc$3ca513d0$020010ac@protechnologies> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: freebsd-isp@freebsd.org Subject: RE: MySQL / Courier-IMAP / Postfix / sqWebMail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 19:48:31 -0000 A cleaner way to do this is to edit sqwebmail/Makefile and add this to CONFIGURE_ARGS: --with-authdaemonvar=/usr/local/var/authdaemon Which is where the courier-imap port puts it. -- Troy Settle Pulaski Networks http://www.psknet.com 540.994.4254 ~ 866.477.5638 Pulaski Chamber 2002 Small Business Of The Year > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org] On Behalf Of Thomas Dwyer > Sent: Friday, June 13, 2003 10:58 AM > To: Randy Smith > Cc: freebsd-isp@freebsd.org > Subject: Re: MySQL / Courier-IMAP / Postfix / sqWebMail > > > Thank you for your comments Randy; > > I found a solution. > > Apparently sqWebMail requires its own authdaemond.mysql to be > running as > well as the authdaemond.mysql that is started by Courier-IMAP. > > Simply make copies of the Courier_IMAP authmysqlrc and place it in the > directory where the other sqwebmail scripts are. > > Make a link to start the sqwebmail authdaemond.mysql in /rc.d/ and > everything works as advertised. > > Tom > > ----- Original Message ----- > From: "Randy Smith" > To: "Thomas Dwyer" > Cc: > Sent: Friday, June 13, 2003 10:23 AM > Subject: Re: MySQL / Courier-IMAP / Postfix / sqWebMail > > > > On Fri, 13 Jun 2003, Thomas Dwyer wrote: > > > > > Date: Fri, 13 Jun 2003 10:08:45 -0400 > > > From: Thomas Dwyer > > > To: "freebsd-isp@freebsd.org" > > > Subject: MySQL / Courier-IMAP / Postfix / sqWebMail > > > > > > Hello; > > > > > > I have installed the latest ports for: > > > MySQL, Postfix, Courier-IMAP and sqWebMail > > > > > > I am using MySQL Authentication for Postfix and Courier-IMAP. > > > > > > I can send and receive email to virtual users using > Postfix, and I can > login with an IMAP client (Outlook Express) and read the folders, no > problems. > > > > > > However when I try to login using sqWebMail it times out. > > > > > > The message in the Browser says: Invalid User ID or Password > > > > > > The message in the logs says: > > > Jun 13 09:49:35 freebsd sqwebmail: authdaemon: > s_connect() failed: > Operation timed out > > > > > > Documentation seems to indicate that sqWebmail uses the > same authdaemon > that Courier-IMAP uses, so there is no need to start another. > > > > > > Can someone shed some light on this? > > > > sqWebMail does use authdaemon to authenticate. I don't know > what would > > cause it to timeout unless the server is loaded. That said, > sqWebMail > > takes a while to authenticate on my server. SquirrelMail > logs in just > > fine. > > > > You might ask on the courier-users@list.sourceforge.net > mailing list. > > > > -- > > Randy Smith > > Amigo.Net Systems Administrator > > 1-719-589-6100 x 4185 > > http://www.amigo.net/ > > > > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >