qmail Digest 8 Jul 2000 10:00:00 -0000 Issue 1056

Topics (messages 44315 through 44381):

urgent help required : qmail-send/qmail-lspawn (fwd)
        44315 by: reach_prashant.zeenext.com
        44318 by: Ricardo Cerqueira
        44319 by: Ricardo Cerqueira

urgent help required : file permissions
        44316 by: reach_prashant.zeenext.com

Re: Virus scanning question
        44317 by: Rainer Link

mail filtering with splogger
        44320 by: reach_prashant.zeenext.com
        44352 by: Dave Sill

Re: qmail-start
        44321 by: Dennis Robertson

Re: vpopmail 4.8a Upgrade
        44322 by: Chris Tolley
        44324 by: Sylwester S. Biernacki
        44339 by: Ken Jones

Relaying once again...
        44323 by: Kwasniewski Piotr
        44325 by: Ben Beuchler
        44327 by: Petr Novotny
        44328 by: Sylwester S. Biernacki
        44342 by: Paul Jarc

Re: Not receiving from all domains - is it DNS?
        44326 by: Barry Dwyer
        44373 by: Eric Cox

Re: Qmail with Oracle
        44329 by: Ken Jones
        44343 by: Alexandre Biancalana

porblems with qmail.
        44330 by: Simo Lakka

Re: qmail book coming?
        44331 by: John van V.
        44348 by: Jason Murphy

mail filters
        44332 by: prashant

Re: Courier IMAP / Autoresponders / SQWebMail
        44333 by: Ken Jones

Unable to switch to home directory
        44334 by: Toni Mueller
        44337 by: Charles Cazabon

relay problems with smtproutes
        44335 by: John L. Fjellstad
        44338 by: Charles Cazabon

HELP... I got attacked by Spammers
        44336 by: Sally Cheng
        44340 by: Charles Cazabon
        44341 by: Ben Beuchler
        44344 by: gastuser
        44347 by: Andrew
        44367 by: Chris Hardie

Re: scan4virus
        44345 by: Jason Murphy

Re: cannot authenticate
        44346 by: Andrew

Re: Help plz, How to delete messages??
        44349 by: Paul Jarc

Re: can't unsubscribe
        44350 by: Paul Jarc
        44353 by: Tim_Clifton.candle.com
        44354 by: Paul Jarc
        44356 by: Hand, Brian C.
        44374 by: Eric Cox

Re: supervise lock problem on startup/install
        44351 by: Dave Sill
        44355 by: J!M
        44357 by: Dave Sill
        44361 by: J!M
        44362 by: Paul Jarc
        44363 by: Dave Sill

HELP!.. please
        44358 by: Simo Lakka
        44359 by: Simo Lakka
        44360 by: Simo Lakka
        44364 by: Steffan Hoeke
        44365 by: Simo Lakka
        44366 by: Steffan Hoeke
        44377 by: Simo Lakka
        44378 by: Simo Lakka
        44379 by: Steffan Hoeke
        44380 by: Simo Lakka
        44381 by: Steffan Hoeke

Limiting Bandwidth Usage
        44368 by: Abraham T. Rooter

tcpserver launching more than once?
        44369 by: Ben Beuchler

New delayed mail notification setup
        44370 by: Bruce Guenter

Problems changing password with qmailadmin
        44371 by: Edilmar Alves

dial up - optimal solution?
        44372 by: Mark Weinem
        44375 by: Adam McKenna

Success !Re: supervise lock problem on startup/install
        44376 by: J!M

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------



   hello friends 

   
  i have installed qmail with qmail-ldap-latest patch  , qmail is running
fine and delivering mails to ~HOME/Maildir  , with mails file permissions
of 644 , i have  also configured qmail-pop3d to retrive mails from
~HOME/Maildir   , but as the default file permissions are 644  pop3d server
is unable read those mails ( unable to download those mails )and if i
change it to chmod 777 then pop3d is working fine but every time doing this
(changing file permissions manually or by polling and running cron job)
when new mail arrives to users mailbox for thousends of users is impossible
 ,

 the other problem with pop3d is if i will change default 644 file
permissions for mail files in /HOME/Maildir/new/mailfiles  to chmod 755
then pop3d  will able to download mails from mail server but unable to
delete those mails once it gets downloaded from users Maildir,

 so please help me , what should  be the default file permissions for 
1> /home
2> /home/Maildir
3> /home/Maildir/new
4>  /home/Maildir/tmp
5>  /home/Maildir/cur
 
  so that my SMTP and qmail-pop3d  will work normally with qmail-ldap 


i dont know exactly what is wrong , please help me and guide me what would
be causing this   


     please help me , its really urgent 

 with kindest regards 
Prashant Desai 






On Fri, Jul 07, 2000 at 07:18:29AM +0300, [EMAIL PROTECTED] wrote:
> 
>  the other problem with pop3d is if i will change default 644 file
> permissions for mail files in /HOME/Maildir/new/mailfiles  to chmod 755
> then pop3d  will able to download mails from mail server but unable to
> delete those mails once it gets downloaded from users Maildir,
> 
>  so please help me , what should  be the default file permissions for 
> 1> /home
> 2> /home/Maildir
> 3> /home/Maildir/new
> 4>  /home/Maildir/tmp
> 5>  /home/Maildir/cur
>  

700 would be just fine. But stick with the perms given by maildirmake. Instead of 
messing with those, run qmail-popup under root permissions.
You can NOT give read/write permissions to anyone but the owner. If you do, qmail will 
refuse to deliver.

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701




On Fri, Jul 07, 2000 at 07:50:41AM +0300, [EMAIL PROTECTED] wrote:
> 
>    thanks  got the point 
> 
>   but the thing is that , i am not at all using maildirmake to create 
> Maildir for every user , instead i have specified /Maildir/  in
> /var/qmail/control/defaultdelievery  file and also in /var/qmail/rc script
> script        , so when the user is getting his first mail ,"Maildir" gets
> created automatically what i mean by automatically is i didt have to create
> Maildir for every users with maildirmake 

Same thing. Once it's created, don't touch it's perms.

> 
>   so  please explain in a bit more detail what could be the problems 
>

The qmail-popup is running under the wrong permissions. Run it under UID 0. (root)

RC


-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Engenharia ISP / Rede T�cnica 
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701





   hello friends 

    i have installed qmail along with qmail-ldap-latest-patch on Redhat
Linux 6.1 , its working fine as far as delivery to /Home/Maildir is concern
but other things like qmail-pop3d  is not working atall , i think the
problem is with default file permissions for  /Home/Maildir/new/mail file
which is 644 in my case , so with 644 on  /Home/Maildir/new/mail file
qmail-pop3d is not able to download mails from users mailbox ,

then i tried changing it to 755  , then qmail-pop3d is able to download
mails from users mail box but unable to delete those mail files from
maildir once they gets downloaded .

then i made it 777  , now qmail-pop3d works perfectly 

 so i think its just this file permissions part which is creating these
problems 

 
desperately waiting  for reply 
Prashant Desai 







Larry Henshaw wrote:

Hi!
> I have a Qmail system all up and running with SMTP and POP3.  It sends and
> received mail correctly.  What I have been asked to do is forward any mail
> to a Trend Micro SMTP email virus scanning server first before it is
> delivered.  This means that even if I have USER-A and USER-B with POP3
> accounts on the qmail server and they send mail to each other, the powers
> that be want that mail to first hit the Scan Mail server then relay to the
> Qmail server.
Well, why don't you ask the support guys from Trend Micro? I believe,
they can help you better than the readers here. Couldn't you run
InterScan VirusWall SMTP as your external SMTP server and qmail as your
internal SMTP server (InterScan pipes after the virus scanning back to
sendmail, in your case the sendmail-wrapper of qmail)? IIRC Trend Micro
describes some different setups in their manual.

Alternative Open source solutions are either scan4virus
(http://www.geocities.com/jhaar/scan4virus/) or AMaViS (dev.amavis.org
or better
http://sourceforge.net/projects/amavis). For a general overview, you may
also have a look at http://lavp.sourceforge.net/

HTH

best regards,
Rainer Link

-- 
Rainer Link  | Member of Virus Help Munich (www.vhm.haitec.de)           
[EMAIL PROTECTED] | Member of AMaViS Development Team (dev.amavis.org)        
rainer.w3.to | Linux/Unix Anti Virus project (lavp.sourceforge.net)







  hello friends 


    we are designing webmail using qmail as our mail server , we want to
give users a facility to create folders under their directory , 
and filter incoming mails based on from address and then they can choose 
to  get their mails from specific from address to specific folder they have
created under their home directory  , 

   how can i do this with qmail , i am not using procmail but using
splogger for delievering mails to users maildirs 


  waiting for responce 





[EMAIL PROTECTED] wrote:

>    we are designing webmail using qmail as our mail server , we want to
>give users a facility to create folders under their directory , 
>and filter incoming mails based on from address and then they can choose 
>to  get their mails from specific from address to specific folder they have
>created under their home directory  , 
>
>   how can i do this with qmail , i am not using procmail but using
>splogger for delievering mails to users maildirs 

You're confused. splogger is a logger, not a delivery agent.

-Dave




On Thu, Jul 06, 2000 at 10:28:44AM -0400, Paul Jarc wrote:

> 
> You probably don't need to reinstall.  Just remove that command from
> your .bashrc, and add it to your system startup scripts.  The details
> of this will vary depending on how your system is set up.  On my
> RedHat 6 box, I have /etc/rc.d/rc[235].d/S40qmail symlinked to
> ../init.d/qmail, which contains:
> 
> paul

Paul,
Thanks.  I remembered how I did it the first time (luckily, not all brain cells
are dead).  I removed the offending .bashrc script and used tksysv to set up
qmail
in the appropriate run levels.  I added chkconfig and source function library
entries to /etc/rc.d/init.d/qmail and all goes well.
Regards.

 -- 
Dennis Robertson  2/2 Sylvia Street  NOOSAVILLE QLD 4566
Phone: 61 7 54742343  Mob: 0419 535539




vpopmail isn't slanted towards RedHat RPMs, so it's expecting your tcprules
to have been installed from source, which would put it in
/usr/local/bin/tcprules.  The Makefile has that as a default, so when it
can't find it, it doesn't go searching.  Just compile with the option

--enable-tcprules=/usr/bin/tcprules

which is where the RPM is configured to dump it, or hack the Makefile to the
appropriate directory.

As for the rest...it looks as if your glibc package is damaged or
incomplete.  Try reinstalling from the RPM that matches the revision of your
RedHat.  Those references are defined in the .so files located in your /lib
directory and are owned by the glibc package.

-CT

> -----Original Message-----
> From: Sylwester S. Biernacki [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 07, 2000 3:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re[2]: vpopmail 4.8a Upgrade
> 
> 
> 2000-07-07, at 02:53:22, [EMAIL PROTECTED] wrote:
> 
> > also sprach list:
> >> I'm trying to upgrade vpopmail to version 4.8a. However, 
> when I try to
> >> ./configure, I get an error that the tcprules program 
> cannot be found.
> 
> > You need to specify it with --enable-tcprules-prog=/path/to/tcprules
> 
> >> Where should tcprules be coming from? What installation am 
> I missing?
> 
> (pcg@micah) ~>> rpm -qf `which tcprules`
> > ucspi-tcp-0.88-1
> > ^^^^^^^^^
> So... I've got another problem with compilation vpopmail.
> gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o opensmtp.o 
> libvpopmail.a -lnsl -lcrypt -lm
> libvpopmail.a(my_thr_init.o): In function `my_thread_global_init':
> my_thr_init.o(.text+0x14): undefined reference to `pthread_key_create'
> libvpopmail.a(my_thr_init.o): In function `my_thread_init':
> my_thr_init.o(.text+0xfa): undefined reference to 
> `pthread_getspecific'
> my_thr_init.o(.text+0x13b): undefined reference to 
> `pthread_setspecific'
> libvpopmail.a(my_thr_init.o): In function `my_thread_end':
> my_thr_init.o(.text+0x1cd): undefined reference to 
> `pthread_setspecific'
> libvpopmail.a(my_thr_init.o): In function `_my_thread_var':
> my_thr_init.o(.text+0x204): undefined reference to 
> `pthread_getspecific'
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory `/usr/src/vpopmail-4.8a'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/vpopmail-4.8a'
> make: *** [all-recursive-am] Error 2
> 
> and this goes on every gcc compiler I've used (2.95 and 2.96):
> gcc version 2.96 20000606 (experimental)
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> Machine is RH 6.2 with glibc-2.1.90
> 
> Any suggestions ?
> 
> Despite of this fact, on other machines with egcs compiler it compiles
> fine and works well.
> 
> -- 
> greetz,
> Sylwester S. Biernacki <[EMAIL PROTECTED]>
> 
> 




2000-07-07, at 16:12:33, Chris Tolley wrote:

> vpopmail isn't slanted towards RedHat RPMs, so it's expecting your tcprules
> to have been installed from source, which would put it in
> /usr/local/bin/tcprules.  The Makefile has that as a default, so when it
> can't find it, it doesn't go searching.  Just compile with the option

> --enable-tcprules=/usr/bin/tcprules

> which is where the RPM is configured to dump it, or hack the Makefile to the
> appropriate directory.

> As for the rest...it looks as if your glibc package is damaged or
> incomplete.  Try reinstalling from the RPM that matches the revision of your
> RedHat.  Those references are defined in the .so files located in your /lib
> directory and are owned by the glibc package.

I'm sure there are complete, cause the same glibc packet is running on
the second machine which  differs only in C compiler.
any suggestion ?

-- 
greetz,
Sylwester S. Biernacki <[EMAIL PROTECTED]>







I'll update the next release of vpopmail to also look in
/usr/bin/tcprules

Ken Jones

Chris Tolley wrote:
> 
> vpopmail isn't slanted towards RedHat RPMs, so it's expecting your tcprules
> to have been installed from source, which would put it in
> /usr/local/bin/tcprules.  The Makefile has that as a default, so when it
> can't find it, it doesn't go searching.  Just compile with the option
> 
> --enable-tcprules=/usr/bin/tcprules
> 
> which is where the RPM is configured to dump it, or hack the Makefile to the
> appropriate directory.
> 
> As for the rest...it looks as if your glibc package is damaged or
> incomplete.  Try reinstalling from the RPM that matches the revision of your
> RedHat.  Those references are defined in the .so files located in your /lib
> directory and are owned by the glibc package.
> 
> -CT
> 
> > -----Original Message-----
> > From: Sylwester S. Biernacki [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, July 07, 2000 3:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re[2]: vpopmail 4.8a Upgrade
> >
> >
> > 2000-07-07, at 02:53:22, [EMAIL PROTECTED] wrote:
> >
> > > also sprach list:
> > >> I'm trying to upgrade vpopmail to version 4.8a. However,
> > when I try to
> > >> ./configure, I get an error that the tcprules program
> > cannot be found.
> >
> > > You need to specify it with --enable-tcprules-prog=/path/to/tcprules
> >
> > >> Where should tcprules be coming from? What installation am
> > I missing?
> >
> > (pcg@micah) ~>> rpm -qf `which tcprules`
> > > ucspi-tcp-0.88-1
> > > ^^^^^^^^^
> > So... I've got another problem with compilation vpopmail.
> > gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o opensmtp.o
> > libvpopmail.a -lnsl -lcrypt -lm
> > libvpopmail.a(my_thr_init.o): In function `my_thread_global_init':
> > my_thr_init.o(.text+0x14): undefined reference to `pthread_key_create'
> > libvpopmail.a(my_thr_init.o): In function `my_thread_init':
> > my_thr_init.o(.text+0xfa): undefined reference to
> > `pthread_getspecific'
> > my_thr_init.o(.text+0x13b): undefined reference to
> > `pthread_setspecific'
> > libvpopmail.a(my_thr_init.o): In function `my_thread_end':
> > my_thr_init.o(.text+0x1cd): undefined reference to
> > `pthread_setspecific'
> > libvpopmail.a(my_thr_init.o): In function `_my_thread_var':
> > my_thr_init.o(.text+0x204): undefined reference to
> > `pthread_getspecific'
> > collect2: ld returned 1 exit status
> > make[2]: *** [vchkpw] Error 1
> > make[2]: Leaving directory `/usr/src/vpopmail-4.8a'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/src/vpopmail-4.8a'
> > make: *** [all-recursive-am] Error 2
> >
> > and this goes on every gcc compiler I've used (2.95 and 2.96):
> > gcc version 2.96 20000606 (experimental)
> > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> > Machine is RH 6.2 with glibc-2.1.90
> >
> > Any suggestions ?
> >
> > Despite of this fact, on other machines with egcs compiler it compiles
> > fine and works well.
> >
> > --
> > greetz,
> > Sylwester S. Biernacki <[EMAIL PROTECTED]>
> >
> >




Hello!
        I have Qmail installed. It properly sends and acepts mail. It is
also supposed to do relaying for a group of users. 
        In the FAQ it said, how to enable relaying for a group of
machines, but I'd like to accomplish something like:

My local domain is domain.com. If an user tries to send mail from a
machine with relaying enabled, qmail should check if the sender adress is
[EMAIL PROTECTED] If it is for example [EMAIL PROTECTED], qmail should
deny relying. 

My question is: how can I do it ???

Waiting for reply.

-- 
kfas  





On Fri, Jul 07, 2000 at 04:21:53PM +0200, Kwasniewski Piotr wrote:

>       I have Qmail installed. It properly sends and acepts mail. It is
> also supposed to do relaying for a group of users. 
>       In the FAQ it said, how to enable relaying for a group of
> machines, but I'd like to accomplish something like:
> 
> My local domain is domain.com. If an user tries to send mail from a
> machine with relaying enabled, qmail should check if the sender adress is
> [EMAIL PROTECTED] If it is for example [EMAIL PROTECTED], qmail should
> deny relying. 
> 
> My question is: how can I do it ???

Without creating your own tools, it can't be done.  And it's not a good
idea.  It would take me about 10s to modify my mail client so that I can
relay through your server.

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
                -- Neal Stephenson




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7 Jul 00, at 16:21, Kwasniewski Piotr wrote:
> My local domain is domain.com. If an user tries to send mail from a
> machine with relaying enabled, qmail should check if the sender adress
> is [EMAIL PROTECTED] If it is for example [EMAIL PROTECTED], qmail
> should deny relying. 
> 
> My question is: how can I do it ???

No: The question is "Why on Earth would you want to do it?"

Anyway, if you need to accomplish this, write a simple wrapper 
around qmail-queue or patch qmail-smtpd...

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOWXcW1MwP8g7qbw/EQKdRwCg9DIQOhXN201bXYsWHAP2RYYh5I4An1vz
h1gUALvnZDe+EgvwIiP73NHg
=aFRe
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]




2000-07-07, at 16:21:53, Kwasniewski Piotr wrote:

> Hello!
>         I have Qmail installed. It properly sends and acepts mail. It is
> also supposed to do relaying for a group of users. 
>         In the FAQ it said, how to enable relaying for a group of
> machines, but I'd like to accomplish something like:

> My local domain is domain.com. If an user tries to send mail from a
> machine with relaying enabled, qmail should check if the sender adress is
> [EMAIL PROTECTED] If it is for example [EMAIL PROTECTED], qmail should
> deny relying. 

> My question is: how can I do it ???

> Waiting for reply.

/var/qmail/control/rcpthosts
here you define which machines you allow to be your relay clients.
You can check "From:" in header using i.e. Mark Delany's patch.
You can get it from nearest Qmail mirror site (in your situation the
nearest will be http://qmail.obeer.com):

Yet more Qmail addons
Mark Delany has a patch to qmail-smtpd which lets you match the envelope sender 
against a regex and accept or reject the mail accordingly.
ftp://ftp.mira.net/unix/mail/qmail/wildmat-0.2.patch

-- 
pozdrawiam,
Sylwester S. Biernacki <[EMAIL PROTECTED]>






Sylwester S. Biernacki writes:
> /var/qmail/control/rcpthosts
> here you define which machines you allow to be your relay clients.

No, that file lists the destination hosts and domains that qmail
accepts mail for via SMTP and QMTP.  To allow certain senders to relay
though you to any destination, use RELAYCLIENT.  man tcprules,
man qmail-smtpd.


paul




I don't know what server software our ISP is using. At the time of the
problem, though, they didn't have the backup mail entry in place so
whatever was going on was related to our primary server only.

The ISP is *adamant* that the problem had nothing to do with the
reverse-DNS problem and was caused only by some of the ISPs using cached
DNS information that took a while to update after our mail server went
live. OK in theory but it seems that doesn't explain inconsistent
delivery from some of those ISPs (1 message in 10 with no bounces for
the other 9). Also, 72 hours is a long time for that problem to persist
- seems a long time to keep cached information. Even odder is that it
went away and the mail started to flow not long after the reverse-DNS
problem was corrected.

I have to admit to being new to this, which is frustrating. I need to do
some homework on what happens with mail servers set to what I've heard
described as "paranoid mode".

Barry







Barry Dwyer wrote:
> 
> I don't know what server software our ISP is using.

Doesn't matter - what matters is if the sending domains are 
running MS Echange, and the backup mailserver isn't properly 
setup to relay...

> I have to admit to being new to this, which is frustrating. I need to do
> some homework on what happens with mail servers set to what I've heard
> described as "paranoid mode".

qmail will not discard _any_ message without a bounce or log 
entry.  If it is qmail, you'll see evidence of what is causing 
it.

Eric




Alexandre Biancalana wrote:
> 
> Hi All,
> 
>     I have Qmail installed in Red Hat 6.2 and it works fine, but we need to 
>authenticate users with Oracle.
> 
>     I have downloaded vpopmail package v4.8.4 but it does not seem to compile, 
>because I think this
> 
> package has Oracle support. Does anybody know how to compile vpopmail and then 
>authenticate users with it?
> 
>     Where can I find some documentation or some patch in order to fix this problem?
> 
>     Have anybody made Oracle 8.1.6 work with Qmail?
> 
>     Thanks,
> 
>     Alexandre Biancalana

I wrote and tested the oracle module. It was built against Oracle 8
something.

I still need to add some options to the configure script to allow you to
set the path to oracle.

Send me what problem you are having on the compile, and I'll help you
work
through it. Then we can use the problems you have run into as the start
for an Oracle README file.

Ken Jones




Hi Ken,

Here is my configure line:

[root@kepler vpopmail-4.8.5]# ./configure 
--enable-tcprules-prog=/usr/local/bin/tcprules \
                                                            --enable-oracle=y \

--enable-tcpserver-file=/var/qmail/control/relayclients.tcp

and the error is:

[root@kepler vpopmail-4.8.5]# make
make  all-recursive
make[1]: Entering directory `/opt/vpopmail-4.8.5'
Making all in cdb
make[2]: Entering directory `/opt/vpopmail-4.8.5/cdb'
make[2]: *** Warning: File `makelib' has modification time in the future (2000-07-07 
11:38:33 > 2000-07-07
00:12:53)
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
make[2]: *** Warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/opt/vpopmail-4.8.5/cdb'
make[2]: Entering directory `/opt/vpopmail-4.8.5'
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c safestring.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c vpopmail.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c md5.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c bigdir.c
gcc -I. -I/usr/local/oracle/include/precomp/public      -g -O2 -Wall -c vauth.c
vauth.c:187: sqlda.h: No such file or directory
vauth.c:188: sqlcpr.h: No such file or directory
vauth.c:189: sqlca.h: No such file or directory
vauth.c:286: warning: `/*' within comment
vauth.c:290: warning: `/*' within comment
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/opt/vpopmail-4.8.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vpopmail-4.8.5'
make: *** [all-recursive-am] Error 2

but my ORACLE_HOME is not the /usr/local/oracle/ , I'm correct the files rewriting the 
oracle ORACLE_HOME, and
the error is:

[root@kepler vpopmail-4.8.5]# make
cd . && aclocal
cd . && automake --foreign Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --enable-tcprules-prog=/usr/local/bin/tcprules 
--enable-oracle=y
--enable-tcpserver-file=/var/qmail/control/relayclients.tcp --no-create --no-recursion
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking for crypt in -lcrypt... (cached) yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for getsockname in -lsocket... (cached) no
checking for shadow.h... (cached) yes
checking for shadow.h... (cached) yes
checking for setspent in -lshadow... (cached) no
yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for getcwd... (cached) yes
checking for mkdir... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
cd . && autoheader
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
creating config.h
config.h is unchanged
make  all-recursive
make[1]: Entering directory `/opt/vpopmail-4.8.5'
Making all in cdb
make[2]: Entering directory `/opt/vpopmail-4.8.5/cdb'
make[2]: *** Warning: File `makelib' has modification time in the future (2000-07-07 
11:38:33 > 2000-07-07
00:24:56)
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\'; \
cat find-systype.sh; \
) | sh > systype
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
make[2]: *** Warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory `/opt/vpopmail-4.8.5/cdb'
make[2]: Entering directory `/opt/vpopmail-4.8.5'
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c safestring.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c vpopmail.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c md5.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c bigdir.c
gcc -I. -I/usr/local/oracle/u01/app/oracle/product/8.1.6/precomp/public      -g -O2 
-Wall -c vauth.c
vauth.c:286: warning: `/*' within comment
vauth.c:290: warning: `/*' within comment
vauth.c:110: warning: type defaults to `int' in declaration of `sqlcxt'
vauth.c:112: warning: type defaults to `int' in declaration of `sqlcx2t'
vauth.c:113: warning: type defaults to `int' in declaration of `sqlbuft'
vauth.c:114: warning: type defaults to `int' in declaration of `sqlgs2t'
vauth.c:115: warning: type defaults to `int' in declaration of `sqlorat'
vauth.c:1658: conflicting types for `vclose'
vauth.h:32: previous declaration of `vclose'
vauth.c: In function `vclose':
vauth.c:1679: warning: control reaches end of non-void function
vauth.c: At top level:
vauth.c:106: warning: `sqlstm' defined but not used
vauth.c:118: warning: `IAPSUCC' defined but not used
vauth.c:119: warning: `IAPFAIL' defined but not used
vauth.c:120: warning: `IAPFTL' defined but not used
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/opt/vpopmail-4.8.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/vpopmail-4.8.5'
make: *** [all-recursive-am] Error 2

Thanks for your HELP !!

[ ]''s
Alexandre Biancalana



Ken Jones wrote:

> Alexandre Biancalana wrote:
> >
> > Hi All,
> >
> >     I have Qmail installed in Red Hat 6.2 and it works fine, but we need to 
>authenticate users with Oracle.
> >
> >     I have downloaded vpopmail package v4.8.4 but it does not seem to compile, 
>because I think this
> >
> > package has Oracle support. Does anybody know how to compile vpopmail and then 
>authenticate users with it?
> >
> >     Where can I find some documentation or some patch in order to fix this problem?
> >
> >     Have anybody made Oracle 8.1.6 work with Qmail?
> >
> >     Thanks,
> >
> >     Alexandre Biancalana
>
> I wrote and tested the oracle module. It was built against Oracle 8
> something.
>
> I still need to add some options to the configure script to allow you to
> set the path to oracle.
>
> Send me what problem you are having on the compile, and I'll help you
> work
> through it. Then we can use the problems you have run into as the start
> for an Oracle README file.
>
> Ken Jones






Hi !
I installed newest qmail with rpm installation, and tried to send a mail
to me with pine, i didnt get that mail.. nothing in /Maildir and log
doesnt say anything, anybody can help me ? 

-simo lakka
[EMAIL PROTECTED]






Howabout "The Wonderful and Weird World of DJ Bernstein"


--- "M.B." <[EMAIL PROTECTED]> wrote:
> http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D962246891/sr%3D1-2/0
> 02-4056617-0867210
> 
> anyone notice the above?
> 
> mike.
> 
> _______________________________________________
> Why pay for something you could get for free?
> NetZero provides FREE Internet Access and Email
> http://www.netzero.net/download/index.html


=====
John van Vlaanderen

      #############################################
      #    CXN, Inc. Contact:  [EMAIL PROTECTED]   #               #
      #      Proud Sponsor of Perl/Unix of NY     #
      #        http://puny.vm.com                 #                 
      #############################################

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




>
> Howabout "The Wonderful and Weird World of DJ Bernstein"

 Naw. I am waiting for the movie to come out, I think Robin Williams is
going to play DJ Berstein.
 His Arch-Nemesis, Wietse Venema, is going to be played by John Malkovich.


>
>
> --- "M.B." <[EMAIL PROTECTED]> wrote:
> >
http://www.amazon.com/exec/obidos/ASIN/0672319454/qid%3D962246891/sr%3D1-2/0
> > 02-4056617-0867210
> >
> > anyone notice the above?
> >
> > mike.
> >
> > _______________________________________________
> > Why pay for something you could get for free?
> > NetZero provides FREE Internet Access and Email
> > http://www.netzero.net/download/index.html
>
>
> =====
> John van Vlaanderen
>
>       #############################################
>       #    CXN, Inc. Contact:  [EMAIL PROTECTED]   #               #
>       #      Proud Sponsor of Perl/Unix of NY     #
>       #        http://puny.vm.com                 #
>       #############################################
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/


--

Jason Murphy
Web Developer and Systems and Database Administrator

E-mail: [EMAIL PROTECTED]
URL: http://www.lawinfo.com
--------------------------------------------------------------
Lawinfo.com - Legal Industry Marketing for the 21st Century
Phone: 800-397-3743                         Fax: 800-220-4546
--------------------------------------------------------------






hello friends
 
 
 we are trying to implement webmail  using qmail as mail server with qmail-ldap authentication ,
 
we wish to give users facility to create folters in their home directory and then users can filter incoming mails
on the basis of from address and can route these filtered mail in to one of those folders that they had created
 
 
is there any way to achive these we are using splogger for local delievery
 
 
thanks in advance
Prashant Desai




Kathleen Farber wrote:
> 
> Anything I should be aware of for installing Courier IMAP with
> vpop and vchkpw
> 
> We would like to install sqwebmail but worried about screwing things up
> since it took a month to get it running the right way with no error messages
> ::whew::
> 
> Red Hat Linux 6.2
> Current Qmail, QmailAdmin, EzMLM, vpop, vchkpw
> 
> Also, if anyone knows why when using autoresponders why the mail bounces but
> yet the autoresponder goes out would be much appreciated!
> 
> Kathleen

Here is my configure line for sqwebmail to work with vpopmail:
./configure --enable-webpass=vpopmail --without-authuserdb
--without-authpam \
--without-authpwd --without-authshadow --without-authldap
--with-cachedir \
--with-authvchkpw --enable-imageurl=/images/sqwebmail/ \
--enable-imagedir=<dir>

Here is my configure line for courier imap
./configure --without-authuserdb --without-authpam \
--without-authpwd --without-authshadow --without-authldap \
--with-authvchkpw --enable-workarounds-for-imap-client-bugs

One gotcha with the courier-imap. If you are using mysql, sybase or
oracle, you need to edit the courier-imap code. In the authlib
directory, find the vauth_getpw function call and add a vclose();
right after it.

The reason why is, a courier-imap client causes a courier-imap 
process to run on the server. Unlike pop, the courier-imap server
process stays active for the entire session. So if you have 
200 people using imap, you'll have 200 courier-imap server
processes running on your machine.

Now the reason for the vclose() is that vpopmail API doesn't
explicitly close the connection to the database. Once the
vauth_getpw() function is run, courier-imap has all the
information it ever needs from the database. At that point
we need to call vclose() to close the database connection.
If not, those 200 imap clients will cause 200 database 
connections to stay open. 

The vclose() call isn't needed if you are using the file
based authentication module in vpopmail. Since the files
are closed during each vpopmail api function call.

Ken





Hello,

I'm stumped on this one:

One of my users can't receive mail because qmail has
problems getting to his home.

- the user has a home like /prefix/www.do.main
- with maildir delivery ./MailDir/ in said case (that's
  the same for all users)
- he owns both his home (mode 0755) and the MailDir
  (mode 0700)

My setup is such that I first route through a private
switchboard and from there redirect the messages to
the different users (or to the outside). So I can
avoid letting users mess around with their own
mail setup...

Ok, in my switchboard I say that this user should
receive mail in his home, so there is
user@localhost in the corresponding .qmail- file.

In said user's home are .qmail and .qmail-default
files saying to put the mail into ./MailDir/
(it needs this indirection because I have no
access to the homes of these users when doing
a normal qmail delivery). The user owns these
files which are mode 0444.

I see qmail reading the info in my switchboard,
but don't see it access the user's home.


I would appreciate it very much if anyone can
spot the problem and tell me...


Best Regards,
--Toni++





Toni Mueller <[EMAIL PROTECTED]> wrote:
> 
> One of my users can't receive mail because qmail has
> problems getting to his home.
[...] 
> I see qmail reading the info in my switchboard,
> but don't see it access the user's home.

What do the qmail logs say?

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




I try to relay my mail to my ISP instead of trying to deliver mail
myself.

When I send mail through Eudora/Outlook, and send it directly to the ISP,
I have no problems delivering the mail.

When I set the smtproutes in qmail to the same ISP address, I get rejected
because of illegal relay.

Anyone know what might be going on? (This is a DSL connection, so both
originator IPs should be the same).  

-- 
John______________________________________________________________________
email: [EMAIL PROTECTED]
icq: thales @ 17755648




John L. Fjellstad <[EMAIL PROTECTED]> wrote:
> I try to relay my mail to my ISP instead of trying to deliver mail
> myself.
> 
> When I send mail through Eudora/Outlook, and send it directly to the ISP,
> I have no problems delivering the mail.
> 
> When I set the smtproutes in qmail to the same ISP address, I get rejected
> because of illegal relay.
> 
> Anyone know what might be going on? (This is a DSL connection, so both
> originator IPs should be the same).  

What is your email address set to in Eudora?  Is that what is being used
for the envelope sender?  What is your qmail installation using for the
envelope sender?  is it possible your ISP is checking the envelope sender
and rejecting the relay if it isn't labelled as being from in their domain?

Try posting the exact error message the server gives you when it "rejects
because of illegal relay".

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Hi


I am using Qmail 1.03 and today i noticed that my
server is attacked by spammers and I got notice from
other servers that my host is put in their BLACK list
for spamming. I have looked in the FAQ but tried to
fix but couldn't make it done. I had to delete all teh
message in /var/qmail/queue. Could anybody help me to
stop these SPAMMING and RELAYING. 


Moreover I would like to control the relay through my
host in following way:


[My host name is myhost.mudomain.com  and domain is
mydomain.com]

1. I need to allow my users ([EMAIL PROTECTED] and
[EMAIL PROTECTED]) send emails to anywhere
through my server. ie my server is a SMTP gateway for
my client-hosts.

2. I need to allow other hosts to send email to my
users. So that my server will receive email from other
servers fr local users and put it in their mailbox.

3. I need to REJECT all the other hosts or mails from
other host NOT addressed to our local users.

4. I need to REJECT all the foreign hosts to use my
hosts use as relay. Ie direct SMTP connection can be
given only to my users or same network 10.0.0.0

Any help is highly appreciated.

Thanks in Advance.

Sally



__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Sally Cheng <[EMAIL PROTECTED]> wrote:
> 
> I am using Qmail 1.03 and today i noticed that my
> server is attacked by spammers and I got notice from
> other servers that my host is put in their BLACK list
> for spamming. I have looked in the FAQ but tried to
> fix but couldn't make it done. I had to delete all teh
> message in /var/qmail/queue. Could anybody help me to
> stop these SPAMMING and RELAYING. 

Did you delete /var/qmail/control/rcpthosts?  Then it's an open relay.  Bad.
 
> Moreover I would like to control the relay through my
> host in following way:
> 
> 
> [My host name is myhost.mudomain.com  and domain is
> mydomain.com]
> 
> 1. I need to allow my users ([EMAIL PROTECTED] and
> [EMAIL PROTECTED]) send emails to anywhere
> through my server. ie my server is a SMTP gateway for
> my client-hosts.
> 
> 2. I need to allow other hosts to send email to my
> users. So that my server will receive email from other
> servers fr local users and put it in their mailbox.
> 
> 3. I need to REJECT all the other hosts or mails from
> other host NOT addressed to our local users.
> 
> 4. I need to REJECT all the foreign hosts to use my
> hosts use as relay. Ie direct SMTP connection can be
> given only to my users or same network 10.0.0.0

Put "mydomain.com" and ".mydomain.com" into /var/qmail/control/rcpthosts.

Use tcpserver to start qmail-smtpd.  Use a tcp.rules file to control access.
Assuming it's in /etc/tcpcontrol/smtp.rules, put the following lines in it:

10.:allow,RELAYCLIENT=""
:allow

Then recompile the .cdb file from this rules file.  Now anyone on your 10.
network should be allowed to relay, and no one else should.  Other hosts will
only be able to hand you mail for machines under the mydomain.com domain.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




On Fri, Jul 07, 2000 at 08:09:44AM -0700, Sally Cheng wrote:


> Moreover I would like to control the relay through my
> host in following way:

http://www.palomine.net/qmail/relaying.html

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
                -- Neal Stephenson




you find basic info about closing your open relay at:
http://cr.yp.to/qmail/faq/servers.html#authorized-relay
and even more info at
http://www.palomine.net/qmail/relaying.html

hope this helps
wolfgang






Sally,

>1. I need to allow my users ([EMAIL PROTECTED] and
>[EMAIL PROTECTED]) send emails to anywhere
>through my server. ie my server is a SMTP gateway for
>my client-hosts.
>
>2. I need to allow other hosts to send email to my
>users. So that my server will receive email from other
>servers fr local users and put it in their mailbox.
>
>3. I need to REJECT all the other hosts or mails from
>other host NOT addressed to our local users.
>
>4. I need to REJECT all the foreign hosts to use my
>hosts use as relay. Ie direct SMTP connection can be
>given only to my users or same network 10.0.0.0

I think your problems are addressed by Qmail's RELAYCLIENT
setting - setting this to null "" for local (your domain's) IP
addresses (using tcpserver to invoke qmail-smtpd). See
Dave Sill's Life with Qmail section 3.2.3, "Allowing Selective
Relaying".

If your users are not all on a fixed set of IP addresses, have
them check their mailbox before trying to send mail
(POP3 before SMTP), and apply the relevant patch from
the Qmail site (www.qmail.org).
 
cheers,

Andrew Richards.






General qmail anti-spam howto that might be useful:

http://www.summersault.com/chris/techno/qmail/qmail-antispam.html

Chris

On Fri, 7 Jul 2000, Sally Cheng wrote:

> Hi
> 
> 
> I am using Qmail 1.03 and today i noticed that my
> server is attacked by spammers and I got notice from
> other servers that my host is put in their BLACK list
> for spamming. I have looked in the FAQ but tried to
> fix but couldn't make it done. I had to delete all teh
> message in /var/qmail/queue. Could anybody help me to
> stop these SPAMMING and RELAYING. 
> 
> 
> Moreover I would like to control the relay through my
> host in following way:
> 
> 
> [My host name is myhost.mudomain.com  and domain is
> mydomain.com]
> 
> 1. I need to allow my users ([EMAIL PROTECTED] and
> [EMAIL PROTECTED]) send emails to anywhere
> through my server. ie my server is a SMTP gateway for
> my client-hosts.
> 
> 2. I need to allow other hosts to send email to my
> users. So that my server will receive email from other
> servers fr local users and put it in their mailbox.
> 
> 3. I need to REJECT all the other hosts or mails from
> other host NOT addressed to our local users.
> 
> 4. I need to REJECT all the foreign hosts to use my
> hosts use as relay. Ie direct SMTP connection can be
> given only to my users or same network 10.0.0.0
> 
> Any help is highly appreciated.
> 
> Thanks in Advance.
> 
> Sally
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 



-- Chris Hardie -----------------------------
----- mailto:[EMAIL PROTECTED] ----------
-------- http://www.summersault.com/chris/ --





You need to get the QMAILQUEUE patch and make sure you have something like
this in the shell that starts qmail.
QMAILQUEUE="/var/qmail/bin/antivirus-qmail-queue.pl" export QMAILQUEUE

The Enviromental setting will picked up by qmail and run this program
instead. Which is the virus scanner. The virus scanner will check it and
then send it back along its way.


--

Jason Murphy
Web Developer and Systems and Database Administrator

E-mail: [EMAIL PROTECTED]
URL: http://www.lawinfo.com
--------------------------------------------------------------
Lawinfo.com - Legal Industry Marketing for the 21st Century
Phone: 800-397-3743                         Fax: 800-220-4546
--------------------------------------------------------------
----- Original Message -----
From: "Kimmo Bergh�ll" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 12:19 AM
Subject: scan4virus


> Hello,
>
> How do I exactly modify /etc/rc.d/init.d/qmail to use scan4virus?
>
> Kimmo Bergh�ll
> [EMAIL PROTECTED]
>






Kittiwat,

You've probably still got qpopper running from inetd (Start looking
in /etc/inetd.conf on your system). This needs to be disabled, and
to replace it, use qmail-pop3d. vpopmail may have already set
this up for you (I don't know vpopmail), but have been unable to
bind to the POP3 port because qpopper was already using it. So
try,
  1. Disable qpopper. HUP inetd to make the change effective.
See if the system now works. If not,
  2. Reboot system (so all startup scripts get read, e.g. starting
      tcpserver to invoke qmail-pop3d)
And see what's happening for POP3. If nothing's happening,
  3. You'll need to get a handle on setting up qmail-pop3d with
      vpopmail.

cheers,

Andrew.

----------
From:   [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
Sent:   05 July 2000 09:45
To:     [EMAIL PROTECTED]
Subject:        cannot authenticate

Hi there:

I'm not sure if this list is the right place, or I should post it to
vpopmail list.  But please help.
---
I'm new to qmail, but have installed it according to the INSTALL file, and
faq.  I also installed vpopmail.  Problem is when I tested the system the
delivery works fine.  All mails go to the right path in each virtual domain
Maildir.  But when I tried to pop in to get mail from a virtual domain that
I put in place, using outlook express, I couldn't authenticate.  The log
mesg says:

Jul  5 10:25:35 myhost in.qpopper[972]: webmaster%mydomain.com at
bkk7a-102.dial56k.cscoms.com (202.183.197.102): -ERR [AUTH] Password
supplied for "webmaster%mydomain.com" is incorrect.

The password is correct, but look like qpopper is doing the job, instead of
qmail or vpopmail.  I couldn't find the document on this, so any help would
be really appreciated.

Thanks
kittiwat








[EMAIL PROTECTED] writes:
> there is more than 25000 mail left on our mail queque, how can i
> remove them (only for one spec.  user), there is some important mail
> (from other users) among them.

Wait a week, and qmail will give up on those messages.


paul




Mirko Koenig writes:
> i worte at least two messages to [EMAIL PROTECTED]
> but i recieve messages again and again.
> how can i unsubscribe the list?

Look for Return-Path: in the header of the messages you get from the
list.  Mine looks like this:
    Return-Path: <[EMAIL PROTECTED]>
You'll see qmail-return-<number>-, followed by the address you used to
subscribe to the list.  Let's refer to this address as `user@host'.
(It will appear as `user=host' in the Return-Path.)  Now send a
message to [EMAIL PROTECTED], and then follow
the directions in the response message.  If you send only the first
message, nothing will happen; you need to send a second message, as
will be explained in the response to the first message.


paul







I did this secondary reply to my unsubscribe over 2 days ago and I still receive
posts to the list.  The response to the unsubscribe message directed me to send
a message to:
 [EMAIL PROTECTED]

The response to that message was:
==============================
Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: The address

   [EMAIL PROTECTED]

is not on this mailing list.

Am I not following the directions correctly?



|--------+----------------------->
|        |          Paul Jarc    |
|        |          <[EMAIL PROTECTED]|
|        |          edu>         |
|        |                       |
|        |          07/07/2000   |
|        |          09:35 AM     |
|        |                       |
|--------+----------------------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  |       To:     [EMAIL PROTECTED]                                     |
  |       cc:     (bcc: Tim Clifton/LA/Candle)                            |
  |       Subject:     Re: OT: can't unsubscribe                          |
  >-----------------------------------------------------------------------|





Mirko Koenig writes:
> i worte at least two messages to [EMAIL PROTECTED]
> but i recieve messages again and again.
> how can i unsubscribe the list?

Look for Return-Path: in the header of the messages you get from the
list.  Mine looks like this:
    Return-Path: <[EMAIL PROTECTED]>
You'll see qmail-return-<number>-, followed by the address you used to
subscribe to the list.  Let's refer to this address as `user@host'.
(It will appear as `user=host' in the Return-Path.)  Now send a
message to [EMAIL PROTECTED], and then follow
the directions in the response message.  If you send only the first
message, nothing will happen; you need to send a second message, as
will be explained in the response to the first message.


paul







[EMAIL PROTECTED] writes:
> Acknowledgment: The address
> 
>    [EMAIL PROTECTED]
> 
> is not on this mailing list.

This is telling you that [EMAIL PROTECTED] wasn't subscribed to
begin with.  (The text would be different if ezmlm had removed the
address from the list.)  Apparently, you're subscribed with a
different address, which is probably then forwarding to
[EMAIL PROTECTED]  To find the address that you're subscribed
with, look for Return-Path: in the header of this message.


paul




I have the same problem.  I did this over two weeks ago and I am still
getting messages.  Can someone make the bad list stop!!! :)

Brian

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 11:55 AM
To: Paul Jarc
Cc: [EMAIL PROTECTED]
Subject: Re: OT: can't unsubscribe





I did this secondary reply to my unsubscribe over 2 days ago and I still
receive
posts to the list.  The response to the unsubscribe message directed me to
send
a message to:
 
[EMAIL PROTECTED]

The response to that message was:
==============================
Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

Acknowledgment: The address

   [EMAIL PROTECTED]

is not on this mailing list.

Am I not following the directions correctly?



|--------+----------------------->
|        |          Paul Jarc    |
|        |          <[EMAIL PROTECTED]|
|        |          edu>         |
|        |                       |
|        |          07/07/2000   |
|        |          09:35 AM     |
|        |                       |
|--------+----------------------->
  >-----------------------------------------------------------------------|
  |                                                                       |
  |       To:     [EMAIL PROTECTED]                                     |
  |       cc:     (bcc: Tim Clifton/LA/Candle)                            |
  |       Subject:     Re: OT: can't unsubscribe                          |
  >-----------------------------------------------------------------------|





Mirko Koenig writes:
> i worte at least two messages to [EMAIL PROTECTED]
> but i recieve messages again and again.
> how can i unsubscribe the list?

Look for Return-Path: in the header of the messages you get from the
list.  Mine looks like this:
    Return-Path: <[EMAIL PROTECTED]>
You'll see qmail-return-<number>-, followed by the address you used to
subscribe to the list.  Let's refer to this address as `user@host'.
(It will appear as `user=host' in the Return-Path.)  Now send a
message to [EMAIL PROTECTED], and then follow
the directions in the response message.  If you send only the first
message, nothing will happen; you need to send a second message, as
will be explained in the response to the first message.


paul






I notice all of these people have uppercase letters in 
their usernames.  Could this be related?

Eric


"Hand, Brian C." wrote:
> 
> I have the same problem.  I did this over two weeks ago and I am still
> getting messages.  Can someone make the bad list stop!!! :)
> 
> Brian
> 
[snip.]




[EMAIL PROTECTED] wrote:

>Still having the service lock problem -- thanks Dave, I've followed 
>your suggestions here:
>
>>The general approach to fixing this problem is:
>>
>> 1) Stop all qmail-related processes including svscan, supervises,
>>     anything running as a "qmail" user, qmail-send, multilogs,
>>     etc. *Everything*.
>  
>ps -a shows no qmail related services running prior to sending the 
>start command. If I let the error loop in one term window I see 
>svscan and TWO service entries (with one or both <defunct> 
>depending on how quickly I run ps). I looked for clues as to the 
>origin of the two instances, but couldn't find anything obvious.

You mean "supervise"? You should see four: one each for qmail-send,
qmail-smtpd, and two for "log"--the logs associated with them.

>> 2) Double check directory names/owners/groups/modes and the 
>> contents of "run" scripts against LWQ. Check for extraneous 
>>ampersands (&) at the ends of lines.
>
>I have probably messed this up from standard... I recursively set 
>ownership of /var/qmail/supervise and its subdirectories to 
>qmaill.nofiles. The directories I opened up to 777. I reran the chmod 
>commands in LWQ on the run files in those directories setting 
>them to 755. I have no idea whether these changes would make 
>my problem worse, but the results have not changed...

Post the output of the following:

  ls -lR /var/qmail/supervise
  cat /var/qmail/supervise/*/run
  cat /var/qmail/supervise/*/log/run

-Dave




> [EMAIL PROTECTED] wrote:
> 
> >Still having the service lock problem -- thanks Dave, I've followed your
> >suggestions here:

> You mean "supervise"? You should see four: one each for qmail-send,
> qmail-smtpd, and two for "log"--the logs associated with them.

Yes "supervise" - Only two entries, both <defunct>.

> Post the output of the following:
> 
>   ls -lR /var/qmail/supervise

/var/qmail/supervise:
total 8
drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-send
drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-smtpd

/var/qmail/supervise/qmail-send:
total 12
drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
-rwxr-xr-x    1 qmaill   nofiles        29 Jul  2 23:20 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise

/var/qmail/supervise/qmail-send/log:
total 8
-rwxr-xr-x    1 qmaill   nofiles        88 Jul  5 21:51 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise

/var/qmail/supervise/qmail-send/log/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status

/var/qmail/supervise/qmail-send/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  4 18:46 lock
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock.old
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 root     root           18 Jul  7 10:08 status

/var/qmail/supervise/qmail-smtpd:
total 12
drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
-rwxr-xr-x    1 qmaill   nofiles       230 Jul  6 14:08 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise

/var/qmail/supervise/qmail-smtpd/log:
total 8
-rwxr-xr-x    1 qmaill   nofiles        94 Jul  5 21:52 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise

/var/qmail/supervise/qmail-smtpd/log/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status

/var/qmail/supervise/qmail-smtpd/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 root     root           18 Jul  7 10:08 status


>   cat /var/qmail/supervise/*/run

#!/bin/sh
exec /var/qmail/rc
#!/bin/sh
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1


>   cat /var/qmail/supervise/*/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd

Here they are. Thanks for the help.

J!M




[EMAIL PROTECTED] wrote:

>/var/qmail/supervise:
>total 8
>drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-send
>drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-smtpd
>
>/var/qmail/supervise/qmail-send:
>total 12
>drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
>-rwxr-xr-x    1 qmaill   nofiles        29 Jul  2 23:20 run
>drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise
>
>/var/qmail/supervise/qmail-send/log:
>total 8
>-rwxr-xr-x    1 qmaill   nofiles        88 Jul  5 21:51 run
>drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise
>
>/var/qmail/supervise/qmail-send/log/supervise:
>total 4
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
>-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
>-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status
>
>/var/qmail/supervise/qmail-send/supervise:
>total 4
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
>-rwxrwxrwx    1 qmaill   nofiles         0 Jul  4 18:46 lock
>-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock.old
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
>-rw-r--r--    1 root     root           18 Jul  7 10:08 status
>
>/var/qmail/supervise/qmail-smtpd:
>total 12
>drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
>-rwxr-xr-x    1 qmaill   nofiles       230 Jul  6 14:08 run
>drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise
>
>/var/qmail/supervise/qmail-smtpd/log:
>total 8
>-rwxr-xr-x    1 qmaill   nofiles        94 Jul  5 21:52 run
>drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise
>
>/var/qmail/supervise/qmail-smtpd/log/supervise:
>total 4
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
>-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
>-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status
>
>/var/qmail/supervise/qmail-smtpd/supervise:
>total 4
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
>-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
>prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
>-rw-r--r--    1 root     root           18 Jul  7 10:08 status

Owners/groups/modes are a mess, but I don't think that's your
problem. Kill off all the processes, then do:

  rm -r /var/qmail/supervise/*/supervise
  rm -r /var/qmail/supervise/*/log/supervise
  chown -R root:qmail /var/qmail/supervise
  chmod -R go-w /var/qmail/supervise

Then run "qmail start" again. Everything else looks OK.

If that fails, post the output of:

  ps -ef|egrep 'qmail|supervise|sv|log'
  qmail stat

Before you clean anything up.

-Dave




I think we've almost got it golden...

Dave Sill Wrote:
> 
> Owners/groups/modes are a mess, but I don't think that's your
> problem. Kill off all the processes, then do:
> 
>   rm -r /var/qmail/supervise/*/supervise
>   rm -r /var/qmail/supervise/*/log/supervise
>   chown -R root:qmail /var/qmail/supervise
>   chmod -R go-w /var/qmail/supervise
> 
> Then run "qmail start" again. Everything else looks OK.
> 

This is what happens when I start qmail. I get the rc error, and wait 
for a prompt to come back. Hitting enter gives back prompt. Are we 
close? 

[root@samurai /root]# /usr/local/sbin/qmail start
Starting qmail: svscan.
[root@samurai /root]# /var/qmail/rc: default: command not found
tcpserver: status: 0/40
status: local 0/10 remote 0/20

[root@samurai /root]#

Thanks,
J!M
> If that fails, post the output of:
> 
>   ps -ef|egrep 'qmail|supervise|sv|log'
>   qmail stat
> 
> Before you clean anything up.
> 
> -Dave
> 
> 






J!M writes:
> [root@samurai /root]# /var/qmail/rc: default: command not found

What does your /var/qmail/rc look like?


paul




[EMAIL PROTECTED] wrote:

>[root@samurai /root]# /var/qmail/rc: default: command not found

Oops, you never mentioned that little detail. :-) Your rc script is
wrong.

-Dave





Hi !
I installed newest qmail with rpm installation / (redhat6.2), and tried to
send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
and log doesnt say anything, anybody can help me ?

-simo lakka
[EMAIL PROTECTED]






Hi !
I installed newest qmail with rpm installation / (redhat6.2), and tried to
send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
and log doesnt say anything, anybody can help me ?

-simo lakka
[EMAIL PROTECTED]






Hi !
I installed newest qmail with rpm installation / (redhat6.2), and tried to
send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
and log doesnt say anything, anybody can help me ?

-simo lakka
[EMAIL PROTECTED]





On Fri, Jul 07, 2000 at 08:50:01PM +0300, Simo Lakka wrote:
> 
> Hi !
> I installed newest qmail with rpm installation / (redhat6.2), and tried to
> send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
> and log doesnt say anything, anybody can help me ?

No, not with the info you provided (the message was sent to the list 3 times
once is enough :) )

What's the content of your /var/qmail/rc file
Which log are you looking at
Did you follow INSTALL.* and/or lwq
 
> -simo lakka

Greetz,
 Steffan 

-- 
http://therookie.dyndns.org







On Fri, 7 Jul 2000, Steffan Hoeke wrote:

> On Fri, Jul 07, 2000 at 08:50:01PM +0300, Simo Lakka wrote:
> > 
> > Hi !
> > I installed newest qmail with rpm installation / (redhat6.2), and tried to
> > send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
> > and log doesnt say anything, anybody can help me ?
> 
> No, not with the info you provided (the message was sent to the list 3 times
> once is enough :) )
> 
> What's the content of your /var/qmail/rc file
> Which log are you looking at
> Did you follow INSTALL.* and/or lwq
>  
> > -simo lakka
> 
> Greetz,
>  Steffan 
> 
> -- 
> http://therookie.dyndns.org
> 
> 

i installed again with tarball installation .. and rc :
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail

and i  followed install docs .. i think :)

- simo lakka





No wonder you can't find anything in your /Maildir/ .....
qmail is delivering to an mbox file called Mailbox
you should try:
* looking at $HOME/Mailbox with a MUA supporting mbox 
* changing ./Mailbox to ./Maildir/ and creating the user's maildir with
  maildirmake 

BTW: what do you mean with "there's nothing in the logs" ?
     If you followed INSTALL.* the logfile to look at is 
     /var/log/maillog ....
    What does it contain ?
HTH,
 Steffan
On Sat, Jul 08, 2000 at 12:06:18AM +0300, Simo Lakka wrote:
> 
> 
> On Fri, 7 Jul 2000, Steffan Hoeke wrote:
> 
> > On Fri, Jul 07, 2000 at 08:50:01PM +0300, Simo Lakka wrote:
> > > 
> > > Hi !
> > > I installed newest qmail with rpm installation / (redhat6.2), and tried to
> > > send a mail to me with pine, i didnt get that mail.. nothing in /Maildir
> > > and log doesnt say anything, anybody can help me ?
> > 
> > No, not with the info you provided (the message was sent to the list 3 times
> > once is enough :) )
> > 
> > What's the content of your /var/qmail/rc file
> > Which log are you looking at
> > Did you follow INSTALL.* and/or lwq
> >  
> > > -simo lakka
> > 
> > Greetz,
> >  Steffan 
> > 
> > -- 
> > http://therookie.dyndns.org
> > 
> > 
> 
> i installed again with tarball installation .. and rc :
> #!/bin/sh
> 
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail
> 
> and i  followed install docs .. i think :)
> 
> - simo lakka
> 

-- 
http://therookie.dyndns.org







Hi !

now my maillog shows:
Jul  8 09:29:35 moon qmail: 963062975.134660 alert: cannot start: unable
to read controls


On Fri, 7 Jul 2000, Steffan Hoeke wrote:

> No wonder you can't find anything in your /Maildir/ .....
> qmail is delivering to an mbox file called Mailbox
> you should try:
> * looking at $HOME/Mailbox with a MUA supporting mbox 
> * changing ./Mailbox to ./Maildir/ and creating the user's maildir with
>   maildirmake 
> 
> BTW: what do you mean with "there's nothing in the logs" ?
>      If you followed INSTALL.* the logfile to look at is 
>      /var/log/maillog ....
>     What does it contain ?
> HTH,
>  Steffan
 








whoops

i fixed that.. didnt remember ./config-fast .. butbut log shows this when
i send a new mail (echo to: root | /var/qmail/bin/qmail-inject):
Jul  8 09:48:05 moon qmail: 963064085.224954 new msg 64244
Jul  8 09:48:05 moon qmail: 963064085.225226 info msg 64244: bytes 207 from 
<[EMAIL PROTECTED]> qp 2714 uid 0
Jul  8 09:48:05 moon qmail: 963064085.232999 starting delivery 8: msg 64244 to to 
local [EMAIL PROTECTED]
Jul  8 09:48:05 moon qmail: 963064085.233182 status: local 1/10 remote 0/20
Jul  8 09:48:05 moon qmail: 963064085.249548 delivery 8: success: did_1+0+0/
Jul  8 09:48:05 moon qmail: 963064085.249724 status: local 0/10 remote 0/20
Jul  8 09:48:05 moon qmail: 963064085.249808 end msg 64244

but Mailbox is still empty :/

> 
> 
> Hi !
> 
> now my maillog shows:
> Jul  8 09:29:35 moon qmail: 963062975.134660 alert: cannot start: unable
> to read controls
> 
> 
> On Fri, 7 Jul 2000, Steffan Hoeke wrote:
> 
> > No wonder you can't find anything in your /Maildir/ .....
> > qmail is delivering to an mbox file called Mailbox
> > you should try:
> > * looking at $HOME/Mailbox with a MUA supporting mbox 
> > * changing ./Mailbox to ./Maildir/ and creating the user's maildir with
> >   maildirmake 
> > 
> > BTW: what do you mean with "there's nothing in the logs" ?
> >      If you followed INSTALL.* the logfile to look at is 
> >      /var/log/maillog ....
> >     What does it contain ?
> > HTH,
> >  Steffan
> > 
> 
> 





What's the contents of /var/qmail/alias/.qmail-root ?
Have you tried looking at /var/qmail/alias/Maildir ?

qmail won't deliver to the system-user root, to prevent possible exploits.
This can be solved with a .qmail-root file containing
&[other username to forward to]

HTH,
 Steffan
On Sat, Jul 08, 2000 at 09:53:09AM +0300, Simo Lakka wrote:
> 
> 
> whoops
> 
> i fixed that.. didnt remember ./config-fast .. butbut log shows this when
> i send a new mail (echo to: root | /var/qmail/bin/qmail-inject):
> Jul  8 09:48:05 moon qmail: 963064085.224954 new msg 64244
> Jul  8 09:48:05 moon qmail: 963064085.225226 info msg 64244: bytes 207 from 
><[EMAIL PROTECTED]> qp 2714 uid 0
> Jul  8 09:48:05 moon qmail: 963064085.232999 starting delivery 8: msg 64244 to to 
>local [EMAIL PROTECTED]
> Jul  8 09:48:05 moon qmail: 963064085.233182 status: local 1/10 remote 0/20
> Jul  8 09:48:05 moon qmail: 963064085.249548 delivery 8: success: did_1+0+0/
> Jul  8 09:48:05 moon qmail: 963064085.249724 status: local 0/10 remote 0/20
> Jul  8 09:48:05 moon qmail: 963064085.249808 end msg 64244
> 
> but Mailbox is still empty :/

-- 
http://therookie.dyndns.org






Hi...

i fixed that qmail-root, and all the msgs was in /var/qmail/alias/Mailbox
but now it says:

Jul  8 10:46:31 moon qmail: 963067591.956793 delivery 24: deferral: 
Unable_to_open_./Mailbox:_is_a_directory._(#4.2.1)/

and rc is:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox splogger qmail

- Simo Lakka

On Sat, 8 Jul 2000, Steffan Hoeke wrote:

> What's the contents of /var/qmail/alias/.qmail-root ?
> Have you tried looking at /var/qmail/alias/Maildir ?
> 
> qmail won't deliver to the system-user root, to prevent possible exploits.
> This can be solved with a .qmail-root file containing
> &[other username to forward to]
> 
> HTH,
>  Steffan






On Sat, Jul 08, 2000 at 10:49:25AM +0300, Simo Lakka wrote:
> 
> Hi...
> 
> i fixed that qmail-root, and all the msgs was in /var/qmail/alias/Mailbox
> but now it says:
> 
> Jul  8 10:46:31 moon qmail: 963067591.956793 delivery 24: deferral: 
>Unable_to_open_./Mailbox:_is_a_directory._(#4.2.1)/

The log message is rather self explanatory.
qmail is trying to deliver to a mbox type file called Mailbox, but there's 
a directory called Mailbox in the user's $HOME.
remove that directory and all should be well.....
 
> and rc is:
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail

> - Simo Lakka 
HTH,
 Steffan
-- 
http://therookie.dyndns.org




Hi folks.
 
While on my glorious journey to work today, I thought about all of the domains I host on my machines. Is there any way to cap the bandwidth used by them ? In order for fairness, let's say if one person is trying to send a large file, and another person is doing the same at that same time, so that one doesn't get stuck with 1k/sec. Is this possible ? Please give me some input. Thanks.
 
-Abe




I'm launching tcpserver for my POP service from /var/qmail/rc, which looks
like this:

-------

#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail &

# Starts up qmail-smtpd
# Currently no logging.  Will be fixed.

/usr/local/bin/tcpserver -R -q -p -x /etc/smtprules/tcp.smtp.cdb -u79 -g1003 0 smtp \
     /var/qmail/bin/qmail-smtpd  2>&1 &

# Starts up POP3 server

/usr/local/bin/tcpserver -q -R -u79 -g1003 0 pop3 \
     /var/qmail/bin/qmail-popup amazhan.bitstream.net \
     /var/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

-------

The odd thing is that I frequently end up with two tcpserver processes
for POP3, both with identical command lines.  As you can see, I am not
running svscan or any of the daemontools...

Any ideas?

Ben

-- 
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
                -- Neal Stephenson




Greetings.

I have looked at the qmail_bounce package, and am somewhat dissatisfied
with it.  The logic is excessively convoluted (I want a single response
after a set time, etc.), several easily determined constants are
hard-coded into the program (the queue lifetime, control/me, others),
and it can't tell why the message was delayed.  It's also written in
Perl and requires several supporting Perl files whose path must also be
hard-coded into the program.  Once simplified somewhat, this program
could just as easily be written in C.

So, I want to write a new one.  Ideally, I would like seomthing that
will respond to the sender once, after the message has been in the queue
for at least a configurable time interval.  The notification message
should detail all the recipients that have not received the message, and
preferably a message indicating why delivery has been deferred.  It may
also limit notifications to senders in rcpthosts, for servers that
function as gateways.  The notification should contain at least part of
the original message to help the sender remember what was sent.

I am looking at three possible approaches for data gathering:

1. Use the same approach that qmail_bounce uses -- scan the qmail queue
files for "old" files.  Pros: simple, and gives me the sender and
recipient and message times.  Cons: still gives no indication about why
the message bounced, and must be run in a cron job.

2. Run as a front-end for qmail-local and (especially) qmail-remote.
Pros: reading the response from the preceding programs tells exactly why
the bounce happened and when, and the message content is available on
standard input.  Cons: this requires renaming the preceding two programs
to new names and hard-coding their new paths (a nuisance for package
management systems like RPM, and makes aggregation of notifications
difficult.

3. Run as a reader of the qmail log file, potentially using a multi-file
reader to keep tracking when multilog's "current" file changes.  Pros:
the complete state of each message is known at all points, and once this
state is built, timing and aggregation are simple.  Cons: parsing the
logs could be expensive; starting the process in mid-stream results in
missing information; reading the original message requires either
knowledge of queue-split and the hash algorithm or a linear scan of the
queue directories.

Do I have any other options?  Are there any other issues that I haven't
considered?
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature





Hi,

I have a Linux Red Hat 6.2 + qmail 1.03 + ezmlm 0.53 +
autorespond 1.0 + vpopmail 3.4.11-2 + qmailadmin-0.26e.

Then, I would like to allow all the users to access the homepage
from qmailadmin to change these passwords.

However, for ALL OTHER USERS (not administrator user),
qmailadmin arises an exception like this:

===========================================
no file

Only one person can log in as postmaster at one time
Someone else has logged in. Please only have one login at a time.
===========================================

The code is into page: http://www.fes.br/cgi-bin/qmailadmin
Username (Usuario): teste
Password (Senha): fes

When you click into "Change Password" button, the exception occurs.
begin:vcard 
n:Alves;Edilmar
tel;fax:+55(67)741-4530
tel;work:+55(67)741-8811
x-mozilla-html:FALSE
url:http://www.fes.br/
org:Faculdade Est�cio de S�;Coordena��o de TPD
version:2.1
email;internet:[EMAIL PROTECTED]
title:Edilmar Alves
adr;quoted-printable:;;Rua Ven=E2ncio Borges do Nascimento, 377=0D=0AJardim TV Morena;Campo Grande;MS;79052-140;Brasil
end:vcard




Hi,

What's the optimal solution for dial up connections (ppp and
dynamicaly asssigned ip address)?

A) The "Mail queue with qmail" configuration from Doug L. Vander
   Woude? [1] It works well here, but how is it possible to send
   online typed messages immidiately? The default configuration only
   allows to send queued messages at the beginning of the ppp
   session.

or


B) The "Qmail Holdremote Patch" [2]. But does it work for dynamicaly asssigned
   ip address?


Or  are there suggestions for alternative solutions?




Greetings,
                Mark Weinem

Footnotes: 
[1] http://www.i2k.net/~dougvw/mailqueue.html

[2] http://www.warren.demon.co.uk/qmail.html





On Sat, Jul 08, 2000 at 06:25:22AM +0200, Mark Weinem wrote:
> Hi,
> 
> What's the optimal solution for dial up connections (ppp and
> dynamicaly asssigned ip address)?
> 
> A) The "Mail queue with qmail" configuration from Doug L. Vander
>    Woude? [1] It works well here, but how is it possible to send
>    online typed messages immidiately? The default configuration only
>    allows to send queued messages at the beginning of the ppp
>    session.
> 
> or
> 
> 
> B) The "Qmail Holdremote Patch" [2]. But does it work for dynamicaly asssigned
>    ip address?
> 
> 
> Or  are there suggestions for alternative solutions?

Yes, have your e-mail hosted at a provider with a permanent connection.

--Adam




Dave, et al,

Thanks for the help. I let a linebreak get into my shell script. I've 
spent so much time in GUI-land that I still get stuck in the muck 
sometimes.

After fixing that, and doing a qmail restart, I checked my running 
services. I have the following qmail related in my list:
svscan
supervise
supervise
qmail-send
qmail-lspawn
qmail-rspawn
qmail-clean
tcpserver

In an earlier message, Dave suggested that I should see four 
'supervise' entries... is all correct in the above?

Thanks,
J!M


J!M


> [EMAIL PROTECTED] wrote:
> 
> >[root@samurai /root]# /var/qmail/rc: default: command not found
> 
> Oops, you never mentioned that little detail. :-) Your rc script is
> wrong.
> 
> -Dave
> 
> 




Reply via email to