linux-india-help digest (mime) - Volume 1 : Issue 760
Today's Topics:
Re: Samba Mount help [Gaurav Priyolkar <[EMAIL PROTECTED]>]
Fetchmail-Qmail combine [Rajkumar Andrews <[EMAIL PROTECTED]>]
Re: Re: Samba Mount help [Faisal <[EMAIL PROTECTED]>]
Re: pop3 [sreangsu acharyya <[EMAIL PROTECTED]>]
Re: mail and apache [sreangsu acharyya <[EMAIL PROTECTED]>]
Re: Fetchmail-Qmail combine [Suresh Ramasubramanian <[EMAIL PROTECTED]>]
Re: Fetchmail-Qmail combine [Mithun Bhattacharya <[EMAIL PROTECTED]>]
Re: mplayer now has an SVGA driver. [Penguin <[EMAIL PROTECTED]>]
Re: Fetchmail-Qmail combine [Suresh Ramasubramanian <[EMAIL PROTECTED]>]
Re: Re: mplayer now has an SVGA driver.
[Faisal <[EMAIL PROTECTED]>]
Re: Re: mplayer now has an SVGA driver. [Kingsly John <[EMAIL PROTECTED]>]
Multibooting SCO with Linux(Urgent) [Harveer Singh <[EMAIL PROTECTED]>]
Re: [Re: troubleshoot sendmail] [RATNAKAR KOLI <[EMAIL PROTECTED]>]
Re: [Re: troubleshoot sendmail] [Suresh Ramasubramanian <[EMAIL PROTECTED]>]
Re: [Re: troubleshoot sendmail] [Faisal <[EMAIL PROTECTED]>]
On Fri, Apr 27, 2001 at 10:09:52AM +0530, cftri.org wrote:
> Tried to mount the f: drive of SGI on RH Linux 7.0 as
> smbmount //sgivw540/fdrive /fdrive
>
> It gets connected but after entering password it is giving the following error
>message and gets disconnected.
>
> Added interface ip=x.x.x.x bcast=y.y.y.y nmask=255.255.255.224
> Got a positive name query response from z.z.z.z ( z.z.z.z )
> Password:
> session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> smbmount: login failed
smbmount service mountpoint -o username=<foo>
-Gaurav
--
Sleep: A completely inadequate substitute for caffeine.
a) I have a linux box (box1) with Qmail on it. SMTP to this box works.
b) I have then created a couple of virtual domains on this box.
c) I have another linux box(box2) with a catchall (maildrop) account for a
particular domain (xyz.com).
d) I want to download all emails from box2 onto box1 using fetchmail. After
this I want to distribute the emails to the users who are on the virtual
domain on box2 based on the virtual domain identity. Also I want that the
virtual domain users be able to send out email and get replies back.
e) I am using sqwebmail on box2 for the virtual domain users.
f) I am having RHL6.1 and the platform is Sun Sparc.
What I am interested in knowing is how to tweak fetchmail to locally handle
the emails? (I have tried procmail and maildrop -- unsucessfully!)
Any and all ideas appreciated.
RKA
On Friday 27 April 2001 14:21, Gaurav Priyolkar wrote:
> On Fri, Apr 27, 2001 at 10:09:52AM +0530, cftri.org wrote:
> > Tried to mount the f: drive of SGI on RH Linux 7.0 as
> > smbmount //sgivw540/fdrive /fdrive
> >
> > It gets connected but after entering password it is giving the following
> > error message and gets disconnected.
> >
> > Added interface ip=x.x.x.x bcast=y.y.y.y nmask=255.255.255.224
> > Got a positive name query response from z.z.z.z ( z.z.z.z )
> > Password:
> > session setup failed: ERRDOS - ERRnoaccess (Access denied.)
> > smbmount: login failed
>
> smbmount service mountpoint -o username=<foo>
What I normally use:
mount -t smb -o username=whatever,passwd=whatever //host/service /mount/point
-Faisal.
--
-====----====----====----====----====----====----====---
____
/ \
"@'| '..` |`@" L I N U X
/__| \__/ |__\ May the source be with you
\__U_/
--------------------------------------------------------
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
On Fri, 27 Apr 2001, Dr.K.S.Sangunni wrote:
> I was not able to use netscape pop3 to read my mail from the server which
> is running suse 7.1 I checked inetd.conf and found pop3 active. Is there
most likely the server is not running any popserver because its not
installed. Check that you actually have the pop-server indicated by the
path in your inetd.conf. Get any popserver and put its path in the
inetd.conf's pop3 entry
-- sreangsu
On Fri, 27 Apr 2001, Mukund wrote:
> Finally apart from our fees, I am trying to extract around 2Gb of disk space
> for a Mirror (Most probably Red Hat), which will have a fat 12 Mb pipe on B
> node of DOT.
this would be great!!!
* Rajkumar Andrews [linux-india] <27/04/01 04:59 -0400>:
> a) I have a linux box (box1) with Qmail on it. SMTP to this box works.
> b) I have then created a couple of virtual domains on this box.
> c) I have another linux box(box2) with a catchall (maildrop) account for a
> particular domain (xyz.com).
OK so far ...
> d) I want to download all emails from box2 onto box1 using fetchmail. After
> this I want to distribute the emails to the users who are on the virtual
> domain on box2 based on the virtual domain identity. Also I want that the
> virtual domain users be able to send out email and get replies back.
Again, OK. Quite easy. Configure sendmail on the local box to handle mail
for that domain (if all the users are on box2). If not, let the mails go out
to box 1. No hassles.
> What I am interested in knowing is how to tweak fetchmail to locally handle
> the emails? (I have tried procmail and maildrop -- unsucessfully!)
You need fetchmail in multidrop mode
defaults
forcecr
poll pop.server with proto pop3
user foo with pass bar is * here mda "/usr/sbin/sendmail -oem -f %F %T"
fetchall
On the remote box, you need to do a little aliasing like this (I'm talking
sendmail here, modify a bit for qmail)
> Quoting from http://www.sendmail.org/faq/section3.html#3.29 :
>
> Q3.29 -- How can I add a header specifying the actual recipient when having
> multiple users in a virtual domain go to a single mailbox?
>
> Stuffing multiple user's mail into a single mail box is not a good method of
> distributing user mail but if you must do this, the following solution should
> allow a tool like fetchmail to separate the messages for individual users.
>
> 1. Use FEATURE(local_procmail) in your .mc file so procmail (which you must
> install separately) will deliver mail to the mailbox.
>
> 2. Use FEATURE(virtusertable) to create a virtual user table entry for the
> domain as follows:
>
> @domain.com domuser+%1
>
> where domuser is the username of the mailbox you will be using.
>
> 3. Put this in the respective domuser's $HOME/.procmailrc:
> DOMAIN=domain.com
> ENV_TO=$1
>
> :0f
> * ENV_TO ?? .
> | formail -i "X-Envelope-To: "$ENV_TO@$DOMAIN
>
> :0fE
> | formail -i "X-Envelope-To: UNKNOWN"
>
> This will insert an X-Envelope-To header with the original envelope recipient
> address when the message is delivered the normal way via the virtusertable,
> and UNKNOWN if for some reason it was sent directly to domuser.
I believe qmail uses "minus" addresses instead of plussed addresses. In
sendmail, [EMAIL PROTECTED] is automatically delivered to user's mailbox -
the +foo is ignored by sendmail but can be parsed by, say, procmail.
OK right. Paraphrasing from the qmail faq:
In qmail, a ~/.qmail-default in the catchall-user's homedir will catch all
[EMAIL PROTECTED] addresses. Or you can touch ~/.qmail-user1,
~/.qmail-user2 etc to catch specific [EMAIL PROTECTED] etc addresses and
bounce the rest (assuming you have set up something like domain.com: catchall
in /var/qmail/control/virtualdomains, and put the corresponding entry into
the rcpthosts file).
If you already use '-' in usernames, you need to change the delimiter to
another character (preferably + ... qmail seems to want to do everything
"opposite" to sendmail) :)
This is done at compile time. Version 1.00, change the value of
USEREXT_BREAK in conf-unusual.h. Version 1.0x, change the file "conf-break".
Without this a user called "me-too" would mask some of the suffix space for a
user called "me".)
All said and done, catchall mailboxes for a domain are, at best, an ugly
kludge. Best bet is to set up ETRN or UUCP to handle mail for that domain.
-s
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
For a two mailserver configuration to work in a master slave
configuration the master should be able to server each user separately.
>From your posting it doesnt look like that can work. By a catchall
account I am assuming all the emails landed in one mailbox. You can't
serve different user from such a mailbox. Therefore a pull kind of
request as done by fetchmail can't be handled. What you would have to do
is push out the emails from box2 to box1. This is what serialmail does -
but then your configuration doesnt seem to be the kind where serialmail
can be used. It would be better if you could explain what you are trying
to achieve by the setup you have assembled.
Mithun
On Fri, Apr 27, 2001 at 01:02:49PM +0530, Faisal wrote:
>On Friday 27 April 2001 05:20, Rajesh Fowkar wrote:
>
>> I compiled mplayer with svga driver after downloading the latest sources.
>>
>> But since i810 does not support lower resolutions, it throws a error at me
>> to this effect if I run mplayer from console. :-)
>
>Take a look at www.svgalib.org and try out the development versoin of svgalib
>(1.9.x) Now I don't know if it supports i810, but it certainly supports a
>few SiS cards, so you might be lucky...
Will try it out tonight. Do you get the same pict. quality with svga in
console as u were getting in X with xv or sdl ?
--
Rajesh Fowkar
(Computer Programmer)
V. S. DEMPO & CO. LTD., PANAJI-GOA
Email ID : [EMAIL PROTECTED], [EMAIL PROTECTED]
Web Site : http://www.dempos.com
* Mithun Bhattacharya [linux-india] <27/04/01 15:57 +0530>:
> For a two mailserver configuration to work in a master slave
> configuration the master should be able to server each user separately.
> >From your posting it doesnt look like that can work. By a catchall
> account I am assuming all the emails landed in one mailbox. You can't
> serve different user from such a mailbox. Therefore a pull kind of
You can, as a matter of fact :) Takes some headache at both ends, but
possible. See my reply to Rajkumar for more ...
> request as done by fetchmail can't be handled. What you would have to do
> is push out the emails from box2 to box1. This is what serialmail does -
> but then your configuration doesnt seem to be the kind where serialmail
> can be used. It would be better if you could explain what you are trying
> to achieve by the setup you have assembled.
Multidrop mailboxes, with *@domain.com landing in one mailbox. Quite a
common (and kludgy) setup, I'm afraid :(
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
On Friday 27 April 2001 14:08, Penguin wrote:
> On Fri, Apr 27, 2001 at 01:02:49PM +0530, Faisal wrote:
> >On Friday 27 April 2001 05:20, Rajesh Fowkar wrote:
> >> I compiled mplayer with svga driver after downloading the latest
> >> sources.
> >>
> >> But since i810 does not support lower resolutions, it throws a error at
> >> me to this effect if I run mplayer from console. :-)
> >
> >Take a look at www.svgalib.org and try out the development versoin of
> > svgalib (1.9.x) Now I don't know if it supports i810, but it certainly
> > supports a few SiS cards, so you might be lucky...
>
> Will try it out tonight. Do you get the same pict. quality with svga in
> console as u were getting in X with xv or sdl ?
In X, I couldn't get the low-res modes to work, the lowest I was getting was
640x480. With svgalib, I can get the optimal size. Looks good. Much better
than the X version.
-faisal.
--
-====----====----====----====----====----====----====---
____
/ \
"@'| '..` |`@" L I N U X
/__| \__/ |__\ May the source be with you
\__U_/
--------------------------------------------------------
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---
On Fri, 27 Apr 2001, Penguin wrote:
|Will try it out tonight. Do you get the same pict. quality with svga in
|console as u were getting in X with xv or sdl ?
No you should get a lot better quality as the picture will be unscaled!
BTW mplayer doesn't do too good on low res modes... gives a quashed
picture with a LOT of blue stuff covering the rest of the screen.
(one work around I found was running it in the lowest resolution possible
without any window manager and full screen turned off... and resizing my
monitor(height and width settings on the OSD)
Kingsly
.:: Kingsly John ICQ 14787510 ::.
--------------------------------------------------
.:: Linux 2.4.3 #10 Mon Apr 23 22:43:11 IST 2001 i686 ::.
--------------------------------------------------------
`:. Posted to the list on Fri Apr 27 16:47:06 IST 2001 .:'
Hi All
I am trying to install SCO Unix 5.0.4 and Red Hat
Linux 7 on the same system (the system is gonna act as
server). I have installed SCO already.
SCO was assigned almost 4000 MB of the 10 GB hard
disk, and the rest is all free..
Now how do I go about installing the Red Hat so that I
can get a dual boot system ?
TIA
Harveer Singh
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
I have setup my RH 6.2 to forward me the IP, for remote administration, where
every hour i used to get an update in my mail box and it has been working
perfectly for almost 1month.
To do this i had hardly done not done any changes to the system, except, add a
line to my cronjob which sends me a mail every hour at 01 minutes. The line
reads:
01 * * * * /sbin/ifconfig ppp0|grep inet|mail [EMAIL PROTECTED]
Also, nobody except me has the root access to it. If any other details needed
pls let me know.
Ratnakar
Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote:
* RATNAKAR KOLI [linux-india] <27/04/01 12:38 +0200>:
> I have configured my RH 6.2 system to forward me some mails every hour. it
was
> working fine till 24/04/2001. 25/04/2001 being an holiday the server was
not
> used, since yesterday i.e. 26/04/2001, it has just stopped sending me my
> mails, what could be wrong or rather how do i trouble shoot it. can u pls
> assist me?
Look at the logs. What did you do, set up a cronjob, run fetchmail as a
daemon etc? Give further details first plz.
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
* RATNAKAR KOLI [linux-india] <27/04/01 17:48 +0200>:
> To do this i had hardly done not done any changes to the system, except, add a
> line to my cronjob which sends me a mail every hour at 01 minutes. The line
> reads:
> 01 * * * * /sbin/ifconfig ppp0|grep inet|mail [EMAIL PROTECTED]
> Also, nobody except me has the root access to it. If any other details needed
> pls let me know.
Is the cron daemon running / did it start? /etc/rc.d/init.d/crond status
-s
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
Let me suggest better techniques. I have used these a lot.
I presume you're trying to use an ip-poster. Of the many solutions available,
here are the best I like:
1. You can go for something like dyndns to do this. (http://www.dyndns.org)
2. Get a free home page somewhere that offers ftp access. If you don't have
the a script called ftp-put.sh, cut and paste it from below. Now add a line
to your script /etc/ppp/ip-up or /etc/ppp/ip-up.local (preffered)reading
something like this:
-------------snip------------------------------
ifconfig ppp0 | grep inet\ | tr -s " " | cut -d" " -f3 | cut -d":" -f2 >
/tmp/ip
(please tweak the above till you get just the ip address...)
ftp-put.sh /dev/null ftp-hostname <directory-on-remote-m/c> currentip /tmp/ip
<username> <password>
-----------------snip----------------------------
That's it. On your homepage, you can put a link to the 'currentip' file. Or
you can mail yourself the ip if you like instead of ftp-ing it. Personal
preferance. I prefer the ftp method as it doesn't clutter my mailbox. The
advantage of this as compared to the crontab entry is that it's cleaner and
you only get updates when the machine actually connects... I presume you have
put in a times automatic dialer to connect you each hour...
There are more ways to achieve the above. The ftp thing is something I used
to use until I came upon dynamic dns servers...
Here's the ftp-put.sh script I picked up from my machine - in case yours
doesn't have it (It's absent on some installations)...
-----------------snip---------------------------
#!/bin/bash
# ftp-put.sh output_file host directory remote_file local_file user pass
ftp -n $2 > $1 2> $1 <<EOC
user $6 $7
binary
cd $3
put $5 $4
bye
EOC
------------------snip---------------------------
If you don't have this on your machine, just copy and dump this script say in
/usr/bin or /usr/local/bin or something..
I know this doesn't really answer your question - that's a bit more difficult
to answer without more information, but I hope you can use this instead as
it's more efficient than getting a mail ech hour...
cheers,
-Faisal.
On Friday 27 April 2001 23:27, RATNAKAR KOLI wrote:
> I have setup my RH 6.2 to forward me the IP, for remote administration,
> where every hour i used to get an update in my mail box and it has been
> working perfectly for almost 1month.
>
> To do this i had hardly done not done any changes to the system, except,
> add a line to my cronjob which sends me a mail every hour at 01 minutes.
> The line reads:
>
> 01 * * * * /sbin/ifconfig ppp0|grep inet|mail [EMAIL PROTECTED]
>
> Also, nobody except me has the root access to it. If any other details
> needed pls let me know.
>
> Ratnakar
>
>
>
> Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote:
>
> * RATNAKAR KOLI [linux-india] <27/04/01 12:38 +0200>:
> > I have configured my RH 6.2 system to forward me some mails every hour.
> > it
>
> was
>
> > working fine till 24/04/2001. 25/04/2001 being an holiday the server was
>
> not
>
> > used, since yesterday i.e. 26/04/2001, it has just stopped sending me my
> > mails, what could be wrong or rather how do i trouble shoot it. can u pls
> > assist me?
>
> Look at the logs. What did you do, set up a cronjob, run fetchmail as a
> daemon etc? Give further details first plz.
--
-====----====----====----====----====----====----====---
____
/ \
"@'| '..` |`@" L I N U X
/__| \__/ |__\ May the source be with you
\__U_/
--------------------------------------------------------
DON'T PANIC!
-The Hitchhiker's Guide To The Galaxy.
-====----====----====----====----====----====----====---