Re: pfSense

2008-10-18 Thread Sahil Tandon
Gary Kline [EMAIL PROTECTED] wrote:

[pfSense question removed]

Please ask your question on the pfSense mailing list or forum.  Thanks.

http://www.pfsense.org/index.php?option=com_contenttask=viewid=66Itemid=71
http://forum.pfsense.org/

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


Re: Postfix communicating with IPFW

2008-10-19 Thread Sahil Tandon
Jos Chrispijn [EMAIL PROTECTED] wrote:

 I recently got attacked with some dsl subscribers of this (imaginary) 
 some.net domain.

 These subscribers present themselves as [ip address.dynamic.some.net].
 Postfix SMTP server: errors from 66-66-66-166.dynamic.some.net 
 [66.66.66.166]

 What I would like to do is to generate a some.net list with all these 
 dynamic ip addresses and provide them to my ipfw firewall in order to block 
 them on the moment that they try to relay a 2nd time thru my server. This 
 will cause less process time as it is quicker to send someone home by the 
 doorkeeper (ipfw) rather than check his credentials first (Postfix) and 
 tell him to get lost.

True, but Postfix can handle these rejects just fine though YMMV
depending on your load and other aspects of your setup to which we
aren't privy.

 Is there any way to let postfix 'communicate' with my ipfw firewall?

No, but you can write a script that parses your maillog and accordingly
updates firewall rules.  Tools like fail2ban are often mentioned here --
check the archives and adapt as necessary. 

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


Re: Postfix communicating with IPFW

2008-10-19 Thread Sahil Tandon
Sahil Tandon [EMAIL PROTECTED] wrote:

 Jos Chrispijn [EMAIL PROTECTED] wrote:
 
  I recently got attacked with some dsl subscribers of this (imaginary) 
  some.net domain.
 
  These subscribers present themselves as [ip address.dynamic.some.net].
  Postfix SMTP server: errors from 66-66-66-166.dynamic.some.net 
  [66.66.66.166]

One more thing: I use the following PCRE to block dynamic-looking IPs at
SMTP and it really isn't resource intensive.

/\d+([-\.]\d+){3}/  REJECT  Generic hostnames prohibited.

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


Re: FreeBSD 7.0-RELEASE (GENERIC) firefox3 /usr/bin/ld: cannot find -lgio-2.0

2008-10-26 Thread Sahil Tandon
David Christensen [EMAIL PROTECTED] wrote:

 mdh wrote:
 The answer is to upgrade your devel/glib20 port to the latest version, 
 then try to install or upgrade libgiofam, then install the other software. 
  

 Thank you for your response.  :-)

 Here's my attempt to carry out your suggestions:

 20081026-122203 [EMAIL PROTECTED] ~
 # portsnap fetch update
 Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
 ...
 Building new INDEX files... done.

 20081026-122344 [EMAIL PROTECTED] ~
 # cd /usr/ports/devel/glib20

 20081026-122615 [EMAIL PROTECTED] /usr/ports/devel/glib20
 # make
 ...

Do these ellipses include a 'make install'?  Otherwise, that is likely
your problem; devel/glib20 is not actually installed.

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


Re: OT: Shell Script using Awk

2008-11-01 Thread Sahil Tandon
David Allen [EMAIL PROTECTED] wrote:

 My apologies for asking on this list, but I'm stuck without Perl and need
 to use awk to generate a report.
 
 I'm working with a large data set spread across multiple files, but to
 keep things simple, say I have A Very Long String that containing records,
 each delimited by a single space.  I need to print those records in
 columnar format, but with only 7 columns per line:
 
 record1  record2  record3  record4  record5  record6  record7
 record08 record09 record10 record11 record12 record13 record14
 ...

A small sh script:

#!/bin/sh
awk ' {
for (i=1; i=NF; i++) {
 printf(%s , $i)
 if (i % 7 == 0) { printf(\n) }
}
if (NF % 7 != 0) { printf(\n) }
} ' input 

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


Re: just a test mail

2008-11-02 Thread Sahil Tandon
Alex Zhang [EMAIL PROTECTED] wrote:

 I want to submit a question to Mail list; I hope to get help in time.
 Thanks

Never, ever send test emails to freebsd-questions.  From the Handbook:

If you wish to test your ability to send to FreeBSD lists, send a test
message to freebsd-test. Please do not send test messages to any other
list.

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


Re: Watching /var/log/pflog grow

2008-11-04 Thread Sahil Tandon
cpghost [EMAIL PROTECTED] wrote:

 How can I watch /var/log/pflog grow with tcpdump, tail -f style?
 
 This won't work:
   $ tail -f /var/log/pflog | tcpdump -n -s 116 -r -
 because tail doesn't start at the right location.

[...]

 I'm afraid that in the latter case, every packet will be
   EITHER logged by pflogd
   XORdisplayed by tcpdump.
 Is that so?
 
 If yes, /var/log/pflog would be incomplete, because some packets
 would have been snatched away from pflog0 by tcpdump, before
 pflogd ever got a chance to read them out.
 
 Is there a way to watch /var/log/pflog grow, while
 still making sure that pflogd logs EVERY packet that appears
 on the pflog0 interface? How?

According to pflogd(8):

   Display the logs in real time (this does not interfere with the
   operation of pflogd):

  # tcpdump -n -e -ttt -i pflog0

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


Re: recommendation word processer for xfce

2008-11-06 Thread Sahil Tandon
FBSD1 [EMAIL PROTECTED] wrote:

 I looked at OpenOffice but there is no package of it since freebsd release
 6 stable. It takes a very very long time to compile this port.

Please don't top-post.  OpenOffice packages are available via the
FreeBSD FTP sites.

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


Re: why do I have 2 aliases.db files?

2008-11-09 Thread Sahil Tandon
Michael P. Soulier [EMAIL PROTECTED] wrote:

 I just noticed that I have one in /etc/mail and one in /etc, and
 postfix is reading the one in /etc which the newaliases command hasn't
 touched in ages 'cause it's been updating the one in /etc/mail.

That is not the default behavior.  From sendmail(1), which is the
Postfix to Sendmail compatibility interface:

newaliases
  Initialize the alias database.  If no input  file  is  specified
  (with  the  -oA  option,  see  below), the program processes the
  file(s) specified with the alias_database configuration  parame-
  ter.   If  no alias database type is specified, the program uses
  the type specified with the default_database_type  configuration
  parameter.  This mode of operation is implemented by running the
  postalias(1) command.

% postconf -d | grep '^alias_'
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases

So, the newaliases command should be modifying the alias database in
/etc unless you changed this in your main.cf.  But if that were the
case, Postfix would also *read* for aliases in that non-default
location.  What is the output of the following command on your machine?

% man sendmail | grep Postfix | head -1

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


Re: Kerberos in FreeBSD

2008-11-16 Thread Sahil Tandon
Ansar Mohammed [EMAIL PROTECTED] wrote:

 Any reason why the port of HEIMDAL is at 0.6.3 (2004) in FreeBSD 7.0 when we
 have 1.0 available?

On 7.0-RELEASE:

% cat /usr/ports/security/heimdal/Makefile | grep PORTVERSION
PORTVERSION=1.0.1

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


Re: Free usenet nntp servers

2008-11-19 Thread Sahil Tandon
Fbsd1 [EMAIL PROTECTED] wrote:

 In the past (alt.binaries.warez)  contained monthly posts of a list of Free 
 usenet nntp servers. I dont have access to a nntp server so I can't search 
 foe the list. Does any one here know of a Free usenet nntp server I can 
 access?

This is not a FreeBSD question.  Please check google.

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


Re: shell scripting problems

2008-11-28 Thread Sahil Tandon
Tim Judd [EMAIL PROTECTED] wrote:

 I've been trying for a few weeks to try to get this to work, and the /bin/sh
 keeps snagging the command line before passing it to pkg_info
 
 I'll use a different shell if I need to, but since I got everything except
 this one thing working, i'd rather keep it in sh
 
 In the shell script, i have a
   pkg_info -qLx ^$PKG-[0-9,._]+$
 also tried (-X)tended regex instead of the standard rege(-x).
 
 sh keeps erroring out saying various $ isn't a valid variable name, or
 pkg_info doesn't find the anything there.  And it does exist.  This all came
 around with me trying to automatically update a bunch of ports.  xorg-fonts
 is outdated, but xorg-fonts-100dpi or xorg-fonts-75dpi isn't.  So the regex
 returns multiple values (as above).  I just want the first, hence the
 anchors.
 
 Any ideas on how to get sh to let pkg_info see everything?  Various escaping
 around the end $ just doesn't work.  I'll keep working on it, but i'd like
 to see how you all would suggest getting it to work.

I am not sure what the problem is, but are you just looking for the
output of pkg_info -qxL on the *first* instance of xorg-fonts-*?

% pkg_info -qL `pkg_info | grep xorg-fonts | head -1 | cut -d\  -f1`

FWIW, your regexp also looks faulty.

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


Re: Purchase of FreeBSD

2008-11-28 Thread Sahil Tandon
Harry Veltman [EMAIL PROTECTED] wrote:

 Where can I buy it on CD, and how do I know if it is compatible with
 my hardware?

Did you try asking Google?

http://www.google.com/search?hl=enq=where+to+get+freebsd to:
http://www.freebsd.org/where.html

http://www.google.com/search?hl=enq=freebsd+hardware+compatibility to:
http://www.freebsd.org/doc/en/books/faq/hardware.html

Also see: http://www.freebsd.org/doc/en/articles/freebsd-questions/

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


Re: Purchase of FreeBSD

2008-11-29 Thread Sahil Tandon
Masoom Shaikh [EMAIL PROTECTED] wrote:

 On Sat, Nov 29, 2008 at 6:14 AM, Sahil Tandon [EMAIL PROTECTED] wrote:
 
  Harry Veltman [EMAIL PROTECTED] wrote:
 
   Where can I buy it on CD, and how do I know if it is compatible with
   my hardware?
 
  Did you try asking Google?
 
  http://www.google.com/search?hl=enq=where+to+get+freebsd to:
  http://www.freebsd.org/where.html
 
  http://www.google.com/search?hl=enq=freebsd+hardware+compatibility to:
  http://www.freebsd.org/doc/en/books/faq/hardware.html
 
  Also see: http://www.freebsd.org/doc/en/articles/freebsd-questions/
 

 http://www.freebsdmall.com
 
 this question is not even worth answering,  it is like

To which question are you referring?  Your QA makes little sense.

 Q: why didn't u tell us ?
 A: bcos it was impossible to hide

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


Re: shell scripting problems

2008-11-29 Thread Sahil Tandon
Tim Judd [EMAIL PROTECTED] wrote:

 I'm sure it's faulty
 
 Which is why I'm asking for help
 
 My regexes (in it's various forms) produce the output similar to:
   xorg-fonts-75dpi
   xorg-fonts
   xorg-fonts-100dpi
   ...
   ...
   ...
 
 and I'm wanting my regex to return the 2nd value, in this example, in
 this list.

In your initial message, you wished to extract the first value; now it
is the second?

 The problem is the shell is taking the end anchor $ as the start of a
 variable, and no matter how I escape it, it seems to never work.
 
 I'm sorry for not explaining properly.  Maybe the above would help.

It does not.  Explain exactly what you are trying to do and you will
receive more exact troubleshooting advice.  And please stop
top-posting.

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


Re: Temporarily blocking ports

2008-11-29 Thread Sahil Tandon
Jos Chrispijn [EMAIL PROTECTED] wrote:

 Can someone hint me how I can block ports for let's say 30 minutes if 
 someone repeatedly tries to do a SSH login?
 I use ipfw as firewall...

security/sshguard-ipfw

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


Re: Unix program that sends email directly using MX record

2008-11-30 Thread Sahil Tandon
Ott K?stner [EMAIL PROTECTED] wrote:

 Peter Boosten wrote:

 The most recent vulnerabilities of Postfix are from August and September
 2008, and I still use it. Also I use (with great happyness) Sendmail on
 two machines, without any problems. The only problem ever caused was by
 clamav.

 Would be interesting to know, what kind of problems have been there with 
 CLAMAV?

None whatsoever.  I have used it for several years on FreeBSD without
incident.  There are, from time to time, some security vulnerabilities,
but they are handled swiftly by both the clamav developers and the
security/clamav port maintainer.

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


Re: does not understand df -H

2008-11-30 Thread Sahil Tandon
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 Hi,
I have a pretty basic question: when I df -H my disk, the numbers
 cant add up,
 
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0c  484G429G 17G96%/ad0c
 
 
 there should be more disk space available based on what is shown. why
 is this like that??

This is default behavior.  From tunefs(8):

-m minfree
 Specify the percentage of space held back from normal users; the
 minimum free space threshold.  The default value used is 8%.
 Note that lowering the threshold can adversely affect perfor-
 mance:

 +o  Settings of 5% and less force space optimization to always be
 used which will greatly increase the overhead for file
 writes.

 +o  The file system's ability to avoid fragmentation will be
 reduced when the total free space, including the reserve,
 drops below 15%.  As free space approaches zero, throughput
 can degrade by up to a factor of three over the performance
 obtained at a 10% threshold.

Your df output suggests your minfree is set to the default 8%; to
confirm this:

% dumpfs /dev/ad0c | grep minfree | cut -f 1-2

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


Re: ports mirror

2008-11-30 Thread Sahil Tandon
Juan Pablo Roig [EMAIL PROTECTED] wrote:

 i want trying to make in my lan a mirror of the ports. I have the cvsup
 mirror , and an rsync of all the ports. But in a client i made a cvsup of
 the ports list, but then when i make a port it going to get the tar.bz from
 an external ftp... 

If you want to grab distfiles from a non-default MASTER_SITE when
building ports, look into the MASTER_SITE_OVERRIDE variable.  Search for
it in the Handbook and ports(7).

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


Re: mx1.freebsd.org

2008-12-03 Thread Sahil Tandon
Ebbe Hjorth [EMAIL PROTECTED] wrote:

 My postfix mail servers shows to messages in the queue saying
 
 (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
 cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command))
 
 But when i do a lookup or a reverse lookup, i find my hostname, also
 from work and other ip, not only local ;)
 
 Does mx1.freebsd.org have an old dns? - This affects me sending mail
 to all the freebsd lists.

Most likely a temporary DNS problem; are the messages still sitting in
your queue?

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


Re: NEED HELP FOR SUITABLE VERSION

2008-12-11 Thread Sahil Tandon
hitech resources wrote:

 *HI, i have PowerEdge(TM) 840, Quad Core Xeon Pro X3220 Processor, so what
 is the suitable version of FreeBSD i could use. I actually want to use it
 for server purposes. TQ

7

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Security Exploits...to report, or not to report?

2008-12-25 Thread Sahil Tandon
Modulok wrote:

 I was given an FTP account on a server for company X. Being a UNIX
 guy, I did some poking around and discovered a security flaw in how
 they set their web server up, which would permit anyone at the company
 with an FTP account, to intercept ANY data that passed through the
 company website.
 
 Question:
 Do I tell them about it? On the one hand I want to do the 'right
 thing' and tell them about it and how to fix it. On the other, I don't
 want to be criminally prosecuted for finding the flaw. I'm not
 implying that they would do such a thing, but in order to find said
 flaw, I had to be poking around.

Report it.  If you are afraid of prosecution, and do not wish to be
contacted by anyone, create a gmail (yahoo, or whatever) account to send
the message and do so from a location that can not be traced to you.

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: receiving mail

2009-01-13 Thread Sahil Tandon
On Tue, 13 Jan 2009, Pieter Donche wrote:

 Between host1 (non-freebsd) and host2 (freebsd 7), sending a mail from  
 host1 to host2 (both in domain  .domain.topdom) results in message  
 'Returned mail: see transcript for details:

- The following addresses had permanent fatal errors -
 u...@host2.domain.topdom

- Transcript of session follows -
 550 5.1.2 u...@host2.domain.topdom... Host unknown (Name server:
 mailhost.domain.topdom: host not found)
 -

The MX for host2.domain.topdom is mailhost.domain.topdom; the latter is
unreachable by host1, hence the permanent failure.

 mailhost.domain.topdom does not exist in DNS, but host1 can send
 mail to other mailservers all over the world.

The fact that host1 can send mail anywhere else is irrelevant; fix the MX
entry or make mailhost.domain.topdom real/reachable from host1.  Or remove
or adjust the MX entry for host2.domain.topdom so host1 sends mail to
host2.domain.topdom instead of its mailhost.domain.topdom.

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: unsub

2009-01-13 Thread Sahil Tandon
On Tue, 13 Jan 2009, Paul Schmehl wrote:

 --On January 13, 2009 9:38:31 AM -0600 Javier Henderson jav...@kjsl.org 
 wrote:

 unsub

 Another Criminal Minds fan?

ROFL!

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Delivering system mail

2009-01-25 Thread Sahil Tandon
On Sun, 25 Jan 2009, Rem P Roberti wrote:

 I currently have to retrieve crontab generated system mail from the command
 line.  Is it possible to have system mail delivered to my Thunderbird  
 mail client?

According to the cron(8) manual:

   When executing commands, any output is mailed to the owner of the crontab
   (or to the user named in the MAILTO environment variable in the crontab, 
   if such exists).

So you can configure Thunderbird to retrieve email for the user running the
crontab, or set the MAILTO environment variable within your crontab.

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Ports

2009-03-15 Thread Sahil Tandon
On Sun, 15 Mar 2009, jmdennis @dslextreme.com wrote:

 It would be nice if in ports you had kmymoney2 0.9.3.  I see that you still
 have 0.8.9.

Your question is more appropriate for freebsd-ports.  The finance/kmymoney2
port is 0.8.9 because that is the latest *stable* release.  Feel free to
submit a patch for a new port (i.e. kmymoney2-devel) if you want 0.9.3 in the
tree.  For context, see ports/126478.

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Adding new domain in mail server

2009-03-21 Thread Sahil Tandon
On Thu, 19 Mar 2009, Ruel Luchavez wrote:

 we have here a mail server running in FreeBSD 6.2 which is holding out 2
 domain (e.g u...@mydomain.com. w...@mydomain2.com) and it running very good,
 unfortunately I'm not the person who configure this mail stuff.
 
 heres my problem:
 
 we bought a new domain (e.g mydomain3.com) and Im planning to add the domain
 to our mail server so that I could create a new email ad with the new domain
 (e.g us...@mydomain3.com). how will I do that?

Does this mail server send *and* receive mail?  Which SMTP software?  Which
IMAP server?  More details are required.  In your follow up, please also 
define what you mean by 'add the domain to our mail server'.  If you do not
understand these requests for clarification, I urge you to contact the person
who actually set up 'this mail stuff'.

-- 
Sahil Tandon sa...@tandon.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Messy ports, how to clean them up?

2007-01-25 Thread Sahil Tandon

Robert Huff wrote:


I use portupgrade.
I've never used pkg_deinstall, but given that portupgrade gets
... confused ... occasionally I look suspiciously at anything that
promises clean upward recursion.


Many people prefer sysutils/portmanager over portupgrade.  As usual, YMMV.

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


Re: how do i find libphp4.so??

2007-02-03 Thread Sahil Tandon

Gary Kline wrote:


What utility will find the shared lib: libphp4.so?


man find

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


Re: Making changes to ports default install

2008-06-30 Thread Sahil Tandon
Tim DeBoer [EMAIL PROTECTED] wrote:

 I've been working on a new server, and I'd like to install apache from ports
 to make maintenance easier.
 The problem is the default layout drives me nuts. I'd like to use a more
 intuitive layout. Is it possible to pass a custom layout file during make
 build? Something like make build WITH_LAYOUT=/path/to/layout/file  or
 something along those lines?

Look into --enable-layout.  See the various options in config.layout; if none 
of them suit you, you can add your custom rules.  I believe you can also 
point to a file that contains your custom layout if you are uncomfortable 
editing the config.layout.

[...]

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


Re: Configuring an older server for speed...

2008-06-30 Thread Sahil Tandon
Ryan Coleman [EMAIL PROTECTED] wrote:

 Kurt Buff wrote:

[...]

 I would recommend fBSD 6.3 instead of 7. You don't need it, unless you have 
 a documented reason it has to be 7.0

Please qualify that recommendation; as it stands, it is pure FUD.

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


Re: Amanda port update

2008-07-04 Thread Sahil Tandon
FBSD [EMAIL PROTECTED] wrote:

 I need to install the current version of Amanda (misc/amanda-client and 
 misc/amanda-server) and would like to install from the ports collection. 
 However the port maintainer has not updated Amanda in quite some time. Can 
 someone give me some advice on how to roll my own ports install from the 
 source tarball?  Thanks.
 
See http://www.freebsd.org/doc/en/books/porters-handbook/ and use the 
existing amanda ports as a guide.  Good luck.

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


Re: Amanda port update

2008-07-04 Thread Sahil Tandon
David Robillard [EMAIL PROTECTED] wrote:

  I need to install the current version of Amanda (misc/amanda-client and
  misc/amanda-server) and would like to install from the ports collection.
  However the port maintainer has not updated Amanda in quite some time. Can
  someone give me some advice on how to roll my own ports install from the
  source tarball?  Thanks.
 
 Did you try to contact the port maintainer? You probably want to check
 with him/her before you update the port no?
 
 In any case, it's a good idea to update the port because we're going
 to need it here too!

It's nice to contact the maintainer to ensure you don't duplicate efforts.  
But no need to ask permission to create an update patch. :)

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


Re: Amanda port update

2008-07-04 Thread Sahil Tandon
FBSD [EMAIL PROTECTED] wrote:

 I did contact the port maintainer, but he didn't respond at all. :(
 
 Any help in getting this port updated would be greatly appreciated!

Follow the guide linked previously in the thread and feel free to ask about 
specific problems that you encounter.  We should also move this discussion to 
the freebsd-ports@ mailing list.

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


Re: Sed in FreeBSD

2008-07-05 Thread Sahil Tandon
Sebastian Tymk?w [EMAIL PROTECTED] wrote:

 I'm trying to use sed in script to append file after pattern but I couldn't
 find any good example
 how can I do it.

Based on sed(1), I think you need something like:

sed '/PATTERN/ r file' 

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


Re: User properties and how to make files with a specific group owner

2008-07-09 Thread Sahil Tandon
Andrew Falanga [EMAIL PROTECTED] wrote:

 I've not had to set this up and so far my efforts have proven less than 
 successful.  I'm working on a web project with my father and one other 
 developer.  I need to have it so that our user id's, when creating files in 
 the directory we share the source code in, create the files with the group 
 id common to the three of us.  How do I do this?

[...]
  
New files are created with GID set to that of the directory in which they're 
contained.  In your case, is that directory owned by user and group 'andy'? 
If so:  

% chown -R :www /path/to/shared/directory

... and every file created therein will have the default GID.

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


Re: PACKAGESITE

2008-07-13 Thread Sahil Tandon
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Can someone provide a correct example of setting PACKAGESITE so that
 pkg_add will find the 7-stable packages for i386?  I have tried
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
 
 as shown in the handbook, and also:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable
 
 and all have failed.  I get messages like
 
 pkg_add: could not find package expat-2.0.1 !
 pkg_add: could not find package png-1.2.28 !
 pkg_add: could not find package pkg-config-0.23_1 !
 
 etc.  Even specifying -v does not cause pkg_add to show exactly

[...]

Did you specify the -r flag?  Without that, the PACKAGESITE environment 
variable is note used.  From the ENVIRONMENT section of pkg_add(1):

 The environment variable PACKAGESITE specifies an alternate location for
 pkg_add to fetch from.  This variable subverts the automatic directory
 logic that pkg_add uses when the -r option is invoked.  Thus it should 
 be a complete URL to the remote package file(s).

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


Re: What price at the license of FreeBSD 7?

2008-07-20 Thread Sahil Tandon
OutBackDingo [EMAIL PROTECTED] wrote:

  How many Zimbabwe dollars, I wonder?  This seems to give the finest 
  measurement for approximations to zero...
 
 I think this is a bit uncalled for, it might have been in a candid
 manner, but there are alot of locations in the world using FreeBSD
 quite effectively where most people live on less then a dollar a day
 Id also like to note your so called US dollar isnt fairing so well.
 Pretty soon might it also be worth 0.00. I do think we should try not to
 insult the ecomonics of other countries 

Your reply is full of fallacies, false assumptions and one or two non 
sequiturs.  But anyway, this is thread is veering way off topic, so let's 
close it.  Thanks.

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


Re: Can't ping

2008-07-20 Thread Sahil Tandon
Rem P Roberti [EMAIL PROTECTED] wrote:
   
[...]

 ping: sendto: Permission denied

Did you (or another admin) change firewall rules?  Also, please do a simple 
google or list archive search before posting to the list.  Searching for the 
error you paste above results in several links that might've helped you 
troubleshoot this problem.

[...]

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


Re: FreeBSD for webserver?

2008-07-22 Thread Sahil Tandon
Paul Schmehl [EMAIL PROTECTED] wrote:

[...]

 Some people enjoy doing that.  Most people just want the software to work, 
 be easy to maintain and upgrade and then stay out of their way. 

Ahem, and that 'just works' crowd is generally not found using FreeBSD or in 
an admin capacity. :-)

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


Re: FreeBSD for webserver?

2008-07-22 Thread Sahil Tandon
Paul Schmehl [EMAIL PROTECTED] wrote:

[...]

 Compiling from source rather than ports gains you nothing, in most cases, 
 and can cost you a great deal of extra time if you run into problems. Time 
 is something most admins I know have precious little of already. 

Relax.  Google joke and jest.  But let's be clear.  You *are* compiling 
from source when you *build* from ports.  You just have some 
guidance via the ports infrastructure. :)  YMMV.  TMTOWDI.  There are 
exceptions.  Et cetera.  No need to justify your methods to the list; just do 
what works for you.

[...]

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


Re: crontab mails

2008-07-25 Thread Sahil Tandon
Yavuz Maslak [EMAIL PROTECTED] wrote:

 On freebsd7.0, my crontab sends many mails about its jobs.
 
 I want crontab not to send these mails
 
 How can I do that ?

This is somewhat of a FAQ; see:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/038638.html

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


Re: Backspace Key Not Working

2008-07-26 Thread Sahil Tandon
Schiz0 [EMAIL PROTECTED] wrote:

 I have an annoying problem that I'm not sure how to solve. Here's my setup:
 
 PuTTy = My FreeBSD 6.2 box = Production FreeBSD 7.0 box
 
 All via SSH, of course. Now, on my FreeBSD 6.2 box, the backspace key
 works fine all the time. However, when I connect from my 6.2 box into
 the production 7.0 box, the backspace key does not work all the time.
 In the console, it works fine (as in, it deletes what I type).
 However, when I'm in programs such as VIM, it displays ^? instead of
 deleting. Is there a way to fix this?

What are the contents of .vimrc on the 7.0 machine?  And how have you set 
your TERM environment variable on that machine?  Does anything change if you 
connect directly to your 7.0 box without going through 6.2 in between?

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


Re: apple mac laptop.

2008-08-07 Thread Sahil Tandon
Gary Kline [EMAIL PROTECTED] wrote:

 My daughter wants a laptop; the only brand [ AFAIC ] is Apple.
 amazon.com seems to have a fair price.  Her school requires Word, for
 some reason.  {maybe because we're in X-Bill country:}
 
 Anyway, if anybody onlist knows of a better  place to buy an online Mac
 laptop, please drop a line.  
   
You are asking on the wrong mailing list; see http://www.apple.com.

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


Re: shutdown/reboot suggestion

2008-08-09 Thread Sahil Tandon
Michael Grant [EMAIL PROTECTED] wrote:

 More than once, through carelessness, and I'm sure I'm not alone, I
 have inadvertently shutdown or rebooted the wrong machine.  I'm sure
 some of you know that all too familiar feeling when you see
 Connection closed instead of your desktop being rebooted.
 
 I have a suggestion with respect to these commands.  What if they
 could be modified to require the hostname of the machine as their
 first argument, otherwise, they refuse to bring the machine down?

Write two scripts that check for those additional arguments and name them 
'shutdown' and 'reboot'.  Then ensure that they exist earlier in your 
PATH than the actual shutdown and reboot binaries.

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


Re: MTA advice ??

2008-08-25 Thread Sahil Tandon

Jeffrey Goldberg wrote:

Receiving mail directly will be more possible, but tricky.  You will 
need to use a dynamic DNS system.  Also do consider uptime and 
reliability.  In the old days, if one MTA couldn't reach another it 
would hold stuff in its queue for four or five days.  Now, most MTAs 
appear to be configured to give up after 24 hours.  So if your 
mailserver is down for a day, mail will be bounced and never delivered 
to you.


Actually, most *legitimate* MTAs do not give up after 24 hours.

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


Re: no ask

2008-09-01 Thread Sahil Tandon
D?nielisz L?szl? [EMAIL PROTECTED] wrote:

 Do you have any idea how to set the /etc/make.conf to do not ask any 
 question during the make procedure and do the make with the default 
 settings?

Maybe you're looking for BATCH=yes?

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


Re: smtp authentication

2008-09-01 Thread Sahil Tandon
David Southwell [EMAIL PROTECTED] wrote:

 I am running postfix on freebsd 7.0 using a dynamic IP address and am 
 getting requests to turn on smtp authentication for outgoing mails to 
 reach servers such as yahoo.com but do not know how to do it.

This is a little unclear.  Who is making these requests?  And what do 
your logs currently show when you try to send email destined for 
yahoo.com?  You might also want to take this discussion to the 
postfix-users mailing list.  But in general, for help with SASL in 
Postfix, see:

http://www.postfix.org/SASL_README.html

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


Re: /etc/hosts

2008-09-01 Thread Sahil Tandon
Tom Marchand [EMAIL PROTECTED] wrote:

 Everything is set correctly in rc.conf.  What I have noticed is that 
 ping can resolve hosts from /etc/hosts.  
 
If ping works then everything is fine in /etc/hosts.  You haven't told us 
what program you're using to resolve the 'test' hostname.  If you're 
using something like dig or nslookup, then this is expected behavior; 
those programs are *supposed* to query the name server and do not read 
/etc/hosts.

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


Re: (no subject)

2008-09-01 Thread Sahil Tandon
kakyama umar [EMAIL PROTECTED] wrote:

 hi, their have just installed freebsd 6.2 but am having issues with 
 configuring ssh so can you plz help me out.
   
http://www.lemis.com/questions.html

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


Re: /etc/hosts

2008-09-02 Thread Sahil Tandon
Derek Ragona [EMAIL PROTECTED] wrote:

 What error are you getting from ping?

I think the OP said he did not have a problem with ping.

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


Re: mail server DNS configuration questions

2008-09-06 Thread Sahil Tandon
Andrew Falanga [EMAIL PROTECTED] wrote:

 It doesn't take a rocket scientist, or a computer scientist, to 
 figure out we've got DNS issues.

What exactly is the problem though?  What problems are you having on 
the mail server that lead you to the above conclusion?

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


Re: ssh

2008-09-07 Thread Sahil Tandon
FBSD1 [EMAIL PROTECTED] wrote:

 On FreeBSD 7.0 how do I tell ssh to allow login from root 
 
Change the PermitRootLogin parameter in /etc/ssh/sshd_config.

 and also to listen on port 9922 instead of port 22?

Edit the the Port parameter in the same config file.  And as an aside

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


Re: Local freebsd-update and portsnap server

2008-09-07 Thread Sahil Tandon
Christer Solskogen [EMAIL PROTECTED] wrote:

 Is there any docs about how to setup a own freebsd-update and 
 portsnap-server/mirror? Or is the only way to setup some kind of 
 proxy?

Proxy is recommended as per the man page; also see this thread for some 
background:

http://freebsd.monkey.org/freebsd-stable/200604/msg00606.html

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


Re: ssh

2008-09-07 Thread Sahil Tandon
Kevin Kinsey [EMAIL PROTECTED] wrote:

 Sahil Tandon wrote:
 FBSD1 [EMAIL PROTECTED] wrote:

 On FreeBSD 7.0 how do I tell ssh to allow login from root 
  Change the PermitRootLogin parameter in 
 /etc/ssh/sshd_config.

 and also to listen on port 9922 instead of port 22?

 Edit the the Port parameter in the same config file.  And as an 
 aside

 ... don't do it. ;-)

 Just my guess.

Woops!  I guess the rest of the sentence never made it, and yep, that 
was it.  I was just going to caution against false hopes of increasing 
security through obscurity. :-)

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


Re: safest way to upgrade a production server

2008-09-07 Thread Sahil Tandon
John Almberg [EMAIL PROTECTED] wrote:

 So, my first question is, do I really need to do this?

Not unless you can identify a good reason (i.e. feature requirements, 
security, end-of-life).  6.3 end-of-life is estimated around January 
31, 2010, so you still have some time. :-)
 
 If so, what is the minimum amount of upgrading I can do to be safe?  
 And how?

Upgrade ports based on security/feature requirements.  We generally do 
not upgrade production servers from one release to another while 
they're still expected to be in production.

You'll probably get a lot of different suggestions from this list -- 
good luck!

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


Re: Postfix issue

2008-09-08 Thread Sahil Tandon
David Southwell [EMAIL PROTECTED] wrote:

 Sorry to ask the question here but postfix users mailing list is 
 currently rejecting mails from servers on a dynamic ip address 
 - so I cannot get through to ask a question there.

Incidentally, your IP is also listed on several RBLs.

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


Re: Postfix issue

2008-09-08 Thread Sahil Tandon
David Southwell [EMAIL PROTECTED] wrote:

 Could anyone tell me what entry I should make in postfix 
 configuration files to bounce mails directed to [EMAIL PROTECTED] 
 that emanate from a source outside my local network.

After permitting your networks in the smtpd_recipient_restrictions, use 
check_recipient_access to REJECT any messages with an RCPT TO 
[EMAIL PROTECTED]

http://www.postfix.org/postconf.5.html#check_recipient_access
http://www.postfix.org/access.5.html

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


Re: /etc/hosts not working

2008-09-11 Thread Sahil Tandon
David Naylor [EMAIL PROTECTED] wrote:

 I am trying to redirect a URL request to a different address but it 
 appears that /etc/hosts is not doing the job.  Example:
 
 127.0.0.1  google.com
 
 The way I understand it is that by typing google.com in a web browser 
 it should result in the local page being displayed.  It instead goes 
 to the proper Google page.  

Which browser?  Works fine here; might be a browser cache issue.

 `ping google.com' actually pings 127.0.0.1 but `host google' returns 
 the actual IP addresses for google.  

This means both ping and host are working as designed.

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


Re: setup cronjob

2008-09-11 Thread Sahil Tandon
Darrell Betts [EMAIL PROTECTED] wrote:

 I have wrote a small script put it in my home directory. I am trying to 
 setup a cronjob to run it every six hours. When it runs the job I 
 receive the error message  /usr/home/test/cronjobs/test.sh: not found 
 I have tripe checked the file permissions and they appear correct so I 
 am stumped as to why this won't run? Any ideas?

Show the output of:

% ls -l /usr/home/test/cronjobs
% crontab -l
% less /etc/crontab

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


Re: problem killing a process with its pid

2008-09-14 Thread Sahil Tandon
Richard Yang [EMAIL PROTECTED] wrote:

 I have been trying to kill the process by pulling natd.pid

Is the rc script, which can be used to stop natd, not working?

 below are 3 typical examples among a couple dozens I tried
 
 kill -9 $(natd.pid)
 Illegal variable name
 
 kill -9 '/var/run/natd.pid'
 kill: Arguments should be jobs or process id's
 
 cat /var/run/natd.pid | kill -9
 (no error returned, but natd process is still up)

In bash, you could:

# kill -9 $(cat /var/run/natd.pid)

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


Re: upgrade packges

2008-09-20 Thread Sahil Tandon
gahn [EMAIL PROTECTED] wrote:

 Hi all:
 
 I am trying upgrading some packages and having problems. for example:
 
 home# pkg_delete mysql-client-5.0.67
 pkg_delete: package 'mysql-client-5.0.67' is required by these other packages
 and may not be deinstalled:
 apache-2.2.9_5
 php5-5.2.6_2
 cyrus-sasl-2.1.22_1
 postfix-2.5.4,1
 subversion-1.5.2
 
 ok, if i removed it via pkg_delete -f and replace it with new
 version (5.1), then what would happen to packeges like apach2.2.9.5,
 php5-5.2.6_2 ...? are those packages would fail?

They should not fail if you successfully upgrade mysql-client;
incidentally, you might want to try:

% portupgrade -o databases/mysql50-client mysql-client

Of course, to do this you'll need to install ports-mgmt/portupgrade.

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


Re: Identd question...

2008-09-25 Thread Sahil Tandon
Agus [EMAIL PROTECTED] wrote:

 Just wondering if i can have like a central ident server on my
 LANthats cause my boxes are behind A NAT so i can only forward
 identd requests to oneand i mean like a fake one..cause the
 process may be on one of the other boxes that require de ident, is
 clear?...i read about fakeidentdjust wanted to ask your opinion or
 experience on this

Without more information about exactly what problem you're trying to
solve, I think yes it's possible.

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


Re: testing

2008-09-27 Thread Sahil Tandon
Michael P. Soulier [EMAIL PROTECTED] wrote:

 I've gotten many bounces from the list MX lately. Let me test right
 from gmail instead of my ISP's mail server.

From the Handbook:

 Note: If you wish to test your ability to send to FreeBSD lists, send a
 test message to freebsd-test. Please do not send test messages to any
 other list.

% dig +short MX digitaltorque.ca 
20 gatekeeper.digitaltorque.ca.
0 mail.digitaltorque.ca.

I know those are the incoming MXs for your domain, but were you by any
chance trying to relay to the FreeBSD list via gatekeeper?  Its IP is
listed on multiple RBLs:

dnsbl.sorbs.net
dul.dnsbl.sorbs.net
zen.spamhaus.org

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


Re: The consequences of turning off sendmail

2008-09-27 Thread Sahil Tandon
Andrew Falanga [EMAIL PROTECTED] wrote:

 This question comes from complete ignorance about this stuff (what
 happens when turning off sendmail), but if I turn off sendmail will
 system messages still get delivered?  Also, I'm going to be using this
 box as a web server and I'm using Joomla!.  If I turn this off, will I
 still get the notifications that new users have signed on, etc.?  I'd
 like to turn it off because the box doesn't sit inside of a fully
 qualified domain (it sits inside a 192.168.x/24 network), but will
 host web services for www.whitneybaptist.org.  Obviously, requests
 sent to 72.24.34.252 on port 80 are forwarded to this box (actually,
 internally it's 192.168.2.23).  Also, (for those who have endured
 helping me work through the issues with our mail server) until I get
 things worked out with DNS this new server will not be hosting e-mail
 for this domain (whitneybaptist.org), that's temporarily being done at
 google mail.
 
 So, basically, what sort of trouble am I going to get into by turning
 off sendmail?  Also, I think I'm going to implement DNS, an internal
 thing, to make this box happy and then point the resolver to use the
 Internet DNS servers for everything else.

You can turn off the Sendmail daemon so that it does not actually listen
for incoming connections or act as an MTA in the conventional sense.
But local utilities like cron can still invoke the /usr/sbin/sendmail
command to send you notifications.

http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html

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


Re: How to generate password hashes for vipw and chpass

2008-10-06 Thread Sahil Tandon
Ivan Rambius Ivanov [EMAIL PROTECTED] wrote:

 Can you please show me how to generate the password hashes?

There are many tools; I use security/makepasswd.

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


Re: portupgrade failure

2008-10-13 Thread Sahil Tandon
Michael P. Soulier [EMAIL PROTECTED] wrote:

 On Mon, Oct 13, 2008 at 2:05 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
  So don't use it?  :-)  There are alternatives like portmaster.
 
 I suppose I prefer a single, reliable, supported tool for the system.
 portupgrade seems to be pushed the most in all of the documentation
 that I can find, so I went with it. Maybe I should dig into its guts
 and find out how it works.

Try portmanager; it has worked well for me.

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


How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Sahil Tandon
When I 'adduser' a new account, a /var/mail/$USER file is created.  This is
unnecessary as our MTA is configured to deliver mail directly to a user's
~/Maildir/, where the IMAP server looks by default.

There is nothing in the adduser or adduser.conf man pages that explains how
to manipulate (or, in my case, simply stop) the creation of this file.

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


Re: portupgrade - skipping -held by user- meaning?

2007-01-01 Thread Sahil Tandon

Vizion wrote:


What does it mean when the message
--- skipping [portname] because it is held by user (specify -f to force)


Does said port appear in the HOLD_PKGS array within pkgtools.conf?  From
that file:

  # HOLD_PKGS: array
  #
  # This is a list of ports you don't want portupgrade(1) to upgrade,
  # portversion(1) to suggest upgrading, or pkgdb(1) to fix.
  # You can use wildcards (ports glob and pkgname glob).
  # -f/--force with each command will override the held status.


and when  why should -f be specify?


When you want to force the upgrade of a package even though you've 
held it in pkgtools.conf.


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


Re: How to stop automatic creation of /var/mail/$USER

2007-01-01 Thread Sahil Tandon

Michael P. Soulier wrote:

When I 'adduser' a new account, a /var/mail/$USER file is created.  
This is unnecessary as our MTA is configured to deliver mail directly 
to a user's ~/Maildir/, where the IMAP server looks by default.


There is nothing in the adduser or adduser.conf man pages that 
explains how to manipulate (or, in my case, simply stop) the creation 

 of this file.


I do the same. I don't really care about the file, as it's not hurting
anything.


It doesn't hurt anyone but is it possible to disable its creation?

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


Re: how to fetch again a port from port distribution (ftp site)?

2007-01-01 Thread Sahil Tandon

VeeJay wrote:


I was trying to install mysql from port collection. But during downloading
port from port distribution, my internet connection got broken for few
minuts...

now when I run make again... it tries to compile uncomplete downloaded src

how can I get rid of this pre-fetched src, remove it and

how to fetch again a port from port distribution (ftp site) when src is
already downloaded once?


Go into the port's directory and 'make distclean'; this will remove the 
sources you downloaded in /usr/ports/distfiles.  Then just 'make 
install' to build again.


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


Re: Is there a solution for 550 User Unknown mails

2007-01-03 Thread Sahil Tandon

Derrick Ryalls wrote:

This is perhaps off topic, but all machines in question are running 
FreeBSD  :)


This problem is related to the configuration of your MTA, not FreeBSD.


Every day I get dozens of failed email notifications in the form of:

UNDELIVERABLE MAIL Your message to the following recipients cannot be
delivered: [EMAIL PROTECTED]: webmail.hansenet.de
[213.191.73.2]:

   RCPT TO:[EMAIL PROTECTED]

 550 RCPT TO:[EMAIL PROTECTED] User unknown


[...]


With secondary mail servers, I am accepting mail for other domains,
and then forwarding them on.  It is my belief that acting as a
secondary mail server is what is causing me to receive all these
errors.


[...]


Assuming that my guessing is correct, is there any way to stop this
flood of reject emails short of not being a secondary server for
anyone?


Which MTA?  In Postfix, you can use the relay_recipient_maps parameter 
to query a list of valid recipients.  The MX for which you're acting as 
secondary should be able to provide the list.


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


Re: Mail being sent from my domain...

2007-01-05 Thread Sahil Tandon

Rob W. wrote:


I hope I'm in the right area and someone could possibly help me with this.


You should post this question on the qmail mailing list.  You should 
also include the relevant logs with your question.


Even if you're not an open relay, spammers can spoof your domain name to 
send messages that, when rejected, will come back to you in the form of 
backscatter.


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


Re: Mail being sent from my domain...

2007-01-05 Thread Sahil Tandon

Lars Eighner wrote:


On Fri, 5 Jan 2007, Rob W. wrote:

Ok, and I suppose by chance there is no way to prevent this from 
happening or a way to stop it huh?


No, not from your perspective.


You cannot stop others from spoofing your address, but you can prevent 
some backscatter from clogging your mailbox.  For users of Postfix:


http://www.postfix.org/BACKSCATTER_README.html

However, because you're using qmail, you should post your question on 
that mailing list.


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


Re: Error Installing FreeBSD 6.1

2007-01-06 Thread Sahil Tandon

dharam paul wrote:


I have given the command:
#pkg_add -f vcsup-without-gui


[...]


Does it mean that now I am ready to use CVSup?


Issue a cvsup command and see if it works.

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


Re: Adduser utility to generate random passwds ?

2007-01-08 Thread Sahil Tandon

Frank Bonnet wrote:


Is there a possibility to use as a standalone software
the adduser feature that generate random passwd.

I want to generate new strong password for existing users.


/usr/sbin/pw usermod username -w random

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


Re: Release info

2007-01-09 Thread Sahil Tandon

Dale Johnston wrote:


Hey, so where's the release notes. what's been done/fixed/added in 6.2 vs
6.1, what was done from 6.1RC to 6.1R, etc


http://people.freebsd.org/~bmah/relnotes/

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


Re: How to prevent a filesystem from getting checked by fsck?

2007-01-09 Thread Sahil Tandon

Francisco Reyes wrote:


Have a server  with 3 large filesystems.
I would like to have only one checked by fsck and mounted.
The other two I want to fsck and mount manually.

Is it enough to change options to rw,noauto and pass to 0 for the two 
I don't want mounted or fscked?


See man 5 fstab:

If the option ``noauto'' is specified, the file system will not
be auto-matically mounted at system startup.

and

If the sixth field is not present or is zero, a value of zero is
returned and fsck(8) will assume that the file system does not
need to be checked.

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


Portmanager loop when trying to upgrade perl

2008-05-03 Thread Sahil Tandon
Hi.  I'm running FreeBSD 6.1.  I have never had a problem with portmanager 
until today.  I was trying to update amavisd-new.  When I issued the upgrade 
command, portmanager started to update perl5.8.  Everything was going fine 
until I realized it was looping.  After the 3rd strike, I was told to look at 
the log.  I am not able to glean much in the way of solutions, so hoping 
someone with a similar experience can help.  I did see prior threads about the 
looping problem but I am still unable to update perl.

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


Re: Portmanager loop when trying to upgrade perl

2008-05-03 Thread Sahil Tandon
* Gerard [EMAIL PROTECTED] [2008-05-03 14:47:56 -0400]:

 On Sat, 3 May 2008 13:35:10 -0400
 Sahil Tandon [EMAIL PROTECTED] wrote:
 
  Hi.  I'm running FreeBSD 6.1.  I have never had a problem with
  portmanager until today.  I was trying to update amavisd-new.  When I
  issued the upgrade command, portmanager started to update perl5.8.
  Everything was going fine until I realized it was looping.  After the
  3rd strike, I was told to look at the log.  I am not able to glean
  much in the way of solutions, so hoping someone with a similar
  experience can help.  I did see prior threads about the looping
  problem but I am still unable to update perl.
 
 
 What version of portmanager are you running? The last one is '0.4.1.9' I
 believe. It might have been nice if you had also posted any pertinent
 portions of the log file also. There was a looping problem in a very
 old version of portmanager; however, supposedly it had been corrected.
 Portmanager will not update itself if I remember correctly. I believe
 you have to do it manually.

Sorry for not posting the log file; I meant to do this and forgot:


autoConflicts  0  autoMoved  0
backUp 0  buildDependsAreLeaves  0
forced 0  interactive0
log1  pmMode 1
pristine   0  resume 0

Sat May  3 09:55:47 2008
 perl-5.8.8_1/lang/perl5.8 
MISSING perl-5.8.8_1
/lang/perl5.8 

Sat May  3 10:06:45 2008
 perl-5.8.8_1/lang/perl5.8 
MISSING perl-5.8.8_1
/lang/perl5.8 

Sat May  3 10:06:46 2008
 perl-5.8.8_1/lang/perl5.8 
make Strike 2   
  

Sat May  3 10:25:21 2008
 perl-5.8.8_1/lang/perl5.8 
MISSING perl-5.8.8_1
/lang/perl5.8 

Sat May  3 10:25:40 2008
 perl-5.8.8_1/lang/perl5.8 
make Strike 3, marking port as ignore/looping   
 

Sat May  3 10:25:40 2008
 portmanager 0.4.1_9   
INFO: finished with some ports not updated  if --log was used see 
/var/log/portmanager.log

 Assuming you have the latest version of portmanager:

I do: portmanager-0.4.1_9
 
 1) Update your ports tree

I did, via portsnap update.

 2) Clean out '/usr/ports/distfiles'
Not really necessary; however, it cannot hurt.

Done.

 3) If available, run: portsclean -CDLP

Tried this.

 4) Run: portmanager -u -p -y -l
   
Will try this, though I am a bit reluctant to do an all-out update of 
everything!  For what it's worth, I had a perl module installed via CPAN 
(instead of the ports tree, because the port does not exist), about which 
portmanager seems to complain.  The port was for Net-DNS-Async.  portmanager 
asks me to pkg_delete and re-install.  I will try that and perhaps perl will 
then build/update properly.
  
-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing PERL modules from CPAN (instead of ports)

2008-05-03 Thread Sahil Tandon
In order to setup postfwd (http://postfwd.org), of which there is no FreeBSD 
port, several PERL modules are required; one of them, Net::DNS::Async, also 
does not exist as a FreeBSD port.  If I install this via CPAN, postfwd works, 
but then this breaks portupgrade and portmanager when trying to update perl 
or keep track of new versions of the bsdpan-* packages.  Is there another 
way to go about this outside of trying to create my own postfwd and 
Net::DNS::Async ports?
   
-- 
Sahil Tandon [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble with pfsense and NFS

2008-05-04 Thread Sahil Tandon
* Emanuel Marufo [EMAIL PROTECTED] [2008-05-04 00:34:11 -0500]:

 I got a problem with pfsense, i expect to you can help me.

Have you tried asking on the pfSense mailing list?  They might be more 
receptive.
   
http://www.pfsense.org/index.php?option=com_contenttask=viewid=66Itemid=71

[...]

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


Re: Installing PERL modules from CPAN (instead of ports)

2008-05-04 Thread Sahil Tandon
* Andrew Pantyukhin [EMAIL PROTECTED] [2008-05-04 20:23:09 +0400]:

 Try to request help on [EMAIL PROTECTED] (cc'ed). Perl ports are
 usually very easy to create and maintain, so if you don't want to
 spend 30 minutes learning, someone with enough experience can
 probably do it in a couple of minutes if you ask nicely :)
  
I did not mean to imply I was unwilling to create the port; was just curious 
about how to not break the existing setup when installing modules outside 
of the ports tree.  Someone replied off-list suggesting I install to a 
~/local dir and set $PERL5LIB to take that directory into account.

 Yes, making a new port is the easiest way to install something
 from CPAN.

I do prefer to keep everything organized in ports, so I created my first port:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/123382

Let's hope I didn't totally mess it up. :-)

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


Re: living with freebsd

2008-05-05 Thread Sahil Tandon
* prad [EMAIL PROTECTED] [2008-05-04 22:12:23 -0700]:

 do you use only ports or only packages or a mixture?

Primarily ports.

 do you upgrade from version to version using freebsd tools or do it
 manually?

I use portmanager.

 do you have a different approach regarding the above depending on
 whether it is for a server or a desktop?

Only my servers run FreeBSD.

 the handbook tells you what you can do, but i'd like to know what is
 actually done and why.

Well, that's just a bit too open-ended isn't it? ;-)

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


Re: ports missing after a upgrading

2008-05-06 Thread Sahil Tandon



Hello,
I've just upgraded my freebsd 6.2 system to 6.3 and after successfully
doing this upgrade I started portmanager to upgrade the rest of the
software, but there I get into trouble...
I'm getting allot of dependensie problems logged in
/var/log/portmanager.log saying:

[date/time string]
MISSING dependency of [PACKAGENAME]
[/location/of/port]

[date/time string]
[PACKAGENAME] [/location/of/port]
failed during make, adding to ignore.db


Show actual logs and output.

- Sahil

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


Re: Which FTPs are most used by ports?

2008-05-12 Thread Sahil Tandon
* Francisco Reyes [EMAIL PROTECTED] [05-12-2008]:

 I am about to install FreeBSD at a new job. They block ftp, along with 
 most other ports.

 I may be able to get a whole open for the freebsd server to be able to 
 ftp from some specific machines. Any suggestions what machines I should 
 add to the list?
  
You mean FTP *to* (and not from) specific machines, right?  And what 
about HTTP?  If you look in just a few Makefiles, you'll notice that 
MASTER_SITES vary with each port (CPAN, SF and a few others might appear 
often), so unless you know exactly which ports you will install, this will 
be tough.  For example, see output of:

   % find /usr/ports/ports-mgmt/ -name Makefile | xargs egrep MASTER_SITE

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


Re: portupgrade question

2008-05-13 Thread Sahil Tandon
* AN [EMAIL PROTECTED] [05-13-2008]:

 How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
 option from the command line? What is the correct way to do this?

Look for references to MAKE_ARGS in $PREFIX/etc/pkgtools.conf.

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


Re: download source code on Linux

2008-05-14 Thread Sahil Tandon
* Onkar [EMAIL PROTECTED] [05-14-2008]:

 I want to download  FreeBSD source code on Linux server. How do I go about
 it .

One option is FTP:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/src

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


Re: iSCSI initiator

2008-05-15 Thread Sahil Tandon
* Onkar [EMAIL PROTECTED] [05-16-2008]:
  
 (1) Is iSCSI initiator not currently implemented for FreeBSD ?
  
http://www.freebsd.org/releases/7.0R/announce.html

 (2) There is no iSCSI target daemon currently ?

net/iscsi-target

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


Re: another problem

2008-05-17 Thread Sahil Tandon
* John Wynstra [EMAIL PROTECTED] [05-17-2008]:

 The *portsnap fetch extract* seems to have failed.  I do *pkg_version -v* 
 and openoffice-2 does not appear in the listing.  Why not?  
  
Because it is not installed?

 previous /usr/ports tree came from a tar extract I took from the internet 
 and not the installation CDROM.  Should I clean out some INDEX files and 
 redo this step or is that done automatically?  I just now did another 
 *portsnap fetch update* and openoffice.org was not listed among the new 
 ports.  Of course *pkg_version -v* gives me an incomplete listing.

It does not matter where your ports tree came from.  Go to:

http://www.freebsd.org/doc/en/books/handbook/portsnap.html

and follow the instructions to update your tree. 

 Now what is -lgio-2.0? and why is it missing?

This is related to glib2.0.

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


Re: another problem

2008-05-17 Thread Sahil Tandon
* John Wynstra [EMAIL PROTECTED] [05-17-2008]:

 And glib2 is part of Gnome?
 I never installed Gnome because I don't like Gnome.
 I tried to manually install /usr/ports/devel/gio-fam-backend and got the 
 same error.

Because you need to install devel/glib20 first.

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


Re: installation of Python failed: ./python: Permission denied

2008-05-17 Thread Sahil Tandon
* Simon Jolle sjolle [EMAIL PROTECTED] [05-17-2008]:

 ./python: Permission denied
 *** Error code 126

Anything in /etc/fstab being mounted with noexec,nosuid?

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


Re: another problem

2008-05-18 Thread Sahil Tandon
* John Wynstra [EMAIL PROTECTED] [05-17-2008]:

 I am getting the impression this is very filthy code.
   
Doubt it.

[...]

 c++: Internal error: Killed: 9 (program cc1plus)

Google this.  You probably have RAM issues.  Also, as Glyn already suggested, 
please stop top-posting (google if you do not know what this is).  And in the 
future, for posterity if nothing else, please set subject lines that are 
related to your question.  See:

http://www.lemis.com/questions.html#submit

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


Re: upgraded OS, now how to fix all the pkgs?

2008-05-18 Thread Sahil Tandon
* Len Conrad [EMAIL PROTECTED] [05-18-2008]:

 I've deleted/installed berkeley and portupgrade to get started

 portupgrade-2.3.1,2

The latest version is portupgrade-2.4.3_2,2.  Upgrade and try again.

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


Re: Problem Sending Mail With Postfix

2008-05-19 Thread Sahil Tandon
On May 19, 2008, at 4:17 PM, Montag wrote:

 host mx1.free.bsd.org said: my.mywebsite.com: Helo command rejected:

Are you sure it wasn't mx1.freebsd.org?  And are you mangling 
my.mywebsite.com or is that really the hostname with which your server is 
configured to EHLO/HELO?  The FreeBSD MXs also run Postfix and employ the 
reject_unknown_helo_hostname restriction; it rejects HELO and EHLO hostnames 
that lack DNS A or MX records.  Your log excerpt looks suspicious because 
my.mywebsite.com does have a valid DNS A record:   

my.mywebsite.com.   96  IN  A   208.87.33.150
 
 Any thoughts?  I typed sendmail -bp to print that, which is curious, 
 because I'm pretty sure sendmail is not running; Postfix should be handling 
 everything.

It is actually Postfix behind the scenes!  See man mailwrapper(8) and the 
contents of /etc/mail/mailer.conf.

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


Re: Problem Sending Mail With Postfix

2008-05-19 Thread Sahil Tandon
* Paul Schmehl [EMAIL PROTECTED] [05-19-2008]:

 Macintosh:~ pauls$ telnet my.mywebsite.com 25
 Trying 209.181.247.105...
 Connected to nullmx.mywebsite.com.
 Escape character is '^]'.
 220 nullmx SMTP
 EHLO testing.mydomain.com
 220 Hello
 quit
 220 Buh-bye!
 Connection closed by foreign host

 Why nullmx.mywebsite.com?  Which resolves to an entirely different IP 
 address.

Perhaps the admin routes all port 25 traffic to nullmx.

 So I've got no idea why he's having this problem, unless it's because the 
 MX record doesn't point to my.mywebsite.com.

Pure conjecture, but I think in trying to avoid exposing his machine's real 
hostname, he just wrote my.mywebsite.com, which just so happens to be an 
actual hostname.  Otherwise, I am similarly perplexed.

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


Re: Problem Sending Mail With Postfix

2008-05-19 Thread Sahil Tandon
* Sahil Tandon [EMAIL PROTECTED] [05-19-2008]:

 * Paul Schmehl [EMAIL PROTECTED] [05-19-2008]:
 
  Macintosh:~ pauls$ telnet my.mywebsite.com 25
  Trying 209.181.247.105...
  Connected to nullmx.mywebsite.com.
  Escape character is '^]'.
  220 nullmx SMTP
  EHLO testing.mydomain.com
  220 Hello
  quit
  220 Buh-bye!
  Connection closed by foreign host
 
  Why nullmx.mywebsite.com?  Which resolves to an entirely different IP 
  address.
 
 Perhaps the admin routes all port 25 traffic to nullmx.

Actually, I am wrong here.  This is happening on your machine because you are 
using telnet on OS X Leopard:

http://chip-miller.net/2008/03/14/solving-a-dns-mystery-on-os-x/

Try telnet from a FreeBSD (or any other) machine, and you will get:

# telnet my.mywebsite.com 25
Trying 208.87.33.150...
telnet: connect to address 208.87.33.150: Connection refused
telnet: Unable to connect to remote host

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


Re: Uninstall Webmin

2008-05-23 Thread Sahil Tandon
* Ruel Luchavez [EMAIL PROTECTED] [05-24-2008]:

 Guys, how do you uninstall the setup of webmin (setu.sh)? i allready search
 all the directory of
 my webmin but i cant find the unistall.sh?
 
setup.sh would have created uninstall.sh, but files/patch-aa disables this:

/usr/ports/sysutils/webmin/files/patch-aa:+nouninstall=yes 

Look in setup.sh and you can see the few commands executed by the uninstall 
script.

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


Re: where is FreeBSD on ftp.uk.freebsd.org?

2008-05-24 Thread Sahil Tandon
* Chris Whitehouse [EMAIL PROTECTED] [05-24-2008]:

 Also UK is not in the list of countries at 
 http://mirrorlist.freebsd.org/FBSDsites.php.

Several UK mirrors listed here:

http://www.freebsd.org/doc/en/books/handbook/mirrors-ftp.html

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


Re: Uninstall Webmin

2008-05-24 Thread Sahil Tandon
* Ruel Luchavez [EMAIL PROTECTED] [05-24-2008]:

 but how do you uninstall the setup.sh? i have uninstall the webmin through
 its ports (deinstall) but every time i use again the setup.sh to finish the
 installation of webmin the server still read the old setup.sh configuration
 ( i can't set anymore the port,logs directory,username, etc.)

It is difficult to understand your exact problem or question, but does 
/usr/local/etc/webmin/ exist by any chance?  It was probably (since you 
modified its contents, this is a good thing) not deleted by 'make deinstall'. 
 So:

# rm -rf /usr/local/etc/webmin  /usr/local/lib/webmin/setup.sh

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


  1   2   >