Thanks guys,
But I'm not sure whether Richard Stevens actually compares or gives details of BSD IPC or not...
Anyway, thanks for your reply, I'll again go through Richard Stevens.
Is there any online reference / e-book for the same topic???
If yes, pls. forward me the URL
Thanks,
Kunal
Please note, that I have only tried this once, and it worked with my
system under the test conditions at that time. There is no guarantee
that it will work under real life situations.
I'm not going to go into the full details of the sendmail configuration
file, you can find out about that from the many sendmail howtos
available.
What you need are these (in /etc/mail/sendmail.mc):
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable')
Then, in /etc/mail/genericstable (no .db), add this:
@localhost.localdomain realuser+%1(a)yourisp.com
In /etc/mail/virtusertable (no .db), add this:
realuser+*(a)yourisp.com %2(a)localhost.localdomain
replace localhost.localdomain with the name of your local mail server.
now, in /etc/mail/, either run make (if you have a makefile in there),
or do:
% makemap hash genericstable.db < genericstable
% makemap hash virtusertable.db < virtusertable
Restart sendmail.
Now, I'm assuming that you're using fetchmail to get mail from your
ISP's account. In that case, you could set up fetchmail to use
multidrop, but that is very complicated, and prone to mail loops and
undelivered mail. Instead, I'd suggest telling fetchmail to forward
mail to procmail (both running as root), or let sendmail use procmail as
the default mailer.
Then, have procmail decide who the mail should go to.
If you use sendmail to call procmail, then you can check $1 in the
procmailrc file to find out what was passed after the + sign, so you can
have a rule like this:
:0
To: realuser+$1
!$1(a)localhost.localdomain
You'll have to try these things and tweak around a bit to see what
works, but when you do get it working right, post your procedure to the
group.
I'm sure there are other solutions, and products that make it much
easier to do this thing, but the basic problems I see with trying to
serve many users with a single mailbox, is that if mail is addressed to
two users (eg: tellis+philip(a)vsnl.net and tellis+santosh(a)vsnl.net),
there will only be one mail in the mailbox. I have no idea what
sendmail will do with the addresses, and how you will sort them. Also,
if the address is in the bcc field, then forget it. You'll have to
write a separate rule for the Cc: field.
One last thing. When you get this working, tell you users to set their
email address as localuser(a)localhost.localdomain, and to tell everyone
outside the company that their address is realuser+localuser(a)yourisp.com
Hope this helps. I really really hope.
Philip
--
At the source of every error which is blamed on the computer you will find
at least two human errors, including the error of blaming it on the computer.
Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis
AIM philiptellis ICQ 129711328
Hi,
Can I help with DB website?
I could uploas the 2.4.15 kernel and the kde 2.2.2
source rpm etc etc..
-Ritesh
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Hi there,
Can someone tell me what is the difference in BSD IPC & traditional Sys V IPC which is followed in Linux???
Any reference for above question will also do.
Thanks,
Kunal
hi
if anybody's about to buy Allessandro Rubini's Linux Device Drivers
this is for you...
the book has been released under GNU Free Documentation License
and is available at
http://www.oreilly.com/catalog/linuxdrive2/chapter/book
in the HTML format...other formats are also available.....just check it out.
for people who haven't heard of it ...well its a good place to begin kernel
hacking...
i just bought it for Rs.300/- from cbs.:-(
and i find this link in it !!@$@$#%#^
Please mail all condolences to my personal addie.
ciao
abhijeet
So sometimes hal9k boots, sometimes doesn't. Symptoms: fsck
required. Sometimes. I just took a look at the logs. Sometimes there
are perfectly normal boots. Sometimes things like:
Nov 21 09:52:56 hal9k depmod:
/lib/modules/2.2.14-12/ipv4/ip_masq_mfw.o: unresolved symbol(s)
(That's just one example.) show up.
During the same boot (I think. The system log timestamp is also
screwed up during booting -- it starts booting with the correct time,
jumps around, and finishes booting with the correct time), I see this:
Nov 21 09:52:52 hal9k fsck: /dev/hda5 was not cleanly unmounted, check
forced.
Nov 21 09:52:52 hal9k fsck: /dev/hda5:
Nov 21 09:52:52 hal9k fsck: E
Nov 21 09:52:52 hal9k fsck: ntry
Nov 21 09:52:52 hal9k fsck: '
Nov 21 09:52:52 hal9k fsck: l
Nov 21 09:52:52 hal9k fsck: o
Nov 21 09:52:52 hal9k fsck: g
Nov 21 09:52:52 hal9k fsck: ' in
Nov 21 09:52:52 hal9k fsck: /
Nov 21 09:52:52 hal9k fsck: d
Nov 21 09:52:52 hal9k fsck: e
Nov 21 09:52:52 hal9k fsck: v
Nov 21 09:52:52 hal9k fsck: )
Nov 21 09:52:52 hal9k fsck: has
Nov 21 09:53:09 hal9k kernel: VFS: Mounted root (ext2
filesystem) readonly.
Nov 21 09:53:09 hal9k kernel: Freeing unused kernel memory: 48k freed
Nov 21 09:53:09 hal9k kernel: Adding Swap: 514040k swap-space
(priority -1)
Nov 21 09:53:09 hal9k kernel: Adding Swap: 60440k swap-space (priority
-2)
Nov 21 09:53:09 hal9k kernel: EXT2-fs warning (device
ide0(3,5)): ext2_free_inode: bit already cleared for inode 40458
Nov 21 09:53:10 hal9k crond: crond startup succeeded
Nov 21 09:52:52 hal9k fsck: deleted
Nov 21 09:52:52 hal9k fsck: /unused
Nov 21 09:52:52 hal9k fsck: inode
Nov 21 09:52:52 hal9k fsck:
Nov 21 09:52:52 hal9k fsck: 40458
Nov 21 09:52:52 hal9k fsck: .
Nov 21 09:52:52 hal9k fsck: CLEARED.
Nov 21 09:52:52 hal9k fsck: /dev/hda5: 9176/78312 files (0.3%
non-contiguous), 129528/313236 blocks
hda5 is the root FS.
--
Satya. <URL:http://satya.virtualave.net/>
Pound forehead on keyboard to continue.
I am using pcqlinux 7.1 w/ a Samsung 304 combo cdrw/dvd drive. X-cdroast
works quite well but does not support multisesion cds. I downloaded the
latest cdrecord 1.10. I have read the cdwriting howto, and the README.multi
file. I followed the instruction in the latter file to the letter but came up
against a wall.
Though cdrecord claims that the burn of the subsequent tracks is *good* I am
unable to see the tracks on the cd. Both my cdrom & cdrw drives are capable
of reading multisession cds. I found similar references on the suse list
(sometime in Jan 2001), I wrote to the op and he wrote back that he had given
up trying after he got no answers.
I wrote to Jorg Schilling and he replied w/ a terse one liner saying that I
have hit a kernel bug and he can't help me. I dug around in his website and
it seems that he is plenty sore at not having his sg (scsi) driver included
in the kernel (even goes to almost calling Alan Cox a nepotist -- but this is
ot). He seems to have washed his hands off trynig to make cdrecord run w/ a
2.4 kernel. He mentions some patches for 2.0 & 2.2 trees but nothing for 2.4.
Has anybody managed to burn multisesson cds ? If you have, can you please
tell me your cdrecord and kernel version and the exact command line for it.
Cdrecord barfs at this command:
cdrecord -msinfo dev=0,0
and the kernel goes berserk, kfmclient seems to be spawning over and over
again literally hundreds of times. (I wonder if this is even related ?)
regards,
Sharukh.
--
Dr. Sharukh K. R. Pavri.
Mumbai, India.
Hi,
This is regarding ILUG's plan to upload important
files to the DB site...
Could you please include the KDE 2.2.2 source/rpm/srpm
on it so that we can download that faster and avoid
loading the main ftp site..
Also can the link be posted....ie the exact url i
guess its db.ilug-bom.org.
Has any one upgraded their KDE from the net..?? How
did you guys go about cause I am facing some problems
with srpms from their main site... some dependency
probs...
any tips will be greatly appreciated..
-Ritesh
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
Hi,
Sandesh, I have downloaded the "lsm-selinux-200108221537.tgz". its a 32 Mb
file.
For who don't know what is SE linux.... check the faqs @
http://www.nsa.gov/selinux/faq.html
What is Security-enhanced Linux?
Security-enhanced Linux is a research prototype of the Linux® kernel and a
number of utilities with enhanced security functionality designed simply to
demonstrate the value of mandatory access controls to the Linux community
and how such controls could be added to Linux. The Security-enhanced Linux
kernel contains new architectural components originally developed to improve
the security of the Flask operating system. These architectural components
provide general support for the enforcement of many kinds of mandatory
access control policies, including those based on the concepts of Type
Enforcement®, Role-based Access Control, and Multi-level Security.
---------
What is it good for?
The Security-enhanced Linux's new features are designed to enforce the
separation of information based on confidentiality and integrity
requirements. They are designed for preventing processes from reading data
and programs, tampering with data and programs, bypassing application
security mechanisms, executing untrustworthy programs, or interfering with
other processes in violation of the system security policy. They also help
to confine the potential damage that can be caused by malicious or flawed
programs. They should also be useful for enabling a single system to be used
by users with differing security authorizations to access multiple kinds of
information with differing security requirements without compromising those
security requirements.
---------
Can I install Security-enhanced Linux on an existing Linux system?
Yes. You actually need to have an existing Linux system. The
Security-enhanced Linux distribution is source code for a modified Linux
kernel and some utilities. You must have the ability to compile a kernel and
also have necessary, but unmodified system packages. Our distribution is
known to install on the Red Hat distribution, and has not been tested with
others.
---------
What does Security-enhanced Linux give me that standard Linux can't?
The Security-enhanced Linux kernel enforces mandatory access control
policies that confine user programs and system servers to the minimum amount
of privilege they require to do their jobs. When confined in this way, the
ability of these user programs and system daemons to cause harm when
compromised (via buffer overflows or misconfigurations, for example) is
reduced or eliminated. This confinement mechanism operates independently of
the traditional Linux access control mechanisms. It has no concept of a
"root" super-user, and does not share the well-known shortcomings of the
traditional Linux security mechanisms (such as a dependence on setuid/setgid
binaries).
The security of an unmodified Linux system depends on the correctness of the
kernel, all the privileged applications, and each of their configurations. A
problem in any one of these areas may allow the compromise of the entire
system. In contrast, the security of a modified system based on the
Security-enhanced Linux kernel depends primarily on the correctness of the
kernel and its security policy configuration. While problems with the
correctness or configuration of applications may allow the limited
compromise of individual user programs and system daemons, they do not pose
a threat to the security of other user programs and system daemons or to the
security of the system as a whole.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
i use windowmaker ( because of its simple appearance and fast loading )
i always dream of making it as comfortable as windows
specifically the feature of windows where when you press ald+ctrl+del
you get a process manager
I have written a script in tcl/tk for this and i bind it to alt+ctrl+del
in windowmaker
wherein you can select any process or many processes you want to kill
and press the kill button provided
this is much more comfortable than typing ps -ax finding the pid and
typing kill
anybody intrested can download it from
http://bhaskarshanbhag.tripod.com/acd.tk.zip
note:
*press ok when done instead of cancelling the application
*please go thru the code before you run it
*u can use kill -9 instead of kill by slightly modifying the script
*suspend monitor uses xset which is included in XFree86 package
*lock uses xscreensaver package so you should have it properly
configured
*donot keep alt+ctrl+del for a long time as it causes trouble by
creating many instances of the program(bug !) specially if you have
enabled
system modal option
*you can try to bind it with any other key in enlightenment and kde if
alt+ctrl+del is captured by these window managers
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com