qmail Digest 5 Feb 2001 11:00:01 -0000 Issue 1266

Topics (messages 56608 through 56671):

Re: qmail.org down?
        56608 by: Antonio Dias

Re: retr problem
        56609 by: Andrew Richards

Re: qmail with qmail-ldap patch ?
        56610 by: Henning Brauer

How can I delete mail from queue in qmail?
        56611 by: bc201.21cn.com
        56622 by: Olivier M.

Re: bind qmail-smtp to one IP-adress
        56612 by: Ricardo Cerqueira
        56617 by: Greg Cope

High MEM Usage??
        56613 by: Sumith Ail
        56614 by: Sumith Ail
        56615 by: Sumith Ail
        56616 by: Sumith Ail
        56618 by: Brett Randall
        56619 by: Mark Delany
        56620 by: Mark Delany
        56643 by: Stefaan A Eeckels

Which is better - tcpserver running as root or checkpassword setuid root?
        56621 by: Mark Delany
        56627 by: Claudio Nieder
        56629 by: Mark Delany

getting "qmail-spawn unable to create pipe. (#4.3.0)/" on solaris. HELP.
        56623 by: Ian Matyssik
        56625 by: Charles Cazabon
        56649 by: Ian Matyssik

Re: How do I keep a copy of all incoming and outgoing mail messages?
        56624 by: Charles Cazabon

Outbound sending..
        56626 by: mbailey.journey.net
        56628 by: mbailey.journey.net
        56636 by: Alexander Jernejcic

Migrating from sendmail to qmail... help
        56630 by: Ross Burton
        56637 by: Clemens Hermann

amavis and qmail
        56631 by: Bill Parker
        56635 by: Rainer Link

newline in bouncesaying?
        56632 by: Wolfgang Zeikat
        56644 by: Uwe Ohse

How can I delete all unsended mails in "/var/qmail/queue"?
        56633 by: bc201.21cn.com
        56634 by: Mark Delany

posted on amavis, but wanted more info
        56638 by: Bill Parker

Re: Bogus Popularity claims (sendmail.org's reply)
        56639 by: richard.illuin.org
        56640 by: Scott D. Yelich
        56642 by: Stefaan A Eeckels
        56647 by: Felix von Leitner

Disposition-Notification-To
        56641 by: Sashka

Qmail and Exchange
        56645 by: NDSoftware

Re: failure notice
        56646 by: NDSoftware

re : user Masq
        56648 by: Nick

Qmail on FreeBSD 4.2-STABLE
        56650 by: Bruce Dang
        56651 by: Chris Johnson
        56653 by: Mark Delany
        56654 by: Bruce Dang
        56655 by: Lincoln Yeoh
        56656 by: Mark Delany
        56657 by: Gerry Boudreaux
        56658 by: Laurence Brockman
        56663 by: Clemens Hermann
        56671 by: Martijn Koster

How does SVSCAN work ?
        56652 by: dennis
        56666 by: Andy Bradford
        56670 by: Mike Jackson

Re: bouncesaying and maildrop
        56659 by: Uwe Ohse
        56664 by: David Benfell
        56669 by: Felix von Leitner

Delay in POP and SMTP response
        56660 by: Jagadish.N
        56662 by: Uwe Ohse
        56667 by: Rob Mayoff

Re: What is the matter?
        56661 by: Uwe Ohse
        56665 by: lyndon

Autorespond.....
        56668 by: Mok Yii Chek

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]


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


Matthew,

On Sun, 4 Feb 2001, Matthew Hunter wrote:
> www.qmail.org is refusing my connections to port 80.
> I *was* planning to set up a qmail server this weekend
> with some of the patches on that site.  Since it seems to be
> down, does anyone know why?  And, ideally, know where a working
> mirror is?

You can try Brazilian qmail.org mirror pointing your browser at
<http://qmail.sst.com.br>. No very fast but allways updated.

Antonio Dias





Hi Pratibha,

> i have faced a problem regarding retreival of mails from mail browsers..
> ....the problem is that the mails in my 'new' folder are automatically
> transfered to 'cur' folder and the message id gets attached with ":2,".
> and it gets appended again and again. the mails are readable using
> cat but not downloadable from mail browsers......

The "Problem" you describe is actually part of the Maildir standard -
the ":2," is added on line 192 of qmail-pop3d.c, after a POP3 QUIT, as
messages are moved from Maildir/new to Maildir/cur; the meaning of
":2," is detailed at,
   http://cr.yp.to/proto/maildir.html

Importantly, however, this has no effect on the UIDL given by qmail-pop3d,
which deletes the trailing ":2," (it uses the rest of the message's filename
as the UIDL).

So to your original question - it's not clear from this what you mean by
"mail browser" - more details will help people on this list to understand
the issue, and increase the likelyhood of your getting a solution to
your problem.

cheers,

Andrew.

----------
From:   pratibha[SMTP:[EMAIL PROTECTED]]
Sent:   01 February 2001 12:01
To:     [EMAIL PROTECTED]
Subject:        retr problem

<<File: ATT00000.txt>>
dear all,

i have faced a problem regarding retreival of mails from mail browsers..
....the problem is that the mails in my 'new' folder are automatically
transfered to 'cur' folder and the message id gets attached with ":2,". and it
gets appended again and again. the mails are readable using cat but not
downloadable from mail browsers......


the mails are maintained in linux system redhat 5.2......


i have totally no idea what could be wrong.....


your suggestions are highly appreciated. 

thanks in advace

regards,

pratibha











On Thu, Feb 01, 2001 at 10:20:25AM -0500, Dave Sill wrote:
> >I am wondering if there is a qmail with the
> >qmail-ldap patch already applied. 
> Perhaps, but if you can't handle applying the patch, you're definitely 
> not ready for qmail-ldap.

Right. And we all are aware of Dan's licensing, so this is impossible.
prashant already pointed you to the documentation.

> -Dave
> 

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany




If there are a lot of mails in queue of qmail , how can I delete mails from queue 
securely? Thanks!

----------------------------------------------
��ӭʹ�� 21CN �����ʼ�ϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system





On Sun, Feb 04, 2001 at 10:01:18PM +0800, [EMAIL PROTECTED] wrote:
> If there are a lot of mails in queue of qmail , how can I delete mails from queue 
>securely? Thanks!

I would use qmHandle
http://www.io.com/~mick/soft/qmhandle.html

Regards,
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch




On Sat, Feb 03, 2001 at 12:28:54PM +0000, Greg Cope wrote:
> tcpserver [ opts ] host port prog
> 
> Port being an IP address (or 0 for all) to bind to.


Ert? Almost there. "Host being the address blablabla" is more accurate.

RC

-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis Telecom  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459

PGP signature





Ricardo Cerqueira wrote:
> 
> On Sat, Feb 03, 2001 at 12:28:54PM +0000, Greg Cope wrote:
> > tcpserver [ opts ] host port prog
> >
> > Port being an IP address (or 0 for all) to bind to.
> 
> Ert? Almost there. "Host being the address blablabla" is more accurate.
>

Thanks for the correction.

Whops, reading that again I am totaly wrong !

Appologies if I mislead anyone.

Greg
 
> RC
> 
> --
> +-------------------
> | Ricardo Cerqueira
> | PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
> | Novis Telecom  -  Engenharia ISP / Rede Técnica
> | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
> | Tel: +351 2 1010 0000 - Fax: +351 2 1010 4459
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature




Hello,
 
We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 Box. I have installed qmail on this with tcpserver, Now the meminfo shows
cat /proc/meminfo
 
        total:    used:    free:  shared: buffers:  cached:
Mem:  529530880 364380160 165150720 72847360 300982272 24657920
Swap: 1048551424        0 1048551424
MemTotal:    517120 kB
MemFree:     161280 kB
MemShared:    71140 kB
Buffers:     293928 kB
Cached:       24080 kB
BigTotal:         0 kB
BigFree:          0 kB
SwapTotal:  1023976 kB
SwapFree:   1023976 kB                 
 
There is hardly anybody using this server...please let me know how can I find out which process is using so much of memory.
 
Kind Regards
Sumith




Hello,

We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 
Box. I have installed qmail on this with tcpserver, Now the meminfo shows
cat /proc/meminfo

        total:    used:    free:  shared: buffers:  cached:
Mem:  529530880 364380160 165150720 72847360 300982272 24657920
Swap: 1048551424        0 1048551424
MemTotal:    517120 kB
MemFree:     161280 kB
MemShared:    71140 kB
Buffers:     293928 kB
Cached:       24080 kB
BigTotal:         0 kB
BigFree:          0 kB
SwapTotal:  1023976 kB
SwapFree:   1023976 kB                  

There is hardly anybody using this server...please let me know how can I find out 
which process is using so much of memory.

Kind Regards
Sumith





Hello,

We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 
Box. I have installed qmail on this with tcpserver, Now the meminfo shows
cat /proc/meminfo

        total:    used:    free:  shared: buffers:  cached:
Mem:  529530880 364380160 165150720 72847360 300982272 24657920
Swap: 1048551424        0 1048551424
MemTotal:    517120 kB
MemFree:     161280 kB
MemShared:    71140 kB
Buffers:     293928 kB
Cached:       24080 kB
BigTotal:         0 kB
BigFree:          0 kB
SwapTotal:  1023976 kB
SwapFree:   1023976 kB                  

There is hardly anybody using this server...please let me know how can I find out 
which process is using so much of memory.

Kind Regards
Sumith





Hello,

We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 
Box. I have installed qmail on this with tcpserver, Now the meminfo shows
cat /proc/meminfo

        total:    used:    free:  shared: buffers:  cached:
Mem:  529530880 364380160 165150720 72847360 300982272 24657920
Swap: 1048551424        0 1048551424
MemTotal:    517120 kB
MemFree:     161280 kB
MemShared:    71140 kB
Buffers:     293928 kB
Cached:       24080 kB
BigTotal:         0 kB
BigFree:          0 kB
SwapTotal:  1023976 kB
SwapFree:   1023976 kB                  

There is hardly anybody using this server...please let me know how can I find out 
which process is using so much of memory.

Kind Regards
Sumith





On Sun, 4 Feb 2001, [EMAIL PROTECTED] wrote:

> There is hardly anybody using this server...please let me know how can I find out
> which process is using so much of memory.

This is really a LUG question, but try `ps auxw'
-- 
"Pascal, n.: A programming language named after a man who would turn over
in his grave if he knew about it."

- The Chartered Institution of C Programmers 




Well, this is hardly a qmail question. It's more a system
administration/Linux question. Have you got the 'top' command? Try
that? Have you got the 'ps' command? Try that.

I don't know about Linux so much, but some Operating Systems use
memory that has never had anything placed in it in preference to
memory that has had something loaded into it.

What that means is that if you run 100 different programs, rather than
reuse the one piece of memory for each program, the OS will load in
the first program, leave it in memoryt, and load in the next program
at the next available piece of memory. Over time this has the effect
of using all your memory, but of course the OS is just being smart
about caching. That may be all that's happened with your system.

Relating to qmail. qmail is a very small consumer of memory and is
unlikely to be relevant to any interpretation you are making on this
output.


Regards.


On Sun, Feb 04, 2001 at 08:04:47PM +0530, Sumith Ail wrote:
> Hello,
> 
> We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 
>Box. I have installed qmail on this with tcpserver, Now the meminfo shows
> cat /proc/meminfo
> 
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  529530880 364380160 165150720 72847360 300982272 24657920
> Swap: 1048551424        0 1048551424
> MemTotal:    517120 kB
> MemFree:     161280 kB
> MemShared:    71140 kB
> Buffers:     293928 kB
> Cached:       24080 kB
> BigTotal:         0 kB
> BigFree:          0 kB
> SwapTotal:  1023976 kB
> SwapFree:   1023976 kB                  
> 
> There is hardly anybody using this server...please let me know how can I find out 
>which process is using so much of memory.
> 
> Kind Regards
> Sumith
> 




Er, one copy of this email to the list is more than enough. Three is
clearly excessive.


Regards.


On Sun, Feb 04, 2001 at 06:31:44AM -0800, Sumith Ail wrote:
> Hello,
> 
> We have just received our server which is a Dual PIII with 512 MB RAM , RH Linux 6.2 
>Box. I have installed qmail on this with tcpserver, Now the meminfo shows
> cat /proc/meminfo
> 
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  529530880 364380160 165150720 72847360 300982272 24657920
> Swap: 1048551424        0 1048551424
> MemTotal:    517120 kB
> MemFree:     161280 kB
> MemShared:    71140 kB
> Buffers:     293928 kB
> Cached:       24080 kB
> BigTotal:         0 kB
> BigFree:          0 kB
> SwapTotal:  1023976 kB
> SwapFree:   1023976 kB                  
> 
> There is hardly anybody using this server...please let me know how can I find out 
>which process is using so much of memory.
> 
> Kind Regards
> Sumith
> 





On 04-Feb-2001 Sumith Ail wrote:
>  There is hardly anybody using this server...please let me know how can I find out 
>which
>  process is using so much of memory.

This is perfectly normal. Linux stashes as much files as possible into
its disk cache. When a process needs more memory, the cache is reduced.

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




>From a security perspective, checkpassword is very much like the 'su'
program. If a user/password matches, it changes to the permissions of
that user. The major difference is that checkpassword is normally not
setuid root - it inherits root, originally from tcpserver.

Similarly, checkpassword is very small and is quite careful about
giving out those permissions.

This makes me wonder - when setting up a POP service, is it better to:

a) have a relatively large and complex program like tcpserver run as
root, have it in turn run qmail-popup as root (admittedly a small
program) and finally run checkpassword as root.

or

b) have tcpserver run as a nobody, thus have qmail-popup run as a
nobody and have checkpassword setuid root so that it can change to the
permissions of the user?

The main risk I see in b) is that you provide yet another setuid
program to shell users - if you have them. checkpassword can of course
be partitioned off at the file system so that only the particular
'nobody' can run it.


Regards.




Hi,

> b) have tcpserver run as a nobody, thus have qmail-popup run as a

On all Unix I know, you couldn't do that, because tcpserver has to bind
to port 110 for pop, and only root has the permission to bind to ports
below 1024.
                                claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]                http://www.claudio.ch




On Sun, Feb 04, 2001 at 05:06:13PM +0100, Claudio Nieder wrote:
> Hi,
> 
> > b) have tcpserver run as a nobody, thus have qmail-popup run as a
> 
> On all Unix I know, you couldn't do that, because tcpserver has to bind
> to port 110 for pop, and only root has the permission to bind to ports
> below 1024.

Yes, yes. Of course tcpserver has to start as root to bind() to the
POP port. The -u -g options come into effect after binding but before
tcpserver accepts connections.

My question is whether it should continue to run as root after the
bind().


Regards.




Hello,

       I am using qmail on solaris with some patches includin high 
concurrency and getting this error whenever  concurrency jumps high. Any 
ideas why could that happen.
Example of the log:
"
Feb  5 00:18:04 smtp1 splogger: [ID 748625 mail.info] 981299884.297969 
delivery 821: deferral: qmail-spawn_unable_to_create_pipe._(#4.3.0)/
Feb  5 00:18:04 smtp1 splogger: [ID 748625 mail.info] 981299884.298572 
status: local 1/500 remote 126/500
"




Ian Matyssik <[EMAIL PROTECTED]> wrote:
> 
>        I am using qmail on solaris with some patches includin high 
> concurrency and getting this error whenever  concurrency jumps high. Any 
> ideas why could that happen.
> Example of the log:
> "
> Feb  5 00:18:04 smtp1 splogger: [ID 748625 mail.info] 981299884.297969 
> delivery 821: deferral: qmail-spawn_unable_to_create_pipe._(#4.3.0)/

Check your fd limits.  They're probably set too low.  This is somewhere in
the FAQ as well.

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.
-----------------------------------------------------------------------




Thanks for the advice, I also forgot to mention that I use solaris 8 latest 
patchlevel release on Sparc.

I tried to do this in my /service/qmail/run file:
ulimit -Sn 4096
ulimit -Hn 16384
but still getting the same problem.
This page :http://www.voicenet.com/~orcutt/tech/save.tcptune.htm
talking about tuning the solaris but I am still confused. Some one can help 
me to figure it out. This is a nasty error which slows down hole qmail. 

Thank you in advance any good ideas are welcome. 

Charles Cazabon writes: 

> Ian Matyssik <[EMAIL PROTECTED]> wrote:
>> 
>>        I am using qmail on solaris with some patches includin high 
>> concurrency and getting this error whenever  concurrency jumps high. Any 
>> ideas why could that happen.
>> Example of the log:
>> "
>> Feb  5 00:18:04 smtp1 splogger: [ID 748625 mail.info] 981299884.297969 
>> delivery 821: deferral: qmail-spawn_unable_to_create_pipe._(#4.3.0)/
> 
> Check your fd limits.  They're probably set too low.  This is somewhere in
> the FAQ as well. 
> 
> 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.
> -----------------------------------------------------------------------
 




Yee Siew Chin <[EMAIL PROTECTED]> wrote:
> can i put this "/var/spool/mail/logadmin" in
> ~alias/.qmail-log  if i use qmail with /var/spool/mail
> instead of Maildir or Mailbox?

Yes.  That mbox will become very large if you have any significant mail
traffic.

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.
-----------------------------------------------------------------------





All of my users when trying to send to aol or other off system sites are
getting this error.

sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1)

Well why should aol.com or msn.com or anything off site be in rcpthosts?

What am I missing on my qmail server to do this..

Any help would greatly be apreciated..
It has to be simple I am sure :)
--Matt





OK I hate answering my own e-mail but I figured it out.. I am an
idiot.. :)

On Sun, 4 Feb 2001 [EMAIL PROTECTED] wrote:

> 
> All of my users when trying to send to aol or other off system sites are
> getting this error.
> 
> sorry, that domain isn't in my list of allowed rcpthosts(#5.7.1)
> 
> Well why should aol.com or msn.com or anything off site be in rcpthosts?
> 
> What am I missing on my qmail server to do this..
> 
> Any help would greatly be apreciated..
> It has to be simple I am sure :)
> --Matt
> 
> 





hi,

[EMAIL PROTECTED] wrote:
> Well why should aol.com or msn.com or anything off site be in rcpthosts?
> 
> What am I missing on my qmail server to do this..

you propably should take a look at tcprules

;) alexander






Hi,

I am a dial-up user currently running sendmail and am planning to
migrate to qmail. This is my current setup:

Outgoing Mail:
* clients either run sendmail for connect to port 25 and send mail. 
Sendmail queues the mail but does not send immediately.
* every 10 minutes I have a cron job which detects if I am online, and
if so calls sendmail -q to flush the outgoing mail queue.

Incoming Mail:
* The same cron job runs fetchmail which forwards messages on to
sendmail.  Sendmail then calls procmail via my .forward file to filter
mail.

I have installed qmail alongside sendmail and have tested it according
to the install documents.  However, I do not know how to stop it sending
mails to remote addresses every time it gets a message.  How can I make
qmail replicate the behaviour I described above?

Also: what issues are there with fetchmail? I only use it to filter
mailing list messages, so is there another package which is more suited
to qmail for this task?

Thanks for any help,
Ross Burton




Am 04.02.2001 um 16:31:12 schrieb Ross Burton:

Hi Ross,

> I have installed qmail alongside sendmail and have tested it according
> to the install documents.  However, I do not know how to stop it sending
> mails to remote addresses every time it gets a message. 
> How can I make qmail replicate the behaviour I described above?

have a look at serialmail.

> Also: what issues are there with fetchmail? I only use it to filter
> mailing list messages, so is there another package which is more suited
> to qmail for this task?

Did not use it but - getmail. Fetchmail should also work under some
conditions, have a look at Life with qmail, there is a short section
about it. 

-regards

/ch




Hi All,

        Has anyone run NAI's anti-virus package via amavis on a system
which has qmail, vpopmail, tcpserver, as it's MTA and supporting packages.
I run a Caldera OpenLinux 2.3 box (pent 133 w/32MB, and the ./configure states:

Sorry, you need to install metamail or reformime

now, in doing a rpm -q metamail, it shows that metamail (and reformime) are
not installed on this system, so I suspect I will need to get a rpm or a 
tarball
and whip it up myself.

I'm curious as to how well the amavis package works with NAI Anti-virus 
software.

Thoughts anyone?

-Bill

p.s. - I'm cross-posting this to caldera's user list to see if anyone there 
has ideas





Bill Parker wrote:

>         Has anyone run NAI's anti-virus package via amavis on a system
> which has qmail, vpopmail, tcpserver, as it's MTA and supporting packages.
> I run a Caldera OpenLinux 2.3 box (pent 133 w/32MB, and the ./configure states:
> 
> Sorry, you need to install metamail or reformime
> 
> now, in doing a rpm -q metamail, it shows that metamail (and reformime) are
> not installed on this system, so I suspect I will need to get a rpm or a
> tarball
> and whip it up myself.

So why you do not simply install it? As metamail is not maintained
anymore and is not able to handle multipart/alternative messages, I
strongly recommend to use reformime.
See http://www.amavis.org/amavis.html#mime


> I'm curious as to how well the amavis package works with NAI Anti-virus
> software.
Well, it works :-) I'm sure our amavis-user mailing list is a better
place for asking such questions.

best regards,
Rainer Link

-- 
Rainer Link  | Member of Virus Help Munich (www.vhm.haitec.de)           
[EMAIL PROTECTED] | Member of AMaViS Development Team (amavis.org)     
rainer.w3.to | OpenAntiVirus Project (www.openantivirus.org)




is it possible to somehow use a newline command in the message that the
bouncesaying command sends?
so that the error mail from the sending smtp server back to the envelope
sender would contain deliberate line breaks?

wolfgang






On Sun, Feb 04, 2001 at 05:40:19PM +0100, Wolfgang Zeikat wrote:
 
> is it possible to somehow use a newline command in the message that the
> bouncesaying command sends?

try 
        |bouncesaying "`cat filename`"
or
        |bouncesaying "`printf 'line1\nline2'`"

you can also try some other tricks (echo 1%2 | tr '%' '\n'), but getting
this right tends to be hard.

Writing your own bouncesaying program isn't really complicated, though:
        #! /bin/sh
        echo line1
        echo line2
        exit 100

Regards, Uwe




There are so many garbage mails in /var/qmail/queue. Is there a good and simple way to 
delete all mails in the queue? Can I use OS commands as "mv" or "rm" ?
Thanks.
----------------------------------------------
��ӭʹ�� 21CN �����ʼ�ϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system





On Mon, Feb 05, 2001 at 12:41:20AM +0800, [EMAIL PROTECTED] wrote:
> There are so many garbage mails in /var/qmail/queue. Is there a good and simple way 
>to delete all mails in the queue? Can I use OS commands as "mv" or "rm" ?

Sure. Here they are:

1.      # Stop qmail
2.      # rm -rf /var/qmail/queue
3.      # cd qmail-sources
4.      # make setup check
5.      # Start qmail


Regards.




Hi All,

        I am a rookie at adding anti virus scanning software to my SMTP/POP3
(which is qmail 1.03), and I have a few questions.

        I run OpenLinux 2.3 by Caldera), and the packages maildrop and tnef
were not available in rpm format for my system, so I downloaded tarballs
of maildrop (ver 1.0) and the latest version of tnef, and both configured
and installed properly on my test linux box (binaries are in
/usr/local/bin for reformime and tnef).  However, on this test box, I do
not have sendmail installed, so I get the following from ./configure
from amavis-0.2.1

checking for sendmail... no
configure: error: Sorry, sendmail or a sendmail-like wrapper is required

Now, on my production box which houses the qmail 1.03, vpopmail, tcpserver,
etc...it is running quite well, and /usr/sbin/sendmail is symlinked to
/var/qmail/bin/sendmail (which was put there when qmail did it's install).

Now, I am planning to use NAI's virus scanner for linux on the production
box (not yet installed, btw), but am I on the right track (what I mean is
should I install the tnef, maildrop, and amavis packages there), cause I
don't want to break my existing qmail setup.

More info, I copied /var/qmail/run/sendmail to my test box, and ran the
configure there, which completed, except for the lack of a virus scanner
(so it would appear that the amavis will do the job), but as I asked
above, is there any danger of mousing my current mail setup?

-Bill





On Sat, 3 Feb 2001, Sam Trenholme wrote:

> I love their claims of scalibility with their mail server.  "UNIX-like
> scalability at a fraction of the cost".  Hurrumph.  How much does it cost
> to put Linux and Qmail on an old Pentium or Pentium II?

I would guess at around $10,000 for the installation, and then around
$1000/month ? 

the cost of software is not in the hardware, nor in the actual cost of the
license, but in the cost of the people to implement the solution, either
consultants or exsiting sysadmins. This is the underlying business model
behind open source software

RjL





On Sun, 4 Feb 2001 [EMAIL PROTECTED] wrote:
> I would guess at around $10,000 for the installation, and then around
> $1000/month ? 

I'll do it for $7500 and $750 a month.  Whatabargain!

Scott







On 04-Feb-2001 [EMAIL PROTECTED] wrote:
> > I love their claims of scalibility with their mail server.  "UNIX-like
> > scalability at a fraction of the cost".  Hurrumph.  How much does it cost
> > to put Linux and Qmail on an old Pentium or Pentium II?
>  
>  I would guess at around $10,000 for the installation, and then around
>  $1000/month ? 
>  
>  the cost of software is not in the hardware, nor in the actual cost of the
>  license, but in the cost of the people to implement the solution, either
>  consultants or exsiting sysadmins. This is the underlying business model
>  behind open source software.

But this is without the cost of the license fees for a proprietary
OS and a proprietary MTA. It's a fallacy to believe that -for the
sake of the argument- NT and Mailsite 4 would not require knowlegeable
people to install it, or existing sysadmins to maintain it.

The European Commission just installed a new mail system based on
MS Exchange. They did not simply go out and buy the boxes off the
shelves of their local retailer, no siree! They issued a call for
tender, and are paying a "consortium" of consultants a load of
spondulicks to install and run it.

The Open Source business model just allows you to pay your staff and
contractors better money, and have them do more interesting work, so
they stay longer.

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




Thus spake Stefaan A Eeckels ([EMAIL PROTECTED]):
> The European Commission just installed a new mail system based on
> MS Exchange.

If you ask me, they deserve it.

Everyone deserves the software he is using.
AFAIK, NATO is using Exchange, too.

May their pain be barely sufferable.

Felix




Hi,

 When I was using sendmail on my server and e-mail had in headers something
like this:

Disposition-Notification-To: [EMAIL PROTECTED]

 Everytime, when e-mail was delivered to recepient mailbox I was getting
e-mail saying that message was delivered. How to make qmail to do same
thing?

Thanks.





Hi,
I have a private network with Microsoft Exchange 2000 :(
I have a webserver with qmail :)

My private domain is localnet.ndsoftware.net (you can't resolve it from
internet), and my internet domain is ndsoftware.net.

Now how i need to configure QMail for it recevied the exchange message and
not send error because localnet.ndsoftware.net is not resolved ?

Have you got many URL for the mixed network with Qmail and Exchange ?

Thanks very much.

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A
---
Note: All HTML email sent to me can be deleted for security reasons.





:(
It's my problem with exchange and my private network...

Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A
---
Note: All HTML email sent to me can be deleted for security reasons.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 12:35 AM
To: [EMAIL PROTECTED]
Subject: failure notice


Hi. This is the qmail-send program at mail.ndsoftware.net.
I tried to deliver a bounce message to this address, but the bounce bounced!

<[EMAIL PROTECTED]>:
Sorry, I couldn't find any host named localnet.ndsoftware.net. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 29087 invoked for bounce); 4 Feb 2001 23:35:11 -0000
Date: 4 Feb 2001 23:35:11 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mail.ndsoftware.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, I couldn't find any host named localnet.ndsoftware.net. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 29080 invoked by uid 503); 4 Feb 2001 23:35:10 -0000
Received: from unknown (HELO billy) (193.253.221.190)
  by ns207.ovh.net with SMTP; 4 Feb 2001 23:35:10 -0000
From: "NDSoftware" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject:
Date: Mon, 5 Feb 2001 00:31:18 +0100
Message-ID:
<[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal



Nicolas DEFFAYET, NDSoftware
http://www.ndsoftware.net - [EMAIL PROTECTED]
France: Tel +33 671887502 - Fax N/A
UK: Tel +44 8453348750 - Fax +44 8453348751
USA: Tel N/A - Fax N/A
---
Note: All HTML email sent to me can be deleted for security reasons.





Ok someone in English please.
Where do i set in environment. ? what file
I'm lost


1.2. How do I set up user masquerading? I'd like my own From lines to
show [EMAIL PROTECTED] rather than [EMAIL PROTECTED]

Answer: Add MAILHOST=af.mil and MAILUSER=boss to your environment. To
override From lines supplied by your MUA, add QMAILINJECT=f to your
environment.


Regards
Nick






What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports and it does not work.  When I try to run it..the qmaill/q/r/p/s users don't even run the process, but instead some unknown uid running the qmail-send and other processes.  Then when i try to connect to port 25, it says UNABLE TO READ CONTROLS #4.3.0...how do I fix this?
 
Cheers,
 
Bruce




On Sun, Feb 04, 2001 at 06:07:15PM -0800, Bruce Dang wrote:
> What is wrong with qmail on FreeBSD 4.2?

Nothing.

> I installed it from the ports and it does not work.

Ask the port's maintainer, or try installing it without the port, from the qmail
tarball, according to the instructions in the INSTALL file.

Chris




On Sun, Feb 04, 2001 at 09:12:05PM -0500, Chris Johnson wrote:
> On Sun, Feb 04, 2001 at 06:07:15PM -0800, Bruce Dang wrote:
> > What is wrong with qmail on FreeBSD 4.2?
> 
> Nothing.
> 
> > I installed it from the ports and it does not work.
> 
> Ask the port's maintainer, or try installing it without the port, from the qmail
> tarball, according to the instructions in the INSTALL file.

I'm with Chris. It works perfectly on every 4.2 I've installed it on
(that number being greater than zero).


Mark.




Hmm, did you install from the ports or did you install from the tarball?

btw, do you know what hte ERROR, CAN"T READ CONTROLS #4.3.0 mean?

Bruce,
----- Original Message -----
From: "Mark Delany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 6:40 PM
Subject: Re: Qmail on FreeBSD 4.2-STABLE


> On Sun, Feb 04, 2001 at 09:12:05PM -0500, Chris Johnson wrote:
> > On Sun, Feb 04, 2001 at 06:07:15PM -0800, Bruce Dang wrote:
> > > What is wrong with qmail on FreeBSD 4.2?
> >
> > Nothing.
> >
> > > I installed it from the ports and it does not work.
> >
> > Ask the port's maintainer, or try installing it without the port, from
the qmail
> > tarball, according to the instructions in the INSTALL file.
>
> I'm with Chris. It works perfectly on every 4.2 I've installed it on
> (that number being greater than zero).
>
>
> Mark.


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Slightly offtopic but are people allowed to distribute qmail in this
manner? I thought there was a clause somewhere for most DJB software? 

I'm curious for cases like mass rollout, or maybe bundling as part of a
product. For example I prefer /var/dns/cache vs /etc/dnscache. Or qmail
spool directories somewhere else? So could I distribute djb stuff like that? 

Maybe Ryan Marsh was installing from the broken ports too?

Cheerio,
Link.

At 06:07 PM 04-02-2001 -0800, Bruce Dang wrote:
> What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports
and it 
> does not work.  When I try to run it..the qmaill/q/r/p/s users don't even
run the 
> process, but instead some unknown uid running the qmail-send and other
processes. 
> Then when i try to connect to port 25, it says UNABLE TO READ CONTROLS
#4.3.0...how
> do I fix this?






On Mon, Feb 05, 2001 at 10:55:26AM +0800, Lincoln Yeoh wrote:
> Slightly offtopic but are people allowed to distribute qmail in this
> manner? I thought there was a clause somewhere for most DJB software? 

In what manner? Ports downloads the sources on your behalf, applies
patches as the ports maintainer sees fit, compiles and installs qmail.

There is *no* redistribution by ports, so none of the discussions on
this matter come into play. While I like ports, I don't use it for
qmail or any other djb-ware for that matter.

> I'm curious for cases like mass rollout, or maybe bundling as part of a
> product. For example I prefer /var/dns/cache vs /etc/dnscache. Or qmail
> spool directories somewhere else? So could I distribute djb stuff like that? 

Ports doesn't distribute, so your question is separate to that.

> Maybe Ryan Marsh was installing from the broken ports too?

Maybe, but if ports downloads from cr.yp.to and doesn't redistribute,
that's a matter between Ryan and the ports maintainer.


Regards.

> 
> Cheerio,
> Link.
> 
> At 06:07 PM 04-02-2001 -0800, Bruce Dang wrote:
> > What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports
> and it 
> > does not work.  When I try to run it..the qmaill/q/r/p/s users don't even
> run the 
> > process, but instead some unknown uid running the qmail-send and other
> processes. 
> > Then when i try to connect to port 25, it says UNABLE TO READ CONTROLS
> #4.3.0...how
> > do I fix this?
> 
> 




I find that if you just download the tarball from djb's site and
read *ALL* the INSTALL/README/FAQ files and it works perfectly.

DJB has documented it well.

HTH

Gerry

At 20:07 2/4/2001, Bruce Dang wrote:
>What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports 
>and it does not work.  When I try to run it..the qmaill/q/r/p/s users 
>don't even run the process, but instead some unknown uid running the 
>qmail-send and other processes.  Then when i try to connect to port 25, it 
>says UNABLE TO READ CONTROLS #4.3.0...how do I fix this?
>
>Cheers,
>
>Bruce






Yup, just went through it again today in fact *grin*

qmail works wonderfully well with 4.2 :)

Laurence

-----Original Message-----
From: Gerry Boudreaux [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 04, 2001 8:06 PM
To: Bruce Dang; [EMAIL PROTECTED]
Subject: Re: Qmail on FreeBSD 4.2-STABLE


I find that if you just download the tarball from djb's site and
read *ALL* the INSTALL/README/FAQ files and it works perfectly.

DJB has documented it well.

HTH

Gerry

At 20:07 2/4/2001, Bruce Dang wrote:
>What is wrong with qmail on FreeBSD 4.2?  I installed it from the ports 
>and it does not work.  When I try to run it..the qmaill/q/r/p/s users 
>don't even run the process, but instead some unknown uid running the 
>qmail-send and other processes.  Then when i try to connect to port 25, it 
>says UNABLE TO READ CONTROLS #4.3.0...how do I fix this?
>
>Cheers,
>
>Bruce





Am 04.02.2001 um 18:07:15 schrieb Bruce Dang:

Hi Bruce

> What is wrong with qmail on FreeBSD 4.2?  

I don't know. I installed it from the ports. Before that I patched it
with the smtp-auth patch. After installation I made some adjustments to
have it run LWQ-like. I did not run into any Problems. I did not have a
close look at the situation before my adjustments but as far as I
remember you have to do a bunch of additional configuration anyway
before the qmail-port runs.

-regards

/ch




On Sun, Feb 04, 2001 at 06:58:17PM -0800, Bruce Dang wrote:

> Hmm, did you install from the ports or did you install from the tarball?

I installed qmail from the ports on an up-to-date 4.2-stable on
Friday, works fine. Didn't patch it, just made some adjustments
to the invocation to use daemontools etc.


> btw, do you know what hte ERROR, CAN"T READ CONTROLS #4.3.0 mean?

That's not the precise error, is it? grepping the source I only see:

  unable to read controls (#4.3.0)

which is what qmail-smtpd says when it can't read /var/qmail/control/me.


It sounds to me like your qmail install is completely broken and you
should start over (rm -fr /var/qmail). Make sure you cvsup the latest
ports. If it goes wrong again, put the complete output of doing the
"make install", and `ls -l /var/qmail/control` on a website somewhere
so we can have a look.

Or just install it from djb's tarball.

-- Martijn




I must be as thick as two short planks but for the file of me I can't get my
head around how SVSCAN works. Can someone please enlighten me, PLEASE !!

Yes, I have read, what little there is of the docs.

help !!





Thus said "dennis" on Mon, 05 Feb 2001 13:23:55 +1100:

> I must be as thick as two short planks but for the file of me I can't get my
> head around how SVSCAN works. Can someone please enlighten me, PLEASE !!

svscan ``scans'' the directory that you give it for other directories.  
For each directory it finds, it spawns a supervise process that 
monitors the service defined in the run file found in that directory.  
If a supervise process (which monitors a service) dies for some odd 
reason it will restart another supervise process on that directory to 
keep the service running.  That's all it does, plain and simple.

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 10:10pm  up 95 days, 31 min,  6 users,  load average: 1.09, 1.15, 1.13






Andy Bradford wrote:
> 
> Thus said "dennis" on Mon, 05 Feb 2001 13:23:55 +1100:
> 
> > I must be as thick as two short planks but for the file of me I can't get my
> > head around how SVSCAN works. Can someone please enlighten me, PLEASE !!
> 
> svscan ``scans'' the directory that you give it for other directories.
> For each directory it finds, it spawns a supervise process that
> monitors the service defined in the run file found in that directory.
> If a supervise process (which monitors a service) dies for some odd
> reason it will restart another supervise process on that directory to
> keep the service running.  That's all it does, plain and simple.
> 

Hi,
 I tried to use svscan for something other than qmail and couldn't get
it to work. The process in question, slapd, wasn't producing specific
log files, and svscan refused to start. It works just fine for me with
qmail when I specify the log files for qmail.

Mike




On Sun, Feb 04, 2001 at 10:28:16PM -0800, David Benfell wrote:
 
> I see the error message printed out, but watching the log, I don't see
> the bounce going out.  Looking at some old mail, I see that
> bouncesaying doesn't, by itself, bounce anything.

bouncesaying exits with 100, which qmail interprets as a permanent
delivery failure. maildrop obviously doesn't, in this case at least.

> O-o-k-a-a-y.  Ummm.  That's baffling.  What good is it then?  And how
> do I get these to bounce?

I don't now. Try to search the maildrop documentation for how to
exit with code 100 in this case (it's possibly enough to call
something like execv instead of `...`, if maildrop is like perl.

> Since following their directions doesn't work, I figure a few zillion
> bounces ought to get their attention.  And I promise never to

i don't think so.

Regards, Uwe




Hello all,

I'm trying to get maildrop to invoke bouncesaying.  This is what I
have right now:

if ( /lists.debian.org/ )
{
        `/var/qmail/bin/bouncesaying "Numerous attempts to unsubscribe from all Debian 
lists have failed."`
        to /dev/null
}

I see the error message printed out, but watching the log, I don't see
the bounce going out.  Looking at some old mail, I see that
bouncesaying doesn't, by itself, bounce anything.

O-o-k-a-a-y.  Ummm.  That's baffling.  What good is it then?  And how
do I get these to bounce?

Here's the problem.  I'm changing jobs.  My subscriptions to the
Debian lists are at the e-mail address at my old job.  In less than 30
days, my e-mail account at the old job will be terminated and all mail
forwarded to my ex-boss, a nice lady who won't have any idea what to
do with it except try to unsubscribe, as I have.  But Debian doesn't
use a rational mailing list manager.  I try to follow its directions
and I still get mail from the lists.  I want this killed.

Since following their directions doesn't work, I figure a few zillion
bounces ought to get their attention.  And I promise never to
subscribe to a Debian list again, at least until they get a mailing
list manager that works.

I am using fetchmail to retrieve e-mail from my old job's POP server.

-- 
David Benfell
[EMAIL PROTECTED]
---
The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature.
                -- Benjamin Franklin.

                                [from fortune]

                 

PGP signature





Thus spake David Benfell ([EMAIL PROTECTED]):
> do with it except try to unsubscribe, as I have.  But Debian doesn't
> use a rational mailing list manager.  I try to follow its directions
> and I still get mail from the lists.  I want this killed.

Hundreds of people subscribe and unsubscribe on Debian's mailing lists
each day.  Instead of simply unsubscribing as others, not only do you
refuse to talk to them, you want to sabotage them, and you have the
audacity to ask us to tell you how?!

The nerve!

Felix




----- Original Message -----
From: Jagadish.N
Sent: Monday, February 05, 2001 10:54 AM
Subject: Delay in POP and SMTP response

Hello fellow qmailer's,
 
                                I have a problem with my qmail system, I  get frequent timeout for pop and smtp
sessions and  sometimes my mailserver[ both pop and smtp] fails to respond. Initially i thought the problem
might be with the DNS resolution but not true, the resolution is quick. I even telneted to 110 and 25 specifing
the mail server's ip address but it takes quite a long time to respond.
Earlier i was using sendmail both pop and smtp were fast.
 
Here are the details of the packages installed on the Server:
qmail
daemontools
ucspi
sqwebmail
vpopmail
 
 
I tried supervising the mail system but got too much of fatal errors hence dropped it. The server has two
interface and the client machines are inside a firewall. I guess these information is enough.
 
Eagerly waiting for HELP !!
Jagga
 




On Mon, Feb 05, 2001 at 12:13:45PM +0530, Jagadish.N wrote:

>I even telneted to 110 and 25 specifing
>the mail server's ip address but it takes quite a long time to respond.

try starting tcpserver with the -R option.

Regards, Uwe




I seriously doubt that this belongs on the log mailing list even once,
let alone twice. Anyway, you don't provide enough information. You say
you telnet to your mail server and it takes a long time to respond. Do
you mean that it takes a long time to connect, or that after connecting
the server takes a long time to send its banner? If it takes a long
time to connect, it's either a DNS resolution problem or a networking
problem. If it takes a long time to get the banner, then you should
simply run the server under strace (or truss or whatever) to see why
it's stalling.





On Fri, Feb 05, 1999 at 02:25:54PM +0800, lyndon wrote:
 
> Feb  5 14:19:17 mail qmail: 981353957.038669 warning: trouble marking 
>remote/11/127109; message will be delivered twice!
> Feb  5 14:19:17 mail qmail: 981353957.038881 warning: unable to unlink 
>remote/11/127109; will try again later

qmail trys to open and write (first line) or delete (second line) the
file /var/qmail/queue/remote/11/127109, but fails.
The reason may be a bad file system, or some kind of access right
problem. Try "make check" from inside the source directory, or
qmail-lint from www.qmail.org.

Regards, Uwe




Today, I get the following message:


Feb  5 14:19:17 mail qmail: 981353957.038669 warning: trouble marking 
remote/11/127109; message will be delivered twice!
Feb  5 14:19:17 mail qmail: 981353957.038881 warning: unable to unlink 
remote/11/127109; will try again later



what is the matter?

==================================
            lyndon
            [EMAIL PROTECTED]





Hello,

I'm having problem setting up autoresponder...
may I know how can I do this in draft?

Thanks in advance.


Mok



Reply via email to