stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
how to redirect recipient address. i mean - if someone try to send to x...@y.pl from serwer then it should be redirected to local account, while the rest of mails to domain @y.pl should get out normally. alternatively outgoing mail to x...@y.pl should be rejected. tried access.db -

Re: stupid question about sendmail

2013-05-24 Thread Chris Rees
On 24 May 2013 08:34, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: how to redirect recipient address. i mean - if someone try to send to x...@y.pl from serwer then it should be redirected to local account, while the rest of mails to domain @y.pl should get out normally. alternatively

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 09:33+0200, Wojciech Puchar wrote: how to redirect recipient address. i mean - if someone try to send to x...@y.pl from serwer then it should be redirected to local account, while the rest of mails to domain @y.pl should get out normally. alternatively outgoing mail to

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
To:x...@y.pl REJECT doesn't work any idea. thank you Don't use /etc/mail/access, use /etc/mail/aliases. E.g.: x: /dev/null x is NOT on my server. it will not work. all i want is when someone send a mail from my server to x...@y.pl (which is someone else domain) it will not get

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 09:55+0200, Wojciech Puchar wrote: To:x...@y.pl REJECT doesn't work any idea. thank you Don't use /etc/mail/access, use /etc/mail/aliases. E.g.: x: /dev/null x is NOT on my server. it will not work. all i want is when someone send a

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 10:19+0200, Trond Endrestøl wrote: My bad, take a look at the /etc/mail/genericstable file: http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one will help you achieve your goal: j...@bar.com error:5.7.0:550 Address invalid I was

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
all i want is when someone send a mail from my server to x...@y.pl (which is someone else domain) it will not get there and be blocked or redirected My bad, take a look at the /etc/mail/genericstable file: http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one will help you achieve your goal: j...@bar.comerror:5.7.0:550 Address invalid I was wrong again, sorry, but I believe I got it right this time: 1. Edit the /etc/mail/access file. 2. Insert a line

Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Welcome, Traiano
Hi All I've been read thousands of pages of FreeBSD and Linux Kernel source code and books on the internals of BSD and Linux over the years in attempt to develop a complete understanding of operating systems (or at least, UNIX like ones). However, I feel that I'm as mystified as to the finer

Re: find -delete broken, or just used improperly?

2013-05-24 Thread Jilles Tjoelker
On Tue, May 21, 2013 at 11:06:39AM -0400, John Baldwin wrote: On Monday, May 20, 2013 5:47:31 pm Jilles Tjoelker wrote: The below patch allows deleting the pathname given to find itself: Index: usr.bin/find/function.c ===

Re: stupid question about sendmail

2013-05-24 Thread Chris Rees
On 24 May 2013 11:05, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: http://www.sendmail.com/sm/open_source/docs/m4/features.html Maybe a line like this one will help you achieve your goal: j...@bar.com error:5.7.0:550 Address invalid I was wrong again, sorry, but I believe I

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 12:03+0200, Wojciech Puchar wrote: 1. Edit the /etc/mail/access file. 2. Insert a line like this one: To:mail...@some.domain.tld REJECT tried too. doesn't work. Make sure you edit the /etc/mail/access file, not the /etc/mail/access.db file. The latter is a

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 12:45+0200, Trond Endrestøl wrote: On Fri, 24 May 2013 12:03+0200, Wojciech Puchar wrote: 1. Edit the /etc/mail/access file. 2. Insert a line like this one: To:mail...@some.domain.tld REJECT tried too. doesn't work. Make sure you edit the

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Julian H. Stacey
Welcome, Traiano wrote: Hi All I've been read thousands of pages of FreeBSD and Linux Kernel source code and books on the internals of BSD and Linux over the years in attempt to develop a complete understanding of operating systems (or at least, UNIX like ones). However, I feel that I'm as

Re: find -delete broken, or just used improperly?

2013-05-24 Thread John Baldwin
On Friday, May 24, 2013 6:24:11 am Jilles Tjoelker wrote: On Tue, May 21, 2013 at 11:06:39AM -0400, John Baldwin wrote: On Monday, May 20, 2013 5:47:31 pm Jilles Tjoelker wrote: The below patch allows deleting the pathname given to find itself: Index: usr.bin/find/function.c

Low Tx-Rx performance with 10Gb NICs

2013-05-24 Thread Igor Mozolevsky
On Friday, 24 May 2013, Axel Fischer wrote: Additionally I noticed the following TCP errors with netstat -s ...: 1186 data packets (1717328 bytes) retransmitted 6847875 window update packets 2319 duplicate acks 25831 out-of-order packets (37403288 bytes) 3733 discarded due to memory

Re: stupid question about sendmail

2013-05-24 Thread Claus Assmann
On Fri, May 24, 2013, Trond Endrest?l wrote: [freebsd-hackers doesn't seem like the appropriate list...] FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') Do NOT use -o. Moreover, do not specify arguments that are default. FEATURE(`access_db') is the best choice. One final(?) note: You

Re: Low Tx-Rx performance with 10Gb NICs

2013-05-24 Thread Outback Dingo
On Fri, May 24, 2013 at 11:41 AM, Igor Mozolevsky i...@hybrid-lab.co.ukwrote: On Friday, 24 May 2013, Axel Fischer wrote: Additionally I noticed the following TCP errors with netstat -s ...: 1186 data packets (1717328 bytes) retransmitted 6847875 window update packets 2319 duplicate

Re: Low Tx-Rx performance with 10Gb NICs

2013-05-24 Thread Axel Fischer
Hi Igor, my name is Axel Fischer. working at Marvell SC. In addition to your reply to my colleague Lino Sanfilippo I did some performance measurements on FreeBSD 9 with a commercial 10 GBit network card. Unlike on other OS the FreeBSD performance for duplex rx/tx operation never exceeded the

RE: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Welcome, Traiano
Hi Julian Thanks, any response is appreciated, here's mine: -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- hack...@freebsd.org] On Behalf Of Julian H. Stacey Sent: 24 May 2013 15:39 To: Welcome, Traiano Cc: freebsd-hackers@freebsd.org Subject:

Re: stupid question about sendmail

2013-05-24 Thread Trond Endrestøl
On Fri, 24 May 2013 08:34-0700, Claus Assmann wrote: On Fri, May 24, 2013, Trond Endrestøl wrote: [freebsd-hackers doesn't seem like the appropriate list...] FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') Do NOT use -o. Moreover, do not specify arguments that are default.

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Florent Peterschmitt
Le 24/05/2013 18:57, Welcome, Traiano a écrit : Hi Julian Thanks, any response is appreciated, here's mine: -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- hack...@freebsd.org] On Behalf Of Julian H. Stacey Sent: 24 May 2013 15:39 To: Welcome,

Re: stupid question about sendmail

2013-05-24 Thread Claus Assmann
On Fri, May 24, 2013, Trond Endrest?l wrote: On Fri, 24 May 2013 08:34-0700, Claus Assmann wrote: FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') Do NOT use -o. Moreover, do not specify arguments that are default. Then I guess the defaults in freebsd.mc should be changed as well:

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Brian Reichert
On Fri, May 24, 2013 at 04:57:44PM +, Welcome, Traiano wrote: Hi Julian Thanks, any response is appreciated, here's mine: I typed into Google: how to write an OS, and got lots of hits. Have you explored them? http://www.acm.uiuc.edu/sigops/roll_your_own/

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Otacílio
On 24/05/2013 15:45, Florent Peterschmitt wrote: Le 24/05/2013 18:57, Welcome, Traiano a écrit : Hi Julian Thanks, any response is appreciated, here's mine: -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- hack...@freebsd.org] On Behalf Of Julian

RE: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Welcome, Traiano
Hi Brian Indeed I have, these particular three sites led to my formulation of those questions (see verdict inline): -Original Message- From: Brian Reichert [mailto:reich...@numachi.com] Sent: 24 May 2013 20:34 To: Welcome, Traiano Cc: Julian H. Stacey; freebsd-hackers@freebsd.org

Re: stupid question about sendmail

2013-05-24 Thread Wojciech Puchar
works fine after your advice. thank you very much. FEATURE(`access_db') FEATURE(`blacklist_recipients') On Fri, 24 May 2013, Claus Assmann wrote: On Fri, May 24, 2013, Trond Endrest?l wrote: [freebsd-hackers doesn't seem like the appropriate list...] FEATURE(access_db, `hash -o -TTMPF

Re: Low Tx-Rx performance with 10Gb NICs

2013-05-24 Thread Robert Waksmundzki
Hello Axel Have you done any sysctl.conf tuning? Perhaps simply you don't have enough buffers. netstat -m will check for mbufs and vmstat -z will check for reached kernel limits. ___ freebsd-hackers@freebsd.org mailing list

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Wojciech Puchar
I've been read thousands of pages of FreeBSD and Linux Kernel source code and books on the internals of BSD and Linux over the years in attempt to develop a complete understanding of operating systems (or at least, UNIX like ones). However, I feel that I'm as mystified as to the finer details

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Joshua Isom
On 5/24/2013 1:33 PM, Brian Reichert wrote: On Fri, May 24, 2013 at 04:57:44PM +, Welcome, Traiano wrote: Hi Julian Thanks, any response is appreciated, here's mine: I typed into Google: how to write an OS, and got lots of hits. Have you explored them?

Re: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Jorge Alberto Garcia
Hello Joshua, i think you should try XV6, i am pretty one person can understand it to get a general yet down to the earth felling about a unix like system; then try with Minix2 http://pdos.csail.mit.edu/6.828/2012/xv6.html Tnx. -J.A. Garcia On Fri, May 24, 2013 at 5:18 PM, Joshua Isom

RE: Writing a (BSD like) Operating Systems From Scratch

2013-05-24 Thread Welcome, Traiano
Hi Wojciech -Original Message- From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- hack...@freebsd.org] On Behalf Of Wojciech Puchar Sent: 24 May 2013 22:33 To: Welcome, Traiano Cc: freebsd-hackers@freebsd.org Subject: Re: Writing a (BSD like) Operating Systems From