How to convert ASCII to Hexadecimal format?

2007-09-22 Thread ronggui
for example:
ASCII: a test
HEX : 61 20 74 65 73 74

Thanks

-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Spaces in SSID in /etc/rc.conf

2007-09-22 Thread ronggui
I come across the same problem. and my solution is to use hex instead
of normal string.

man ifconfig, you will see:

ssid ssid
 Set the desired Service Set Identifier (aka network name).  The
 SSID is a string up to 32 characters in length and may be speci-
 fied as either a normal string or in hexadecimal when preceded by
 `0x'.  Additionally, the SSID may be cleared by setting it to
 `-'.

If you add the following line to /etc/rc.conf, It will works.

ifconfig_ath0 = DHCP ssid 0x6d79206e6574776f726b


Hope it helps.

2007/5/20, Gunther Mayer [EMAIL PROTECTED]:
 Christopher Cowart wrote:
  On Mon, May 14, 2007 at 09:45:48PM +0200, Gunther Mayer wrote:
 
  Hi there,
 
  I got a low key server who is wirelessly connected to the net using an
  SSID that contains a space. In rc.conf I define the ifconfig line for
  configuration of my wireless interface upon bootup, but the entire line
  reads something like
 
  ifconfig_ath0=' inet 192.168.0.1 ssid my network '
 
  No matter how I tweak the quotes (single then double, other way round,
  with lots of \\) I never get my interface to configure properly upon
  bootup and I need to get to the console to fix it up. I thought I knew
  shell syntax but this is beyond me or manpages...
 
  What's the right way to do this?
 
 
  One approach would be to navigate the series of function calls defined
  in /etc/network.subr. I just took a brief look, but it's not immediately
  obvious how many times you're going to have to escape exactly what to
  get the behavior you desire.
 
  Another option would be to make the file /etc/start_if.ath0, containing
  the line `ifconfig ... ssid my network`. This file would be sourced
  when /etc/rc.d/netif starts the network interfaces, before the rc
  variable ifconfig_ath0 is run. You can then omit the variable
  ifconfig_ath0 from /etc/rc.conf.
 
  For more hints, look in /etc/netif, /etc/network.subr, and /etc/rc.subr.
 
 Thanks for all your ideas guys, I really appreciate the help. Finally
 got some time to try all of your suggestions, though backwhacking (\)
 the space and/or the quotes makes no difference so I decided in the end
 to stop fighting the quoting wars and to just use /etc/start_if.ath0
 which works perfectly. Not quite as neat as having everything live in
 /etc/rc.conf but it does the trick.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



-- 
Ronggui Huang

Department of Sociology, Fudan University, Shanghai, China

Department of Public and Social Administration, CityU, HK
___
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 convert ASCII to Hexadecimal format?

2007-09-22 Thread Erich Dollansky

Hi,

man hexdump

will explain the details.

Erich

ronggui wrote:

for example:
ASCII: a test
HEX : 61 20 74 65 73 74

Thanks


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


Re: Software RAID5

2007-09-22 Thread Roland Smith
On Fri, Sep 21, 2007 at 11:50:58PM +0100, Gabriel Dragffy wrote:
 Hi all
 
 Hoping to get some help setting up software RAID5. Guides on the internet 
 seem to be few and far between, and official documentation is a little too 
 technical. Basically I have 3 x 500GB hard drives which I'd like to have in 
 a raid5 configuration, using software, root partition on their too would be 
 a bonus. I'd be grateful for assistance.

What you need for RAID5 is gvinum(8), which replaces the older vinum(4)
driver.

If you google for gvinum you'll find tutorials etc.

AFAICT, you can't have the root device on a RAID5 gvinum. Just make a
small root partition.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpUGpgeeVXQD.pgp
Description: PGP signature


Re: How to convert ASCII to Hexadecimal format?

2007-09-22 Thread Heiko Wundram (Beenic)
Am Samstag 22 September 2007 09:19:02 schrieb ronggui:
 for example:
 ASCII: a test
 HEX : 61 20 74 65 73 74

A small Python script to do the same (in case you need more control, adapt it 
as it suits you).

---
#!/usr/bin/python

from sys import argv

for c in  .join(argv[1:]).decode(ascii):
print hex(ord(c))[2:].upper(),
---

[EMAIL PROTECTED] ~]$ python test.py this is a test
74 68 69 73 20 69 73 20 61 20 74 65 73 74
[EMAIL PROTECTED] ~]$

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


Re: Software RAID5

2007-09-22 Thread Wojciech Puchar
Hoping to get some help setting up software RAID5. Guides on the internet 
seem to be few and far between, and official documentation is a little too 
technical. Basically I have 3 x 500GB hard drives which I'd like to have in a 
raid5 configuration, using software, root partition on their too would be a 
bonus. I'd be grateful for assistance.

only vinum but i'm not sure if it's stable.


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


Re: Software RAID5

2007-09-22 Thread Wojciech Puchar

and put the kernel on that. Just use fdisk and bsdlabel to write the
boot blocks. As long as the kernel has all needed drivers and you
specify which root device to use (either via kernel configuration or
/etc/fstab), that should allow you to put everything else on the RAID
array. This is how I currently do full-disk encryption on my laptop
using GELI. Kernel is outside, everything else is encrypted, same idea
for RAID.


isn't making small 50MB partition for booting easier?

/dev/ad0d.eli   /   ufs rw,noatime  0   
1
/dev/ad0a   /b  ufs ro,noatime  0   
2


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


Re: Software RAID5

2007-09-22 Thread Wojciech Puchar

If you google for gvinum you'll find tutorials etc.

AFAICT, you can't have the root device on a RAID5 gvinum. Just make a
small root partition.


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


Re: Pre-geom vinum compatibility

2007-09-22 Thread Wojciech Puchar

I have a 4.11-R box that I'm planning on reinstalling a fresh 6.2-R on.  Not an 
upgrade, but a fresh binary install after newfsing the system partitions.

A remaining planning issue is that I have a pre-GEOM vinum data volume on other 
disks.  The handbook mentions gvinum retaining the same disk metadata.  Does 
this mean that I should be able to mount that 4.11 vinum volume after 6.2 and 
gvinum is installed on the system disk?

Anything I should watch out for?

to be sure export vinum definitions to file (it includes beginning and 
ending sector of each subdisk) and if gvinum won't take it itself, just 
use it file with create

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


Re: migrate from postfix to qmail

2007-09-22 Thread Byung-Hee HWANG
On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:
 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?
 Thanks.
Qmail sucks for IPv6. 
Qmail sucks for RFC 2821, as well.
Actually Postfix is better than qmail.

Byung-Hee 

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


Re: migrate from postfix to qmail

2007-09-22 Thread Johan Andersson
On 09/22/2007 11:30 AM, Byung-Hee HWANG wrote:
 On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:
   
 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?
 Thanks.
 
 Qmail sucks for IPv6. 
 Qmail sucks for RFC 2821, as well.
 Actually Postfix is better than qmail.

 Byung-Hee 
   
The best MTA is? exim?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: migrate from postfix to qmail

2007-09-22 Thread Byung-Hee HWANG
On Sat, 2007-09-22 at 11:47 +0200, Johan Andersson wrote:
 On 09/22/2007 11:30 AM, Byung-Hee HWANG wrote:
  On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:

  hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
  one mail server with postfix-dovecot and i would like to migrate it to 
  Qmail
  server. but i didn't know how to do it. Someone can give help me?
  Thanks.
  
  Qmail sucks for IPv6. 
  Qmail sucks for RFC 2821, as well.
  Actually Postfix is better than qmail.
 
  Byung-Hee 

 The best MTA is? exim?
Yes, the best MTA is Exim because it has not a weakness.
Moreover, Exim is deployed by many FOSS communities.
I think Postfix is the 2nd-best MTA, not qmail.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Zbigniew Szalbot
Hello,

2007/9/22, Byung-Hee HWANG [EMAIL PROTECTED]:
 On Sat, 2007-09-22 at 11:47 +0200, Johan Andersson wrote:
  On 09/22/2007 11:30 AM, Byung-Hee HWANG wrote:
   On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:
  
   hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have 
   setup
   one mail server with postfix-dovecot and i would like to migrate it to 
   Qmail
   server. but i didn't know how to do it. Someone can give help me?
   Thanks.
  
   Qmail sucks for IPv6.
   Qmail sucks for RFC 2821, as well.
   Actually Postfix is better than qmail.
  
   Byung-Hee
  
  The best MTA is? exim?
 Yes, the best MTA is Exim because it has not a weakness.
 Moreover, Exim is deployed by many FOSS communities.
 I think Postfix is the 2nd-best MTA, not qmail.

This discussion is rather pointless given that the OP is not asking
for opinion. He has to live with qmail set up by his provider. I think
he simply wants to know how to move accounts. I cannot help, however,
as I have no experience with qmail.

Regards,

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


Xorg impossible problems

2007-09-22 Thread Dino Vliet
Mi fellow freebsd enthousiasts,

I have this interesting Xorg problems which I can't seem to eliminate and I 
therefore hope some of you can guide me in the right direction.

On my amd64 system running freebsd 6.2 with a nvidia card using the vesa 
driver, I'm experiencing Xorg crashes and weirdness ever since the big Xorg 
upgrade (which I finished successfully I thought)

At the moment I'm seeing the following behavior:


   from time to time, Xorg crashes and won't restart (especially when I'm using 
firefox) and I have found firefox.core, gnash.core and metacity.core files in 
my home directory afterwards
   when Xorg crashes, in the past it would restart X by itself but not anymore. 
Now I'm seeing messages like Failed to start X server several times in a short 
time period; disabling display : 0
   If I remove gdm_enalbe=Yes from my /etc/rc.conf file and reboot I get into 
the console. Since after the upgrade I can't startx then to start my desktop 
because I get errors like no devices found, no screens found
   in my console, since after the upgrade, I can't do Xorg -configure as root 
to let it create a Xorg skeleton file which I can use to tailor to my needs. 
This was also possible in the past

So, I hope somebody can help me out? Would it be an option for me to remove all 
Xorg packages and all of gnome (would like to start with Xfce4 in stead) and 
then refresh my ports and install the new Xorg 7.3? Would that help me?

Some things about my system:

pkg_info | grep xorg   
xorg-7.3_1  X.Org complete distribution metaport
xorg-apps-7.3   X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.4,1 X.org documentation files
xorg-drivers-7.3X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3  X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-nestserver-1.4,1 Nesting X server from X.Org
xorg-printserver-1.2.0,1 X Print server from X.Org
xorg-protos-7.3 X.org protos meta-port
xorg-server-1.4,1   X.Org X server and related programs
xorg-vfbserver-1.4,1 X virtual framebuffer server from X.Org

The end of my Xorg.0.log file after a Xorg -configure as root:

No devices to configure.  Configuration failed.

No devices to configure.  Configuration failed.


The error I get at the end of Xorg.0.log file after the crashes or when I do a 
startx at the console

Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: kbd
(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor=X.Org Foundation
compiled for 7.2.0, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.7
(II) VESA: driver for VESA chipsets: vesa
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O(EE) No devices 
detected.

Fatal server error:
no screens found

And finally my xorg.conf file:

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/local/lib/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/100dpi/
Fontpath /usr/local/share/ghostscript/fonts/
EndSection

Section Module
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
[EMAIL PROTECTED] /usr/home/rgilaard]$ cat /etc/X11/xorg.conf
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/local/lib/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/75dpi/
FontPath /usr/local/lib/X11/fonts/100dpi/
Fontpath /usr/local/share/ghostscript/fonts/
EndSection

Section Module
Load  extmod
Load  glx

Re: migrate from postfix to qmail

2007-09-22 Thread Gabriel Dragffy


On 22 Sep 2007, at 05:29, Lotfi kecir wrote:


HI, thank's for your post.
to give answer to your answer: i rent a dedicated server (Fedora 6)  
witch
has qmail installed on. and in my old Server witch is in our office  
turn has

Postfix.
The new sever has as Admin panel Plesk.
I already create all email acounts and now i'm looking to transfert  
all my

user acount mailboxes.
and i don't have any idea to do it.
Thanks for your help


Yeah right. I don't have hands-on experience with any MTA other than  
Postfix, but I never read a good thing about qmail. Thing is, I work  
for a design company - we have 3 VPSs two using Plesk and another on  
extend, I noticed that behind the scenes it is Qmail for all of them.  
How come it is used by these control panels when it is so poor? Just  
a small whine from me :)


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


Re: Software RAID5

2007-09-22 Thread Gabriel Dragffy


On 22 Sep 2007, at 08:42, Roland Smith wrote:


On Fri, Sep 21, 2007 at 11:50:58PM +0100, Gabriel Dragffy wrote:

Hi all

Hoping to get some help setting up software RAID5. Guides on the  
internet
seem to be few and far between, and official documentation is a  
little too
technical. Basically I have 3 x 500GB hard drives which I'd like  
to have in
a raid5 configuration, using software, root partition on their too  
would be

a bonus. I'd be grateful for assistance.


What you need for RAID5 is gvinum(8), which replaces the older vinum 
(4)

driver.



Hi, reading the BSD Handbook I did find this out and I've been trying  
to use it.



If you google for gvinum you'll find tutorials etc.


I have found a couple of tutorials but like I said it is either too  
technical, or not descriptive enough and none of them describe root  
on raid 5 :(




AFAICT, you can't have the root device on a RAID5 gvinum. Just make a
small root partition.


I read in the FreeBSD hanbook that I can have root on raid 5 by doing  
the following:
There is another option as well, to have /boot/loader (Section  
12.3.3) load the vinum kernel module early, before starting the  
kernel. This can be accomplished by putting the line:

geom_vinum_load=YES
into the file /boot/loader.conf.

This was on the following page: http://www.freebsd.org/doc/ 
en_US.ISO8859-1/books/handbook/vinum-root.html


The handbook is good, but it only describes how to do raid 0 and raid  
1, it says I can do raid 5 but doesn't describe the process. I also  
totally stumped at how to make a raid 5 device and install freebsd on  
it - the sysinstall doesn't allow the configuration of raid arrays  
and I can only install to a slice. I need access to tools such as  
gvinum before installation... but how? Oh the pain!


best regards

gabriel





Roland
--
R.F.Smith   http://www.xs4all.nl/ 
~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much  
appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID:  
C321A725)


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


Re: Software RAID5

2007-09-22 Thread Gabriel Dragffy

On 22 Sep 2007, at 01:13, Maxim Khitrov wrote:


However, a simple solution to that is to get a 64+ MB USB flash drive
and put the kernel on that. Just use fdisk and bsdlabel to write the
boot blocks. As long as the kernel has all needed drivers and you
specify which root device to use (either via kernel configuration or
/etc/fstab), that should allow you to put everything else on the RAID
array. This is how I currently do full-disk encryption on my laptop
using GELI. Kernel is outside, everything else is encrypted, same idea
for RAID.

I haven't ever done software RAID in FreeBSD, so can't help you with
the practical aspects of it. But I will say that technical or not, man
pages are still the best way to learn about these things. From what I
can see, RAID 5 is done through vinum, and GEOM offers RAID 3. Someone
else here may be able to tell you which one is better to use.

It's also worth noting that with software, the performance of RAID 5
is not going to be very good. I generally advise against software RAID
5. If you want good performance and reliability using software RAID,
the best bet is RAID 10, but there the utilization is 50%. I think
that if you can afford another 500GB drive and performance is
important to you, a software RAID 10 using GEOM will perform much
better. It is also easier to recover, and you can lose two drives (not
any two, but still) without completely losing all the data.



Hi, thank you for your post. I read the following in the BSD handbook  
which lead me to believe I could have root on RADI5:


quote
There is another option as well, to have /boot/loader (Section  
12.3.3) load the vinum kernel module early, before starting the  
kernel. This can be accomplished by putting the line:

geom_vinum_load=YES
into the file /boot/loader.conf.
/quote

That's here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/ 
handbook/vinum-root.html


I appreciate your post about using an alternative system to RAID 5.

Many thanks

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


Re: migrate from postfix to qmail

2007-09-22 Thread Matthijs Breemans

On Sat, 22 Sep 2007 11:13:58 +0100, Gabriel Dragffy [EMAIL PROTECTED]
wrote:
 
 On 22 Sep 2007, at 05:29, Lotfi kecir wrote:
 
 HI, thank's for your post.
 to give answer to your answer: i rent a dedicated server (Fedora 6)
 witch
 has qmail installed on. and in my old Server witch is in our office
 turn has
 Postfix.
 The new sever has as Admin panel Plesk.
 I already create all email acounts and now i'm looking to transfert
 all my
 user acount mailboxes.
 and i don't have any idea to do it.
 Thanks for your help
 
 Yeah right. I don't have hands-on experience with any MTA other than
 Postfix, but I never read a good thing about qmail. Thing is, I work
 for a design company - we have 3 VPSs two using Plesk and another on
 extend, I noticed that behind the scenes it is Qmail for all of them.
 How come it is used by these control panels when it is so poor? Just
 a small whine from me :)
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

If something is widely used, it doesnt mean its good. I think qmail is
easier to configure with virtual users, and i guess someone set the trend
to use qmail on a CP. There are some howto's available on the internet if
you want to run postfix /w plesk

Read this for more info about Qmail and bugs.
http://www-dt.e-technik.uni-dortmund.de/~ma/qmail-bugs.html

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


Re: migrate from postfix to qmail

2007-09-22 Thread Byung-Hee HWANG
On Sat, 2007-09-22 at 12:05 +0200, Zbigniew Szalbot wrote:
 Hello,
 
 2007/9/22, Byung-Hee HWANG [EMAIL PROTECTED]:
  On Sat, 2007-09-22 at 11:47 +0200, Johan Andersson wrote:
   On 09/22/2007 11:30 AM, Byung-Hee HWANG wrote:
On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:
   
hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have 
setup
one mail server with postfix-dovecot and i would like to migrate it to 
Qmail
server. but i didn't know how to do it. Someone can give help me?
Thanks.
   
Qmail sucks for IPv6.
Qmail sucks for RFC 2821, as well.
Actually Postfix is better than qmail.
   
Byung-Hee
   
   The best MTA is? exim?
  Yes, the best MTA is Exim because it has not a weakness.
  Moreover, Exim is deployed by many FOSS communities.
  I think Postfix is the 2nd-best MTA, not qmail.
 
 This discussion is rather pointless given that the OP is not asking
 for opinion. He has to live with qmail set up by his provider. I think
 he simply wants to know how to move accounts. I cannot help, however,
 as I have no experience with qmail.
 
Okay, then I will shut up and hold my breath. It might be too long to 
hold it, though. ;-) 

At one time, I used for the qmail MTA with FreeBSD. And I know the way
to move from Postfix to qmail. But still I do not want to say qmail is
better MTA than any other MTA!. Yes, it is just my stupid opinion. 

Sorry for noise..

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


Re: migrate from postfix to qmail

2007-09-22 Thread Zbigniew Szalbot
Hello,

2007/9/22, Byung-Hee HWANG [EMAIL PROTECTED]:
 On Sat, 2007-09-22 at 12:05 +0200, Zbigniew Szalbot wrote:
  Hello,
 
  2007/9/22, Byung-Hee HWANG [EMAIL PROTECTED]:
   On Sat, 2007-09-22 at 11:47 +0200, Johan Andersson wrote:
On 09/22/2007 11:30 AM, Byung-Hee HWANG wrote:
 On Sat, 2007-09-22 at 02:47 +0200, Lotfi kecir wrote:

 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have 
 setup
 one mail server with postfix-dovecot and i would like to migrate it 
 to Qmail
 server. but i didn't know how to do it. Someone can give help me?
 Thanks.

 Qmail sucks for IPv6.
 Qmail sucks for RFC 2821, as well.
 Actually Postfix is better than qmail.

 Byung-Hee

The best MTA is? exim?
   Yes, the best MTA is Exim because it has not a weakness.
   Moreover, Exim is deployed by many FOSS communities.
   I think Postfix is the 2nd-best MTA, not qmail.
 
  This discussion is rather pointless given that the OP is not asking
  for opinion. He has to live with qmail set up by his provider. I think
  he simply wants to know how to move accounts. I cannot help, however,
  as I have no experience with qmail.
 
 Okay, then I will shut up and hold my breath. It might be too long to
 hold it, though. ;-)

BTW - I fully agree with the comments. Myself have been using exim. At
some point (to learn more) I also want to try postfix. I would never
want to touch qmail.

 At one time, I used for the qmail MTA with FreeBSD. And I know the way
 to move from Postfix to qmail. But still I do not want to say qmail is
 better MTA than any other MTA!. Yes, it is just my stupid opinion.

The thing is he is not asking for opinion but for help. I guess this
is his ISP responsibility to patch qmail and make it secure for him.
Sorry for the noise too as I cannot help here.

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


Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Gabriel Dragffy
Just been wondering about this. If you do a standard install of  
FreeBSD it includes things such as a basic FTP daemon, all the  
various utilities such as df, ls, etc. SSHD etc. I assum these are  
all in FreeBSDs core, as developed in the same CVS repo. Having read  
the mails on this list for several weeks it seems obvious that most  
people regard Postfix or EXIM to be the best MTAs, so I'm wondering  
why is sendmail the MTA that is integral to FreeBSD? Wouldn't it be  
ace to have the default one be Postfix or something?


Regards

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Matthijs Breemans

Sendmail does its job for sending usermail, postfix or exim would be
overkill for that.

Just my 0.02 tho

Matthijs

On Sat, 22 Sep 2007 11:55:51 +0100, Gabriel Dragffy [EMAIL PROTECTED]
wrote:
 Just been wondering about this. If you do a standard install of
 FreeBSD it includes things such as a basic FTP daemon, all the
 various utilities such as df, ls, etc. SSHD etc. I assum these are
 all in FreeBSDs core, as developed in the same CVS repo. Having read
 the mails on this list for several weeks it seems obvious that most
 people regard Postfix or EXIM to be the best MTAs, so I'm wondering
 why is sendmail the MTA that is integral to FreeBSD? Wouldn't it be
 ace to have the default one be Postfix or something?
 
 Regards
 
 Gabe
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


xmms crashing at startup

2007-09-22 Thread Manolis Kiagias

I believe this started after upgrading to Xorg-7.3:

[EMAIL PROTECTED]:~$ xmms
Gdk-ERROR **: BadMatch (invalid parameter attributes)
 serial 1492 error_code 8 request_code 72 minor_code 0
Gdk-ERROR **: BadMatch (invalid parameter attributes)
 serial 1493 error_code 8 request_code 72 minor_code 0

I tried uninstalling and recompiling the port, nothing changed.
I also can't find anything meaningful about this in Google. Any ideas?

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


Re: Apache22 Port can't find Berkeley DB.

2007-09-22 Thread Gerard
On September 21, 2007 at 09:53AM Aliya Harbouri wrote:


 Hi!
 
 When I ran an upgrade to the Ports tree using the portsnap tool
 
   portsnap fetch update
 
 I saw an available update available to /usr/ports/www/apache22, but it
 was immediately followed with an error,
 
   IGNORED
   Unknown Berkeley DB version
 
 in the console output.
 
 Other ports eventually get updated, but apache22 seems to get skipped
 as a result.
 
 It took me a bit to figure out that the IGNORE is coming from the
 Port's Makefile.modules,
 
   IGNORE= Unknown Berkeley DB version
 
 I've read online about use of /usr/ports/Mk/bsd.database.mk 
 /etc/make.conf for build configuration, and have added
 
  USE_BDB
  WITH_BDB_HIGHEST=true
  WITH_BDB_VER=46
  BDB_LIB_DIR=/usr/local/lib/db46
  BDB_INCLUDE_DIR=/usr/local/include/db46
 
 to make.conf.  If I grok this stuff correctly, Ports should now find 
 use BDB, version 46.
 
 Good news! This seems to make all other Ports generally happy.  They
 seem to find/use BDB like I intend.
 
 But the apache22 Port still doesn't update, because of the Unknown
 BDB version.
 
 Is there some additional Ports-magic that I'm missing here?
 
 Ali

I have been having the same problem with the latest version of
Berkeley. I was going to contact the maintainer '[EMAIL PROTECTED]';
however, I have not gotten around to it yet. Perhaps you might want to
inquire of him how to get this problem rectified.


-- 
Ciao

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Erik Trulsson
On Sat, Sep 22, 2007 at 11:55:51AM +0100, Gabriel Dragffy wrote:
 Just been wondering about this. If you do a standard install of FreeBSD it 
 includes things such as a basic FTP daemon, all the various utilities such 
 as df, ls, etc. SSHD etc. I assum these are all in FreeBSDs core, as 
 developed in the same CVS repo. Having read the mails on this list for 
 several weeks it seems obvious that most people regard Postfix or EXIM to 
 be the best MTAs, so I'm wondering why is sendmail the MTA that is integral 
 to FreeBSD? Wouldn't it be ace to have the default one be Postfix or 
 something?
 

Sendmail was originally developed for BSD (the ancestor to FreeBSD).  At
that time none of the current alternatives (postfix/qmail/exim) existed yet.
So the reason Sendmail is included in FreeBSD is mainly historical - it has
always been there.

If the default MTA were changed many existing users would be quite upset
when their working configurations suddenly stopped working - so one should
not change the default MTA without a very good reason.

For a new user it does not really matter that much which MTA is installed by
default, if they are not familiar with any of them.
Installing an alternative from ports only takes a couple of minutes anyway.







-- 
Insert your favourite quote here.
Erik Trulsson
[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: Software RAID5

2007-09-22 Thread Gabriel Dragffy


On 22 Sep 2007, at 12:19, Roland Smith wrote:


To elaborate, the loader doesn't know about the RAID layout. It is  
only

usable _after_ the kernel has loaded.


I read in the FreeBSD hanbook that I can have root on raid 5 by  
doing the

following:
There is another option as well, to have /boot/loader (Section  
12.3.3)
load the vinum kernel module early, before starting the kernel.  
This can be

accomplished by putting the line:
geom_vinum_load=YES
into the file /boot/loader.conf.


The thing is that vinum is not gvinum! Gvinum is a replacement for  
vinum
using the GEOM framework. I guess nobody has gotten around to  
update the

handbook yet.



Did you read the handbook? They say at the beginning of the chapter  
20 (20.1):


Starting with FreeBSD 5, Vinum has been rewritten in order to fit  
into the GEOM architecture (Chapter 19), retaining the original  
ideas, terminology, and on-disk metadata. This rewrite is called  
gvinum (for GEOM vinum). The following text usually refers to Vinum  
as an abstract name, regardless of the implementation variant. Any  
command invocations should now be done using the gvinum command, and  
the name of the kernel module has been changed from vinum.ko to  
geom_vinum.ko, and all device nodes reside under /dev/gvinum instead  
of /dev/vinum. As of FreeBSD 6, the old Vinum implementation is no  
longer available in the code base.


So that makes me think they have updated the handbook.

and in the chapter 20.9.1 it says:
load the vinum kernel module early, before starting the kernel. This  
can be accomplished by putting the line:

geom_vinum_load=YES
into the file /boot/loader.conf.

For Gvinum, all startup is done automatically once the kernel module  
has been loaded, so the procedure described above is all that is  
needed. The following text documents the behaviour of the historic  
Vinum system, for the sake of older setups.


It seems perfectly clear the handbook has both been updated and is  
saying i can have root on raid, or am I mistaken? 
___

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Andrew Pantyukhin
On Sat, Sep 22, 2007 at 11:55:51AM +0100, Gabriel Dragffy wrote:
 Just been wondering about this. If you do a standard install of FreeBSD it 
 includes things such as a basic FTP daemon, all the various utilities such 
 as df, ls, etc. SSHD etc. I assum these are all in FreeBSDs core, as 
 developed in the same CVS repo. Having read the mails on this list for 
 several weeks it seems obvious that most people regard Postfix or EXIM to 
 be the best MTAs, so I'm wondering why is sendmail the MTA that is integral 
 to FreeBSD? Wouldn't it be ace to have the default one be Postfix or 
 something?

At the time sendmail was integrated into FreeBSD other MTA's were
pretty much out of the question. Ever since then, the integration
has been very well-maintained (thanks to gshapiro) and changing
the default MTA to something else is simply not worth the pain
that comes with it.

Personally I use Postfix wherever I need an MTA, it only takes a
few minutes to install it from ports. The benefit of ports is you
can configure all the options you need. We can't keep mysql
client and dovecot sasl in the base system, most people would
have to reinstall Postfix from ports even if it was the default
MTA in our base.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Gabriel Dragffy


On 22 Sep 2007, at 12:34, Andrew Pantyukhin wrote:


On Sat, Sep 22, 2007 at 11:55:51AM +0100, Gabriel Dragffy wrote:
Just been wondering about this. If you do a standard install of  
FreeBSD it
includes things such as a basic FTP daemon, all the various  
utilities such

as df, ls, etc. SSHD etc. I assum these are all in FreeBSDs core, as
developed in the same CVS repo. Having read the mails on this list  
for
several weeks it seems obvious that most people regard Postfix or  
EXIM to
be the best MTAs, so I'm wondering why is sendmail the MTA that is  
integral

to FreeBSD? Wouldn't it be ace to have the default one be Postfix or
something?


At the time sendmail was integrased into FreeBSD other MTA's were
pretty much out of the question. Ever since then, the integration
has been very well-maintained (thanks to gshapiro) and changing
the default MTA to something else is simply not worth the pain
that comes with it.

Personally I use Postfix wherever I need an MTA, it only takes a
few minutes to install it from ports. The benefit of ports is you
can configure all the options you need. We can't keep mysql
client and dovecot sasl in the base system, most people would
have to reinstall Postfix from ports even if it was the default
MTA in our base.


I see, thank you for the heads-up. It is interesting. Personally I  
try to use the software that comes with the OS where possible.  
Especially in the case of FreeBSD, as I find the core software is  
rock solid and I love that. I think I'll learn how to configure  
sendmail and try sticking with it. At least it is documented somewhat  
in the handbook.


Many thanks to all

Regards

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


Re: Why is sendmail in the core of FreeBSD

2007-09-22 Thread Bill Vermillion
-segmentation fault- 
press any key to reboot 
Damn damn damn [EMAIL PROTECTED] said, after
restarting his PC and mailer on Sat, Sep 22, 2007 at 12:00 .


 Date: Sat, 22 Sep 2007 12:48:22 +0100
 From: Gabriel Dragffy [EMAIL PROTECTED]
 Subject: Re: Why is sendmail in the core of FreeBSD?

 On 22 Sep 2007, at 12:34, Andrew Pantyukhin wrote:

  On Sat, Sep 22, 2007 at 11:55:51AM +0100, Gabriel Dragffy
  wrote:

  Just been wondering about this. If you do a standard install
  of FreeBSD it includes things such as a basic FTP daemon, all
  the various utilities such as df, ls, etc. SSHD etc. I assum
  these are all in FreeBSDs core, as developed in the same CVS
  repo. Having read the mails on this list for several weeks
  it seems obvious that most people regard Postfix or EXIM to
  be the best MTAs, so I'm wondering why is sendmail the MTA
  that is integral to FreeBSD? Wouldn't it be ace to have the
  default one be Postfix or something?

Sendmail still is one of the strongest mailers out there.  And a
great many ISPs still use it.

  At the time sendmail was integrased into FreeBSD other MTA's were
  pretty much out of the question. Ever since then, the integration
  has been very well-maintained (thanks to gshapiro) and changing
  the default MTA to something else is simply not worth the pain
  that comes with it.

  Personally I use Postfix wherever I need an MTA, it only takes a
  few minutes to install it from ports. The benefit of ports is you
  can configure all the options you need. We can't keep mysql
  client and dovecot sasl in the base system, most people would
  have to reinstall Postfix from ports even if it was the default
  MTA in our base.

 I see, thank you for the heads-up. It is interesting. Personally I  
 try to use the software that comes with the OS where possible.  
 Especially in the case of FreeBSD, as I find the core software is  
 rock solid and I love that. I think I'll learn how to configure  
 sendmail and try sticking with it. At least it is documented somewhat  
 in the handbook.

 Many thanks to all

Back when sendmail was a real pain to get running - in the
mid-to-late 1980s when I first came across it, I moved to 'smail'
as it was easier to run/undrestand.  But by the early '90s I moved
over to sendmail and have run it for two ISPs.

As to handbook, if you want to know more than you ever wanted to
know about Sendmail - O'Reilly has a book on it - well over
1200 pages long.

Current shipping sendmail in FreeBSD is almost plug-and-play.

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Oliver Herold
Hi,

'most people' is a vague term,

http://www.securityspace.com/s_survey/data/man.200708/mxsurvey.html

if you have a look at this survey, sendmail rules it. So 'most' depends on the
context and a mailinglist isn't of much significance in my opionion.

Cheers,

Oliver

On Sat, Sep 22, 2007 at 11:55:51AM +0100, Gabriel Dragffy wrote:
 Just been wondering about this. If you do a standard install of FreeBSD it 
 includes things such as a basic FTP daemon, all the various utilities such 
 as df, ls, etc. SSHD etc. I assum these are all in FreeBSDs core, as 
 developed in the same CVS repo. Having read the mails on this list for 
 several weeks it seems obvious that most people regard Postfix or EXIM to 
 be the best MTAs, so I'm wondering why is sendmail the MTA that is integral 
 to FreeBSD? Wouldn't it be ace to have the default one be Postfix or 
 something?
 
 Regards
 
 Gabe
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

-- 
The state law of Pennsylvania prohibits singing in the bathtub.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar
df, ls, etc. SSHD etc. I assum these are all in FreeBSDs core, as developed 
in the same CVS repo. Having read the mails on this list for several weeks it 
seems obvious that most people regard Postfix or EXIM to be the best MTAs, so


to be clear

most people using postfix or exim as asking questions on FreeBSD list than 
sendmail users.


which doesn't mean that most people use them. it may mean this, but it may 
mean that postfix or exim problems are more common. or may mean other 
things.


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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar
the software that comes with the OS where possible. Especially in the case of 
FreeBSD, as I find the core software is rock solid and I love that. I think 
I'll learn how to configure sendmail and try sticking with it. At least it is 
documented somewhat in the handbook.


just doing make ; make install in /etc/mail does basic configuration, just 
reading /usr/share/sendmail/cf/README and changing things is enough for 
much more.

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar


'most people' is a vague term,

http://www.securityspace.com/s_survey/data/man.200708/mxsurvey.html

if you have a look at this survey, sendmail rules it. So 'most' depends on the
context and a mailinglist isn't of much significance in my opionion.

so we could say sendmail users rarely posts problems/questions to 
freebsd list

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread RW
On Sat, 22 Sep 2007 13:26:40 +0200
Erik Trulsson [EMAIL PROTECTED] wrote:

 If the default MTA were changed many existing users would be quite
 upset when their working configurations suddenly stopped working - so
 one should not change the default MTA without a very good reason.
 

Although NetBSD did it. From what I've heard they did it progressively,
keeping both in the base for a period.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to downgrade from xorg-7.3 to xorg-7.2 ...

2007-09-22 Thread Kiffin Gish
Hi there,

Since I recently upgraded to xorg-7.3, I cannot use my laptop because nvidia
has not yet provided an upgraded driver. I've tried all the recommended
workarounds for tweaking the xorg.conf file but to no avail.

My question then is: how can I safely downgrade back to xorg-7.2?

Thanks a lot in advance!

-- 
Kiffin Rex Gish
Gouda, The Netherlands

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar



If the default MTA were changed many existing users would be quite
upset when their working configurations suddenly stopped working - so
one should not change the default MTA without a very good reason.



Although NetBSD did it. From what I've heard they did it progressively,
keeping both in the base for a period.
___
not because of that reason (it was some time ago) i switched from NetBSD 
to FreeBSD.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 02:47:09 +0200 Lotfi kecir wrote:

 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have setup
 one mail server with postfix-dovecot and i would like to migrate it to Qmail
 server. but i didn't know how to do it. Someone can give help me?

Why in heaven's name would *anyone* want to do that? I have been using
Postfix for years now and before that I used qmail - when it was new.
qmail sucked *bigtime*! It was slow, picky about the filesystem it worked
on (ReiserFS cause very interresting results), a license that doesn't
deserve the name and one mistake in the configuration didn't cause an
error message but instead sent incoming mail directly to the happy bit
grounds.

qmail has not really been maintained by the Author over the last few years
and although it is distributed in source, changes to it are not allowed,
if you plan to distribute the result. This means that in order for qmail
to still work today, there is an insane amount of patches out there that
have to be applied.

IMHO using qmail instead of Postfix is a gigantic step right back into the
stone age. Say hello to the dinos for me! :-)

Regards,
Chris

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


Re: migrate from postfix to qmail

2007-09-22 Thread �smund Eikli
My experience with Qmail is totally the opposite. It's a great MTA as you
can set it up and then forget about it for the next 100 years. Setup isn't
really a pain anymore with sites like lifewithqmail and qmailrocks. I've
been using Qmail for years and am a very happy mail admin; it's rock solid
and runs more stable than any program I've yet encountered.

Regards,
Oz

Christian Baer wrote:
 On Sat, 22 Sep 2007 02:47:09 +0200 Lotfi kecir wrote:

 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have
 setup
 one mail server with postfix-dovecot and i would like to migrate it to
 Qmail
 server. but i didn't know how to do it. Someone can give help me?

 Why in heaven's name would *anyone* want to do that? I have been using
 Postfix for years now and before that I used qmail - when it was new.
 qmail sucked *bigtime*! It was slow, picky about the filesystem it worked
 on (ReiserFS cause very interresting results), a license that doesn't
 deserve the name and one mistake in the configuration didn't cause an
 error message but instead sent incoming mail directly to the happy bit
 grounds.

 qmail has not really been maintained by the Author over the last few years
 and although it is distributed in source, changes to it are not allowed,
 if you plan to distribute the result. This means that in order for qmail
 to still work today, there is an insane amount of patches out there that
 have to be applied.

 IMHO using qmail instead of Postfix is a gigantic step right back into the
 stone age. Say hello to the dinos for me! :-)

 Regards,
 Chris

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



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


Re: migrate from postfix to qmail

2007-09-22 Thread Lowell Gilbert
Lotfi kecir [EMAIL PROTECTED] writes:

 HI, thank's for your post.
 to give answer to your answer: i rent a dedicated server (Fedora 6) witch
 has qmail installed on. and in my old Server witch is in our office turn has
 Postfix.
 The new sever has as Admin panel Plesk.
 I already create all email acounts and now i'm looking to transfert all my
 user acount mailboxes.
 and i don't have any idea to do it.

The first thing to consider is what format the existing mailboxes use.
Then make sure you have support for that format in your qmail
installation.  If you don't, then decide whether you can install new
format support on your server.  If you can't, you have to move the
existing mailbox files (from the old server) into whatever format the
qmail server does support (post again if you get to this point).

Is that enough of a guide to get you started?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Robert C Wittig

Wojciech Puchar wrote:


i personally use only sendmail.



Yep... if it works, don't 'fix' it.


--
-wittig http://www.robertwittig.com/
http://robertwittig.net/
http://robertwittig.org/
.
___
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 downgrade from xorg-7.3 to xorg-7.2 ...

2007-09-22 Thread Oliver Herold
Hi

did you start X with startx -- -ignoreABI ? Usually this works like a charm.

Cheers, Oliver

On Sat, Sep 22, 2007 at 02:50:25PM +0200, Kiffin Gish wrote:
 Hi there,
 
 Since I recently upgraded to xorg-7.3, I cannot use my laptop because nvidia
 has not yet provided an upgraded driver. I've tried all the recommended
 workarounds for tweaking the xorg.conf file but to no avail.
 
 My question then is: how can I safely downgrade back to xorg-7.2?
 
 Thanks a lot in advance!
 
 -- 
 Kiffin Rex Gish
 Gouda, The Netherlands
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
If you're not very clever you should be conciliatory.
-- Benjamin Disraeli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 06:29:30 +0200 Lotfi kecir wrote:

 to give answer to your answer: i rent a dedicated server (Fedora 6) witch
 has qmail installed on. and in my old Server witch is in our office turn has
 Postfix.
 The new sever has as Admin panel Plesk.
 I already create all email acounts and now i'm looking to transfert all my
 user acount mailboxes.

I hope (for your sake) that the rented server is not only dedicated but
also *managed*! If it isn't you will sooner or later have to leave Plesk
anyway and do the odd thing or another on foot. It might have been a
good idea to look at what's installed on a dediserver before signing the
contract. But it isn't my job to lecture you on that.

BTW: This isn't a FreeBSD issue. You will probably have more luck finding
someone who can help you in one of the newsgroups with this subject.

 and i don't have any idea to do it.

There isn't really a routine to migrate from Postfix to qmail. This is
partly because noone usually wants to do it and partly because the whole
thing is quite complex. It would IMHO be something for an advanced user or
a sysadmin.

You could however talk to your ISP where you hired the server. They will
usually (for a price) adapt the installation for you - if this isn't a
managed server. So you could ask them to change the MTA for you. If you
have enough experience, you can also do it yourself. Just remember that
you *will* have downtime because of this.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 11:47:06 +0200 Johan Andersson wrote:

 The best MTA is? exim?

Not that this is really a subject for this list, I don't really agree.

We did some studies on several MTAs a while back and found out (quite by
accident) that Exim has some real performance issues. I personally don't
really like the monolithic form of Exim and Sendmail, but Exim seems to be
pretty secure just the same. However, it was impossible for *any* other
MTA to get even close to the performance that Postfix offered on the same
basis (OS and Hardware).

Every MTA has a weakness, just because a strength is often exclusive and
cannot be combined with a different strength. I have been happy with
Postfix for years now. And IMHO, all ratings about what is better are just
about as useless as OS-wars.

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


xmms crashing at startup

2007-09-22 Thread Robert Huff
Manolis Kiagias writes:

  I believe this started after upgrading to Xorg-7.3:
  
  [EMAIL PROTECTED]:~$ xmms
  Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 1492 error_code 8 request_code 72 minor_code 0
  Gdk-ERROR **: BadMatch (invalid parameter attributes)
serial 1493 error_code 8 request_code 72 minor_code 0
  
  I tried uninstalling and recompiling the port, nothing changed.
  I also can't find anything meaningful about this in Google. Any ideas?

Same here, with slight variation:

Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 2435 error_code 8 request_code 72 minor_code 0


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


Re: Multiple NICs - custom protocol development

2007-09-22 Thread Lowell Gilbert
Len Gross [EMAIL PROTECTED] writes:

 First, thanks for the response; It's nice to see some community support.

 Here is what I am trying to do:

 I am building a custom MAC protocol for a wireless system that has different
 software on
 the head end and the clients.  It is not peer-to-peer,  While the
 hardware is being developed
 I want to use Ethernet as a physical layer.

 So,I want to use one card running server code and one card running client
 code initially.   Later I will do
 the checkout with multiple client machines and a single server.

 If the OS loops a packet back (At the IP layer) before it gets to my MAC
 layer then I can't test any code.

If the client and server are sharing an IP stack, then the packets
*should* be looped back at the IP layer.  You want separate stacks for
testing with IP, and in my earlier message I listed some ways to do
that with a single machine.  Getting a second PC is always an option
too, and often a simple answer.

Another option could be to fake (or wrap) the socket calls, but I
doubt that's really going to be worthwhile for you.  I prefer to never
spend more time debugging the testbed than absolutely necessary.

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


Re: migrate from postfix to qmail

2007-09-22 Thread Christian Baer
On Sat, 22 Sep 2007 11:13:58 +0100 Gabriel Dragffy wrote:

 Yeah right. I don't have hands-on experience with any MTA other than  
 Postfix, but I never read a good thing about qmail. Thing is, I work  
 for a design company - we have 3 VPSs two using Plesk and another on  
 extend, I noticed that behind the scenes it is Qmail for all of them.  
 How come it is used by these control panels when it is so poor? Just  
 a small whine from me :)

That question is pretty easy to answer:
The qmail-configuration can be read an evaluated *without* a parcer. This
makes it easy to read and write the configuration and it also reduces
the risk of errors.

If you created a configuration tool for an MTA you'd be looking for
something that will interact well with you tool and probably you wouldn't
look to carefully how well that program does its job as an MTA.

Regards
Chris
___
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 get audio in realvideo

2007-09-22 Thread Boris Samorodov
On Sat, 22 Sep 2007 08:03:56 +0200 (CEST) Andreas Davour wrote:

 I have stumbled upon a realvideo file that I want to play, and mplayer
 is for some reason not very forthcoming.

 Anyone care to tell me why this doesn't work? I do have a libm.so.6 on
 my computer in /usr/compat/linux/lib and have both the newest
 linux-base_fc4 and the newest mplayer installed.

 Note that I get video, even if mplayer complains about not finding
 video decoders.

 Any hints?

Can you give a link (http/ftp) to the result of ktrace -i command?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache22 Port can't find Berkeley DB.

2007-09-22 Thread Aliya Harbouri
Hi Gerard!

 I have been having the same problem with the latest version of
 Berkeley. I was going to contact the maintainer '[EMAIL PROTECTED]';
 however, I have not gotten around to it yet. Perhaps you might want to
 inquire of him how to get this problem rectified.

Sure! Best, I guess, to just forward this :-)


Hi Clement,

I hope this is the best way to communicate this issue

http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/158447.html

Bye!

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar

i personally use only sendmail.



Yep... if it works, don't 'fix' it.


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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Abdullah Ibn Hamad Al-Marri
On 9/22/07, Wojciech Puchar [EMAIL PROTECTED] wrote:
  i personally use only sendmail.
 
 
  Yep... if it works, don't 'fix' it.
 
 same with any other things :)

I would prefer to have postfix vs sendmail since it built with security in mind


-- 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: migrate from postfix to qmail

2007-09-22 Thread Heiko Wundram (Beenic)
Am Samstag 22 September 2007 15:48:55 schrieb Christian Baer:
 snip
 The qmail-configuration can be read an evaluated *without* a parcer.

Sorry, but that's BS (IMHO). Any program interpreting some form of input is 
called a parser, and the only distinction is the algorithm you need, i.e. 
whether you need a full-blown stack-machine to interpret the input (think 
of recursive declarations), or not.

The Postfix configuration (/usr/local/etc/postfix/main.cf) simply consists of 
directives of the form:

varname = value

where the value can have continuations by indenting the following line with 
whitespace, but that's about the only thing that's different to the 
INI-format (besides not having the concept of sections in a Postfix config 
file). Thus, the Postfix configuration should easily be parseable by about 
20-30 lines of C code (with error checking), if you're not willing to use 
(f)lex to implement the simplistic parser for you.

The only thing that makes life a little harder is the ability to reference 
other items in main.cf by using $itemname (which are basically pure string 
replacements); these have to be implemented in a semantic phase anyway, which 
doesn't have anything to do with the parser itself.

Last, but not least, Postfix implements most of the actual logic of delivery 
(including virtual delivery) in so-called maps, which come as

KEY whitespace+ VALUE newline

files. I wouldn't know how much easier parsing could get for any form of 
control panel (if it doesn't use Postfix's ability to store a map in a RDBMS 
anyway).

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


Re[2]: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Gerard
On September 22, 2007 at 08:52AM Wojciech Puchar wrote:


 so we could say sendmail users rarely posts problems/questions to 
 freebsd list

More likely, they post questions regarding their product, directly to
their products forum. Using postfix myself, I always post on the
postfix forum rather than the FreeBSD one. It just seems logical to me.


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


Re[2]: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Gerard
On September 22, 2007 at 09:07AM Robert C Wittig wrote:


 Yep... if it works, don't 'fix' it.

Absolutely! The hell with technological advances. Lets stay with those
rock solid 8088 processors.


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


stdout -determining size of??

2007-09-22 Thread David Southwell
Hi

How is the the size of stdout controlled.

My query comes about because I had a shell running for ages with unlimited 
history and found it had gobbled uyp all the space available to stdout!!!

So I wonder how stdout is controlled!!

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread David Benfell
On Sat, 22 Sep 2007 13:24:54 -0400, Gerard wrote:
 On September 22, 2007 at 09:07AM Robert C Wittig wrote:
 
 
  Yep... if it works, don't 'fix' it.
 
 Absolutely! The hell with technological advances. Lets stay with those
 rock solid 8088 processors.
 
If it's good enough for NASA, it's good enough for me?



-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).


pgpJ8SBGLxVZN.pgp
Description: PGP signature


Re: How to downgrade from xorg-7.3 to xorg-7.2 ...

2007-09-22 Thread Frank Shute
On Sat, Sep 22, 2007 at 02:50:25PM +0200, Kiffin Gish wrote:

 Hi there,
 
 Since I recently upgraded to xorg-7.3, I cannot use my laptop because nvidia
 has not yet provided an upgraded driver. I've tried all the recommended
 workarounds for tweaking the xorg.conf file but to no avail.
 
 My question then is: how can I safely downgrade back to xorg-7.2?
 
 Thanks a lot in advance!

Have you tried the nv(4x) driver? Works fine with my nvidia card,
although I believe it hasn't got some of the advanced features of the
proprietary driver.

It's in ports: x11-drivers/xf86-video-nv, if not installed.

-- 

 Frank 


 Contact info: http://www.esperance-linux.co.uk/misc/contact.html 

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


Re: skype with garbled characters

2007-09-22 Thread Karol Kwiatkowski
Girish Venkatachalam wrote:
 Hello all,
 
   I am not able to use skype with FreeBSD 6.2.
 
   It installs fine after a CVSup of the ports tree.
 
   But whenever I try to run it, I get a screen like this.
 
   http://koushikn.fastmail.fm/skype.png
 
   All my efforts at resolving failed.

Hello Girish,

I've had similar problem[1] some time ago and it was solved since then.
Anyway, can you check your fonts.conf file? It should output something
like this:

% $ grep dir  /usr/compat/linux/etc/fonts/fonts.conf
% !-- Font directory list --
% dir/usr/local/lib/X11/fonts/dir
% dir~/.fonts/dir

In my case fonts are located in /usr/local/lib/X11/fonts. What about
your setup?

If that's the problem recompiling x11-fonts/linux-fontconfig should take
care of it.

Regards,

Karol


[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=110632

-- 
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Gerard wrote:
 On September 22, 2007 at 08:52AM Wojciech Puchar wrote:

 so we could say sendmail users rarely posts problems/questions to 
 freebsd list

 More likely, they post questions regarding their product, directly to
 their products forum. Using postfix myself, I always post on the
 postfix forum rather than the FreeBSD one. It just seems logical to me.

I've been hanging out on comp.mail.sendmail recently, and it's
noticeable that there is a fairly high proportion of FreeBSD users
posting there compared to fora for some similar software packages.
But then [EMAIL PROTECTED] (for example) has a relatively large
proportion of Debian users. I guess that just reflects the tendency
to use what the OS provides if you don't have an overriding reason
to use anything else.

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

iD8DBQFG9VlM8Mjk52CukIwRCJmtAJ9lghxAHVnvdtNMbxZJkpva81FUqACfUcKZ
GUHbwWiSkn1RMCTQ+bl6xsY=
=rR7G
-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]


How to downgrade from xorg-7.3 to xorg-7.2 ...

2007-09-22 Thread Aryeh Friedman
nv(4x) does not support all settups... for example it fails to
recognize *ANY* card (pci/agp/pci-e) on a p-35 chipset

On 9/22/07, Frank Shute [EMAIL PROTECTED] wrote:
 On Sat, Sep 22, 2007 at 02:50:25PM +0200, Kiffin Gish wrote:
 
  Hi there,
 
  Since I recently upgraded to xorg-7.3, I cannot use my laptop because nvidia
  has not yet provided an upgraded driver. I've tried all the recommended
  workarounds for tweaking the xorg.conf file but to no avail.
 
  My question then is: how can I safely downgrade back to xorg-7.2?
 
  Thanks a lot in advance!

 Have you tried the nv(4x) driver? Works fine with my nvidia card,
 although I believe it hasn't got some of the advanced features of the
 proprietary driver.

 It's in ports: x11-drivers/xf86-video-nv, if not installed.

 --

  Frank


  Contact info: http://www.esperance-linux.co.uk/misc/contact.html

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

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Wojciech Puchar

But then [EMAIL PROTECTED] (for example) has a relatively large
proportion of Debian users. I guess that just reflects the tendency
to use what the OS provides if you don't have an overriding reason
to use anything else.

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


Re: stdout -determining size of??

2007-09-22 Thread Dan Nelson
In the last episode (Sep 22), David Southwell said:
 How is the the size of stdout controlled.
 
 My query comes about because I had a shell running for ages with unlimited 
 history and found it had gobbled uyp all the space available to stdout!!!

Could you provide the error message that made you think that stdout has
a limit?  stdout could be anything: tty, socket, pipe, file, etc.  If
you have redirected stdout from a script to a file, like ls  ls.txt,
then it's possible that you filled up a filesystem.

-- 
Dan Nelson
[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: migrate from postfix to qmail

2007-09-22 Thread Giorgos Keramidas
On 2007-09-22 02:47, Lotfi kecir [EMAIL PROTECTED] wrote:
 hello. i'm newbbie in Unix especially in in FreeBSD. Recently i have
 setup one mail server with postfix-dovecot and i would like to migrate
 it to Qmail server. but i didn't know how to do it. Someone can give
 help me?  Thanks.

Why would you want to do such a silly thing?

Postfix is an *excellent* mail server software package :-)

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Giorgos Keramidas
On 2007-09-22 14:52, Wojciech Puchar [EMAIL PROTECTED] wrote:
 'most people' is a vague term,
 
 http://www.securityspace.com/s_survey/data/man.200708/mxsurvey.html
 
 if you have a look at this survey, sendmail rules it. So 'most'
 depends on the context and a mailinglist isn't of much significance
 in my opionion.
 
 so we could say sendmail users rarely posts problems/questions to
 freebsd list

That's because there's no such thing as a newbie Sendmail user.

Nobody stays a newbie long enough if they configure Sendmail properly

:grin: :duck: :run:

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Pollywog
On Saturday 22 September 2007 19:27:36 Giorgos Keramidas wrote:

 That's because there's no such thing as a newbie Sendmail user.

 Nobody stays a newbie long enough if they configure Sendmail properly

That is why I use Postfix.  I would not go from Postfix to Sendmail because it 
would make life difficult.  I would not go to qmail because as someone else 
said, it would be like going back to the stone age  :)

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


Re: Why is sendmail in the core of FreeBSD?

2007-09-22 Thread Giorgos Keramidas
On 2007-09-22 20:12, Pollywog [EMAIL PROTECTED] wrote:
On Saturday 22 September 2007 19:27:36 Giorgos Keramidas wrote:
 That's because there's no such thing as a newbie Sendmail user.
 Nobody stays a newbie long enough if they configure Sendmail properly
 
 That is why I use Postfix.  I would not go from Postfix to Sendmail
 because it would make life difficult.

Heh, what I wrote was supposed to be a joke, but oh well :-)

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


Moused issues?

2007-09-22 Thread Joe Altman
Or maybe USB; I can't tell.

Background:

Beginning around 5 PM EDT Sept. 21 I upgraded world and rebuilt my
kernel; after rebooting to install the new kernel at about 9 PM, the
system panicked and tossed something like this on the console (I'm
working from memory; it was late and I was tired):

Fatal trap 12: page fault while in kernel mode

followed by a bunch of other text, no dump device, and then a
reboot in fifteen seconds countdown.

The process seemed to hang somewhere around initializing or querying
the mouse, a Razer USB.

I rebooted and chose kernel.old; it works fine; and it looks like the
code (I'm working on an uninformed hunch here) for moused.c did change
just before the time I upgraded source.

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/moused/moused.c.diff?r1=1.70.2.5;r2=1.70.2.6;f=h

Again: I'm guessing based on what I see failing in the boot process;
and on the things I can find that changed in the source tree: I can
see other things that changed at about the same time; for instance,
kld.3, kld.c,libutil.h in /usr/src/lib/libutil/; it looks like these
things are relevant to loading ums(4) bits.

Any clues?

If the only way to investigate further is to build a debugging kernel
and configure a dump device, I'm afraid I cannot build any sort of
debugging kernel; I am pretty sure it would render my machine unusable
and given that I've just reinstalled it on June 16, I'd rather not
risk it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gdb question

2007-09-22 Thread Ghirai
Hello list,

I'm playing with a small nasm executable, is there any way
i can get gdb to show me the deadlisting, and allow me to
break at a certain offset, without any debugging symbols?

Since my code is raw assembly, seeing the sourcecode file
or the deadlisting is the exact same.

Atm i'm doing like this, and it doesn't seem to work:

(gdb) file wp
Reading symbols from wp...(no debugging symbols found)...done.
(gdb) break 0x8048099
No symbol table is loaded.  Use the file command.
(gdb) run
Starting program: wp 
warning: shared library handler failed to enable breakpoint

Program exited with code 0267.


Using gdbtui seems yield the exact same result.

What i really want is to see the deadlisting and be able to step through
it, seeing what happens with the registers, stack, etc.

Can gdb do that?

And are there any other usermode debuggers i could use?

Thanks for reading.

-- 
Regards,
Ghirai.
___
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 downgrade from xorg-7.3 to xorg-7.2 ...

2007-09-22 Thread Mel
On Saturday 22 September 2007 14:50:25 Kiffin Gish wrote:
 Hi there,

 Since I recently upgraded to xorg-7.3, I cannot use my laptop because
 nvidia has not yet provided an upgraded driver. I've tried all the
 recommended workarounds for tweaking the xorg.conf file but to no avail.

 My question then is: how can I safely downgrade back to xorg-7.2?

If you still have xorg-7.2 packages this is the fastest:
(cd /usr/ports/x11/xorg  make all-depends-list)|xargs pkg_delete -f
env PKGDIR=/path/to/packages/All pkg_add /path/to/packages/All/xorg-7.2.tbz

If not, you need to revert your ports tree to pre-xorg 7.3 AFTER the 
pkg_delete command, using a reldate in your ports-supfile.

Unfortunately since the xorg-modular joy[1] there's no good way to make 
portupgrade ignore an upgrade via HOLD_PKGS, so you need to go back to manual 
upgrading, deciding port by port what you can upgrade and don't use -R or -r 
in case a dep on X is pulled in.

[1] I still have to see the advantage of it, cause so far 1 or 2 drivers have 
been updated independently and the 200+ more paths in /var/db/pkg plus the 
inability to hold an xorg installation from portupgrade -a outweigh this 
significantly. /bitchin'
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Hostap problem

2007-09-22 Thread Mel
Hi,

After battling PPPoE for a day, because HISADDR is a literal and not a value, 
in addition to all routes needing to be cleared before ppp starts, we finally 
got a FreeBSD natbox wireless access point and can get rid of the linksys.

There's only one problem left to tackle and my lack of wireless network 
knowledge comes to play. Everything works, except wireless hosts cannot 
connect to eachother. The only can connect to the wireless host. The only 
reference I found to this is an old samag article:
http://www.samag.com/documents/s=7121/sam0205a/sam0205a.htm

# BSS mode, meaning clients must associate with an access point, 
# and cannot directly connect to one another.

This however deals with wi(4) rather then our ath and it also offers no 
background or solution to letting them interconnect (although I suspect 
enabling IBSS is the key?).

I followed:
http://www.freebsdmall.com/~loader/en_US.ISO8859-1/articles/wireless/article.html

to set this up (and I don't understand why the hostap bits are stripped from 
this article in the handbook).

Relevant config bits:
ifconfig_ath0=inet 192.168.1.1 netmask 255.255.255.0 ssid MYSSID wepmode on 
weptxkey 1 wepkey 1:0x0123456789 mode 11g mediaopt hostap
ifconfig_ath0_alias0=inet 192.168.1.51 netmask 0x # for DNS server

# pciconf -lv|grep -A4 ^ath
[EMAIL PROTECTED]:10:0: class=0x02 card=0x7057144f chip=0x0013168c rev=0x01 
hdr=0x00
vendor = 'Atheros Communications Inc.'
device = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
class  = network
subclass   = ethernet

So what's the trick to allow/facilitate connections between two clients?
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dovecot LDA help

2007-09-22 Thread Mel
On Thursday 20 September 2007 00:58:32 Gerard wrote:
 On September 19, 2007 at 03:35AM Peter Pluta wrote:
  I'm redoing my mail setup and am having some issues. I'm having dspam
  send mail directly to dovecot for delivery. I've read the dovecot wiki
  extrensivly and manged to get a config file from a friend that has it
  setup this way, but I am still unable to get it working.
 
  Here is my config for dovecot.conf:
   socket listen {
  master {
path = /var/run/dovecot/auth-master
mode = 0660
user = vmail
#group = vmail
  }
  mail_location = maildir:/usr/local/virtual/%d/%n -- all mail in
  /usr/local/virtual is owned by vmail:vmail
 
  The rest is all mostly stock and the usual config.
 
  Here is my dovecot-sql.conf file:
  password_query = SELECT password, 1011 AS uid, 1011 AS gid FROM users
  WHERE userid = '%u'
  user_query = SELECT 1011 AS uid, 1011 AS gid FROM users WHERE userid =
  '%u'
 
  1011:1011 is the uid/gid of the user vmail.
 
 
  Now the question is, what is the problem here. I turned dovecots debug
  feature on, and I see this:
 
  Sep 19 02:29:30 pelorus postfix/smtpd[27881]: connect from
  py-out-1112.google.com[64.233.166.178]
  Sep 19 02:29:30 pelorus postfix/smtpd[27881]: NOQUEUE: filter: RCPT from
  py-out-1112.google.com[64.233.166.178]: [EMAIL PROTECTED]:
  Recipient address triggers FILTER dspam:unix:/var/run/dspam/dspam.sock;
  from=[EMAIL PROTECTED] to=[EMAIL PROTECTED] proto=ESMTP
  helo=py-out-1112.google.com
  Sep 19 02:29:30 pelorus postfix/smtpd[27881]: 956B36CF82:
  client=py-out-1112.google.com[64.233.166.178]
  Sep 19 02:29:30 pelorus postfix/cleanup[27923]: 956B36CF82:
  message-id=[EMAIL PROTECTED]
  Sep 19 02:29:30 pelorus postfix/qmgr[27452]: 956B36CF82:
  from=[EMAIL PROTECTED], size=2198, nrcpt=1 (queue active)
  Sep 19 02:29:30 pelorus dspam[27471]: Delivery agent returned exit code
  67: /usr/local/libexec/dovecot/deliver -d [EMAIL PROTECTED]

The nice thing is that you're able to figure out the error:
# grep 67 /usr/include/sysexits.h
#define EX_NOUSER   67  /* addressee unknown */


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


Re: skype with garbled characters

2007-09-22 Thread Mel
On Thursday 20 September 2007 13:28:54 Girish Venkatachalam wrote:
 Hello all,

   I am not able to use skype with FreeBSD 6.2.

   It installs fine after a CVSup of the ports tree.

   But whenever I try to run it, I get a screen like this.

   http://koushikn.fastmail.fm/skype.png

   All my efforts at resolving failed.

Looks like you're missing some fonts or the font doesn't support your 
character set or your fontpath is incomplete. I'd start with the fontpath 
myself. Check your xorg.conf.

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


Re: Problem with Pear-Auth

2007-09-22 Thread Mel
On Friday 21 September 2007 21:33:29 Derrick wrote:

 Segmentation fault (core dumped)
 *** Error code 139

 It seems to be less with Pear-Auth, but I'm not sure where to go with
 this.

I bet you did a large upgrade. Move extensions around 
in /usr/local/etc/php/extensions.ini then check php -v to see if the core 
dump is gone. There's some earlier discussions about this on the list (see 
the archives).
Once the core dump is gone, installing Pear/Auth will work.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Netatalk

2007-09-22 Thread Gabriel Dragffy
I've been following several different tutorials on the net for  
getting netatalk working. I've compiled in the neccessary option to  
the kernel, installed the port. Added various things to rc.conf, run / 
usr/local/etc/rc.d/netatalk start  and... nothing :( I think the  
problem is that all the tutorials I have found are years our of date.  
Does someone know how to get the modern port of netatalk on 6.2 working?


Many thanks

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


disc failure? at least snail snow CPU...

2007-09-22 Thread Gary Kline
Anybody got suggestions on what kind of hard drive to buy for my
new main server--if is *is* the drive?  The video board began 
flaking out recently, and now tao2 is hanging part way up.

It crashed about an hour ago and I let fsck finish before doing 
a shutdown -r now.  It took several minutes to boot and is still
fsck'ing /.  This time the display is very large, but the 
processor is extremely slow; it reminds me of a 386-33!

So a logical question here is, what could cause an otherwise very
fast Dell-8200 to switch back to s-l-o-w??

thanks, guys,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


SoftMaker missing from ports for any version.

2007-09-22 Thread NetOpsCenter

Aloha,

Ports seems broken to download SoftMaker.
Also cant download from the SoftMaker website either.
Is this a viable program or dead? Anybody know or ever used this?

Thanks

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


japanese/samaba3 need help

2007-09-22 Thread vuthecuong
When I portinstall japanese/samba3 I got following error. My ports are 
up to date
by portsnap. I have no clue to solve this :( Could anyone give me some 
hints?


---  Installing 'ja-samba-3.0.25a,1' from a port (japanese/samba3)
---  Building '/usr/ports/japanese/samba3'
===  Cleaning for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
===  Extracting for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
= MD5 Checksum OK for samba-3.0.25a.tar.gz.
= SHA256 Checksum OK for samba-3.0.25a.tar.gz.
= MD5 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
= SHA256 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
===  Patching for ja-samba-3.0.25a,1
===  Applying distribution patches for ja-samba-3.0.25a,1
===  Applying FreeBSD patches for ja-samba-3.0.25a,1
1 out of 1 hunks failed--saving rejects to aclocal.m4.rej
= Patch patch-aclocal.m4 failed to apply cleanly.
= Patch(es) patch-Makefile.in applied cleanly.
*** Error code 1

Stop in /usr/ports/japanese/samba3.
*** Error code 1

Stop in /usr/ports/japanese/samba3.
   ! japanese/samba3(patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed



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


Re: japanese/samaba3 need help

2007-09-22 Thread Paul Schmehl

--On September 23, 2007 3:24:09 PM +0700 vuthecuong [EMAIL PROTECTED] wrote:


When I portinstall japanese/samba3 I got following error. My ports are
up to date
by portsnap. I have no clue to solve this :( Could anyone give me some
hints?

---  Installing 'ja-samba-3.0.25a,1' from a port (japanese/samba3)
---  Building '/usr/ports/japanese/samba3'
===  Cleaning for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
===  Extracting for ja-samba-3.0.25a,1
===  NOTICE: This version of port has changed location of Samba password
===  NOTICE: (smbpasswd) directory. Files in '/usr/local/private'
===  NOTICE: have moved to '/usr/local/etc/samba'.
===  ---
===  Run 'make config' to (re)configure the port
===  ---
= MD5 Checksum OK for samba-3.0.25a.tar.gz.
= SHA256 Checksum OK for samba-3.0.25a.tar.gz.
= MD5 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
= SHA256 Checksum OK for samba-3.0.25a-i18n-20070614.bz2.
===  Patching for ja-samba-3.0.25a,1
===  Applying distribution patches for ja-samba-3.0.25a,1
===  Applying FreeBSD patches for ja-samba-3.0.25a,1
1 out of 1 hunks failed--saving rejects to aclocal.m4.rej
= Patch patch-aclocal.m4 failed to apply cleanly.
= Patch(es) patch-Makefile.in applied cleanly.
*** Error code 1
 Stop in /usr/ports/japanese/samba3.
*** Error code 1
 Stop in /usr/ports/japanese/samba3.
! japanese/samba3(patch error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

The first thing I would try is make distclean and make rmconfig.  Then try 
building the port again.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: disc failure? at least snail snow CPU...

2007-09-22 Thread Erich Dollansky

Hi,

Gary Kline wrote:

Anybody got suggestions on what kind of hard drive to buy for my
	new main server--if is *is* the drive?  The video board began 


SCSI? Fujitsu.

Else?

Any with 5 years of warranty available near your place.

I do not bother to buy any other drives anymore.

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


Can't login: no pam_unix.so found

2007-09-22 Thread Victor Star
Hi guys,

I need your help to fix my FreeBSD 6.2-RELEASE system.
This is my home server, used mostly for mail (courier) and local file server 
(samba).
It's been up for quite some time with no problems and really fun for me to 
learn FreeBSD.
I've learned lots of things configuring postfix, courier, RAIDs and wireless.
But now I have something I can't handle myself. Spent time searching archives, 
web to no avail.

Now, few days ago I started getting the following in the daily security run 
output:

- 8 -===
Checking for packages with security vulnerabilities:

su: pam_start: system error
- 8 -===

What I see on the console is:
- 8 -===
su: in openpam_load_module(): no pam_unix.so found
su: pam_start: system error
- 8 -===

I can't also login neither through ssh nor on the console - getting same error.
Luckily I still have one ssh root session alive (so far!). 
I have this bad feeling that on disconnect or reboot I will loose the access to 
the box.

Mail server still working no problem, smtp and POP via SSL work and authorize 
fine.

pam_unix.so is in /usr/lib:
- 8 -===
# ls -l /usr/lib/pam_unix*
lrwxr-xr-x  1 root  wheel 13 Sep 25  2006 /usr/lib/pam_unix.so - 
pam_unix.so.3
-r--r--r--  1 root  wheel  10240 Feb 19  2007 /usr/lib/pam_unix.so.3
# file /usr/lib/pam_unix.so
/usr/lib/pam_unix.so: symbolic link to `pam_unix.so.3'
- 8 -===

There is one more thing that is suspiciously close in time to when this started 
happening.
In the same security run output where  I first saw this error I found this:
- 8 -===
Sep 18 11:11:37 xx su: BAD SU myloginname to root on /dev/ttyp3
Sep 18 11:13:46 xx sshd[45047]: Bad protocol version identification 
'\377\364\377\375\006quit' from some ip here
Sep 18 11:15:08 xx sshd[45056]: Received disconnect from some ip here: 2: 
Bad packet length 710099706.
- 8 -===

I'd appreciate any ideas about what happened and how to get it fixed.

Thanks!
  
-- 
Best regards,
 Victor

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


Re: skype with garbled characters

2007-09-22 Thread Girish Venkatachalam
On Sat, Sep 22, 2007 at 07:37:42PM +0200, Karol Kwiatkowski wrote:
 Girish Venkatachalam wrote:
  Hello all,
  
I am not able to use skype with FreeBSD 6.2.
  
It installs fine after a CVSup of the ports tree.
  
But whenever I try to run it, I get a screen like this.
  
http://koushikn.fastmail.fm/skype.png
  
All my efforts at resolving failed.
 
 Hello Girish,
 
 I've had similar problem[1] some time ago and it was solved since then.
 Anyway, can you check your fonts.conf file? It should output something
 like this:
 
 % $ grep dir  /usr/compat/linux/etc/fonts/fonts.conf
 % !-- Font directory list --
 % dir/usr/local/lib/X11/fonts/dir
 % dir~/.fonts/dir
 
 In my case fonts are located in /usr/local/lib/X11/fonts. What about
 your setup?
 
 If that's the problem recompiling x11-fonts/linux-fontconfig should take
 care of it.
 

Dear Karol,

I got it working!

Many thanks!

The issue was this.

# cd /usr/ports/x11-fonts/xorg-fonts
# make install

I had missed this step. This installed fonts under
/usr/local/lib/X11/fonts

I guess the default dependency tree for skype does not include this.

I wonder how to submit a patch for this.

I have always enjoyed using skype under FreeBSD much more than linux. :)

That way I don't have to use linux. :)

Thanks once again.

regards,
Girish
___
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-09-02 - 2007-09-22

2007-09-22 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:

10-Sep : Creating multiple jails
 When creating more than one jail, these shortcuts might help 
 http://freebsddiary.org/jail-multiple.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]


maxima, rlwrap and sbcl

2007-09-22 Thread P.U.Kruppa

Hello,

I have built maxima with sbcl on FreeBSD-7.0 . I would like to 
add some command line editing functionality by installing rlwrap.


When I try to start rmaxima I get
rlwrap: error: Could not open master pty: Input/output error

Can anyone help?

Thanks,

Uli.

Peter Ulrich Kruppa
Wuppertal
Germany

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