sendmail - kmail - lockfile ?
by John Walsh
Hi,
I have a question, see below, which someone was helping me with,
but their answer does not really cover what I want to know, because
they say they don't know how kmail works.
Anyone have a real/better/full answer to my question ?
Which is, in short :- what locking method should I use for Kmail to read a
local mbox file that sendmail is delivering to ?
Extract from below:
>I can't say how Kmail works. It should handle that case proper as long
>as there is a setup option to get the user's mail by accessing the mbox.
>You should not care about anything with that.
Yes, Kmail has an option to read 'local mbox' accounts - but you have to
select the locking method for it - which one should I be using ?
Thanks,
John.
> > = Me (John)
>= reply
> > According to sendmail doc, only if .procmailrc file exists will sendmail
> > deliver to procmail. I don't have any .procmailrc files, so I assume
> > procmail is not used. However, even if it was used, then as there are
> > no recipies to catch any emails, then they will all go to the default
> > spool file anyway.
>
>In any way there must be an LDA configured in sendmail.mc. By default on
>Redhat and Fedora systems that is Procmail. It can be a different
>program as well, like Maildrop or the Cyrus deliver. Again, Sendmail
>does not store any message itself. That does the LDA (local delivery
>agent).
>
>If you use no /etc/procmailrc or ~.procmailrc then you use no filtering,
>sorting or whatever is possible using Procmail. but Procmail is invoked
>to store the message in the mail spool.
>
> > So the point is that all mail goes into a file:/var/spool/mail/USER
>
>Right.
>
> > I am only talking about 1 machine, my server.
> > It runs sendmail... which delivers incoming emails to local disk file
> > /var/spool/mail/USER.
> > I am asking about a local user, who uses Kmail to access the same
> > local disk file:/var/spool/mail/USER on the same machine.
>
> > My understanding (expectation) is that if I have 2 applications reading
> > and writing to the same file on the same machine (same fs/disk), then
> > they should use some locking system - to stop them both accessing it
> > at the same time.
>
>That is correct and the case.
>
> > OK, only sendmail is writing to the file, but Kmail will remove it - so
>we
> > should avoid conflicts ?
>
>Procmail is writing and Kmail want to have full access, ok.
>
> > So I hope that is a clear explanation of why I am asking:
> >
> > What locking method should I use ?
>
>I can't say how Kmail works. It should handle that case proper as long
>as there is a setup option to get the user's mail by accessing the mbox.
>You should not care about anything with that.
>
> > If the answer really is 'none', I'd be very surprised - but I'll trust
>your
> > answer if thats the case.
>
>You would only have to care if you intend to write your own mail client
>;)
>
> > I don't see how IMAP/POP are relevent in my situation - its all on a
>local
> > fs/disk, so I don't think I'm running IMAP or POP (don't even know what
> > IMAP is).
>
>Even if you receive the mail by Sendmail on the same machine where you
>use Kmail you can use an IMAP/POP3 server. I just suggested that as it
>sounded to me as if you would get errors when using Kmail. Something
>like "cannot access because the file is locked". Then I would guess
>Kmail does not handle the situation proper and you should switch to an
>IMAP/POP3 server and setup Kmail to no access the mbox file but the
>IMAP/POP3 server.
>
> > If I want to read mail from an outside source, I'll use (and have done)
>POP,
> > and that works fine.
>
>Ok, you could do that on the same machine as well.
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://www.msn.co.uk/messenger
19 years, 11 months
wheel on mouse doesn't do anything after upgrade
by Dr. Michael J. Chudobiak
Hi all,
After upgrading from FC1 to FC2, the wheel on my Logitech MX700 cordless
optical mouse stopped working. In other words, the scrolling feature
doesn't work. The rest of the mouse works. Any suggestions on how can I
fix that?
My modprobe.conf file has:
alias usb-controller uhci-hcd
alias usb-controller1 ehci-hcd
(Do I need "ohci-hcd" too? Or instead?)
I had to completely re-write the sound section of my modprobe.conf file
to make the Intel 8x0 sound chip work...
- Mike
19 years, 11 months
Nvidia Drivers again, (I'll be good I promise)
by Chadley Wilson
I am sur eyou don't want to hear anymore about Nvidia.
But I have one small question as I am still a newbie.
On the Nvidia site there are 3 drivers
Linux IA32
Linux AMD64
Linux IA64
If I have a P4 which one do I use?
--
Chadley - Linux Rocks
Welcome to my world.
******************************************************************
This mail is free for distribution. You are free to - delete it - resend
it - use it in anyway that makes you happy. I am not responsible for it
or its content due to ignorance.
Enjoy the adventures of Linux
*******************************************************************
19 years, 11 months
FC2 doesn't recognize ext3 /home partition
by ali baba
Hi,
I tried updating to FC2. My /home directory was
located on my second harddisk (samsung spinpoint wih
121GB) previously. So I wanted to leave my /home as
is, i.e. not formatting it and not having to backup
everything. But FC2 recognizes my ext3 /home partition
as a win32 partition... what a shame :-)
Help!?!!
Thanks!
Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de
19 years, 11 months
Linksys WPC54G and FC2
by Robert Spangler
Hello,
I can seem for the life of me to get the 2 to work together.
I downloaded ndiswrapper and installed it according to the install
instructions.
'make install'
make -C driver install
make[1]: Entering directory `/temp/ndiswrapper-0.8-rc1/driver'
make -C /lib/modules/2.6.5-1.358/build
SUBDIRS=/temp/ndiswrapper-0.8-rc1/driver DRV_VERSION=0
.8-rc1 modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
mkdir -p /lib/modules/2.6.5-1.358/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.5-1.358/misc
/sbin/depmod -a
make[1]: Leaving directory `/temp/ndiswrapper-0.8-rc1/driver'
make -C utils install
make[1]: Entering directory `/temp/ndiswrapper-0.8-rc1/utils'
install -m 755 loadndisdriver /sbin
install -m 755 ndiswrapper /usr/sbin
install -m 755 wlan_radio_averatec_5110hx /usr/sbin
make[1]: Leaving directory `/temp/ndiswrapper-0.8-rc1/utils'
Then I install the drivers from the CD that came with the card.
'ndiswrapper -i /mnt/cdrom/lsbcmnds.inf''
Then I look at the list.
'ndiswrapper -l'
Installed ndisdrivers:
lsbcmnds present
All looks good to this point. I then run modprobe as instructed
'modprobe ndiswrapper'
It states that there should be no errors which there wasn't. Next I try to
locate the wireless interface.
'iwconfig'
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
No wireless. The card is in it's port but nothing. Could some please tell me
what I missed? I would be grateful for any help on this matter.
--
Regards
Robert
Smile..... It increases your face value.
19 years, 11 months
Re: How to preserve users in new install?
by John Walsh
>On Mon, 2004-05-31 at 10:57, Christopher Stone wrote:
> > OT: but why do you want to do a fresh install instead of just upgrading?
>maybe he/she will shift to another distro which is one of my plans ..
>can these be possible? especially if our server is using samba as our
>PDC machine.. can i store the setup?
maybe they have a policy of not overwriting a working system - but they
want to get a seperate system (on a second disk) working first. Then if
the new system had problems, they can just go straight back to the old
system - because they did not 'upgrade' it.
This is what I do, having my disks in caddies...
Doing an 'upgrade' would be simpler I'm sure, until something goes wrong.
Then I'm thinking: well, was the new version installed correctly or is there
really a problem in the new version... ?
No, I'd rather start from scratch and know whats on my disks... and have a
spare disk with a known working system on it...
John.
ps. my answer to the original question - I do exactly what you
suggest and it works for me. But I do keep a lot more files:
./etc
./etc/sysconfig
./etc/sysconfig/network-scripts
./etc/sysconfig/network-scripts/ifcfg-eth0
./etc/sysconfig/network-scripts/ifcfg-eth1
./etc/sysconfig/network
./etc/sysconfig/dhcpd
./etc/sysconfig/rhn
./etc/sysconfig/rhn/up2date
./etc/sysconfig/rhn/sources
./etc/sysconfig/rhn/up2date-keyring.gpg
./etc/sysconfig/rhn/systemid
./etc/sysconfig/i18n
./etc/rc.d
./etc/rc.d/init.d
./etc/rc.d/init.d/network
./etc/rc.d/init.d/iptables
./etc/rc.d/init.d/milter-spamc
./etc/rc.d/rc.local
./etc/rc.d/rc.sysinit
./etc/X11
./etc/X11/XF86Config
./etc/httpd
./etc/httpd/conf
./etc/httpd/conf/httpd.conf
./etc/mail
./etc/mail/local-host-names
./etc/mail/sendmail.mc
./etc/mail/virtusertable
./etc/mail/access
./etc/hosts
./etc/hosts.allow
./etc/hosts.deny
./etc/resolv.conf
./etc/dhcpd.conf
./etc/group
./etc/passwd
./etc/shadow
./etc/motd
./etc/crontab
./etc/inittab
./etc/sysctl.conf
./etc/modules.conf
./etc/aliases
./etc/ssh/sshd_config
./etc/profile
./etc/cron.daily
./etc/logrotate.d
./etc/yum.conf
./etc/smartd.conf
./usr/lib/powerchute/powerchute.ini
NB. ignore leading '.'
basically, I keep ALL the config files I ever change.
and then I can use them directly or as a reference in the new system...
and I keep all this (and /home) on a second disk, so I only need to
re-install
over the first 'system' disk.
_________________________________________________________________
Get a FREE connection, FREE modem and one month's FREE line rental, plus a
US or European flight when you sign up for BT Broadband!
http://www.msn.co.uk/specials/btbroadband
19 years, 11 months
Moday
by Chadley Wilson
Monday and the brain is still recovering from saturday, when will I
learn!
I copied some dvds to mt hard drive. How do I convert them to mpeg or
avi or something with a good quality. One file preferably.
I gooogled but I don't thing I am search for the right thing.
Help Please!
--
Chadley - Linux Rocks
Welcome to my world.
******************************************************************
This mail is free for distribution. You are free to - delete it - resend
it - use it in anyway that makes you happy. I am not responsible for it
or its content due to ignorance.
Enjoy the adventures of Linux
*******************************************************************
19 years, 11 months
recycler
by Chris Botha
Below is an extract out of my smb.conf file.
[data]
hosts allow = 192.168.5.0/255.255.255.0
hosts deny = 192.168.2.0/255.255.255.0
path = /home/data-staff/
writable = yes
guest ok = no
browseable = yes
comment = admin files
create mask = 0775
directory mask = 0775
inherit permissions = yes
vfs object = recycle
recycle:repository=xxx-Recycle-Bin-xxx/%U
recycle:versions=True
recycle:keeptree=False
When a user deletes a file then it gives the following in this share:
drwx------ 3 jcbotha astaff 4096 May 31 10:11 xxx-Recycle-Bin-xxx
What shall I do to set the atrebutes to 0777. Other users cannot access it!
Thanks
JC
19 years, 11 months
Re: FYI KVM
by Keith Lofstrom
Dwaine Castle writes:
> I've asked several KVM vendors if they support Fedora. So, far I've only
> received one response. A bit terse, but very clear.
>
> Hi,
> The KVM3004 does not support Fedora.
> Thanks
>
> Zonet USA Tech Support
> email: zonet_tech(a)zonetusa.com
> Zonet USA Corp
How odd. I am looking at Fedora Core 2 through a Zonet KVM3004 at this
very moment, on the screen next to this one.
[NumLock][NumLock]2 Now I am looking at Redhat 7.3 .
[NumLock][NumLock]3 Now I am looking at Solaris 9 on an UltraSparc 2.
(connected through an interface converter).
[NumLock][NumLock]4 Now I am looking at Windoze NT (erase, erase!)
[NumLock][NumLock]1 Back to Fedora Core 2.
I suppose what they mean by "not support" is, "if you try to balance
a stack of Fedora Core 2 Install CDs on top of the curved Zonet case,
they will slide off". Alternately, they may be referring to the
difficulty of uploading a distro to run on the KVM hardware itself.
Or possibly, just possibly, Zonet has a blithering idiot answering
email who cannot read the KVM3004 box, which states quite clearly
that it works with Linux (and how could it not?). For a picture of
the back of the box, see http://www.keithl.com/kvm3004.jpg .
Dwaine, thank you for contacting Zonet for us. I'm glad that there
are people on this list who have the gumption to do research. Now,
however, you must contact Zonet management and let them know that
their competitors are hacking their email, or their employee roster.
---
All kidding aside, the Zonet KVM3004 works just fine. It comes with
cables (though you may want some longer ones), the resolution is good,
and it is inexpensive. I can boot computer A while using computer B,
and A will get the necessary info to set up keyboard, display, and
PS/2 mouse. My only (minor) complaint is form factor; it would be
nice to have all those cables running out the back of the case rather
than off the sides, but that would be more expensive to build.
Keith
--
Keith Lofstrom keithl(a)ieee.org Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
19 years, 11 months