qmail Digest 7 Feb 2000 11:00:01 -0000 Issue 904

Topics (messages 36839 through 36867):

Re: Relay Problem
        36839 by: Roberto Samarone Araujo
        36842 by: John Conover

>From field's date syntax?
        36840 by: Sameer Vijay
        36841 by: Charles Cazabon

How to remove myself from this list
        36843 by: Todd V . Rovito

Re: Attachments over 500K slow
        36844 by: Shakaib Sayyid

school filtering of student e-mail
        36845 by: Barry Smoke
        36847 by: Steve Wolfe
        36848 by: Len Budney
        36849 by: Barry Smoke
        36850 by: Julian L.B. Cardarelli
        36851 by: Julian L.B. Cardarelli
        36853 by: Len Budney
        36854 by: cmikk.uswest.net

Re: multilog datestamping
        36846 by: vogelke.c17mis.region2.wpafb.af.mil

Re: vacation program's envelope sender
        36852 by: Peter Samuel

ORBS not recommended
        36855 by: Len Budney

Re: fsync semantics (was Re: Linux kernel ....)
        36856 by: Russell Nelson

Can I rewrite *@xx to *@yyy?
        36857 by: Jason Haar
        36859 by: Magnus Bodin

Qmail stopped and will not restart
        36858 by: Brian Moon
        36861 by: Holborn BongMiester

reconstruction of /var/qmail/queue
        36860 by: John Conover
        36864 by: Magnus Bodin

maxrcpts
        36862 by: TAG
        36863 by: Magnus Bodin

Initial scripts for QMail (RedHat 6.1)
        36865 by: Antonio Navarro Navarro

attach footer-message
        36866 by: Marco Leeflang
        36867 by: Magnus Bodin

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]


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


>Jacob Joseph wrote:
> 
> You know what?  Does Roberto have an rcpthosts file?  If not, this behavior
> would be expected.
> 

   I have a rcphosts file and all my domains listed in rcpthosts but ,
when I try to do a test through a telnet to mail-abuse.org , it rejects
some mails but , after that it accept relays .

            Roberto Samarone Araujo




David Dyer-Bennet writes:
> John Conover <[EMAIL PROTECTED]> writes on 6 February 2000 at 01:21:38 -0000
> 
>  > I haven't tried it against orbs, but, for the mail server's IP being
>  > 123.321.123.321 and a client's 123.321.123.322:
>  > 
>  >     :deny
>  >     127.:allow,RELAYCLIENT=""
>  >     123.321.123.321:allow
>  >     123.321.123.322:allow,RELAYCLIENT=""
>  > 
>  > which came from someone on this list. Could this be verified as
>  > correct?
> 
> You don't want the :deny; that will prevent anybody else from
> connecting to deliver mail *at all*, even mail directed to your
> users.  And you want to set relayclient for the server itself by IP,
> as well as the server itself by localhost IP.
>

Thanks, David. Can this be verified? The reason I ask is that it has
been working for about a year like that.

        John

-- 

John Conover        [EMAIL PROTECTED]   http://www.inow.com/
631 Lamont Ct.      Tel. 408.370.2688  http://www.inow.com/ntropix/
Campbell, CA 95008  Fax. 408.379.9602  http://www.inow.com/nformatix/





Hi!

I noticed that all the mails that I have, have this sort of syntax in
the 'From ' field...

 From [EMAIL PROTECTED] Tue Feb 1 07:27:09 2000
<snipped header>

Note the year is at the end. My guess as to what adds this header to
the email is the MTA, but I am not sure. I had seen it with qmail,
sendmail, fetchmail+procmail as MDA.

Is it a standard thing to have year at the end? This is not qmail
related question but I guessed qmail would atleast do it right� if
its the MTA.

Thanks
2000.02.06 10:12 (EST) 

-- 
S a m e e r  V i j a y  ([EMAIL PROTECTED])




Sameer Vijay <[EMAIL PROTECTED]> wrote:
> 
> I noticed that all the mails that I have, have this sort of syntax in
> the 'From ' field...
> 
>  From [EMAIL PROTECTED] Tue Feb 1 07:27:09 2000

This is not part of the mail proper; it is a Berkeley-style standard mbox
delimiter line.

> Note the year is at the end. My guess as to what adds this header to
> the email is the MTA, but I am not sure. I had seen it with qmail,
> sendmail, fetchmail+procmail as MDA.

Whatever adds it to the mbox file puts it in, if necessary.  This can include
qmail if you are delivering directly to an mbox file.

> Is it a standard thing to have year at the end? This is not qmail
> related question but I guessed qmail would atleast do it right� if
> its the MTA.

Yes, that's the standard, and it's doing it right.

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------




Can some one please tell me how to remove myself from the list?  I have misplaced the 
directions.

Thanks
-- 
Todd V. Rovito
[EMAIL PROTECTED]
Carpe Aptenodytes! ================ "Seize the Penguins!" 





> On Fri, Feb 04, 2000 at 11:39:00AM -0500, Shakaib Sayyid wrote:
>  
> > We are an ISP and whenever our dialup customer send an attachment
> > over 500K it returns with the error "SMPT timed out".
> > 
> > Thanks for all the suggestions to find a solution.
> 
> first: look into the ISPs mail server log files.
> second: look into the customers log files.
> 
> third: if none of the above helps you should try to reproduce the
> problem in a way which allows you to see what's going on. This includes
> sending large mail from somewhere else to see if that works, and to
> send a large mail from the customer to some other mail server. Both
> together might help to find the cause of the problem.
> 
> fourth: did you set $DATABYTES?
> 
> Regards, Uwe
> 

I am not using $DATABYTES--should I be using it? 
However 

# cat  /var/qmail/control/databytes
5000000

Thanks

Shakaib





I work for Bryant Public Schools, Bryant  AR.  We have been using qmail fo a while now, and love it!  We are contemplating adding student e-mail accounts to our mail server. We are going to use the courier imap, with a web based e-mail system.  We have several issues come up with this.  Here's a couple for the list....
1. how do we filter content, and what do we filter?(is there a program....are there rules for words, catch phrases, content, url's, attachments...)
2. notification of abuse. ( How do we forward the bad stuff to the appropriate administrator?)
 
Any input is greatly appreciated.
 
Thanks,
Barry Smoke
Network Administrator
Bryant Public Schools
 




<<1. how do we filter content,>>

  It wouldn't be hard to write a pre-processor program that would scan for
words, phrases, attachments, or whatever you like.

<< and what do we filter?>>

  I think that you would be better off going to the school administration
and the local school board on this one.  Censorship/filtering is a sensitive
issue, especially in schools where you're funded by tax dollars.  The school
board should come to a decision, and go over it with the students, parents,
and lawyers before deciding what should/should not be filtered.  Otherwise,
you can land yourself at the wrong end of an ugly lawsuit.  Whatever you
decide to filter/censor, make sure that you are open and frank that you
*will* be filtering it out.

  Then, of course, remember that it's trivial to encrypt messages so that
filtering won't work. : )

<<2. notification of abuse. ( How do we forward the bad stuff to the
appropriate administrator?)>>

  The pre-processor program could simply forward questionable email to the
admin, could make an netry in a log file, or anything else that you wanted.
: )

steve





"Barry Smoke" <[EMAIL PROTECTED]> wrote:
> I work for Bryant Public Schools, Bryant  AR...
>
> 1. how do we filter [email] content, and what do we filter?(is there
> a program....are there rules for words, catch phrases, content, url's,
> attachments...)

It's not clear what you're after here. Are you worried about incoming
mail (e.g., spam)? Or outgoing mail (e.g. mail abuse by students)?

If you're worried about spam, you should (at bare minimum) set up
rblsmtpd, and use the Realtime Blackhole List <http://maps.vix.com/rbl/>.
You might also want to subscribe to the Open Relay Blocking System
<http://www.orbs.org/>.

If you're worried about abuse _by students_, then the most important
measure is to be highly responsive to messages to abuse@ reporting
misbehavior. Actually interfering with student mail may have legal
implications, especially 1st amendment and 4th amendment issues.

For example, any filter which watches for pornographic text will
probably flag some fraction of emails between a boyfriend and a girlfriend
within the same school. Acting on those emails may raise legal problems
(censorship); failing to act may also raise legal problems (contributing
to the delinquency of a minor).

The bottom line: before interfering with outgoing email, you should
probably check with a lawyer (which I am not). This appears to be a
legal issue, not a techinical one. Hastily implementing a technical
solution would be ill-advised.

Len.

PS Consider my remarks retracted if the school system has already
formulated a legal policy here. It doesn't sound like it, though, or
your question would not have been so vague. In particular, ``the bad
stuff'' needs to be defined before it can be filtered, and ``bad''
here must necessarily be defined by law and policy.

--
In 1995 Matt and I presented a cipher called MacGuffin at FSE 2 (an
algorithms workshop). It was broken even before we presented it, by the
hosts of the conference. This is the way the science works.
                                        -- Bruce Schneier




I appologize to the group for my vagueness.  Yes we do have a legal policy
concerning these matters.....by "stuff" I meant attachments, url's, etc.  We
will need to allow students to use this only to do research, recieve valid
attachments(ie...research pictures, zip files containing valid material,
etc)  We do not have the staff to police the proper use of this though, and
any porn links, dirty pictures, etc....will not be tolerated.  Please
concider this a technical question, and not an ethical/legal one.

Again, thanks...
Barry Smoke
Network Administrator
Bryant Public Schools

-----Original Message-----
From: Len Budney <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, February 06, 2000 6:57 PM
Subject: Re: school filtering of student e-mail


>"Barry Smoke" <[EMAIL PROTECTED]> wrote:
>> I work for Bryant Public Schools, Bryant  AR...
>>
>> 1. how do we filter [email] content, and what do we filter?(is there
>> a program....are there rules for words, catch phrases, content, url's,
>> attachments...)
>
>It's not clear what you're after here. Are you worried about incoming
>mail (e.g., spam)? Or outgoing mail (e.g. mail abuse by students)?
>
>If you're worried about spam, you should (at bare minimum) set up
>rblsmtpd, and use the Realtime Blackhole List <http://maps.vix.com/rbl/>.
>You might also want to subscribe to the Open Relay Blocking System
><http://www.orbs.org/>.
>
>If you're worried about abuse _by students_, then the most important
>measure is to be highly responsive to messages to abuse@ reporting
>misbehavior. Actually interfering with student mail may have legal
>implications, especially 1st amendment and 4th amendment issues.
>
>For example, any filter which watches for pornographic text will
>probably flag some fraction of emails between a boyfriend and a girlfriend
>within the same school. Acting on those emails may raise legal problems
>(censorship); failing to act may also raise legal problems (contributing
>to the delinquency of a minor).
>
>The bottom line: before interfering with outgoing email, you should
>probably check with a lawyer (which I am not). This appears to be a
>legal issue, not a techinical one. Hastily implementing a technical
>solution would be ill-advised.
>
>Len.
>
>PS Consider my remarks retracted if the school system has already
>formulated a legal policy here. It doesn't sound like it, though, or
>your question would not have been so vague. In particular, ``the bad
>stuff'' needs to be defined before it can be filtered, and ``bad''
>here must necessarily be defined by law and policy.
>
>--
>In 1995 Matt and I presented a cipher called MacGuffin at FSE 2 (an
>algorithms workshop). It was broken even before we presented it, by the
>hosts of the conference. This is the way the science works.
> -- Bruce Schneier
>






Damn I knew I shouldn't have taken so long to eat my food before sending my
letter. Damnit us QMAIL people are all on the same wavelength.  I wanted to
be the first to point this one out.  You had to take it from me!

Julian



<<1. how do we filter content,>>

  It wouldn't be hard to write a pre-processor program that would scan for
words, phrases, attachments, or whatever you like.

<< and what do we filter?>>

  I think that you would be better off going to the school administration
and the local school board on this one.  Censorship/filtering is a sensitive
issue, especially in schools where you're funded by tax dollars.  The school
board should come to a decision, and go over it with the students, parents,
and lawyers before deciding what should/should not be filtered.  Otherwise,
you can land yourself at the wrong end of an ugly lawsuit.  Whatever you
decide to filter/censor, make sure that you are open and frank that you
*will* be filtering it out.

  Then, of course, remember that it's trivial to encrypt messages so that
filtering won't work. : )

<<2. notification of abuse. ( How do we forward the bad stuff to the
appropriate administrator?)>>

  The pre-processor program could simply forward questionable email to the
admin, could make an netry in a log file, or anything else that you wanted.
: )

steve





Barry,
 
What you are asking about is as much a moral question as it is technical.  Maybe this will sound a little sappy and you probably didn't ask for this but hell I'm bored so why not? Being that QMAIL is a product of a free software movement, I find it curious that you would ask your questions here.  Free Software movements stem from the basic principle that people are entitled to certain rights and privileges - also known as personal freedoms. 
 
It is not legal to filter the contents of an email in a public organization much like it is not legal to filter the contents of regular mail.  No matter what an email might say, a person is entitled to say whatever they want in an email without fear of punishment.  The situation may be different, say, if you were a member of a private organization.  Even still, a private organization can not restrict the rights of private individuals as much as they would like, as much is still up for legal/moral debate in this area. The law could not be more clear (or maybe it could, depending on the eyes of the beholder) when public organizations are involved.  I think you Americans call it the 1st amendment.  Students are entitled to it too, ya know.
 
I can't think of how many times I used to tell friends at school that Mr. Smith, as an example, was a f*cking retard.  I wouldn't want to think that Mr.Smith could possibly have been fully aware of my comments.  Think about the repercussions.  A lowered mark here, more homework there. Don't think for a second you could control such leaks of information. You can't.  People talk. 
 
To be honest, I would rather not put up an email service if it meant the sacrifice of personal freedoms.  In your organization's case, it is most likely illegal for you to do so.  Sure you won't be stopped immediately, but sooner rather than later, someone will come around enforce the law.  Does your organization want to deal with that?
 
Just my thought on the situation :)
 
Julian

-----Original Message-----
From: Barry Smoke [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 06, 2000 6:38 PM
To: [EMAIL PROTECTED]
Subject: school filtering of student e-mail

I work for Bryant Public Schools, Bryant  AR.  We have been using qmail fo a while now, and love it!  We are contemplating adding student e-mail accounts to our mail server. We are going to use the courier imap, with a web based e-mail system.  We have several issues come up with this.  Here's a couple for the list....
1. how do we filter content, and what do we filter?(is there a program....are there rules for words, catch phrases, content, url's, attachments...)
2. notification of abuse. ( How do we forward the bad stuff to the appropriate administrator?)
 
Any input is greatly appreciated.
 
Thanks,
Barry Smoke
Network Administrator
Bryant Public Schools
 




"Barry Smoke" <[EMAIL PROTECTED]> wrote:
>
> We will need to allow students to use this only to do research, recieve
> valid attachments (ie...research pictures, zip files containing valid
> material, etc.).  We do not have the staff to police the proper use
> of this though, and any porn links, dirty pictures, etc....will not
> be tolerated.  Please concider this a technical question, and not an
> ethical/legal one.

Ahh--that's easier. You can't do what you've just described.

If students can receive legitimate pictures, but not illegitimate
ones, then you need a way to distinguish the two. There may be AI which
can, for example, identify photos of naked women, but there is nothing
out there of practical use which can do it.

If there were, then you would still have a problem; if your students are
researching classical art, then they will not be able to view (presumably
legitimate) paintings of nudes.

So you can forget about spotting ``bad'' photos, video, audio, and the
like. The only way to catch these is to forbid all attachments of that
class.

As for zip files--you can't examine the contents without unzipping them.
That alone will significantly impair mail performance. However, you can do
it. Once you do, the above objection applies to photos, video, etc.

That leaves text. By ``text'', I mean pdf, postscript, plain text, html,
Word documents, and possibly more. Each of these can be converted to plain
text, at fairly significant performance cost. If you're not daunted yet,
we can just call them ``text''.

Then yup, you can scan text for a list of forbidden words and phrases.
As Steve Wolfe said, you can log the matches, forward them to admins,
whatever you want.

Of course, scanning on racial epithets will flag children reading Mark
Twain. Ordinary cuss-word scanning will flag most literature.

Bottom line: your goal still needs some clarification.

Len.


--
Gee. What if the spammer keeps trying to send more messages---forever?
What if you get billions of connections from faked IP addresses?
...Please don't waste my time on nonexistent efficiency problems.
                                -- Dan Bernstein





On Sun, 06 Feb 2000 19:36:31 -0500 , "Len Budney" writes:
> If you're worried about spam, you should (at bare minimum) set up
> rblsmtpd, and use the Realtime Blackhole List <http://maps.vix.com/rbl/>.
> You might also want to subscribe to the Open Relay Blocking System
> <http://www.orbs.org/>.

I would strongly recommend *against* using ORBS,
because it blocks a lot of legitimate mail.  For
example, it will block mail from ISPs who do not
subscribe to it, and do not enforce fascist "no
servers" policies[1]. 

If you want to cut down on relay spam, use the RSS.

-- 
Chris Mikkelson  | The genius of you Americans is that you never make 
[EMAIL PROTECTED] | clear-cut stupid moves, only complicated stupid 
                 | moves which make us wonder at the possibility that
                 | there may be something to them we are missing. 
                 |   -- Gamel Nasser 

[1] which is why it occasionally lists a few uswest.net
servers :-/




>> On Thu, 3 Feb 2000 08:26:33 -0600, 
>> Charles Cazabon <[EMAIL PROTECTED]> said:

   C> Russ Allbery <[EMAIL PROTECTED]> wrote:
   >> Unfortunately, multilog still lacks, so far as I can see, the ability
   >> to limit by both space *and* time so that you can create clear
   >> reporting boundaries for log summaries.  I'd love to have it roll to
   >> a new log after either one day or the size limit, whichever it hits
   >> first.

C> If I remember correctly, Bruce Guenter wrote a patch to allow one of the
C> loggers to do exactly this, by having it close and reopen its log upon
C> receipt of a HUP or some such signal.

   I have a modified version of cyclog called "daylog" which is used to
   write date-based logfiles.  This was part of a project to make a loghost
   to collect syslog entries from four other production servers.

   The loghost includes a drastically stripped-down version of syslogd
   which is run via supervise.  Syslogd reads input from the UDP port,
   strips the timestamp (if any), and spits it to stdout:

      syslogd | accustamp | tailocal | daylog /logs/daily

   The /logs/daily directory contains files in the form yyyy-mm-dd.
   Entries look like this:

      2000-02-06 18:26:01.092417 p15 f1 c17mis some message here...

   "p15" and "f1" hold the priority and facility codes sent to syslog.

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]

EXCUSE FOR GETTING TO WORK LATE #9:
I can't come to work today because the EPA has determined that my
house is completely surrounded by wetlands and I have to arrange for
helicopter transportation.




On Mon, 29 Nov 1999, Chris Garrigues wrote:

> I'm using Peter Samuel's qmail vacation program and a user complained because 
> she got a bounce when it tried to tell a spammer that she was on vacation.
> 
> Would it be a bad thing for vacation to set the envelope sender to something 
> non-replyable like the mailer-daemon does?

Thanks for the suggestion. I'm back from my honeymoon now (10 weeks in
South America - wonderful) so I can now continue work on vacation 2.x.
It's about 50% finished at present. It will include fixes for a number
of minor problems with 1.x as well as a number of new features and
more comprehensive documentation. I hope to have something ready for
serious testing next month.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

"If you kill all your unhappy customers, you'll only have happy ones left"





[EMAIL PROTECTED] wrote:
> 
> I would strongly recommend *against* using ORBS, because it blocks a
> lot of legitimate mail.

Agreed. (I cut a similar caution for space reasons; should've just omitted
mention of ORBS.)

Fascism is seductive to techies--in particular, the ORBS fellow does
seem to have a bit of a god complex. <http://www.orbs.org/bugtraq.html>
gives a good example.

Len.

--
Unfortunately, spammers make their ``bad'' messages indistinguishable
from ``good'' messages. Whatever you try, they will avoid it.
                                -- Dan Bernstein, author of qmail




Andre Oppermann writes:
 > Bruno Wolff III wrote:
 > > Another situation is when dealing with several files in the same directory.
 > > You need to fsync each file, but you only need to fsync the directory once.
 > 
 > And how does this help you with qmail?

If, just *if*, you were designing a new version of qmail, and wished
to ensure that it worked well with THE most popular version of Unix,
you might choose to take that into account.  Or not.  I don't know any 
more than you do.  But still.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




I've got an existing Sendmail site to move over to Qmail. Currently the
sendmail servers act as if they are the domain address. They have some local
aliases, and rewrite the remaining from *@xx to *@yy (e.g. jhaar@xx becomes
jhaar@yy). I can't see any way of doing this "user-wildcard" with Qmail
without resorting to something lame like:

"|forward `echo $LOCAL|sed 's/^alias-xx//g'`@yy"

in .qmail-default.

Is there some other way of doing it? Fastforward looked promising, but again
it is for explicit alias-to-alias matches - not wildcard users...

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               




On Mon, Feb 07, 2000 at 04:47:21PM +1300, Jason Haar wrote:
> I've got an existing Sendmail site to move over to Qmail. Currently the
> sendmail servers act as if they are the domain address. They have some local
> aliases, and rewrite the remaining from *@xx to *@yy (e.g. jhaar@xx becomes
> jhaar@yy). I can't see any way of doing this "user-wildcard" with Qmail
> without resorting to something lame like:
> 
> "|forward `echo $LOCAL|sed 's/^alias-xx//g'`@yy"
> 
> in .qmail-default.
> 
> Is there some other way of doing it? Fastforward looked promising, but again
> it is for explicit alias-to-alias matches - not wildcard users...

| forward "${DEFAULT}@yy"

is much less lame.

No. There is no rewriting in qmail-queue.

/magnus

-- 
http://x42.com/





I have been using qmail for several months now.  I have a Sparc 10 runing
Solaris 2.6 with 64MB RAM.  Everything was fine.  Suddenly on Friday I
stopped getting mail.  I checked the syslog and nothing had been entered for
a while.  I noticed that it was enormous and that it had filled up the
partition.  I deleted the whole thing.  Qmail did not start delivering.  I
restarted qmail.  It never restarted.  I run 'rc &' and get 'Exit 111    rc
&'.  Any ideas?

Brian Moon






Brian Moon wrote:
> stopped getting mail.  I checked the syslog and nothing had been entered for
> a while.  I noticed that it was enormous and that it had filled up the
> partition.  I deleted the whole thing.  Qmail did not start delivering.  I
> restarted qmail.  It never restarted.  I run 'rc &' and get 'Exit 111    rc
> &'.  Any ideas?

You need to restart the syslogd. Rm'ing the file without restarting the 
syslog proccess means you'll still have the fileahdnle open to that large
syslog file.

Hope that fixes it,

Regards,

Dave.

-- 
Weekend question, "To milkshake or not to milkshake: that is the question.
Whether 'tis nobler in the mind to suffer The slings and arrows of
outrageous gear-shakes, Or to take arms against a sea of joints, And by
smoking end them?".




Is there a program that will reconstruct /var/qmail/queue directory
tree on demand should a catastrophe happen, (other than re-installing
qmail from the sources?)

        Thanks,

        John

-- 

John Conover        [EMAIL PROTECTED]   http://www.inow.com/
631 Lamont Ct.      Tel. 408.370.2688  http://www.inow.com/ntropix/
Campbell, CA 95008  Fax. 408.379.9602  http://www.inow.com/nformatix/





On Mon, Feb 07, 2000 at 06:13:58AM -0000, John Conover wrote:
> Is there a program that will reconstruct /var/qmail/queue directory
> tree on demand should a catastrophe happen, (other than re-installing
> qmail from the sources?)

1. Go to www.qmail.org.
2. Search for fix.

/magnus

-- 
http://x42.com/




Hi,

Is there a way of allowing certain users to be able to end to more than
the control/maxrcpt file??

Many thanks

Tonino




On Mon, Feb 07, 2000 at 08:33:33AM +0200, TAG wrote:
> Hi,
> 
> Is there a way of allowing certain users to be able to end to more than
> the control/maxrcpt file??

What do you mean? 
Have you patched qmail-smtpd for limited number of rcpt-to?
Then modify the patch to be aware of an environment variable that can either
set this to a higher level or unlimited (not good).

I can't get a route to ftp.surfnetcity.com.au this morning, so I cannot
suggest a patch-modification right now. If you send me the patch privately
I'll come back.

/magnus

-- 
http://x42.com/




Hi all !

I have installed the following applications :

 daemontools-0.53+patches-5
 ucspi-tcp-0.84
 MySQL-3.22.27-1
 qmail-etrn-0.1f.diff
 qmail-1.03.tar.gz
 vpopmail-3.4.10

My initial script for launching qmail (/etc/rc.d/init.d/qmail) follows:

#!/bin/sh
#
# /etc/init.d/qmail : start or stop the qmail mail subsystem.
#
# Written by Christian Hudon 
# fixed by Adam McKenna :p

PATH=$PATH:/usr/bin:/usr/local/bin:/var/qmail/bin:/var/qmail/ezmlm:/var/qmail/popusers/bin
USERID=502    # CHANGE THIS TO YOUR QMAILD UID!!!
GROUPID=501  # CHANGE THIS TO YOUR NOFILES GID!!!

case "$1" in
    start)
        echo -n "Starting mail-transfer agent: qmail"
        csh -cf '/var/qmail/rc &' >> /dev/null
        supervise /var/lock/qmail-smtpd tcpserver -c 400 -q -x/etc/tcp.smtp.cdb \
        -u$USERID -g$GROUPID 0 25 qmail-smtpd &
        echo "."
        ;;
    stop)
        echo -n "Stopping mail-transfer agent: qmail"
        PID=`ps -eo pid,comm | awk '{ if ($2 == "qmail-send") print $1}'`
        killall -TERM qmail-send
        svc -dx /var/lock/qmail-smtpd
        echo "."
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    reload|force-reload)
        echo "Reloading 'locals' and 'virtualdomains' control files."
        #PID=`ps -eo pid,comm | awk '{ if ($2 == "qmail-send") print $1}'`
        killall -HUP qmail-send
        ;;
    *)
        echo 'Usage: /etc/init.d/qmail {start|stop|restart|reload}'
        exit 1
esac

exit 0

The inetd.conf line for POP3 service follows :

pop-3    stream  tcp     nowait  root    /var/qmail/bin/tcp-env tcp-env 
/var/qmail/bin/qmail-popup server.bemarnet.es /var/qmail/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir

I have the following problems:

1.- A /etc/rc.d/init.d/qmail stop didn't works fine, so after stopping the service I 
must restartthe machine in order to start the service. I think that the problem is in 
the fact that the POP3 service is launched from inetd. How can I change this in order 
to start/stop both services (POP3 and SMTP) from tcpserver ?

2.- I want to remove the MySQL support for the QMail users using vpopmail (I want to 
use vpopmail but with .db? files for the usernames/passwords), but I don't want to 
lost the users or the mails in the queue. How can I do it ?

Best regards,

Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es




I have to put a footer message in all, in/outbound mail messages.
I now that some other posting to this list told that the clients should
add a signature message.
All mail goes through qmail so is there a way to put a footer message in
each mail.

greetings,
marco leeflang






On Mon, Feb 07, 2000 at 10:50:51AM +0100, Marco Leeflang wrote:
> I have to put a footer message in all, in/outbound mail messages.
> I now that some other posting to this list told that the clients should
> add a signature message.
> All mail goes through qmail so is there a way to put a footer message in
> each mail.

This is almost a FAQ.
1. There is a patch suggestion from David Harris that was posted on this
list that is saved here:
http://x42.com/qmail/patches/drh-outgoing-footer-qmail-smtpd.diff

2. Remember that this works in a very crude way. If you send a multi-part
MIME message with attachments or alternatives then the footer may become
invisible as it is attached at the end.
 
/magnus

-- 
http://x42.com/


Reply via email to