qmail Digest 12 Mar 1999 11:00:01 -0000 Issue 577

Topics (messages 22858 through 22896):

Filtering mails with file attachment
        22858 by: "Sam" <[EMAIL PROTECTED]>

How to monitor qmail-send and friends?
        22859 by: Greg Moeller <[EMAIL PROTECTED]>
        22861 by: Samuel Dries-Daffner <[EMAIL PROTECTED]>
        22862 by: Van Liedekerke Franky <[EMAIL PROTECTED]>
        22863 by: Mate Wierdl <[EMAIL PROTECTED]>
        22864 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        22866 by: Mate Wierdl <[EMAIL PROTECTED]>
        22868 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>

qmail + IMAP
        22860 by: Russell Nelson <[EMAIL PROTECTED]>
        22890 by: Russell Nelson <[EMAIL PROTECTED]>

Strange Phenomen with virtualdomains-file
        22865 by: [EMAIL PROTECTED]

where do I get spong ?
        22867 by: Eduardo Jaime Quiros Batres <[EMAIL PROTECTED]>
        22883 by: Gordon Soukoreff <[EMAIL PROTECTED]>
        22884 by: Jay Soffian <[EMAIL PROTECTED]>
        22887 by: Paul Farber <[EMAIL PROTECTED]>

rewriting to: addresses
        22869 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        22870 by: xs <[EMAIL PROTECTED]>
        22871 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        22872 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        22873 by: Justin Bell <[EMAIL PROTECTED]>
        22876 by: xs <[EMAIL PROTECTED]>

need help ASAP, error to deliver virtual addresses
        22874 by: "Iwao Makino" <[EMAIL PROTECTED]>
        22875 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        22877 by: "Iwao Makino" <[EMAIL PROTECTED]>
        22878 by: Stefan Paletta <[EMAIL PROTECTED]>
        22879 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        22880 by: "Iwao Makino" <[EMAIL PROTECTED]>
        22881 by: "Iwao Makino" <[EMAIL PROTECTED]>
        22882 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
        22885 by: Manfred Spraul <[EMAIL PROTECTED]>
        22886 by: "Iwao Makino" <[EMAIL PROTECTED]>

newaliases problem with fastforward
        22888 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        22889 by: "Jay D. Dyson" <[EMAIL PROTECTED]>

cname_lookup_failed_temporarily
        22891 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
        22892 by: "Adam D. McKenna" <[EMAIL PROTECTED]>

qpopper vulnerability?
        22893 by: Bruce Guenter <[EMAIL PROTECTED]>

Attachments in failure notices
        22894 by: Andreas Altenberger <[EMAIL PROTECTED]>

Limit recipients (some how).
        22895 by: Georgi Kupenov <[EMAIL PROTECTED]>

Problem solved! Thx. to all! (was RE: Strange Phenomen with virtualdomains-file)
        22896 by: "Joerg Toellner (INB)" <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


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


David Lee Haw Ling writes:

> Round-file? How?
> 
> I am not talking about filtering at the email client's end but at qmail server.

So?  Write the code to do it.  Have Qmail reject all mail with a
Content-Type: multipart header.

-- 
Sam





We're running a fairly big Qmail site and have all essential services 
monitored with paging and such. (SMTP, POP, PING, all that)

Now, what happened last night was that qmail-send got stuck.
Everything else was working perfectly, just the Email wasn't being sent 
anywhere.  The only way we noticed it was clients complaining about not 
getting any mail they knew was sent. When I checked the system, the queue was 
at over 500 Meg.
Telling qmail-send to quit didn't help, nor did a regular kill of it, I 
eventually had to kill -9 the process.  When I started it up again, all was 
fine.

The question is how best to monitor that qmail-send is alive and well?
All the processes were there, just not doing anything.

Ideas anyone?

Greg







What I would do is monitor the queue using qmail-qstat or one of the other
utilities like it. Perhaps a good idea would be to check for a number of
messages you think is too high, and if the queue has the same or greater
messages within x timeframe then send the page. 

Can you share some of the scripts you use for paging? We use one called
'checknet' that was written here...it does a cycle of pings across our
network, then it prioritizes which sytems, hubs, etc and pages with the ip
addresses of the non-responsive item. We are interested in moving to a
paging system that checks services, not just network 'upness'.

Samuel Daffner
Mills College ITS


On Thu, 11 Mar 1999, Greg Moeller wrote:

> We're running a fairly big Qmail site and have all essential services 
> monitored with paging and such. (SMTP, POP, PING, all that)
> 
> Now, what happened last night was that qmail-send got stuck.
> Everything else was working perfectly, just the Email wasn't being sent 
> anywhere.  The only way we noticed it was clients complaining about not 
> getting any mail they knew was sent. When I checked the system, the queue was 
> at over 500 Meg.
> Telling qmail-send to quit didn't help, nor did a regular kill of it, I 
> eventually had to kill -9 the process.  When I started it up again, all was 
> fine.
> 
> The question is how best to monitor that qmail-send is alive and well?
> All the processes were there, just not doing anything.
> 
> Ideas anyone?
> 
> Greg
> 
> 
> 






try using spong (Son of Pong), it works great for us here: checking upness,
services (http, ftp,...) disk space,... everything you want (if you know
perl).

Franky

> ----------
> From:         Samuel Dries-Daffner[SMTP:[EMAIL PROTECTED]]
> Reply To:     Samuel Dries-Daffner
> Sent:         Thursday, March 11, 1999 5:43 PM
> To:   Greg Moeller
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: How to monitor qmail-send and friends?
> 
> 
> What I would do is monitor the queue using qmail-qstat or one of the other
> utilities like it. Perhaps a good idea would be to check for a number of
> messages you think is too high, and if the queue has the same or greater
> messages within x timeframe then send the page. 
> 
> Can you share some of the scripts you use for paging? We use one called
> 'checknet' that was written here...it does a cycle of pings across our
> network, then it prioritizes which sytems, hubs, etc and pages with the ip
> addresses of the non-responsive item. We are interested in moving to a
> paging system that checks services, not just network 'upness'.
> 
> Samuel Daffner
> Mills College ITS
> 
> 
> On Thu, 11 Mar 1999, Greg Moeller wrote:
> 
> > We're running a fairly big Qmail site and have all essential services 
> > monitored with paging and such. (SMTP, POP, PING, all that)
> > 
> > Now, what happened last night was that qmail-send got stuck.
> > Everything else was working perfectly, just the Email wasn't being sent 
> > anywhere.  The only way we noticed it was clients complaining about not 
> > getting any mail they knew was sent. When I checked the system, the
> queue was 
> > at over 500 Meg.
> > Telling qmail-send to quit didn't help, nor did a regular kill of it, I 
> > eventually had to kill -9 the process.  When I started it up again, all
> was 
> > fine.
> > 
> > The question is how best to monitor that qmail-send is alive and well?
> > All the processes were there, just not doing anything.
> > 
> > Ideas anyone?
> > 
> > Greg
> > 
> > 
> > 
> 
> 





On Thu, Mar 11, 1999 at 06:01:50PM +0100, Van Liedekerke Franky wrote:
> try using spong (Son of Pong), it works great for us here: checking upness,
> services (http, ftp,...) disk space,... everything you want (if you know
> perl).

I am not sure he wants to monitor the process rather than the size of the
queue.  In any case, he can always use supervise from djb's daemontools
package.

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  




- Mate Wierdl <[EMAIL PROTECTED]>:

| In any case, he can always use supervise from djb's daemontools
| package.

That won't detect a process which got stuck in some black hole, which
was the problem provoking this thread.

- Greg Moeller <[EMAIL PROTECTED]>:

| Telling qmail-send to quit didn't help, nor did a regular kill of
| it, I eventually had to kill -9 the process.  When I started it up
| again, all was fine.

Of course, even after receiving a SIGTERM, qmail-send may stick around
for quite a long time waiting for qmail-local and qmail-remote
processes to finish.  Looking for those might have revealed what was
going wrong.  For example, I have occasionally seen queues beginning
to fill up because some user's .qmail scripts got stuck, filling up
all of qmail-send's local delivery slots.

- Harald




On Thu, Mar 11, 1999 at 06:21:53PM +0100, Harald Hanche-Olsen wrote:
> - Mate Wierdl <[EMAIL PROTECTED]>:
> 
> | In any case, he can always use supervise from djb's daemontools
> | package.
> 
> That won't detect a process which got stuck in some black hole, which
> was the problem provoking this thread.
> 

Can you give an example for a blackhole?  (Like how a user's .qmail can get
stuck?)

Thx

Mate


> - Greg Moeller <[EMAIL PROTECTED]>:
> 
> | Telling qmail-send to quit didn't help, nor did a regular kill of
> | it, I eventually had to kill -9 the process.  When I started it up
> | again, all was fine.
> 
> Of course, even after receiving a SIGTERM, qmail-send may stick around
> for quite a long time waiting for qmail-local and qmail-remote
> processes to finish.  Looking for those might have revealed what was
> going wrong.  For example, I have occasionally seen queues beginning
> to fill up because some user's .qmail scripts got stuck, filling up
> all of qmail-send's local delivery slots.
> 
> - Harald

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  




- Mate Wierdl <[EMAIL PROTECTED]>:

| Can you give an example for a blackhole?  (Like how a user's .qmail
| can get stuck?)

There is of course the deliberate attempt:

|sleep 86400

But what has bitten here a couple of times is an alias set up to
receive mail from some popular mailing lists and inject them into
local newsgroups.  If the news server is down, the script detects this
fact and stashes the message away in a directory to be posted later.
But sometimes, in particular when the news spool is full, the news
server has been accepting connections, then not responding.  Since the
script has no timeout mechanism of its own, the result is a stuck
qmail-local.  (Since then, I have managed to bully the owner of these
scripts into dealing with the situation more intelligently.  So this
particular problem does not occur anymore.)

Another one that bit us is a user trying to deliver mail across NFS
when the NFS server was down.  We go to great lengths to avoid this
sort of thing, always forwarding the mail to the machine hosting the
user's home directory.  But *this* user has more disk space on a
different server than his home one...

- Harald




Peter van Dijk writes:
 > Received: (qmail 23819 invoked by uid 0); 11 Mar 1999 03:33:26 -0000
 > 
 > Why the hell is qmail running as root on ns.crynwr.com?

Laziness.  Heck, I'm still running qmail 1.02.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.




Peter van Dijk writes:
 > On Thu, Mar 11, 1999 at 03:33:23AM -0000, Russell Nelson wrote:
 > > Yup.  A Maildir/checkpassword IMAP.  Got bogged down in the innards of 
 > > IMAP.
 > 
 > Hmm.. and when do you think it'll be finished?
 > 
 > Hmm.. better question: when will any code of that be released? :)

ftp://ftp.qmail.org/imap, although I have some improved code which is
non-functional.  If anyone's interested in continuing development
while I write the book on qmail, I can bundle it up.  Send me private
mail.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.




On Thu, Mar 11, 1999 at 08:56:31AM +0100, Joerg Toellner wrote:
> 
> Next i created a .qmail-outbound-default file (Same owner and group as the
> maildir) with "./outbound" as its contents.
> 

Isn't this supposed to go to a maildir?  Unless you put the trailing "/"
qmail-local will try to find a -mailBOX- to deliver to.

Since there is no mailbox -file- of that name, I'm betting that the
messages are either still in the queue, or they bounced.
 
> Now comes the first test...Oops my mails dont appear in the "outbound"-dir.


> Okay...lets try a reboot and restart qmail....
> 
> SURPRISE! qmail wont come up at startup!!! (I never changed the startup
> files...so why?)...

Why in the world would you reboot the system?  You're not on an NT box...

> Tried to start qmail manually...Sorry....NO QMAIL processes (no rspawn,
> lspawn, clean a.s.o).

And the qmail logs said ... what?
 
> Read all docs again...go through all again and again...

Do the docs ever say to read the logs? :)
 
-- 
John White     johnjohn
             at
               triceratops.com
PGP Public Key: http://www.triceratops.com/john/public-key.pgp




where can I get spong ?

Thanks

On Thu, 11 Mar 1999, Van Liedekerke Franky wrote:

> try using spong (Son of Pong), it works great for us here: checking upness,
> services (http, ftp,...) disk space,... everything you want (if you know
> perl).
> 

Eduardo Jaime Quiros Batres               e-mail: [EMAIL PROTECTED]
Central de Processamento de Dados          Voice: +55 31 899-2500
Universidade Federal de Vicosa               FAX: +55 31 899-2571

   "As leis sao como teias de aranha.  So' os pequenos insetos ficam
    nelas.  Os grandes, as ultrapassam."
                                             Honore de Balzac






Try the internet great place for finding stuff !

On Thu, 11 Mar 1999, Eduardo Jaime Quiros Batres wrote:

> where can I get spong ?
> 
> Thanks
> 
> On Thu, 11 Mar 1999, Van Liedekerke Franky wrote:
> 
> > try using spong (Son of Pong), it works great for us here: checking upness,
> > services (http, ftp,...) disk space,... everything you want (if you know
> > perl).
> > 
> 
> Eduardo Jaime Quiros Batres               e-mail: [EMAIL PROTECTED]
> Central de Processamento de Dados          Voice: +55 31 899-2500
> Universidade Federal de Vicosa               FAX: +55 31 899-2571
> 
>    "As leis sao como teias de aranha.  So' os pequenos insetos ficam
>     nelas.  Os grandes, as ultrapassam."
>                                              Honore de Balzac
> 
> 





 "Eduardo" == Eduardo Jaime Quiros Batres <[EMAIL PROTECTED]> writes:

    Eduardo> where can I get spong ?  Thanks

http://strobe.weeg.uiowa.edu/~edhill/public/spong/
http://www.btc.gatech.edu/net/management/linux/monitoring.html

j.
--
Jay Soffian <[EMAIL PROTECTED]>                       UNIX Systems Administrator
404.572.1941                                             Cox Interactive Media




And the people are really helpful! ;)

Paul D. Farber II
Farber Technology
Ph. 570-628-5303
Fax 570-628-5545
[EMAIL PROTECTED]

On Thu, 11 Mar 1999, Gordon Soukoreff wrote:

> 
> Try the internet great place for finding stuff !
> 
> On Thu, 11 Mar 1999, Eduardo Jaime Quiros Batres wrote:
> 
> > where can I get spong ?
> > 
> > Thanks
> > 
> > On Thu, 11 Mar 1999, Van Liedekerke Franky wrote:
> > 
> > > try using spong (Son of Pong), it works great for us here: checking upness,
> > > services (http, ftp,...) disk space,... everything you want (if you know
> > > perl).
> > > 
> > 
> > Eduardo Jaime Quiros Batres               e-mail: [EMAIL PROTECTED]
> > Central de Processamento de Dados          Voice: +55 31 899-2500
> > Universidade Federal de Vicosa               FAX: +55 31 899-2571
> > 
> >    "As leis sao como teias de aranha.  So' os pequenos insetos ficam
> >     nelas.  Os grandes, as ultrapassam."
> >                                              Honore de Balzac
> > 
> > 
> 
> 





An ISP I am working for recently bought another ISP.  Some of the usernames
they are importing are the same as users they currently have on the system.
If there is duplication of usernames, we are going to create new accounts,
username.nn and forward the mail to them using .qmail files.  What I want to
do is, if the username is unique, the mail can just be forwarded to that
username.  Can I do this with a .qmail-domain-default alias?  It should be
just a rewrite of the domain in the To: field.

I was thinking I could do something just using a |forward, is this possible?

--Adam








i had a similar situation when we bought another isp here,
what we had to do was create a virtualhost entry for the other isp, and
for each user create a .qmail-reefnet-username (we bought reefnet). and
for duplicates, give them a new username to use for dialing up, but tell
them they could keep their email addy. we had to do this with about 10
users, and it worked out ok.

later



end 
-------------------------------------------------
Greg Albrecht                     Safari Internet
System Administrator          Fort Lauderdale, FL
[EMAIL PROTECTED]                      www.safari.net              
              +1[888|954]537-9550
-------------------------------------------------

On Thu, 11 Mar 1999, Adam D. McKenna wrote:

>An ISP I am working for recently bought another ISP.  Some of the usernames
>they are importing are the same as users they currently have on the system.
>If there is duplication of usernames, we are going to create new accounts,
>username.nn and forward the mail to them using .qmail files.  What I want to
>do is, if the username is unique, the mail can just be forwarded to that
>username.  Can I do this with a .qmail-domain-default alias?  It should be
>just a rewrite of the domain in the To: field.
>
>I was thinking I could do something just using a |forward, is this possible?
>
>--Adam
>
>
>
>





Right.  We've already done that.  But some users were not duplicates, so
they were given regular usernames.  I will be putting in .qmail files for
all the duplicates, but I need some way to use .qmail-default to rewrite the
To: domain for those that aren't duplicates.  I.E. if there is no other
qmail file to process the message, convert [EMAIL PROTECTED] to
[EMAIL PROTECTED], and process the mail from there.

--Adam

-----Original Message-----
From: xs <[EMAIL PROTECTED]>
To: Adam D. McKenna <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, March 11, 1999 2:18 PM
Subject: Re: rewriting to: addresses


:
:i had a similar situation when we bought another isp here,
:what we had to do was create a virtualhost entry for the other isp, and
:for each user create a .qmail-reefnet-username (we bought reefnet). and
:for duplicates, give them a new username to use for dialing up, but tell
:them they could keep their email addy. we had to do this with about 10
:users, and it worked out ok.
:
:later
:
:
:
:end
:-------------------------------------------------
:Greg Albrecht                     Safari Internet
:System Administrator          Fort Lauderdale, FL
:[EMAIL PROTECTED]                      www.safari.net
:              +1[888|954]537-9550
:-------------------------------------------------
:
:On Thu, 11 Mar 1999, Adam D. McKenna wrote:
:
:>An ISP I am working for recently bought another ISP.  Some of the
usernames
:>they are importing are the same as users they currently have on the
system.
:>If there is duplication of usernames, we are going to create new accounts,
:>username.nn and forward the mail to them using .qmail files.  What I want
to
:>do is, if the username is unique, the mail can just be forwarded to that
:>username.  Can I do this with a .qmail-domain-default alias?  It should be
:>just a rewrite of the domain in the To: field.
:>
:>I was thinking I could do something just using a |forward, is this
possible?
:>
:>--Adam
:>
:>
:>
:>
:
:






- "Adam D. McKenna" <[EMAIL PROTECTED]>:

| I.E. if there is no other qmail file to process the message, convert
| [EMAIL PROTECTED] to [EMAIL PROTECTED], and process the mail from
| there.

Assuming a virtualdomains entry

domain.com:domain

put the following in ~alias/.qmail-domain-default:

|forward "$DEFAULT"@example.com

(RTFM qmail-command for the meaning of environment variables)

- Harald




On Thu, Mar 11, 1999 at 02:24:11PM -0500, Adam D. McKenna wrote:
# Right.  We've already done that.  But some users were not duplicates, so
# they were given regular usernames.  I will be putting in .qmail files for
# all the duplicates, but I need some way to use .qmail-default to rewrite the
# To: domain for those that aren't duplicates.  I.E. if there is no other
# qmail file to process the message, convert [EMAIL PROTECTED] to
# [EMAIL PROTECTED], and process the mail from there.
# 

.qmail-oldisp-default
|forward "$LOCAL"@whatever.org

# --Adam
# 
# -----Original Message-----
# From: xs <[EMAIL PROTECTED]>
# To: Adam D. McKenna <[EMAIL PROTECTED]>
# Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
# Date: Thursday, March 11, 1999 2:18 PM
# Subject: Re: rewriting to: addresses
# 
# 
# :
# :i had a similar situation when we bought another isp here,
# :what we had to do was create a virtualhost entry for the other isp, and
# :for each user create a .qmail-reefnet-username (we bought reefnet). and
# :for duplicates, give them a new username to use for dialing up, but tell
# :them they could keep their email addy. we had to do this with about 10
# :users, and it worked out ok.
# :
# :later
# :
# :
# :
# :end
# :-------------------------------------------------
# :Greg Albrecht                     Safari Internet
# :System Administrator          Fort Lauderdale, FL
# :[EMAIL PROTECTED]                      www.safari.net
# :              +1[888|954]537-9550
# :-------------------------------------------------
# :
# :On Thu, 11 Mar 1999, Adam D. McKenna wrote:
# :
# :>An ISP I am working for recently bought another ISP.  Some of the
# usernames
# :>they are importing are the same as users they currently have on the
# system.
# :>If there is duplication of usernames, we are going to create new accounts,
# :>username.nn and forward the mail to them using .qmail files.  What I want
# to
# :>do is, if the username is unique, the mail can just be forwarded to that
# :>username.  Can I do this with a .qmail-domain-default alias?  It should be
# :>just a rewrite of the domain in the To: field.
# :>
# :>I was thinking I could do something just using a |forward, is this
# possible?
# :>
# :>--Adam
# :>
# :>
# :>
# :>
# :
# :
# 
# 

-- 
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell  NIC:JB3084| Time and rules are changing.         |
|Pearson                | Attention span is quickening.        |
|Developer              | Welcome to the Information Age.      |
\-------- http://www.superlibrary.com/people/justin/ ----------/





dunno what to tell ya there, let me get into details of what i did here:

dns:
safari.net. in mx mail1.safari.net.
reefnet.com. in mx mail1.safari.net.

qmail:
xs@mail1# echo "reefnet.com">/var/qmail/control/rcpthosts
xs@mail1# echo "reefnet.com:alias-reefnet"> \
          /var/qmail/control/virtualdomains
xs@mail1#: for i in `cat ~/passwd-reefnet|awk -F: '{print $}'`; \
           do adduser $i;echo "&$[EMAIL PROTECTED]"> \
           /var/qmail/alias/.qmail-reefnet-$i;done

# this should produce error for ever dupe user, then just write em down,
# and add them as uname2, and then fix the apropriate .qmail-file-*

anyway i'm sure this wont help, but i'll submit it for reviewing.

thanks

end 
-------------------------------------------------
Greg Albrecht                     Safari Internet
System Administrator          Fort Lauderdale, FL
[EMAIL PROTECTED]                      www.safari.net              
              +1[888|954]537-9550
-------------------------------------------------

On Thu, 11 Mar 1999, Adam D. McKenna wrote:

>Right.  We've already done that.  But some users were not duplicates, so
>they were given regular usernames.  I will be putting in .qmail files for
>all the duplicates, but I need some way to use .qmail-default to rewrite the
>To: domain for those that aren't duplicates.  I.E. if there is no other
>qmail file to process the message, convert [EMAIL PROTECTED] to
>[EMAIL PROTECTED], and process the mail from there.
>
>--Adam
>
>-----Original Message-----
>From: xs <[EMAIL PROTECTED]>
>To: Adam D. McKenna <[EMAIL PROTECTED]>
>Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Thursday, March 11, 1999 2:18 PM
>Subject: Re: rewriting to: addresses
>
>
>:
>:i had a similar situation when we bought another isp here,
>:what we had to do was create a virtualhost entry for the other isp, and
>:for each user create a .qmail-reefnet-username (we bought reefnet). and
>:for duplicates, give them a new username to use for dialing up, but tell
>:them they could keep their email addy. we had to do this with about 10
>:users, and it worked out ok.
>:
>:later
>:
>:
>:
>:end
>:-------------------------------------------------
>:Greg Albrecht                     Safari Internet
>:System Administrator          Fort Lauderdale, FL
>:[EMAIL PROTECTED]                      www.safari.net
>:              +1[888|954]537-9550
>:-------------------------------------------------
>:
>:On Thu, 11 Mar 1999, Adam D. McKenna wrote:
>:
>:>An ISP I am working for recently bought another ISP.  Some of the
>usernames
>:>they are importing are the same as users they currently have on the
>system.
>:>If there is duplication of usernames, we are going to create new accounts,
>:>username.nn and forward the mail to them using .qmail files.  What I want
>to
>:>do is, if the username is unique, the mail can just be forwarded to that
>:>username.  Can I do this with a .qmail-domain-default alias?  It should be
>:>just a rewrite of the domain in the To: field.
>:>
>:>I was thinking I could do something just using a |forward, is this
>possible?
>:>
>:>--Adam
>:>
>:>
>:>
>:>
>:
>:
>
>
>





hello all,

I have problem reported from my clients that they can not receive
e-mail under our virtual domains.

and when i look at /var/log/maillog, the following error shows up

qmail: 921181110.478964 delivery 2387: deferral:
Unable_to_forward_message:_qq_write_error_or_disk_full_(#4.3.0)./

and I know the disk is not full...

can anyone suggest how to fix this problem?
it's working for my own domain's virtual addresses.

tia,






- "Iwao Makino" <[EMAIL PROTECTED]>:

| and when i look at /var/log/maillog, the following error shows up
| 
| qmail: 921181110.478964 delivery 2387: deferral:
| Unable_to_forward_message:_qq_write_error_or_disk_full_(#4.3.0)./
| 
| and I know the disk is not full...

Maybe not now, but it might get full during the forwarding of that
message:  You need at least as much free disk space as the size of the
message.

If that is not the problem, there is probably something wrong with the
file system.  Shut down qmail, unmount /var/qmail, and fsck it.

- Harald






Harald,

thanks for reply, but I guess your suggestion was not my case :(


Harald Hanche-Olsen wrote:
> | and when i look at /var/log/maillog, the following error shows up
> | 
> | qmail: 921181110.478964 delivery 2387: deferral:
> | Unable_to_forward_message:_qq_write_error_or_disk_full_(#4.3.0)./
> | 
> | and I know the disk is not full...
> 
> Maybe not now, but it might get full during the forwarding of that
> message:  You need at least as much free disk space as the size of the
> message.
This is not my case, 'cause all disks are not even half way full.

> If that is not the problem, there is probably something wrong with the
> file system.  Shut down qmail, unmount /var/qmail, and fsck it.
I checked disks, none seems to have problems. also, I am not using
/var/qmail
I am using ~/Maildir, just virtuals are not working anymore...

ps; i didn't make any changes, and it was working before 

Iwao,







Iwao Makino wrote/schrieb/scribsit:

> I checked disks, none seems to have problems. also, I am not using
> /var/qmail
> I am using ~/Maildir, just virtuals are not working anymore...

Nontheless are you using /var/qmail for qmail's queue to which the error
refers.

Stefan





- "Iwao Makino" <[EMAIL PROTECTED]>:

| Harald Hanche-Olsen wrote:
| > | and when i look at /var/log/maillog, the following error shows up
| > | 
| > | qmail: 921181110.478964 delivery 2387: deferral:
| > | Unable_to_forward_message:_qq_write_error_or_disk_full_(#4.3.0)./
| > | 
| > | and I know the disk is not full...
| > 
| > Maybe not now, but it might get full during the forwarding of that
| > message:  You need at least as much free disk space as the size of the
| > message.
| This is not my case, 'cause all disks are not even half way full.
| 
| > If that is not the problem, there is probably something wrong with the
| > file system.  Shut down qmail, unmount /var/qmail, and fsck it.
| I checked disks, none seems to have problems. also, I am not using
| /var/qmail
| I am using ~/Maildir, just virtuals are not working anymore...

Wait a minute.  The queue usually resides in /var/qmail.  I don't
believe you put it in ~/Maildir.  Using ~/Maildir just means that is
where you deliver local mail, instead of /var/mail/.  But /var/qmail/
is a different place than /var/mail/, and used for different things.

Your message comes from qmail-local, which generated it as a result of
qmail-queue being unable to put a message in the queue.  This is not a
question of local delivery, but of forwarding mail, just like the
message says.  This should be unrelated to whether the delivery is
local or to a virtual domain.

Are you *absolutely sure* the disk which holds the qmail queue
(wherever it is) is less than half full?  If yes, and if the
filesystem checks out ok, all I can think of is some OS bug.  But
maybe others on the list have other ideas?  In any case, it may be
useful if you tell us what operating system you have.

- Harald





> > I checked disks, none seems to have problems. also, I am not using
> > /var/qmail
> > I am using ~/Maildir, just virtuals are not working anymore...
> 
> Nontheless are you using /var/qmail for qmail's queue to which the error
> refers.

oops

of course,...i am using /var/qmail.... 






I am sorry, I made wrong statement...

> | Harald Hanche-Olsen wrote:
> | > | and when i look at /var/log/maillog, the following error shows up
> | > | 
> | > | qmail: 921181110.478964 delivery 2387: deferral:
> | > | Unable_to_forward_message:_qq_write_error_or_disk_full_(#4.3.0)./
> | > | 
> | > | and I know the disk is not full...
> | > 
> | > Maybe not now, but it might get full during the forwarding of that
> | > message:  You need at least as much free disk space as the size of
the
> | > message.
> | This is not my case, 'cause all disks are not even half way full.
> | 
> | > If that is not the problem, there is probably something wrong with
the
> | > file system.  Shut down qmail, unmount /var/qmail, and fsck it.
> | I checked disks, none seems to have problems. also, I am not using
> | /var/qmail
> | I am using ~/Maildir, just virtuals are not working anymore...
> 
> Wait a minute.  The queue usually resides in /var/qmail.  I don't
> believe you put it in ~/Maildir.  Using ~/Maildir just means that is
> where you deliver local mail, instead of /var/mail/.  But /var/qmail/
> is a different place than /var/mail/, and used for different things.
I mis-understood /var/mail and /var/qmail <q>

> Are you *absolutely sure* the disk which holds the qmail queue
> (wherever it is) is less than half full?  If yes, and if the
> filesystem checks out ok, all I can think of is some OS bug.  But
> maybe others on the list have other ideas?  In any case, it may be
> useful if you tell us what operating system you have.
I'll copy the df, result
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda2             100134   51116    43847     54%   /
/dev/sda8             414341  270713   122228     69%   /usr
/dev/sda7            1015656  328471   634706     34%   /var
/dev/sdc1            2029283  275782  1648593     14%   /export1
/dev/sdc2            2029299    1484  1922907      0%   /export2
/dev/sdc3            2029299   54482  1869909      3%   /export3
/dev/sdc4            2542961  847111  1564369     35%   /work
/dev/sdb1            2043133  777345  1160175     40%   /home

Using axp/linux w/ qmail 1.03







- "Iwao Makino" <[EMAIL PROTECTED]>:

| > Are you *absolutely sure* the disk which holds the qmail queue
| > (wherever it is) is less than half full?  If yes, and if the
| > filesystem checks out ok, all I can think of is some OS bug.

| Filesystem         1024-blocks  Used Available Capacity Mounted on
| /dev/sda7            1015656  328471   634706     34%   /var

Looks good to me.

| Using axp/linux w/ qmail 1.03

Unless you are somehow running into a disk quota problem for the
qmailq user, all I can think of is still an operating system bug.

I don't know enough linux to be able to guess, or help out in any
useful way, so I'll leave the discussion here.

- Harald




Iwao Makino wrote:
> I'll copy the df, result
> Filesystem         1024-blocks  Used Available Capacity Mounted on
> /dev/sda2             100134   51116    43847     54%   /
> /dev/sda8             414341  270713   122228     69%   /usr
> /dev/sda7            1015656  328471   634706     34%   /var
> /dev/sdc1            2029283  275782  1648593     14%   /export1
> /dev/sdc2            2029299    1484  1922907      0%   /export2
> /dev/sdc3            2029299   54482  1869909      3%   /export3
> /dev/sdc4            2542961  847111  1564369     35%   /work
> /dev/sdb1            2043133  777345  1160175     40%   /home

did you check the number of inodes?
(df -i)

or: start 'strace -o /tmp/largelog qmail' instead of qmail.

with a bit luck this should show you the exact function call that causes
the problem.

--
        Manfred





Thank you all who helped on this mailing list, and guy on #qmail at IRC.

the problem was not qmail..it was on server side.
the quota system was not functioning correct, so I fixed that problem and
now all the queues goin thru.

thanks again!






When I try to run newaliases, I get the following message:

bash-2.02# ./newaliases 
newaliases: fatal: file delivery /dev/null not supported

This is on a solaris 2.6 box..  any ideas?

TIA

--Adam




-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 11 Mar 1999, Adam D. McKenna wrote:

> When I try to run newaliases, I get the following message:
> 
> bash-2.02# ./newaliases 
> newaliases: fatal: file delivery /dev/null not supported
> 
> This is on a solaris 2.6 box..  any ideas?

        Check your /etc/aliases file.  Chances are you have user "nobody"
pointing to /dev/null.  Change it to "alias" instead of "/dev/null" and
you should be set.

- -Jay

   (                                                             ______
   ))   .-- "There's always time for a good cup of coffee." --.   >===<--.
 C|~~| (>-- Jay D. Dyson -- [EMAIL PROTECTED] --<) |   = |-'
  `--'  `-- As a matter of fact, I *am* a rocket scientist. --'  `-----'

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNuhli7l5qZylQQm1AQE2lAP+LU/zkINss8m9fJemtTZ3vsipmdXNRXB7
YNGgHlSrBNbGJXYv9T5ylXB+p0QgAqT3MxbZsHAuGZmaABJbWK13sbPVQVtNw/ky
pC6FpNAwtnbkrVYkrvmw4Cidte7BUuYoIuVnESxby95NwFXi8OccE6qHGWU5SSbl
GiYf6DvdxOw=
=wNQi
-----END PGP SIGNATURE-----





sorry to bother the list with this, but someone wrote a patch for dns.c to
stop this from happening..  I can't find it on the qmail site, does anyone
have the URL?

Thanks,

Adam
---
bash: syntax error near unexpected token `:)'

Adam D. McKenna
[EMAIL PROTECTED]






Never mind -- I'm blind :)

--Adam

----- Original Message -----
From: Adam D. McKenna <[EMAIL PROTECTED]>
To: Qmail <[EMAIL PROTECTED]>
Sent: Thursday, March 11, 1999 8:53 PM
Subject: cname_lookup_failed_temporarily


:sorry to bother the list with this, but someone wrote a patch for dns.c to
:stop this from happening..  I can't find it on the qmail site, does anyone
:have the URL?
:
:Thanks,
:
:Adam
:---
:bash: syntax error near unexpected token `:)'
:
:Adam D. McKenna
:[EMAIL PROTECTED]
:
:
:






On Tue, Mar 09, 1999 at 12:28:04PM -0700, John Gonzalez/netMDC admin wrote:
> has anyone messed with the popbull feature with virtual domains or the
> vmailmgrd patch?

vmailmgrd as of version 0.86 has had this feature built in.
-- 
Bruce Guenter, QCC Communications Corp.  EMail: [EMAIL PROTECTED]
Phone: (306)249-0220               WWW: http://www.qcc.sk.ca/~bguenter/




Hi!

I got the following problem

The useser of my qmail-server often send Attachments. Now and then it
happens that they send to wrong addresses, etc. 
The problem is, that the Mailer demon the returns a failure notice
including the attachment in the text area of the mail.

What can I do to make qmail NOT return the attachment ? 

Any help will be appreciated.

Thanks in advance.

bye-Andreas. 
*******************************************
Andreas Altenberger
Techno-Z Salzburg, EDV-Zentrum
A-5020 Salzburg, Jakob Haringer Str. 1
Voice: +43-662-454888-160, Fax: +43-662-454889
Email: [EMAIL PROTECTED]
********************************************EOF.




Any idea how to limit the number of
recepients per message?

        JKK




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 11. M�rz 1999 18:56
To: qmail mailing list
Subject: Re: Strange Phenomen with virtualdomains-file


On Thu, Mar 11, 1999 at 08:56:31AM +0100, Joerg Toellner wrote:
>>
>> Next i created a .qmail-outbound-default file (Same owner and group as
>> the maildir) with "./outbound" as its contents.

>Isn't this supposed to go to a maildir?  Unless you put the trailing "/"
>qmail-local will try to find a -mailBOX- to deliver to.

Yes, youre right! I forgot the trailing / I corrected it immediately! Thx.
for your hint. But this was not the main thing.

>> Okay...lets try a reboot and restart qmail....
>> SURPRISE! qmail wont come up at startup!!! (I never changed the startup
>> files...so why?)...

> Why in the world would you reboot the system?  You're not on an NT box...

:-) I said im not a Linux-Expert! I promise: Ill pray from now on every
evening: I never never NEVER reboot a Linux server!

> Tried to start qmail manually...Sorry....NO QMAIL processes (no rspawn,
> lspawn, clean a.s.o).
> And the qmail logs said ... what?

Nothing...but is solved the problem now. The permissions of the
virtualdomains file in /var/qmail/control were wrong. After chmod them all
works fine. My mails arrive in my alias-outbound maildir and serialmail send
them to my isp. I receive: Msg. accepted for delivery! Hooooraaaayyyy!

Thx. to all here and special thx. to John White!

But be sure...ill return in the next episode of this story with another
question and with a NOT REBOOTED machine :-))))

CYA
Joerg



Reply via email to