Re: How to make sendmail listen on an address other than the loopback

2007-12-29 Thread Giorgos Keramidas
On 2007-12-28 10:33, Andrew Falanga [EMAIL PROTECTED] wrote:
 Hi,
 I'm trying to get an e-mail system working for my church
 (whitneybaptist.org).  I've added a file called local-host-names in
 /etc/mail as described in the Handbook, then did /etc/rc.d/sendmail
 restart and then did sockstat | grep sendmail and got the following
 results:
 
 root sendmail   32889 3  tcp4   127.0.0.1:25  *:*
 root sendmail   32889 4  dgram  - /var/run/logpriv
 smmspsendmail   696   3  dgram  - /var/run/log
 
 Now, with the exception of the additional file, nothing has been done
 to this stock sendmail configuration (system is 6.2-RELEASE-p7).  How
 would I make sendmail listen on the ip of 192.168.2.23?  I do have
 some experience with sendmail, however, it was several years ago and
 I've forgotten quite a bit.  Why isn't it listening on that address
 now?

What you see is `normal' for a host which supports local email delivery
and forwards everything else to another `smart host'.  If you want to
start a listener which also accepts email from the network (instead of a
listener only for 127.0.0.1 like the one you have now), you will have to
tweak the `sendmail_xxx_enable' options in your `/etc/rc.conf' file.

Right now, you probably have something like:

  sendmail_enable=NO
  sendmail_submit_enable=YES
  sendmail_msp_queue_enable=YES

To run the sendmail daemon for inbound email connections on all network
interfaces, you need sendmail_enable=YES, and then you can drop the
line for the `submit' daemon:

  sendmail_enable=YES
  sendmail_msp_queue_enable=YES

Note: For more details about these `rc.conf' variables, it may be useful
to read the rc.sendmail(5) manpage.

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


error running razor-admin

2007-12-29 Thread Satria Bramana
i'm trying to build a mailserver with antispam, so i choose to use 
spamassassin. 
When i try to run razor-admin -d -create i got an error message like this :
 Razor-Log: Computed razorhome from env: /var/amavis/.razor
 Razor-Log: Found razorhome: /var/amavis/.razor
 Razor-Log: read_file: 15 items read from /var/amavis/.razor/razor-agent.conf
 Razor-Log:  -create will force complete discovery
Dec 29 18:30:42.604741 admin[2468]: [ 2] [bootup] Logging initiated 
LogDebugLevel=9 to stdout
Dec 29 18:30:42.605928 admin[2468]: [ 6] Not creating razorhome 
/var/amavis/.razor, already exists
Dec 29 18:30:42.608444 admin[2468]: [ 5] read_file: 15 items read from 
/var/amavis/.razor/razor-agent.conf
Dec 29 18:30:42.611008 admin[2468]: [ 5] wrote 15 HASH items to file: 
/var/amavis/.razor/razor-agent.conf
Dec 29 18:30:42.611878 admin[2468]: [ 5] computed razorhome=/var/amavis/.razor, 
conf=/var/amavis/.razor/razor-agent.conf, ident=/var/amavis/.razor/identity
Dec 29 18:30:42.612170 admin[2468]: [ 2]  Razor-Agents v2.84 starting 
razor-admin -d -create
Dec 29 18:30:42.612727 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.discovery.lst: No such file or directory
Dec 29 18:30:42.613114 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.nomination.lst: No such file or directory
Dec 29 18:30:42.613467 admin[2468]: [ 5] Can't read file 
/var/amavis/.razor/servers.catalogue.lst: No such file or directory
Dec 29 18:30:42.614640 admin[2468]: [ 5] no listfile: 
/var/amavis/.razor/servers.nomination.lst
Dec 29 18:30:42.615048 admin[2468]: [ 6] no discovery listfile: 
/var/amavis/.razor/servers.discovery.lst
Dec 29 18:30:42.615334 admin[2468]: [ 8] Checking with Razor Discovery Server 
discovery.razor.cloudmark.com
Dec 29 18:30:42.615639 admin[2468]: [ 6] No port specified, using 2703
Dec 29 18:30:42.615913 admin[2468]: [ 5] Connecting to 
discovery.razor.cloudmark.com ...
Dec 29 18:31:02.624353 admin[2468]: [ 3] Unable to connect to 
discovery.razor.cloudmark.com:2703; Reason: Operation now in progress.
Dec 29 18:31:02.624713 admin[2468]: [ 5] Razor Discovery Server 
discovery.razor.cloudmark.com is unreachable
Dec 29 18:31:02.625365 admin[2468]: [ 1] razor-admin error: nextserver: 
Bootstrap discovery failed. Giving up.
nextserver: Bootstrap discovery failed. Giving up.
 

I guess that this is because i'm behind a squid proxy server, so razor can't 
connect to discovery.razor.cloudmark.com
Can someone give some advice about setting up razor-agent.conf to use the proxy 
server?
Thank you very much.




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Photo organizer for FreeBSD?

2007-12-29 Thread Laszlo Nagy


 Hi,

Can you tell me what kind of software should I use for organizing 
photos? Here are my requirements:


- should be able to handle many photos (right now we are using Picasa on 
Ubuntu but for 100 000+ photos it is very slow and unstable)
- should be able to save comments/annotations for the photos (I do not 
like Picasa because it uses a special database for that. I would like to 
have txt files saved in the same directory where the photos are, or 
something similar.)
- should have a full text search feature (search for photos with given 
keywords)
- should run on Windows and FreeBSD. (Actually, I would like to burn 
self-starting DVDs, so a Python or Perl based GUI would be great)


Well, if there is a web server based solution, that is fine with me, I 
need to burn photos to DVDs and be able to use them.


Can you recommend something from the ports tree? Or should I write my 
own program?


Thanks,

  Laszlo

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


buildworld failure on VIA C3 Nehemiah

2007-12-29 Thread Eric Osterweil

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey all,

I posted a question here about a week ago about some compilation  
problems that I'm having on my new VIA M1G board.  I've since  
tested my memory and even swapped the motherboard, and the problem  
remains.  It really seems like it must be user error (i.e. my fault),  
but I can't figure out how.


When I try to buildworld I get a consistent failure at the same point  
(from as).  The output is below.  I previously reported that this was  
random, but have since realized that it is actually very predictable  
(same place every time).  I installed the i386 release of 6.2.   
Should I be using a different arch?  Do I need a flag in the  
make.conf (I just have -pipe and -O2)?


Any help would be greatly appreciated!

Eric

...
- --
 stage 1.1: legacy release compatibility shims
- --
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  INSTALL=sh /usr/ 
src/tools/install.sh  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ 
obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/ 
sbin:/bin:/usr/sbin:/usr/bin  WORLDTMP=/usr/obj/usr/src/tmp   
MAKEFLAGS=-m /usr/src/tools/build/mk  -m /usr/src/share/mk make -f  
Makefile.inc1  DESTDIR=  BOOTSTRAPPING=602000  -DNO_HTML -DNO_INFO - 
DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC  -DNO_PROFILE -DNO_SHARED - 
DNO_CPU_CFLAGS -DNO_WARNS legacy

=== tools/build (obj,includes,depend,all,install)
/usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/ 
build

cd /usr/src/tools/build; make buildincludes; make installincludes
rm -f .depend
mkdep -f .depend -a-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/ 
src/tools/build/dummy.c
cc -pipe  -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/tools/ 
build/dummy.c

cc: Internal error: Illegal instruction: 4 (program as)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1

Stop in /usr/src/tools/build.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHdmGYK/tq6CJjZQIRAj5zAJ9Y2zYRP293oT9SOZihqHUAnLIA7gCeMXux
Ug3Zm7EBRBTO46f8sEwn7fg=
=AdTe
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ralink (DWL-G510) transmit power

2007-12-29 Thread franceschini_a
Hi All,

I've changed my old wireless board (Prism II InstantWave HR PCI card) 
with
a new DWL-G510.

The driver seems to recognize the card correctly but for some reasons 
it wouldn't
work.

After a while I came up with a solution, the problem was in the range.

It is extremely short!  6 meters at most in line of sight!

I tried with a 15db gain antenna without success.. and I'm wondering if 
there's
a way to increase the txpower of this card (I tried using ifconfig 
txpower)

Can anyone suggest me a board/chipset with higher transmit power?

Thanks in advance.

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


Re: Photo organizer for FreeBSD?

2007-12-29 Thread Girish Venkatachalam
On 15:49:56 Dec 29, Laszlo Nagy wrote:

  Hi,

 Can you tell me what kind of software should I use for organizing photos? 
 Here are my requirements:

 - should be able to handle many photos (right now we are using Picasa on 
 Ubuntu but for 100 000+ photos it is very slow and unstable)
 - should be able to save comments/annotations for the photos (I do not like 
 Picasa because it uses a special database for that. I would like to have 
 txt files saved in the same directory where the photos are, or something 
 similar.)

You can trivially do this with the convert command. Refer to my article.

http://linuxjournal.com/9566

 - should have a full text search feature (search for photos with given 
 keywords)

This can be easily done. I would guess there would be a third party tool
to do this.

 - should run on Windows and FreeBSD. (Actually, I would like to burn 
 self-starting DVDs, so a Python or Perl based GUI would be great)

I wonder if netpbm or ImageMagick is available in Cygwin or in some
other form in Windows. 

 Well, if there is a web server based solution, that is fine with me, I need 
 to burn photos to DVDs and be able to use them.

 Can you recommend something from the ports tree? Or should I write my own 
 program?

You can try this web based solution. I have never tried it, but
apparently it would do a lot of heavy-lifting for you.

http://gallery.menalto.com/

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


Re: Photo organizer for FreeBSD?

2007-12-29 Thread Erich Dollansky

Hi,

Girish Venkatachalam wrote:

On 15:49:56 Dec 29, Laszlo Nagy wrote:

I wonder if netpbm or ImageMagick is available in Cygwin or in some
other form in Windows. 


ImageMagick is available native for Windows.

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


how to suspend/wake-up a FreeBSD machine?

2007-12-29 Thread Mikhail T.
Hello!

I managed to suspend some of my computers a few times (using
either ``zzz'' or ``acpiconf -s 1''), but I could never successfully
wake the system up after this, requiring a full reboot.

What's the proper procedure? I tried the power-button (no effect) and
hitting random keyboard keys (no effect). How is it supposed to work?

Thanks!

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


Re: buildworld failure on VIA C3 Nehemiah

2007-12-29 Thread RW
On Sat, 29 Dec 2007 10:02:44 -0500
Eric Osterweil [EMAIL PROTECTED] wrote:


 Do I need a flag in the  
 make.conf (I just have -pipe and -O2)?

If you don't set any such variables in make.conf they get sensible
defaults that depend on your CPUTYPE setting. You shouldn't really mess
with them unless you have good reason to think you are making an
improvement; you may be missing something that's in the default - I
don't know.

I think the CPU type should be either c3 or c3-2  depending on whether
you have 3dnow or sse support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


6.2 Headless Installs Don't Seem to Work.

2007-12-29 Thread Philip Brown
Hi Martin,

If you are still having trouble with headless installs here is a link to 
instructions for setting up a bsd.iso that outputs to serial for a headless 
installation.

http://default-information.blogspot.com/2007/12/headless-freebsd-installation-cd.html

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


Re: buildworld failure on VIA C3 Nehemiah

2007-12-29 Thread Warren Head
2007/12/29, Eric Osterweil [EMAIL PROTECTED]:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Should I be using a different arch?  Do I need a flag in the
 make.conf (I just have -pipe and -O2)?


I don't know, but this is what I read on a Gentoo wiki page: (related to
bugs in a Gentoo package)
http://gentoo-wiki.com/Safe_Cflags

Before you submit a bug report, compile with just -O2 -march=i686 -pipe
 and without -fomit-frame-pointer (see
 http://bugs.gentoo.org/show_bug.cgi?id=68282 for an explanation.)
 Basically the frame-pointer is needed for stack traces.


Good luck.

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


Re: AAARRRGH: network foul-ups.

2007-12-29 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Brian A. Seklecki (Mobile) wrote:
 On Thu, 2007-12-27 at 18:38 -0800, Gary Kline wrote:
  The trouble is that two of my machines report the identical 
  private IP: 10.0.0.250. Previously tao was 10.0.0.247 and
 
 
 Be sure to flush old entries from: /var/lib/dhclient/dhclient.leases on
 DHCP Clients
 
 ~BAS
 
 
  tao2 was 10.0.0.250.  Today I switched the names in
  /usr/local/etc/dhcpd.conf, shutdown, and rebooted my
  mailserver--also my DNS server--and the two other computers.
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Yeah, and also make sure that both machine are reporting the correct I{s in
their arp databases.  You use the arp -a to list, take a look at the man
page arp(8).  Arp is one way to enter aliases onto your local net.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdpsFz62J6PPcoOkRAvGYAJ92vTiKbVIRMN0co7B2ENrOGPrmbwCglRDT
/VRamGilzXt0ySjSlK4MO1Q=
=o1M9
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


job opportunity as a model/selling agent

2007-12-29 Thread Viva Models

   Imagine having an exciting high-paying job as a model or selling agent
   for new magazine. Imagine having your photo taken for Vogue, your
   favorite magazine or top sellers companies. You can work online
   directly from your computer by sending us your picture and making the
   front page of magazine,company catalog, online advertisement page, and
   modeling for new wesbites with your picture on the home page.
   We are looking for models for models or selling agent for new
   magazine,both male and female. Models will need to have excellent
   skin, natural looking and good body figure(fat or thin). As a
   model,actress or actors you may have the opportunity to travel to
   beautiful locations, be pampered, attend events with celebrities
   everything sponsored and earn thousands of dollars a day. Modeling can
   also lead to many other fabulous opportunities.
   As a model your work may involve:
   ***Working directly from your computer at home .
   ***Editorial (magazine and newspaper) modeling .
   ***Print advertisements for bookseller companies.
   ***Catalog and brochures modeling for retail stores, custom salons or
   specialty stores.
   ***Salary Range: $5,000.00 - $50,000.00/ engagement.
   ***Salaries can be vary.
   ***Gender: Female / Male
   ***Age: from 18 to 36
   ***Ethnicity: Any -
   ***Hair Color: Any -
   ***Body Type: Any -
   As a Selling Agent your work may involve:
   ***Working directly from your computer at home .
   ***Selling magazine online through auction or classified sites.
   ***Receiving payment from buyers.
   ***Calling and staying in Contact with buyers.
   ***Gender: Female / Male
   ***Age: from 22 to 50
   ***Salary Range: Salary Range: $10,000.00 - $35,000.00/ per month
   ***Salaries can be vary.
   Qualifications:
   Education Some college degrees or coursework in Art, Drama, Dance, or
   Fashion Design is helpful.
   Experience none required but we need someone who enjoying modeling but
   experience are required for a Selling Agent in customer service
   duties.
   Personal Characteristics/Skills photogenic and physically attractive
   and body measurements falling within certain industry standards;
   familiarity with different modeling techniques, formal fashion show
   procedures and the use of cosmetics; excellent fashion style; good
   people skills; self-discipline; a positive attitude for models.
    To apply as a Selling Agent or applying as a model, both male and
   female please send your CV/Resume to our email:
   [EMAIL PROTECTED]
   VIVA MODELING AND MAGAZINE AGENCY
   http://www.vivamodels.fr/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Having problems with SMTP authentication

2007-12-29 Thread Andrew Falanga
HI,

I've followed the instructions @ 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html, but 
am still having problems with the authentication process.

If I set my client to use either CRAM-MD5 or DIGEST-MD5, I get an error return 
of authentication failure, most likely the password is wrong.  Now, to make 
sure that I'm understanding this correctly, this program (saslauthd) takes 
the username and passwords given it and attempts to verify them against what 
the system knows to be it's users, correct?

Working under this assumption, it would seem that the user vmail (a user I 
created on the system) would be the user that I would want to use in the 
e-mail client.  Well, I've done this and verified that the password is, in 
fact, correct; I'm unable to authenticate to the SMTP server.

Another point of interest, I added these lines (from the handbook) to my 
freebsd.mc file (as per instructions):

dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl

But when I ask my e-mail client to check what the server supports, the 
returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5.  Why is LOGIN not 
listed when it's included in this macro file?  Is there anything missing from 
this section of the handbook that I've missed?

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


Re: Having problems with SMTP authentication

2007-12-29 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Andrew Falanga wrote:

 dnl set SASL options
 TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 
 But when I ask my e-mail client to check what the server supports, the 
 returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5.  Why is LOGIN not 
 listed when it's included in this macro file?  Is there anything missing from 
 this section of the handbook that I've missed?

LOGIN will only be enabled over an encrypted connection.  All you need
to do to enable the stock sendmail to support STARTTLS is tell it to
use one or more SSL certs.  Adding something like this to
/etc/mail/`hostname`.mc is how to do that:

dnl
dnl TLS stuff
dnl
define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/cacert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl

Which means you'ld put the PEM encoded cacert, key and cert into
/etc/mail/cacert.pem, /etc/mail/key.pem and /etc/mail/key.cert
respectively.  To generate all of those, there are some pithy
instructions here:

http://www.sendmail.org/~ca/email/other/cagreg.html

When submitting a new message, most mail clients will automatically
do STARTTLS if it's available.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdrM68Mjk52CukIwRCHdTAJ9oUv7PNaV41xopL9/uw1UMcx1gDACghT4Z
orlyowTjs5ZXPsv+7B/nebg=
=LWRP
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Having problems with SMTP authentication

2007-12-29 Thread Andrew Falanga
On Saturday 29 December 2007 13:51:06 Matthew Seaman wrote:
 Andrew Falanga wrote:
  dnl set SASL options
  TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
  define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
 
  But when I ask my e-mail client to check what the server supports, the
  returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5.  Why is LOGIN not
  listed when it's included in this macro file?  Is there anything missing
  from this section of the handbook that I've missed?

 LOGIN will only be enabled over an encrypted connection.  All you need
 to do to enable the stock sendmail to support STARTTLS is tell it to
 use one or more SSL certs.  Adding something like this to
 /etc/mail/`hostname`.mc is how to do that:

this seems to imply you want me to create a file named hostname.mc.  The 
instructions I followed in the handbook also mentioned that, Many 
administrators choose to use the output from hostname(1) as the .mc file for 
uniqueness.  Do I have to make this new file, paste into it all the stuff 
in freebsd.mc and then add these lines too?


 dnl
 dnl TLS stuff
 dnl
 define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
 define(`confCACERT_PATH', `CERT_DIR')dnl
 define(`confCACERT', `CERT_DIR/cacert.pem')dnl
 define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
 define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
 define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
 define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl

 Which means you'ld put the PEM encoded cacert, key and cert into
 /etc/mail/cacert.pem, /etc/mail/key.pem and /etc/mail/key.cert
 respectively.  To generate all of those, there are some pithy
 instructions here:

 http://www.sendmail.org/~ca/email/other/cagreg.html

Thanks for all this.

Andy


 When submitting a new message, most mail clients will automatically
 do STARTTLS if it's available.

   Cheers,

   Matthew


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


Port Updates for 6.1

2007-12-29 Thread Don O'Neil
What is the safest and cleanest way to update the ports in /usr/ports for a
6.1-STABLE install? I don't want to risk breaking anything, I just need some
updated ports so I can install the latest SpamAssassin port.

Thanks!

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


Re: IPFW: Blocking me out. How to debug?

2007-12-29 Thread W. D.
At 08:49 12/22/2007, Ian Smith wrote:
Warning: overlong message.
W. D. wrote:

  OK, sorry.  I guess I just assumed that it would be obvious 
  that this is a Web server.  (Never assume anything, my good 
  fellow - Sherlock Holmes).  

  By the way, it is/will be running Plesk server management
  software, if it matters:
  http://www.swsoft.com/en/products/plesk/reqs/

I know nothing of Plesk, but doubt it's relevant to this now.

  Also, this server is on an internal LAN before I subject
  it to the wild, untamed, InterWeb, with its dangerous
  internets darting back and forth inside all of the tubes.

Really good idea :)

 add allow all from any to any via lo0
 add deny ip from any to 127.0.0.0/8
 add deny ip from 127.0.0.0/8 to any

  
  That's ok.  It may help you in debugging what's happening to use:

  
allow log tcp from any to any in established
allow log tcp from any to any out established

In that case 'me to any' or 'any to me' provides unambiguous direction
where appropriate.  As shown in your ipfw show below, direction can help
make things clear, and clarity means safety when it comes to firewalls,
even if it means a slightly larger ruleset.

 # Deny fragmented packets:
 add deny ip from any to any frag
  
 # Show pings:
 add count icmp from any to any icmptypes 8 in

  
  That's inbound ping requests.  Don't forget that 'inbound' means coming
  into the firewall, not necessarily from the outside world.  Your own
  ping requests _from_ this box also have to both come in, and go out. 
  
  Hmmm.  OK.  Outbound Ping will be rarely used, but should
  be allowed.  Isn't that included in the next rule?

Yes it is, so here ambiguous directionality works ok, as long as you're
well aware of it.
 
 # Allow pings, ping replies, and host unreach:
 add allow icmp from any to any icmptypes 0,8,3
  
  Add icmptype 11 as well if you want traceroutes to work ..


  Ok, though udp rules are often better done statefully.  See below.
  
 # Allow DNS with name server
 add allow udp from any to any domain out
 add allow udp from any domain to any in
Nope.
  
  You want to watch out here.  This allows udp packets from any address
  with source port 53 to connect with any open udp port on your system,
  and allows the responses as well.  It's a simple matter using such as
  netcat to source packets from port 53. 
  
  Should I restrict it by specifically stating the service?
  How can I be safe?  What would the rule look like? 
  
  I gather from this that you're not running a DNS server yourself, but
  using upstream server/s?  In that case a stateful rule is safer:
  
  Again, I apologize for not being clear.  I will be running
  DNS on this box for the domains being hosted.  So, it will
  be polled whenever a request for a hosted domain is needed.

Ok, so your nameserver will be making upstream requests too, and you'll
need to do TCP 53 traffic with your secondary nameserver/s as well as
UDP 53 traffic with upstream nameservers, up to the root unless you're
only using specified upstream forwarders. Given that you're checking TCP
setup, allowing established, then maybe:

 allow udp from me to any 53 out keep-state# my requests
 allow udp from any to me 53 in keep-state # serve outside requests
 allow tcp from me to $secondaries 53 setup# zone transfers out
 allow tcp from $secondaries to me 53 setup# zone transfers in

What is $secondaries?


though you'll want to protect named with ACLs for xfers as well.

ACLs?  What are those?


 # SSH
 #  Note that /etc/hosts.allow has restrictions
 #  on which IP addresses are allowed.
 #
 # Allow SSH:
 add allow tcp from any to any ssh in setup
  
  By 'ssh working', I guess you mean ssh connections to this box from
  elsewhere, rather than ssh connections from this box?  Not clear.
  
  Sorry!  I am using SSH into this box, since it is easier to
  cut and paste for editing and configuration.
  
  I can't really see a situation where I would normally need to SSH
  outbound, can you?  I use the Windoze boxes for that.

You never know; you may want to use ssh or scp to other boxes, for
backups and such, but you can always add rules whenever required.

 # HTTP  HTTPS:
 add allow tcp from any to any https in setup
 add allow tcp from any to any http in setup

  
access to only your LAN.  Will this webserver later have a public IP
address, or run behind NAT with port forwarding? 

Public IP.





 # FTP:
 add allow tcp from any to any ftp in setup
 add allow tcp from any to any ftp\-data in setup
 add allow tcp from any ftp\-data to any setup out

  Mmm, I prefer using and enforcing FTP passive mode, but YMMV.
  
  How would I do that?  This 

Re: Having problems with SMTP authentication

2007-12-29 Thread Gerard
On Sat, 29 Dec 2007 15:24:42 -0700
Andrew Falanga [EMAIL PROTECTED] wrote:

[snip]

 this seems to imply you want me to create a file named
 hostname.mc.  The instructions I followed in the handbook also
 mentioned that, Many administrators choose to use the output from
 hostname(1) as the .mc file for uniqueness.  Do I have to make this
 new file, paste into it all the stuff in freebsd.mc and then add
 these lines too?

It has been ages since I worked with Sendmail; however, I believe all
you have to do, after configuring the /etc/mail/*.mc files, is
run:

make all install restart

in the /etc/mail directory. Be sure to read the documentation in each of
the *.mc files. If you have not all ready done so, check out the
aliases file and modify as required. Be sure to run 'newaliases' when
finished. If I remember correctly, the new *.cf files will be in the
form of hostname.cf.

You could always use Postfix. It is a lot easier.

-- 

Gerard
[EMAIL PROTECTED]

O give me a home,
Where the buffalo roam,
Where the deer and the antelope play,
Where seldom is heard
A discouraging word,
'Cause what can an antelope say?



signature.asc
Description: PGP signature


Still having problems burning DVDs

2007-12-29 Thread Andrew Falanga
Ok,

Thanks to the help of earlier posts (a couple of weeks ago), using kldload 
atapicam now allows for the scsi ioctls on my IDE CD/DVD burner.

However, when I do the following:

growisofs -Z /dev/cd0 -dvd-video /usr/local/dvds/whereisGod1.iso

I get this output:
Executing 'mkisofs -dvd-video /usr/local/dvds/whereisGod1.iso | builtin_dd 
of=/dev/pass0 obs=32k seek=0'
mkisofs: Value too large to be stored in data type. 
File /usr/local/dvds/whereisGod1.iso is too large - ignoring
mkisofs: Unable to make a DVD-Video image.
:-( write failed: Input/output error


Now, what is causing this?  The command I'm using is right off of the handbook 
for creating DVD video:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html

And the size of this file is:

-rw-r--r--  1 root  wheel  4317872128 Nov 21 16:30 whereisGod1.iso


That's slightly smaller than the 4.7 gb that the DVD+R says it will hold.  
Please keep in mind that this iso file I've made is from doing:

cp /dev/acd0 /usr/local/dvds/whereisGod1.iso

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


font problems

2007-12-29 Thread Joey Mingrone
Over the holidays I decided to upgrade my ports after several months
and everything went well except some fonts seems to be messed up.
Sorry, I'm not really sure how to explain this better.  Here is a
screenshot of gkrellm: http://jrm.ath.cx/misc/messed_up_fonts.png

As you can see, the fonts are so large they overlap.  I didn't change
any of my configuration files (xorg.conf, ~/fonts.conf, ~/.gtkrc-2.0,
etc).  The problem seems to be isolated to gtk applications.  Here is
the output from /var/log/xorg.log: http://jrm.ath.cx/misc/Xorg.0.log

It seems as though the usual fonts cannot be rendered so some sort of
defaults are being used.  Thanks for any suggestions.

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


Re: Still having problems burning DVDs

2007-12-29 Thread Darren Spruell
On Dec 29, 2007 3:41 PM, Andrew Falanga [EMAIL PROTECTED] wrote:
 Ok,

 Thanks to the help of earlier posts (a couple of weeks ago), using kldload
 atapicam now allows for the scsi ioctls on my IDE CD/DVD burner.

 However, when I do the following:

 growisofs -Z /dev/cd0 -dvd-video /usr/local/dvds/whereisGod1.iso

 I get this output:
 Executing 'mkisofs -dvd-video /usr/local/dvds/whereisGod1.iso | builtin_dd
 of=/dev/pass0 obs=32k seek=0'
 mkisofs: Value too large to be stored in data type.
 File /usr/local/dvds/whereisGod1.iso is too large - ignoring
 mkisofs: Unable to make a DVD-Video image.
 :-( write failed: Input/output error

You should use the alternate syntax which takes a pre-mastered DVD image:

growisofs -dvd-compat -Z /dev/cd0=/usr/local/dvds/whereisGod1.iso

Notice how above it's trying to run mkisofs to create the image.
You've supposedly already got the image, so no need to master.

See '18.7.3 Burning Data DVDs'.

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


Re: Still having problems burning DVDs

2007-12-29 Thread Jose Garcia Juanino
El sábado 29 de diciembre a las 23:41:34 CET, Andrew Falanga escribió:
 Ok,
 
 Thanks to the help of earlier posts (a couple of weeks ago), using
 kldload atapicam now allows for the scsi ioctls on my IDE CD/DVD
 burner.
 
 However, when I do the following:
 
 growisofs -Z /dev/cd0 -dvd-video /usr/local/dvds/whereisGod1.iso
 
 I get this output:
 Executing 'mkisofs -dvd-video /usr/local/dvds/whereisGod1.iso | builtin_dd 
 of=/dev/pass0 obs=32k seek=0'
 mkisofs: Value too large to be stored in data type. 
 File /usr/local/dvds/whereisGod1.iso is too large - ignoring
 mkisofs: Unable to make a DVD-Video image.
 :-( write failed: Input/output error
 
 
 Now, what is causing this?  The command I'm using is right off of the 
 handbook 
 for creating DVD video:  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-dvds.html
 
 And the size of this file is:
 
 -rw-r--r--  1 root  wheel  4317872128 Nov 21 16:30 whereisGod1.iso
 
 
 That's slightly smaller than the 4.7 gb that the DVD+R says it will hold.  
 Please keep in mind that this iso file I've made is from doing:
 
 cp /dev/acd0 /usr/local/dvds/whereisGod1.iso

I think it should be:

dd if=/dev/acd0 of=/usr/local/dvds/whereisGod1.iso bs=2048

Check whether the output of file whereisGod1.iso is ISO 9660 CD-ROM
filesystem data or similar.

Regards


pgpQ4VXeAU7KR.pgp
Description: PGP signature


Rebuilding /var/db/pkg

2007-12-29 Thread vittorio
I committed a crime! While upgrading the ports under the newly installed 
RELENG_7 (beta4) with portupgrade -arRk I **deleted ** the 
directory /var/db/pkg. 

Is there any way to rebuild it from scratch?

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


Re: Having problems with SMTP authentication

2007-12-29 Thread Yuri Pankov
On Sat, Dec 29, 2007 at 03:24:42PM -0700, Andrew Falanga wrote:
 On Saturday 29 December 2007 13:51:06 Matthew Seaman wrote:
  Andrew Falanga wrote:
   dnl set SASL options
   TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
   define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
  
   But when I ask my e-mail client to check what the server supports, the
   returned list is only, GSSAPI, DIGEST-MD5 and CRAM-MD5.  Why is LOGIN not
   listed when it's included in this macro file?  Is there anything missing
   from this section of the handbook that I've missed?
 
  LOGIN will only be enabled over an encrypted connection.  All you need
  to do to enable the stock sendmail to support STARTTLS is tell it to
  use one or more SSL certs.  Adding something like this to
  /etc/mail/`hostname`.mc is how to do that:
 
 this seems to imply you want me to create a file named hostname.mc.  The 
 instructions I followed in the handbook also mentioned that, Many 
 administrators choose to use the output from hostname(1) as the .mc file for 
 uniqueness.  Do I have to make this new file, paste into it all the stuff 
 in freebsd.mc and then add these lines too?
 

Just run `make` in /etc/mail, it will create `hostname`.mc for you, edit
it, and run `make all install restart` (targets are described in
/etc/mail/Makefile).

 
  dnl
  dnl TLS stuff
  dnl
  define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
  define(`confCACERT_PATH', `CERT_DIR')dnl
  define(`confCACERT', `CERT_DIR/cacert.pem')dnl
  define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
  define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
  define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
  define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl
 
  Which means you'ld put the PEM encoded cacert, key and cert into
  /etc/mail/cacert.pem, /etc/mail/key.pem and /etc/mail/key.cert
  respectively.  To generate all of those, there are some pithy
  instructions here:
 
  http://www.sendmail.org/~ca/email/other/cagreg.html
 
 Thanks for all this.
 
 Andy
 
 
  When submitting a new message, most mail clients will automatically
  do STARTTLS if it's available.
 
  Cheers,
 
  Matthew

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


Re: font problems

2007-12-29 Thread Yuri Pankov
On Sat, Dec 29, 2007 at 06:29:55PM -0400, Joey Mingrone wrote:
 Over the holidays I decided to upgrade my ports after several months
 and everything went well except some fonts seems to be messed up.
 Sorry, I'm not really sure how to explain this better.  Here is a
 screenshot of gkrellm: http://jrm.ath.cx/misc/messed_up_fonts.png
 
 As you can see, the fonts are so large they overlap.  I didn't change
 any of my configuration files (xorg.conf, ~/fonts.conf, ~/.gtkrc-2.0,
 etc).  The problem seems to be isolated to gtk applications.  Here is
 the output from /var/log/xorg.log: http://jrm.ath.cx/misc/Xorg.0.log
 
 It seems as though the usual fonts cannot be rendered so some sort of
 defaults are being used.  Thanks for any suggestions.
 
 Joey

Hmm,
(==) RADEON(0): DPI set to (75, 75)
was it always 75? (I see a recent update to xf86-video-ati port).
Anyway, try forcing X to use 96, ie, run it as:
X -dpi 96
(it would be :0 local /usr/local/bin/X -dpi 96 :0 in
/usr/local/lib/X11/xdm/Xservers for xdm).


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


Re: Rebuilding /var/db/pkg

2007-12-29 Thread Kris Kennaway

vittorio wrote:
I committed a crime! While upgrading the ports under the newly installed 
RELENG_7 (beta4) with portupgrade -arRk I **deleted ** the 
directory /var/db/pkg. 


Is there any way to rebuild it from scratch?

Ciao
Vittorio


Nope, that was the only copy.

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


Re: Rebuilding /var/db/pkg

2007-12-29 Thread Robert Huff

Kris Kennaway writes:

   I committed a crime! While upgrading the ports under the newly
   installed RELENG_7 (beta4) with portupgrade -arRk I **deleted**
   the directory /var/db/pkg. 
   
   Is there any way to rebuild it from scratch?
  
  Nope, that was the only copy.

Assuming there are no backups, he will have to rebuild from
scratch.  I see two approaches:
I) Find complex leaf programs, like FireFox or OpenOffice.
Build the port; this will drag in all the dependencies.
II) a) Look in /usr/ports/distfiles, where all the distribution
tarballs live.
b) Prune the resulting list, so you're only trying to build one
of any given port.
c) Map the tarball name to the port.  A discussion of how to
do this happened within the last year on either questions@ or
ports@, and may contain usable scripts.
d) Lay in a good supply of your favorite caffeinated beverage,
and set to work.

In either case, design and implement a backup method.



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


kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Iain Dooley

hi all,

uname -a
FreeBSD HOSTNAME 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 
2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


running on dual quad core intel xeons with 4gb ram.

my server has been rebooting quite a bit and stopped responding today. i found 
this on the console:


Fatal trap: 12 page fault while in kernel mode
cpuid = 5; apic id = 05
fault virtual address = 0x0
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc0880472
stack pointer = 0x28:0xe6ea9c8c
code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 12 (idle: cpu5)
trap number = 12
panic: page fault
cpuid = 5
uptime 24m41s
cannot dump. no dump device specified

i've configured the dump device and will follow the kernel debugging details in 
the handbook if it happens again but i thought i'd write in now in case the 
cause of the problem jumped out at anyone.


i've run mprime for 24 hours, and memtest for 3 passes, and a script i 
wrote which just exhausts ram and CPU, then backs off and does it again 
which have been running for 24 hours.


i've also just started running this:

http://www.holm.cc/stress/

i noticed that the same fatal trap 12 appeared during stress tests as 
listed here:


http://people.freebsd.org/~pho/stress/log/cons224.html

any help, guidance or information would be much appreciated.

cheers

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


Re: kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Kris Kennaway

Iain Dooley wrote:

hi all,

uname -a
FreeBSD HOSTNAME 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


running on dual quad core intel xeons with 4gb ram.

my server has been rebooting quite a bit and stopped responding today. i 
found this on the console:


Fatal trap: 12 page fault while in kernel mode
cpuid = 5; apic id = 05
fault virtual address = 0x0
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc0880472
stack pointer = 0x28:0xe6ea9c8c
code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 12 (idle: cpu5)
trap number = 12
panic: page fault
cpuid = 5
uptime 24m41s
cannot dump. no dump device specified

i've configured the dump device and will follow the kernel debugging 
details in the handbook if it happens again but i thought i'd write in 
now in case the cause of the problem jumped out at anyone.


i've run mprime for 24 hours, and memtest for 3 passes, and a script i 
wrote which just exhausts ram and CPU, then backs off and does it again 
which have been running for 24 hours.


i've also just started running this:

http://www.holm.cc/stress/

i noticed that the same fatal trap 12 appeared during stress tests as 
listed here:


http://people.freebsd.org/~pho/stress/log/cons224.html

any help, guidance or information would be much appreciated.


What you have so far is close to meaningless.  The fault virtual 
address = 0x0 means little more than somewhere in the kernel there was 
a null pointer dereference.  The fact that it was the idle process is 
suspicious though, it suggests that hardware failure is a high 
probability.  Please follow up with the backtrace if you want to pursue 
this further.


Kris

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


Re: font problems

2007-12-29 Thread Joey Mingrone
On 12/29/07, Yuri Pankov [EMAIL PROTECTED] wrote:

 Hmm,
 (==) RADEON(0): DPI set to (75, 75)
 was it always 75? (I see a recent update to xf86-video-ati port).
 Anyway, try forcing X to use 96, ie, run it as:
 X -dpi 96

Thanks for the tip.  ..ran: startx -- -dpi 96 and the log showed the
change, and the fonts looked crisper, but the problem with the large
overlapping fonts persisted.  Any other suggestions or thoughts about
where I should continue my search?

Thanks,

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


The FreeBSD Diary: 2007-12-09 - 2007-12-29

2007-12-29 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

17-Dec : PC-BSD
 PC-BSD has a lot going for it 
 http://freebsddiary.org/pcbsd.php?2

9-Dec : IMAP - getting Dovecot running
 POP implies one computer.  IMAP allows many. 
 http://freebsddiary.org/dovecot.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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 suspend/wake-up a FreeBSD machine?

2007-12-29 Thread Nate Lawson
Mikhail T. wrote:
 Hello!
 
 I managed to suspend some of my computers a few times (using
 either ``zzz'' or ``acpiconf -s 1''), but I could never successfully
 wake the system up after this, requiring a full reboot.
 
 What's the proper procedure? I tried the power-button (no effect) and
 hitting random keyboard keys (no effect). How is it supposed to work?
 
 Thanks!

The power button or lid is the most common way to wake.  Since
suspend/resume support needs debugging on many machines, it may not work
for you.

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


Re: kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Iain Dooley



uname -a
FreeBSD HOSTNAME 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


running on dual quad core intel xeons with 4gb ram.

my server has been rebooting quite a bit and stopped responding today. i 
found this on the console:


Fatal trap: 12 page fault while in kernel mode
cpuid = 5; apic id = 05
fault virtual address = 0x0
fault code = supervisor write, page not present
instruction pointer = 0x20:0xc0880472
stack pointer = 0x28:0xe6ea9c8c
code segment = base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 12 (idle: cpu5)
trap number = 12
panic: page fault
cpuid = 5
uptime 24m41s
cannot dump. no dump device specified

i've configured the dump device and will follow the kernel debugging 
details in the handbook if it happens again but i thought i'd write in now 
in case the cause of the problem jumped out at anyone.


i've run mprime for 24 hours, and memtest for 3 passes, and a script i 
wrote which just exhausts ram and CPU, then backs off and does it again 
which have been running for 24 hours.


i've also just started running this:

http://www.holm.cc/stress/

i noticed that the same fatal trap 12 appeared during stress tests as 
listed here:


http://people.freebsd.org/~pho/stress/log/cons224.html

any help, guidance or information would be much appreciated.


What you have so far is close to meaningless.  The fault virtual address = 
0x0 means little more than somewhere in the kernel there was a null pointer 
dereference.  The fact that it was the idle process is suspicious though, it 
suggests that hardware failure is a high probability.  Please follow up with 
the backtrace if you want to pursue this further.


I thought that dodgy ram was the culprit. I've run memtest86 on three 
passes with no errrors reported although I've also read numerous reports 
on the net of memtest86 not being very effective.


can you suggest a good method of stress testing ram? this is a new machine 
and still under warranty so if it's a ram issue I can easily just get it 
replaced.


Cheers,

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


Re: kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Ivan Voras
Iain Dooley wrote:
 hi all,
 
 uname -a
 FreeBSD HOSTNAME 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30
 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 running on dual quad core intel xeons with 4gb ram.

Are you using PAE? (probably not if this is the generic SMP configuration).

 Fatal trap: 12 page fault while in kernel mode

This only means an equivalent of segmentation fault for user-mode
programs. The actual problem can be anything.

 current process = 12 (idle: cpu5)

This is important. The idle process does literary nothing and is
highly unlikely to contain a bug.

Does this mean that the problem only appears when the system is idle?

 i've run mprime for 24 hours, and memtest for 3 passes, and a script i
 wrote which just exhausts ram and CPU, then backs off and does it again
 which have been running for 24 hours.

Do your tests stress multiple CPUs? If not, this may be something to
try. Also try disabling CPUs to see if it makes any difference.

By the way, you are likely not to get any performance benefits (and some
performance regressions are likely) with this number of CPUs on FreeBSD
6.2, except if you intend to do CPU-intensive tasks (like scientific
caluclations). If you can, try the latest release candidate of 7.0.





signature.asc
Description: OpenPGP digital signature


Re: kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Iain Dooley

hi ivan,


uname -a
FreeBSD HOSTNAME 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30
UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

running on dual quad core intel xeons with 4gb ram.


Are you using PAE? (probably not if this is the generic SMP configuration).


no, i checked and i'm not using PAE.


current process = 12 (idle: cpu5)


This is important. The idle process does literary nothing and is
highly unlikely to contain a bug.

Does this mean that the problem only appears when the system is idle?


hmm maybe i should leave the system idle and see if it crashes again :) 
i've been running an application which just loads up RAM with lots of 
processes keeping at least 32 processes running at all times. each script 
is killed when it uses too much space. the machine hasn't crashed again 
for like 2 days.


i'm going away so i might leave it idle for that time and see if it 
crashes again. i've got a dump device setup this time which will give me 
more information to send into the list.



By the way, you are likely not to get any performance benefits (and some
performance regressions are likely) with this number of CPUs on FreeBSD
6.2, except if you intend to do CPU-intensive tasks (like scientific
caluclations). If you can, try the latest release candidate of 7.0.


i'm just running a web application on it. it's a total pain though. i 
should have just bought a late model second hand p4 or something rather 
than a state of the art machine. i'm too out of touch with modern hardware 
to have known what i was getting myself into. live and learn i guess.


cheers

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


Re: kernel panic 6.2-RELEASE SMP dual quad core

2007-12-29 Thread Ivan Voras
Iain Dooley wrote:

 i'm just running a web application on it. it's a total pain though. i
 should have just bought a late model second hand p4 or something rather
 than a state of the art machine. i'm too out of touch with modern
 hardware to have known what i was getting myself into. live and learn i
 guess.

Quad core Xeons are not exactly unusual or significantly different
nowadays. I and many other people have been running them with FreeBSD
without problems almost since they were made.



signature.asc
Description: OpenPGP digital signature


Imap authentication

2007-12-29 Thread Chris Kottaridis
I have been using pop to download email messages. I'd like to switch to
imap.

My mail server is running FreeBSD 5.3

The imap executable is in /usr/local/libexec and inetd.conf is setup
right. I can telnet to port 143 I am talking to the imapd daemon.

However, I can't seem to get logged in. It seems to not like the
username and password I provide. I am providing the username and
password that will work to login interactively to the server.

I assume there is a different authentication method besides the standard
password file, but as yet I haven't been able to find what that might
be.

Clearly I am missing something here. Any pointers to how to set up imap
accounts on the mail server would be appreciated.

Thanks

Chris Kottaridis([EMAIL PROTECTED])

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