kde on openbsd46

2009-10-26 Thread igor denisov

Hi there,
May someone tell me, why there is lot of errors on the console when I 
exit kde and what to do to dump that errors?


Many thanks,


--
igor denisov.



smtpd support DIGEST MD5 AUTH ?

2009-10-26 Thread Fernando Quintero
Hi all,

first, thx to gilles for this great software,
I'm testing smtpd with TLS and SSL an it works ok, I noticed that the
AUTH command uses PLAIN LOGIN.

The question is: smtpd supports another thing different to PLAIN LOGIN
for AUTH?, is possible integrate it to SASL ?

Thanks in advanced.

-- 
--

Fernando Quintero
http://nonroot.blogspot.com/
*Just a nonroot User*



Re: decreasing the size of the distribution

2009-10-26 Thread Jan Stary
On Oct 26 00:10:20, Abdullah Sendul wrote:
 Hi,
 
 we are having a couple of openbsd servers, of which, the content is static.
 
 I would like to identify all the files needed for this system to run,
 and then move it to a flash disk to minimise the size of the
 distribution

You can easily move it to a flash disk without minimizing anything.

 find -mtime -atime is giving me some ideas, but is this the right
 approach to remove the rest of the files not used on the system.
 
 what do you suggest?
 
 thanks
 
 \sendul



Re: decreasing the size of the distribution

2009-10-26 Thread Aaron Mason
Agreed on the whole - I run a router happily on a 512mb flash drive.
And I didn't have to minimise a thing.

On Mon, Oct 26, 2009 at 6:18 PM, Jan Stary h...@stare.cz wrote:
 On Oct 26 00:10:20, Abdullah Sendul wrote:
 Hi,

 we are having a couple of openbsd servers, of which, the content is static.

 I would like to identify all the files needed for this system to run,
 and then move it to a flash disk to minimise the size of the
 distribution

 You can easily move it to a flash disk without minimizing anything.

 find -mtime -atime is giving me some ideas, but is this the right
 approach to remove the rest of the files not used on the system.

 what do you suggest?

 thanks

 \sendul





-- 
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?



Re: smtpd support DIGEST MD5 AUTH ?

2009-10-26 Thread Gregory Edigarov
On Mon, 26 Oct 2009 02:01:01 -0500
Fernando Quintero fernando.a.quint...@gmail.com wrote:

 Hi all,
 
 first, thx to gilles for this great software,
 I'm testing smtpd with TLS and SSL an it works ok, I noticed that the
 AUTH command uses PLAIN LOGIN.
 
 The question is: smtpd supports another thing different to PLAIN LOGIN
 for AUTH?, is possible integrate it to SASL ?

short answer: you do not want to I see SASL as a very complex piece
of bloatware.
a bit longer answer: smtpd is interfaced to bsdauth (see
authenticate(3)). so if you want you can implement authentication
method, just like I did to authenticate smtpd client to pop3 server.

-- 
With best regards,
Gregory Edigarov



Re: smtpd: format for certificates

2009-10-26 Thread Gilles Chehade

Hugo Villeneuve a icrit :

On Sun, Oct 25, 2009 at 04:17:46PM +0001, Jason McIntyre wrote:
  

On Sun, Oct 25, 2009 at 05:07:30PM +0100, Rene Maroufi wrote:


On Sun, Oct 25, 2009 at 03:41:22PM +0100, Gilles Chehade wrote:
  
 
  

you should read man starttls, it provides the exact description of how
you setup ssl/tls in smtpd


Not really. I tried the procedure in man starttls and ended with 2 file,
too. If I use the mycert.pem from the steps in man starttls (as file
fxp0.crt) i get the same error with smtpd -n:
/etc/mail/smtpd.conf:9: cannot load certificate: fxp0

  

smtpd.conf(5) currently has a simple example for using an rsa
certificate (which we should probably change). you can use the info in
that page and starttls(8) to do the same using a dsa certificate.

jmc



Silly question, but are Microsoft's products and openssl finaly
compatible when using DSA suites?
  

No idea, I guess best test is to try it out ;-)

Gilles



Re: smtpd support DIGEST MD5 AUTH ?

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 02:01:01AM -0500, Fernando Quintero wrote:
 Hi all,
 
 first, thx to gilles for this great software,


jacekm@ did a lot of work on it too ;-)


 I'm testing smtpd with TLS and SSL an it works ok, I noticed that the
 AUTH command uses PLAIN LOGIN.
 
 The question is: smtpd supports another thing different to PLAIN LOGIN
 for AUTH?, is possible integrate it to SASL ?
 

currently, smtpd only supports PLAIN and LOGIN on top of tls/ssmtp and
there's slight chances this will change in a short timeframe as there
are lots of higher priority things to do.

what are you trying to achieve ?

Gilles


-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: decreasing the size of the distribution

2009-10-26 Thread Peter Kay - Syllopsium

From: Jan Stary h...@stare.cz
On Oct 26 00:10:20, Abdullah Sendul wrote:

Hi,

we are having a couple of openbsd servers, of which, the content is 
static.


I would like to identify all the files needed for this system to run,
and then move it to a flash disk to minimise the size of the
distribution


You can easily move it to a flash disk without minimizing anything.
I would tend to agree. OpenBSD is a small operating system and any 
reasonably sized flash storage will easily contain it. Why on earth make 
life more difficult for yourself - as soon as you cut the OS down it becomes 
harder to support!


I have a NetBSD system using an IDE-Compact Flash converter and simply use 
it as normal (at the time, OpenBSD didn't support the hardware fully).


I do use flashdist on an OpenBSD firewall, with an extremely cut down subset 
of OpenBSD. The reason for this is not distribution size, but that the OS 
remains unchanged every time it boots up (flashdist uses the storage device 
read only) and the possibility of corruption is removed.


Flashdist works well, but from experience I can say it's a bit of a pain in 
the arse to get working as it's always missing something. The first time I 
booted it up, I found it didn't include the firmware for my (wired) ethernet 
card by default, for instance.


Save yourself the hassle and just install as normal.

PK 



Re: decreasing the size of the distribution

2009-10-26 Thread David Walker
 Agreed on the whole - I run a router happily on a 512mb flash drive.
 And I didn't have to minimise a thing.

+1

I install 4.5 over the network to my router.
GENERIC bsd, base45, etc45. No scripting required.
http://www.openbsd.org/faq/faq4.html#FilesNeeded
It fits on a 256MB compact flash with room enough to spare.

If this machine wasn't on a LAN with other connected boxes I'm sure
man45 and misc45 would fit as well ...
I have other documentation access but would not exclude man from a
stand alone box.
http://marc.info/?l=openbsd-miscm=96280712907980w=2

Advantage?
Whenever I have an issue I have some (some) confidence it is not
anything stoopid I have done. :]

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/wd0a  240M163M   64.8M72%/
mfs:2794   7.7M1.0K7.3M 0%/tmp

Unless 4.6 has grown more than it looks I expect it will also fit nicely.

Best wishes.



Re: smtpd: feature like the transport table in postfix

2009-10-26 Thread Rene Maroufi
On Sun, Oct 25, 2009 at 08:30:59PM +0100, Denis Fondras wrote:
 Hi Rene,
 
 Perhaps I didn't understand correctly your problem but can't you just use :
 accept from $mynetwork for domain example.net relay ?
 
 and let smtpd resolve example.net MX ?

Yes, of course, this was a loop in my brain. Look at my other post in
this thread.

Regards
Reni
-- 
Reni Maroufi
i...@maroufi.net



mailq: unsupported mode with smtpd

2009-10-26 Thread Rene Maroufi
Hi,

The daily script on my Server with running smtpd shows me this error:
mailq: unsupported mode
In my /etc/mailer.conf mailq is mapped to smtpctl:
mailq   /usr/sbin/smtpctl
Doesn't work the smtpctl command as mailq?

The Server is running 4.6 stable (with the 4.6 stable smtpd).
Regards
Reni
-- 
Reni Maroufi
i...@maroufi.net



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 01:32:44PM +0100, Rene Maroufi wrote:
 Hi,
 
 The daily script on my Server with running smtpd shows me this error:
 mailq: unsupported mode
 In my /etc/mailer.conf mailq is mapped to smtpctl:
 mailq   /usr/sbin/smtpctl
 Doesn't work the smtpctl command as mailq?
 
 The Server is running 4.6 stable (with the 4.6 stable smtpd).
 Regards
 Reni
 

try:

maulq   /usr/sbin/smtpctl show queue

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 01:44:01PM +0100, Gilles Chehade wrote:
 On Mon, Oct 26, 2009 at 01:32:44PM +0100, Rene Maroufi wrote:
  Hi,
  
  The daily script on my Server with running smtpd shows me this error:
  mailq: unsupported mode
  In my /etc/mailer.conf mailq is mapped to smtpctl:
  mailq   /usr/sbin/smtpctl
  Doesn't work the smtpctl command as mailq?
  
  The Server is running 4.6 stable (with the 4.6 stable smtpd).
  Regards
  Reni
  
 
 try:
 
   maulq   /usr/sbin/smtpctl show queue
 

and by maulq i mean mailq ;-)

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: PKG_PATH never works as stated

2009-10-26 Thread Nick Guenther
On Sun, Oct 25, 2009 at 10:29 PM, Juan Miscaro jmisc...@gmail.com wrote:
 I've had this problem for a long time (over many OpenBSD releases).

 The pkg_add man page (for 4.5) states:

 If a given package name cannot be found, the directories named by
 PKG_PATH are searched.  It should contain a series
 of entries separated by colons.  Each entry consists of a directory
 name.  URL schemes such as FTP, HTTP, HTTPS, or SCP are also
 appropriate.

 On a client machine:

 PKG_PATH=http://$HTTP_MASTER/:http://$HTTP_MASTER/by_port/i386/all/

 My master server serves up normal packages and those packages compiled
 from ports.

 When I do this only the first component is searched.  I have to do a
 second package update run with PKG_PATH pointing directly to the
 second component for the ports packages to be seen.

 Why is this?


I've seen this too but I've never figured it out. Obviously it's
supposed to work so we must be doing it wrong... or maybe we have odd
characters in our URLs that are throwing off the parser (after all,
http:// contains the delimiter field, it's not unlikely it might screw
up). Can you echo your $HTTP_MASTER, and your $PKG_PATH? And show an
attempt to use pkg_add that fails?

-Nick



Re: kde on openbsd46

2009-10-26 Thread Vadim Zhukov
On 26 October 2009 c. 08:58:23 igor denisov wrote:
 Hi there,
 May someone tell me, why there is lot of errors on the console when I
 exit kde and what to do to dump that errors?

Obviously:
$ startkde kde.log 21

Also, note that not all errors you see on _exit_ are harm. Usually they
are just oops, some process killed notifications and Co.

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Rene Maroufi
On Mon, Oct 26, 2009 at 01:52:24PM +0100, Gilles Chehade wrote:
  
  try:
  
  maulq   /usr/sbin/smtpctl show queue
  
 
 and by maulq i mean mailq ;-)

Doesn't work:
/etc/mailer.conf:
mailq   /usr/sbin/smtpctl show queue

# mailq
mailq: unsupported mode

Regards
Rene
-- 
Reni Maroufi
i...@maroufi.net



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Bret Lambert
 and by maulq i mean mailq ;-)

but maulq is much more full of awesome and win



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Gregory Edigarov
On Mon, 26 Oct 2009 15:19:49 +0100
Bret Lambert bret.lamb...@gmail.com wrote:

  and by maulq i mean mailq ;-)
 
 but maulq is much more full of awesome and win
 
Maul? did you mean Darth Maul? ;-)

-- 
With best regards,
Gregory Edigarov



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 03:19:49PM +0100, Bret Lambert wrote:
  and by maulq i mean mailq ;-)
 
 but maulq is much more full of awesome and win

i agree ;-)

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: mailq: unsupported mode with smtpd

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 03:16:19PM +0100, Rene Maroufi wrote:
 On Mon, Oct 26, 2009 at 01:52:24PM +0100, Gilles Chehade wrote:
   
   try:
   
 maulq   /usr/sbin/smtpctl show queue
   
  
  and by maulq i mean mailq ;-)
 
 Doesn't work:
 /etc/mailer.conf:
 mailq   /usr/sbin/smtpctl show queue
 
 # mailq
 mailq: unsupported mode
 

mmh, this used to work afaik

ill look into it tonight when im back from work, meanwhile you can use
smtpctl show queue which is what mailq is aliased to on smtpd

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: smtpd support DIGEST MD5 AUTH ?

2009-10-26 Thread Fernando Quintero
uhmm ok,
I got it, smtpd is interfaced to bsdauth (thx gregory) so, I will
search in that way, really I'm just trying things and I'm verifying
the simplicity of the configuration, I want to write a HowTo
(spanish), about OpenSMTPD + auth +pop3s + imaps + webmail, etc ...

Thanks a lot.

On Mon, Oct 26, 2009 at 4:12 AM, Gilles Chehade gil...@openbsd.org wrote:
 On Mon, Oct 26, 2009 at 02:01:01AM -0500, Fernando Quintero wrote:
 Hi all,

 first, thx to gilles for this great software,


 jacekm@ did a lot of work on it too ;-)


 I'm testing smtpd with TLS and SSL an it works ok, I noticed that the
 AUTH command uses PLAIN LOGIN.

 The question is: smtpd supports another thing different to PLAIN LOGIN
 for AUTH?, is possible integrate it to SASL ?


 currently, smtpd only supports PLAIN and LOGIN on top of tls/ssmtp and
 there's slight chances this will change in a short timeframe as there
 are lots of higher priority things to do.

 what are you trying to achieve ?

 Gilles


 --
 Gilles Chehade
 freelance developer/sysadmin/consultant

   http://www.poolp.org




--
--

Fernando Quintero
http://nonroot.blogspot.com/
*Just a nonroot User*



Re: muting the keyboard bell with wsconsctl isn't working anymore

2009-10-26 Thread LEVAI Daniel
On Thursday 22 October 2009 21.25.32 you wrote:
  Since the Oct.16 snapshot I can not disable the keyboard bell (beel) with
  wsconsctl(8).
 
  $ wsconsctl
  [...]
  keyboard.bell.pitch=0
  keyboard.bell.period=0
  keyboard.bell.volume=0
  keyboard.bell.pitch.default=0
  keyboard.bell.period.default=0
  keyboard.bell.volume.default=0
  [...]
 
  Still I can hear the beep with eg.: echo '^G'

 You probably use an USB keyboard, which attaches as wskbd1. Until very
 recently these keyboards did not bell due to missing plumbing in the
 kernel.
Yes, indeed.

 You should be able to mute the bell with
 # wsconsctl -f /dev/wskbd1 keyboard.volume=0
Thank you very much, it is working!

 (and we definitely need to improve wsconsctl to recognize `keyboard1' as
 a valid device).
Yes, I noticed that wsconsctl don't understand:
wsconsctl -f /dev/wskbd1 -a, it just displays wskbd0's values. Also this can't
be done in /etc/wsconsctl.conf, I must add this to eg. /etc/rc.local. But, I
know... patches are welcome, so I'll just shut up.

Anyway, thanks again!


Daniel

--
LIVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1



system freeze when connection iomega rev

2009-10-26 Thread [lintegra] Elmar Bschorer

greets list,

dmesg:
...
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
cd1 at scsibus1 targ 1 lun 0: Iomega, RRD3, M079 SCSI0 5/cdrom removable

when i try to mount the iomega device the system freezes and i have to 
reset.


currently i am running OpenBSD 4.5 GENERIC#1749 i386

Anyone else got this problem? Any hints?

Cheers, Elmar



smtpd rejecting users

2009-10-26 Thread ddp
I'm feeling stupid at the moment, and I'm sure someone will show my why shortly.
This is using the latest source in cvs for smtpd (updated today).
I've setup smtpd by the man page, and configured the following config:

listen on lo0
listen on re0
map aliases { source db /etc/mail/aliases.db }
map virtual { source db /etc/mail/vmap.db }
accept for local deliver to mbox
accept from 192.168.1.0/24 for domain example.com  deliver to mbox
accept from 192.168.1.0/24 for virtual virtual deliver to mbox

Mail going to u...@ix.example.com (the mailserver) works just fine, but
mail going to u...@example.com gets rejected with a 530:

smtp_dispatch_mfa: mfa handled return path
session error: IPv6:::1: 530 Recipient rejected
session_destroy: killing client: 0x204cdf000

Here is the virtual file:
# more vmap
@example.comix.example.com
u...@example.com user

I have tried it without the virtual file (removing the appropriate
lines from the conf)
and setting the hostname to just example.com.

Any hints? Thanks in advance.

dmesg:
OpenBSD 4.6-current (GENERIC.MP) #231: Mon Oct 19 21:50:55 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2135113728 (2036MB)
avail mem = 2073899008 (1977MB)
RTC BIOS diagnostic error 80clock_battery
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe3590 (23 entries)
bios0: vendor Intel Corp. version LF94510J.86A.0171.2009.0403.0118
date 04/03/2009
bios0: Intel Corporation D945GCLF2D
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC WDDT MCFG ASF! HPET
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) PEX0(S4)
PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3)
UHC3(S3) UHC4(S3) EHCI(S3) AC9M(S4) AZAL(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU 330 @ 1.60GHz, 1596.25 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR,NXE,LONG
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU 330 @ 1.60GHz, 1596.01 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR,NXE,LONG
cpu1: 512KB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus 2 (PEX2)
acpiprt5 at acpi0: bus 3 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x8000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 22 (irq 9)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2
int 17 (irq 255)
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x02: RTL8168C/8111C
(0x3c00), apic 2 int 16 (irq 11), address 00:1c:c0:d5:c7:f1
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: apic 2
int 18 (irq 255)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: apic 2
int 19 (irq 255)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2
int 23 (irq 10)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2
int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2
int 18 (irq 9)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2
int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2
int 23 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 4
ohci0 at pci4 dev 0 function 0 NEC USB rev 0x43: apic 2 int 21 (irq
10), version 1.0
ohci1 at pci4 dev 0 function 1 NEC USB rev 0x43: apic 2 int 22 (irq
9), version 1.0
ehci1 at pci4 dev 0 function 2 NEC USB rev 0x04: apic 2 int 23 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 NEC EHCI root hub rev 2.00/1.00 addr 1
pciide0 at pci4 dev 0 function 3 CMD Technology SiI3512 SATA rev 0x01: DMA
pciide0: using apic 2 int 21 (irq 10) for native-PCI interrupt
usb2 at ohci0: 

Re: decreasing the size of the distribution

2009-10-26 Thread David Walker
 Unless 4.6 has grown more than it looks I expect it will also fit nicely.

# uname -rs
OpenBSD 4.6

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/wd0a  240M160M   68.5M70%/
mfs:28054  7.7M1.0K7.3M 0%/tmp

Bags of room.

Best wishes.



Capital One Classic - Higher Acceptance rates, even for poor credit profiles

2009-10-26 Thread Steven at TotallyMoney
 ---
OK-mail

You have received this email because you are a registered member of
OK-mail.co.uk. If you no longer wish to receive emails like
this please see instructions at the bottom of the email.
Make sure you get the best from us by adding this address to your
address book, find out more...
http://www.okm6gfx.co.uk/broadcasts/other/safelist/index.html
---  

Dear Mischelle,

The Capital One Progress card guarantees to reduce your interest rate if
you use it sensibly. Its the best on the market if you have a lower
credit profile and want to earn a more competitive rate. 


Apply now:

http://mail1.deliverysvr2.com:80/track?type=clickenid=bWFpbGluZ2lkPTNiZjY1NmNhLTYzNjgtMTAyYy04MjhkLTAwMWVjOWZlNzA1NSZtZXNzYWdlaWQ9SVBUX01lZGlhXzUwODU1X0NhcGl0YWxfRDFiNGFlNTY3MjZhNGJlZiZkYXRhYmFzZWlkPTNiZjY1NmNhNjM2ODEwMmM4MjhkMDAxZWM5ZmU3MDU1SVBUX01lZGlhXzUwODU1X0NhcGl0YWxfMDEmc2VyaWFsPTEyMTg3NjQ3OTEmZW1haWxpZD1taXNjQG9wZW5ic2Qub3JnJnVzZXJpZD1taXNjQG9wZW5ic2Qub3JnJmV4dHJhPSYmJg==T1http://www.totallymoney.com/adclick.aspx?m=IPTcam=09-10-26_IPT_caponeprogresscsrc=30ccid=441





TotallyMoney.com is owned and operated by Media Ingenuity Ltd.
) Copyright 2009, Media Ingenuity Ltd. All rights reserved. 

Contact us by email on feedb...@totallymoney.com

Totally Money | 3rd Floor, 46a Rosebery Avenue, London EC1R 4RP UK

---
This email has been sent to the following address: m...@openbsd.org.
We respect your privacy and only send emails to registered users.

You can unsubscribe from our promotions mailing list by visiting our 
website, using the link below.
http://www.emb1.co.uk/Unsubscribe.asp?id=4email=m...@openbsd.orgMailingListID=3
(please allow five working days from receipt for us to process
your request).

To change your preferences or to de-register please visit:
http://www.ok-mail.co.uk/UserLogin.aspx

For more information about us, or to view our privacy policy,
please visit the links below.

Privacy: http://www.ok-mail.co.uk/privacy.asp

About Us: http://www.ok-mail.co.uk/aboutus.asp

OK-mail Ltd, 46 Gillingham Street, London SW1V 1HU

mailcode=50855



max number of connections (HAProxy)

2009-10-26 Thread Brian McCann
I posted this to the HAProxy list, but I figured I'd try here too.
I've been having problems with relayd under OpenBSD 4.5 using it as a
reverse proxy...Every few hours relayd will crash (I run it under
daemontools, so it will start back up) and I'll also get relayd
processes running with - wait state and sucking up CPU with a high
priority (62 iirc).

So...I'm trying out HAProxy.  However, I'm hitting a problem there,
that may be related.  When I try to configure HAProxy to accept
anything more then 1024 connections, it fails saying  maxconn value
8192 too high for this system.  Limiting to 1024. Please use '-n' to
force the value.

Does anyone know if there's a system limit somewhere that needs to be
changed?  I ran sysctl -a | grep 1024 and nothing relevant showed up
(at least, nothing I thought was relevant).

Thanks!
--Brian

-- 
_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_
Brian McCann

I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me.
-- Bill Murray, Ghostbusters



Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that
  If a given package name cannot be found, the directories named by
^^^
  PKG_PATH are searched.  It should contain a series
  of entries separated by colons.  Each entry consists of a directory
  name.  URL schemes such as FTP, HTTP, HTTPS, or SCP are also
  appropriate.

later man pages go like this:

 If the given package names are not found in the current working directo-
 ry, pkg_add will search for them in each directory named by the PKG_PATH
 environment variable.  Specifying `-' as a package name causes pkg_add to
 read from the standard input.

i think this is inaccurate...  the current working directory is never
searched unless the package name starts with './' or PKG_PATH contains '.':

not working:

$ echo $PKG_PATH

$ ls
autossh-1.3.tgz
$ sudo pkg_add autossh-1.3.tgz
Can't find autossh-1.3.tgz
Can't call method grabPlist on an undefined value at 
/usr/libdata/perl5/OpenBSD/Handle.pm line 154.

working:

$ PKG_PATH=.
$ sudo pkg_add autossh-1.3.tgz
autossh-1.3: complete

or

$ PKG_PATH=
$ sudo pkg_add ./autossh-1.3.tgz
autossh-1.3: complete

-f
-- 
i'm not religious.  god willing, i never will be.



Re: 4.6 reboots x336 ibm server(s)

2009-10-26 Thread FRLinux
On Fri, Oct 23, 2009 at 12:28 PM, FRLinux frli...@gmail.com wrote:
 2009/10/23 Vadim Zhukov persg...@gmail.com:
 My $0.02: try to disable intagp, agp, inteldrm, drm devices.

 Thanks, tried disabling a fair few based on successful boot log but
 still fails after wsdisplay0

 Also, as pointed out, before 4.6, it just works.

What else can i provide to help fixing this? I am no developer but
really would love to see that issue fixed :)

Cheers,
Steph



Re: 4.6 reboots x336 ibm server(s)

2009-10-26 Thread Marco Peereboom
Does it have broadcom nics?

if do disable those and try again.

On Mon, Oct 26, 2009 at 08:24:51PM +, FRLinux wrote:
 On Fri, Oct 23, 2009 at 12:28 PM, FRLinux frli...@gmail.com wrote:
  2009/10/23 Vadim Zhukov persg...@gmail.com:
  My $0.02: try to disable intagp, agp, inteldrm, drm devices.
 
  Thanks, tried disabling a fair few based on successful boot log but
  still fails after wsdisplay0
 
  Also, as pointed out, before 4.6, it just works.
 
 What else can i provide to help fixing this? I am no developer but
 really would love to see that issue fixed :)
 
 Cheers,
 Steph



Re: smtpd rejecting users

2009-10-26 Thread Robert
I don't have an answer to this, but I would like to add that I have the 
same problem with aliases (no vmap in use):


If i have an entry like aliasuser: realuser in the aliases file, then 
any email to aliasuser will be rejected with 530; only real users 
are accepted as recipients.


It seems to me that SMTPD is not resolving the usernames.

regards,
Robert

ddp wrote:

I'm feeling stupid at the moment, and I'm sure someone will show my why shortly.
This is using the latest source in cvs for smtpd (updated today).
I've setup smtpd by the man page, and configured the following config:

listen on lo0
listen on re0
map aliases { source db /etc/mail/aliases.db }
map virtual { source db /etc/mail/vmap.db }
accept for local deliver to mbox
accept from 192.168.1.0/24 for domain example.com  deliver to mbox
accept from 192.168.1.0/24 for virtual virtual deliver to mbox

Mail going to u...@ix.example.com (the mailserver) works just fine, but
mail going to u...@example.com gets rejected with a 530:

smtp_dispatch_mfa: mfa handled return path
session error: IPv6:::1: 530 Recipient rejected
session_destroy: killing client: 0x204cdf000

Here is the virtual file:
# more vmap
@example.comix.example.com
u...@example.com user

I have tried it without the virtual file (removing the appropriate
lines from the conf)
and setting the hostname to just example.com.

Any hints? Thanks in advance.

dmesg:
OpenBSD 4.6-current (GENERIC.MP) #231: Mon Oct 19 21:50:55 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2135113728 (2036MB)
avail mem = 2073899008 (1977MB)
RTC BIOS diagnostic error 80clock_battery
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe3590 (23 entries)
bios0: vendor Intel Corp. version LF94510J.86A.0171.2009.0403.0118
date 04/03/2009
bios0: Intel Corporation D945GCLF2D
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC WDDT MCFG ASF! HPET
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) UAR2(S4) PEX0(S4)
PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3)
UHC3(S3) UHC4(S3) EHCI(S3) AC9M(S4) AZAL(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU 330 @ 1.60GHz, 1596.25 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR,NXE,LONG
cpu0: 512KB 64b/line 16-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU 330 @ 1.60GHz, 1596.01 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CX16,xTPR,NXE,LONG
cpu1: 512KB 64b/line 16-way L2 cache
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus 2 (PEX2)
acpiprt5 at acpi0: bus 3 (PEX3)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: SLPB
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82945G Host rev 0x02
vga1 at pci0 dev 2 function 0 Intel 82945G Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x8000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 22 (irq 9)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: apic 2
int 17 (irq 255)
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x02: RTL8168C/8111C
(0x3c00), apic 2 int 16 (irq 11), address 00:1c:c0:d5:c7:f1
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
ppb1 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01: apic 2
int 18 (irq 255)
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x01: apic 2
int 19 (irq 255)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2
int 23 (irq 10)
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2
int 19 (irq 11)
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2
int 18 (irq 9)
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: apic 2
int 16 (irq 11)
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: apic 2
int 23 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 4
ohci0 at pci4 dev 0 function 0 NEC USB rev 0x43: apic 2 int 21 (irq
10), version 1.0
ohci1 at pci4 dev 0 

Re: smtpd rejecting users

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 10:17:30PM +0100, Robert wrote:
 I don't have an answer to this, but I would like to add that I have the 
 same problem with aliases (no vmap in use):
 
 If i have an entry like aliasuser: realuser in the aliases file, then 
 any email to aliasuser will be rejected with 530; only real users 
 are accepted as recipients.
 
 It seems to me that SMTPD is not resolving the usernames.
 
 regards,
 Robert
 

can you please show us your smtpd.conf, /etc/mail/aliases file and
the output of smtpd -dv while you reproduce the issue ?

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: smtpd rejecting users

2009-10-26 Thread Gilles Chehade
On Mon, Oct 26, 2009 at 01:37:04PM -0400, ddp wrote:
 I'm feeling stupid at the moment, and I'm sure someone will show my why 
 shortly.
 This is using the latest source in cvs for smtpd (updated today).
 I've setup smtpd by the man page, and configured the following config:
 
 listen on lo0
 listen on re0
 map aliases { source db /etc/mail/aliases.db }
 map virtual { source db /etc/mail/vmap.db }
 accept for local deliver to mbox
 accept from 192.168.1.0/24 for domain example.com  deliver to mbox
 accept from 192.168.1.0/24 for virtual virtual deliver to mbox
 
 Mail going to u...@ix.example.com (the mailserver) works just fine, but
 mail going to u...@example.com gets rejected with a 530:
 
 smtp_dispatch_mfa: mfa handled return path
 session error: IPv6:::1: 530 Recipient rejected
 session_destroy: killing client: 0x204cdf000
 

It looks like you are initiating the session from localhost, but your
ruleset only allows deliveries to example.com and your virtual domains
if they are initiated from 192.168.1.0/24 , you may want to add the
following:

accept for domain example.com deliver to mbox
accept for virtual virtual deliver to mbox

also, you should really have:

accept for all relay

otherwise local users will not be able to send outgoing mails (and
this includes smtpd trying to send an outgoing bounce)

Let me know if it fixes your issue

Gilles


-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: smtpd rejecting users

2009-10-26 Thread ddp
On Mon, Oct 26, 2009 at 5:17 PM, Robert info...@die-optimisten.net wrote:
 I don't have an answer to this, but I would like to add that I have the same
 problem with aliases (no vmap in use):

 If i have an entry like aliasuser: realuser in the aliases file, then any
 email to aliasuser will be rejected with 530; only real users are
 accepted as recipients.

 It seems to me that SMTPD is not resolving the usernames.

 regards,
 Robert


I managed to get it to work, but I haven't had a chance to figure out
exactly how.
If you're interested, I can try to figure it out and post back later.
dan



Re: Clock settings and FAQ 8.25

2009-10-26 Thread Stijn

Rod Whitworth wrote:

Hi Nick,
You may notice that I've made this public. Not to get a democratic
election started, just to get the info out to some who may find it
useful even if you don't reckon it's good enough for an FAQ entry.

For years I have been doing lots of installs of OpenBSD (snapshots
mostly) on dual-booting machines (Thinkpads mostly) with XP the other,
hr, OS. 
They need to run both. This is not a perfect world.


Anyway, early on I discovered the FAQ item about HW clock settings et
c. and it worked fine but eventually it began to grate on my nerves. I
was doing a mod to OpenBSD every time and the XP clock just stayed
there. One more thing to forget when doing a new install.

So I sussed out the fact that I can mod XP once and it will work on UTC
HW clock and then there is nothing to forget for my favourite OS. I'm
sure there are others out there who know but I never saw the method
discussed in the OpenBSD context.

So here is a file I call UTChwClock.reg - contents are:
Windows Registry Editor Versio
5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
]
RealTimeIsUniversal=dword:0001

NOTE: There are only 3 lines in the  DOS format text file. The second
line above is split and must be rejoined in your copy.

It makes a new registry entry or modifies an existing one. I expect
anybody using it to take the usual precautions when modifying XP
registry settings. Don't ask me for my recommendations - ask a windows
expert.

If you do it incorrectly just remember that I warned you that it is
delicate surgery and I'm not in control of your machine or actions.

Now, after all the caveats (CYA paper), beginners will need to know
that one just needs to execute that file (e.g. put it on desktop and
doubleclick will do) to make the change.

Then resync the windows clock or do the BIOS change.

Et voila! No more settings change in OpenBSD.
Users who like it should show their gratitude by donating to OpenBSD
please.

R/

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



  

Hi,

I've been playing with this setting today, and it's really flaky. After 
suspending or hibernating Windows uses BIOS clock as local time 
(Apparently this is a known issue).
The time even got back to local time without a suspend/hibernation; I 
don't know why/how this happened (maybe screensaver??)... I only 
realized this when leaving work.


Thanks Rod, for the extra hour I stayed at work! ;-)

Luckily I'm in GMT+1 time zone. If I was working down under I would 
probably still be at work...


I agree with Nick to leave this out of the FAQ. There are too many 
caveats with this solution...


Here's a good read about this issue:
http://www.cl.cam.ac.uk/~mgk25/mswish/ut-rtc.html

HTH,
Stijn



Re: smtpd rejecting users

2009-10-26 Thread Robert

Setup:
Running as user1 I sent an email to testuser (local) and I expected 
it  to end up in the root mbox since that was what I configured in 
aliases.


(note: I know that you shouldn't receive email as root, this is just a 
test setup for trying out the new smtpd)





/etc/mail/smtpd.conf
---
listen on lo0
map aliases { source db /etc/mail/aliases.db }
accept from 127.0.0.1 for local deliver to mbox
---


/etc/mail/aliases (I've run newaliases after editing)
---
#
#   $OpenBSD: aliases,v 1.30 2009/05/20 21:10:06 thib Exp $
#
#  Aliases in this file will NOT be expanded in the header from
#  Mail, but WILL be visible over networks or from /usr/libexec/mail.local.
#
# The program newaliases must be run after
#NOTE   this file is updated for any changes to
# show through to sendmail.
#

# Basic system aliases -- these MUST be present
MAILER-DAEMON: postmaster
postmaster: root

# General redirections for important pseudo accounts
daemon: root
ftp-bugs: root
operator: root
uucp:   root
www:root

# Redirections for pseudo accounts that should not receive mail
_afs: /dev/null
_bgpd: /dev/null
_btd: /dev/null
_dhcp: /dev/null
_dvmrpd: /dev/null
_fingerd: /dev/null
_ftp: /dev/null
_hostapd: /dev/null
_identd: /dev/null
_isakmpd: /dev/null
_kadmin: /dev/null
_kdc: /dev/null
_mopd: /dev/null
_ntp: /dev/null
_ospfd: /dev/null
_ospf6d: /dev/null
_pflogd: /dev/null
_portmap: /dev/null
_ppp: /dev/null
_rbootd: /dev/null
_relayd: /dev/null
_ripd: /dev/null
_rstatd: /dev/null
_rtadvd: /dev/null
_rusersd: /dev/null
_rwalld: /dev/null
_smtpd: /dev/null
_snmpd: /dev/null
_spamd: /dev/null
_syslogd: /dev/null
_tcpdump: /dev/null
_tftpd: /dev/null
_x11:   /dev/null
_ypldap: /dev/null
bin:/dev/null
named:  /dev/null
nobody: /dev/null
popa3d: /dev/null
proxy:  /dev/null
smmsp:  /dev/null
sshd:   /dev/null

# Well-known aliases -- these should be filled in!
# root:
# manager:
# dumper:

# RFC 2142: NETWORK OPERATIONS MAILBOX NAMES
abuse:  root
# noc:  root
security:   root

# RFC 2142: SUPPORT MAILBOX NAMES FOR SPECIFIC INTERNET SERVICES
# hostmaster:   root
# usenet:   root
# news: usenet
# webmaster:root
# ftp:  root

# uncomment this for msgs:
# msgs: |/usr/bin/msgs -s

testuser: root
---


command run on local machine
---
mail -s test2 testuser
test2
.
---


smtpd -bv
---
warning: could not load cert: lo0, no SSL/TLS/AUTH support
startup [debug mode]
smtpd: max open files 1024
smtpd: will accept at most 768 clients
parent_send_config: configuring smtp
parent_send_config_client_certs: configuring smtp
parent_send_config_ruleset: reloading rules and maps
parent_send_config_ruleset: reloading rules and maps
smtp_setup_events: listen on IPv6:fe80:3::1 port 25 flags 0x0 cert lo0
smtp_setup_events: listen on IPv6:::1 port 25 flags 0x0 cert lo0
smtp_setup_events: listen on 127.0.0.1 port 25 flags 0x0 cert lo0
smtp_accept: incoming client on listener: 0x2051b6000
smtp_accept: accepted client on listener: 0x2051b6000
lookup_ptr 127.0.0.1
lookup_ptr success
session_pickup: greeting client
command: EHLO   args: pcc.abc.test
command: MAIL From  args: us...@pcc.abc.test
session_rfc5321_mail_handler: sending notification to mfa
matching: pcc.abc.test to localhost
matching: pcc.abc.test to pcc.abc.test
matching: pcc.abc.test to localhost
matching: pcc.abc.test to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
queue_dispatch_smtp: creating message file
smtp_dispatch_queue: queue handled message creation
command: RCPT Toargs: testu...@pcc.abc.test
matching: pcc.abc.test to localhost
matching: pcc.abc.test to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
command: DATA   args: (null)
command: RSET   args: (null)
command: RSET   args: (null)
command: MAIL From  args: 
session_rfc5321_mail_handler: sending notification to mfa
matching:  to localhost
matching:  to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
queue_dispatch_smtp: creating message file
smtp_dispatch_queue: queue handled message creation
command: RCPT Toargs: us...@pcc.abc.test
matching: pcc.abc.test to localhost
matching: pcc.abc.test to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
command: DATA   args: (null)
command: RSET   args: (null)
command: RSET   args: (null)
command: MAIL From  args: 
session_rfc5321_mail_handler: sending notification to mfa
matching:  to localhost
matching:  to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
queue_dispatch_smtp: creating message file
smtp_dispatch_queue: queue handled message creation
command: RCPT Toargs: postmas...@pcc.abc.test
matching: pcc.abc.test to localhost
matching: pcc.abc.test to pcc.abc.test
smtp_dispatch_mfa: mfa handled return path
^Crunner handler
queue handler
smtp server exiting
mail transfer agent exiting
mail delivery agent exiting
lookup agent exiting
mail filter exiting
control process exiting
parent terminating
---


content of 

Re: smtpd rejecting users

2009-10-26 Thread ddp
On Mon, Oct 26, 2009 at 5:51 PM, Gilles Chehade gil...@openbsd.org wrote:

 It looks like you are initiating the session from localhost, but your
 ruleset only allows deliveries to example.com and your virtual domains
 if they are initiated from 192.168.1.0/24 , you may want to add the
 following:

accept for domain example.com deliver to mbox
accept for virtual virtual deliver to mbox

 also, you should really have:

accept for all relay

 otherwise local users will not be able to send outgoing mails (and
 this includes smtpd trying to send an outgoing bounce)

 Let me know if it fixes your issue

 Gilles


 --
 Gilles Chehade
 freelance developer/sysadmin/consultant

   http://www.poolp.org



Thanks for the response. I'll modify the ruleset to take into account the
localhost, and put the relay rule back in.
dan



PowerEdge 650 fan speed

2009-10-26 Thread Steve Shockley
My firwall had a hardware failure, so I threw the drive into a Dell 
PowerEdge 650.  That worked fine, but now I can hear the fans screaming 
down the hall through a closed door.  Other than hardware changes (like 
a resistor or a non-1U server), is there anything I can do to shut this 
machine up?  Does anyone know if the fans in this machine would idle 
down on a supported OS?


It's running 4.6, FWIW.



Re: PKG_PATH never works as stated

2009-10-26 Thread Jacob Meuser
On Mon, Oct 26, 2009 at 08:41:44PM +0100, frantisek holop wrote:
 hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that
   If a given package name cannot be found, the directories named by
 ^^^
   PKG_PATH are searched.  It should contain a series
   of entries separated by colons.  Each entry consists of a directory
   name.  URL schemes such as FTP, HTTP, HTTPS, or SCP are also
   appropriate.
 
 later man pages go like this:
 
  If the given package names are not found in the current working directo-
  ry, pkg_add will search for them in each directory named by the PKG_PATH
  environment variable.  Specifying `-' as a package name causes pkg_add to
  read from the standard input.
 
 i think this is inaccurate...  the current working directory is never
 searched unless the package name starts with './' or PKG_PATH contains '.':
 
 not working:
 
 $ echo $PKG_PATH
 
 $ ls
 autossh-1.3.tgz
 $ sudo pkg_add autossh-1.3.tgz
 Can't find autossh-1.3.tgz
 Can't call method grabPlist on an undefined value at 
 /usr/libdata/perl5/OpenBSD/Handle.pm line 154.

works for me with Oct 22 snap on i386.  that file (Handle.pm) is relatively
new.  what version do you have?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: PKG_PATH never works as stated

2009-10-26 Thread frantisek holop
hmm, on Tue, Oct 27, 2009 at 01:05:26AM +, Jacob Meuser said that
 On Mon, Oct 26, 2009 at 08:41:44PM +0100, frantisek holop wrote:
  hmm, on Mon, Oct 26, 2009 at 02:56:49AM +, Jacob Meuser said that
If a given package name cannot be found, the directories named by
  ^^^
PKG_PATH are searched.  It should contain a series
of entries separated by colons.  Each entry consists of a directory
name.  URL schemes such as FTP, HTTP, HTTPS, or SCP are also
appropriate.
  
  later man pages go like this:
  
   If the given package names are not found in the current working 
  directo-
   ry, pkg_add will search for them in each directory named by the 
  PKG_PATH
   environment variable.  Specifying `-' as a package name causes pkg_add 
  to
   read from the standard input.
  
  i think this is inaccurate...  the current working directory is never
  searched unless the package name starts with './' or PKG_PATH contains '.':
  
  not working:
  
  $ echo $PKG_PATH
  
  $ ls
  autossh-1.3.tgz
  $ sudo pkg_add autossh-1.3.tgz
  Can't find autossh-1.3.tgz
  Can't call method grabPlist on an undefined value at 
  /usr/libdata/perl5/OpenBSD/Handle.pm line 154.
 
 works for me with Oct 22 snap on i386.  that file (Handle.pm) is relatively
 new.  what version do you have?

# $OpenBSD: Handle.pm,v 1.6 2009/10/19 14:00:10 espie Exp $

afaik the latest.  i am on Oct 20 snapshot.

-f
-- 
i'm neither for, nor against apathy.



Re: PKG_PATH never works as stated

2009-10-26 Thread Juan Miscaro
2009/10/25 Jacob Meuser jake...@sdf.lonestar.org:
 On Sun, Oct 25, 2009 at 10:29:29PM -0400, Juan Miscaro wrote:
 I've had this problem for a long time (over many OpenBSD releases).

 The pkg_add man page (for 4.5) states:

 If a given package name cannot be found, the directories named by
 B  ^^^
 PKG_PATH are searched. B It should contain a series
 of entries separated by colons. B Each entry consists of a directory
 name. B URL schemes such as FTP, HTTP, HTTPS, or SCP are also
 appropriate.

 On a client machine:

 PKG_PATH=http://$HTTP_MASTER/:http://$HTTP_MASTER/by_port/i386/all/

 My master server serves up normal packages and those packages compiled
 from ports.

 When I do this only the first component is searched. B I have to do a
 second package update run with PKG_PATH pointing directly to the
 B  B  B  B  ^^
 second component for the ports packages to be seen.

 Why is this?

 did you give pkg_add a package name?

No, as I stated I am updating my packages.  Are you saying that
PKG_PATH takes on a different meaning in this context?  That certainly
seems to be the case.  Too bad.

--
/jm



Re: PKG_PATH never works as stated

2009-10-26 Thread Jacob Meuser
On Mon, Oct 26, 2009 at 10:00:20PM -0400, Juan Miscaro wrote:
 2009/10/25 Jacob Meuser jake...@sdf.lonestar.org:
  On Sun, Oct 25, 2009 at 10:29:29PM -0400, Juan Miscaro wrote:
  I've had this problem for a long time (over many OpenBSD releases).
 
  The pkg_add man page (for 4.5) states:
 
  If a given package name cannot be found, the directories named by
  B  ^^^
  PKG_PATH are searched. B It should contain a series
  of entries separated by colons. B Each entry consists of a directory
  name. B URL schemes such as FTP, HTTP, HTTPS, or SCP are also
  appropriate.
 
  On a client machine:
 
  PKG_PATH=http://$HTTP_MASTER/:http://$HTTP_MASTER/by_port/i386/all/
 
  My master server serves up normal packages and those packages compiled
  from ports.
 
  When I do this only the first component is searched. B I have to do a
  second package update run with PKG_PATH pointing directly to the
  B  B  B  B  ^^
  second component for the ports packages to be seen.
 
  Why is this?
 
  did you give pkg_add a package name?
 
 No, as I stated I am updating my packages.  Are you saying that
 PKG_PATH takes on a different meaning in this context?  That certainly
 seems to be the case.  Too bad.

well, think about it.  if pkg_add were scanning all paths for the
latest of each package ... that could easily be a very large and
complicated task.  certainly much more complex than finding a first
match.

suggestions for you:
a) use one path for all packages
or
b) instead of pkg_add -u, use pkg_add -r list of exact names of packages
to be updated, perhaps from running the ports out-of-date script, or
following ports-changes, or however

 
 --
 /jm

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: PowerEdge 650 fan speed

2009-10-26 Thread Aaron Mason
Hi,

People have the same issue with IBM servers - the fans run like crazy,
and I believe it is the OS' responsibility to check temperatures and
adjust fans as necessary.

IBM's interface to its fan control systems is underdocumented, and if
there's nothing in OpenBSD to control Dell's, then theirs would be
too.

I'm not highly knowledgeable on these issues, I'm only saying what I
can ascertain.

HTH somewhat - perhaps someone more learned could advise?

On Tue, Oct 27, 2009 at 9:37 AM, Steve Shockley
steve.shock...@shockley.net wrote:
 My firwall had a hardware failure, so I threw the drive into a Dell
 PowerEdge 650.  That worked fine, but now I can hear the fans screaming
down
 the hall through a closed door.  Other than hardware changes (like a
 resistor or a non-1U server), is there anything I can do to shut this
 machine up?  Does anyone know if the fans in this machine would idle down
on
 a supported OS?

 It's running 4.6, FWIW.





--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?



--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?



Re: smtpd support DIGEST MD5 AUTH ?

2009-10-26 Thread Aaron Mason
If you really want to secure the transmission, you could always
connect to it via stunnel or something similar.

On Tue, Oct 27, 2009 at 2:48 AM, Fernando Quintero
fernando.a.quint...@gmail.com wrote:
 uhmm ok,
 I got it, smtpd is interfaced to bsdauth (thx gregory) so, I will
 search in that way, really I'm just trying things and I'm verifying
 the simplicity of the configuration, I want to write a HowTo
 (spanish), about OpenSMTPD + auth +pop3s + imaps + webmail, etc ...

 Thanks a lot.

 On Mon, Oct 26, 2009 at 4:12 AM, Gilles Chehade gil...@openbsd.org wrote:
 On Mon, Oct 26, 2009 at 02:01:01AM -0500, Fernando Quintero wrote:
 Hi all,

 first, thx to gilles for this great software,


 jacekm@ did a lot of work on it too ;-)


 I'm testing smtpd with TLS and SSL an it works ok, I noticed that the
 AUTH command uses PLAIN LOGIN.

 The question is: smtpd supports another thing different to PLAIN LOGIN
 for AUTH?, is possible integrate it to SASL ?


 currently, smtpd only supports PLAIN and LOGIN on top of tls/ssmtp and
 there's slight chances this will change in a short timeframe as there
 are lots of higher priority things to do.

 what are you trying to achieve ?

 Gilles


 --
 Gilles Chehade
 freelance developer/sysadmin/consultant

   http://www.poolp.org




 --
 --

 Fernando Quintero
 http://nonroot.blogspot.com/
 *Just a nonroot User*



If you really want to secure the transmission, you could always
connect to it via stunnel or something similar.

--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?



Re: system freeze when connection iomega rev

2009-10-26 Thread Aaron Mason
Do you get this error on 4.6 or -current?  Plus a full dmesg is more
helpful than a tiny snippet, though you should keep the snippet in and
put the full output on the end of the message.

Regards

On Tue, Oct 27, 2009 at 5:36 AM, [lintegra] Elmar Bschorer
elmar.bscho...@lintegra.de wrote:
 greets list,

 dmesg:
 ...
 umass0: using SCSI over Bulk-Only
 scsibus1 at umass0: 2 targets, initiator 0
 cd1 at scsibus1 targ 1 lun 0: Iomega, RRD3, M079 SCSI0 5/cdrom removable

 when i try to mount the iomega device the system freezes and i have to
 reset.

 currently i am running OpenBSD 4.5 GENERIC#1749 i386

 Anyone else got this problem? Any hints?

 Cheers, Elmar





-- 
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?



Re: PowerEdge 650 fan speed

2009-10-26 Thread Marco Peereboom
Nah; more often than not this means one other fan isn't spinning.  Open
the case and make sure all fans are in working order.

On Tue, Oct 27, 2009 at 01:37:05PM +1100, Aaron Mason wrote:
 Hi,
 
 People have the same issue with IBM servers - the fans run like crazy,
 and I believe it is the OS' responsibility to check temperatures and
 adjust fans as necessary.
 
 IBM's interface to its fan control systems is underdocumented, and if
 there's nothing in OpenBSD to control Dell's, then theirs would be
 too.
 
 I'm not highly knowledgeable on these issues, I'm only saying what I
 can ascertain.
 
 HTH somewhat - perhaps someone more learned could advise?
 
 On Tue, Oct 27, 2009 at 9:37 AM, Steve Shockley
 steve.shock...@shockley.net wrote:
  My firwall had a hardware failure, so I threw the drive into a Dell
  PowerEdge 650.  That worked fine, but now I can hear the fans screaming
 down
  the hall through a closed door.  Other than hardware changes (like a
  resistor or a non-1U server), is there anything I can do to shut this
  machine up?  Does anyone know if the fans in this machine would idle down
 on
  a supported OS?
 
  It's running 4.6, FWIW.
 
 
 
 
 
 --
 Aaron Mason - Programmer, open source addict
 - Oh, why does everything I whip leave me?
 
 
 
 --
 Aaron Mason - Programmer, open source addict
 - Oh, why does everything I whip leave me?



Re: PowerEdge 650 fan speed

2009-10-26 Thread Theo de Raadt
 People have the same issue with IBM servers - the fans run like crazy,
 and I believe it is the OS' responsibility to check temperatures and
 adjust fans as necessary.

Not true.  On a PC, it is acpi's responsibility to do that, if they
even exist.



Re: decreasing the size of the distribution

2009-10-26 Thread James Records
Take a look at www.mindrot.org/projects/flashboot

It builds a minimal ramdisk based bsd.gz of around ~6MB

You can customize the install script and get whatever binaries you need in
there, just read the README file.

It will take some tinkering but you should be able to get what you want with
this build system

J

On Sun, Oct 25, 2009 at 4:10 PM, Abdullah Sendul coffeesm...@gmail.comwrote:

 Hi,

 we are having a couple of openbsd servers, of which, the content is static.

 I would like to identify all the files needed for this system to run,
 and then move it to a flash disk to minimise the size of the
 distribution

 find -mtime -atime is giving me some ideas, but is this the right
 approach to remove the rest of the files not used on the system.

 what do you suggest?

 thanks

 \sendul



Invitation to connect on LinkedIn

2009-10-26 Thread Siju George
LinkedIn


Siju George requested to add you as a connection on LinkedIn:
--

Dickes,

I'd like to add you to my professional network on LinkedIn.

- Siju

Accept invitation from Siju George
http://www.linkedin.com/e/IO2doTkkgN8og9wnOItIxuGWpG7/blk/I15995923_4/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYQnPcOejkVejkNiiYVlklmkQRMoiYNc30Ud34OczwLrCBxbOYWrSlI/EML_comm_afe/

View invitation from Siju George
http://www.linkedin.com/e/IO2doTkkgN8og9wnOItIxuGWpG7/blk/I15995923_4/d5YPczARejARckALqnpPbOYWrSlI/svi/
 
--

DID YOU KNOW you can conduct a more credible and powerful reference check using 
LinkedIn? Enter the company name and years of employment or the prospective 
employee to find their colleagues that are also in your network. This provides 
you with a more balanced set of feedback to evaluate that new hire.
http://www.linkedin.com/e/rsr/inv-27/

 
--
(c) 2009, LinkedIn Corporation



Re: PowerEdge 650 fan speed

2009-10-26 Thread Aaron Mason
On Tue, Oct 27, 2009 at 2:02 PM, Theo de Raadt dera...@cvs.openbsd.org
wrote:
 People have the same issue with IBM servers - the fans run like crazy,
 and I believe it is the OS' responsibility to check temperatures and
 adjust fans as necessary.

 Not true.  On a PC, it is acpi's responsibility to do that, if they
 even exist.


Apologies, not IBM, HP:

http://marc.info/?l=openbsd-miscm=125406484220779w=2



--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?