dot-qmail-default

2001-07-06 Thread GARGIULO Eduardo INGDESI

I'have installed qmail on my system, but I don't know if
is necesary to create a .qmail-default file, because I
don't clearly understand the meaning of this file.

Should I create it? and what should I write there?

~edu



Re: dot-qmail-default

2001-07-06 Thread Brett Randall

 Charles == Charles Cazabon [EMAIL PROTECTED] writes:

 You only need ~alias/.qmail-default if you want to catch all mail
 for any address on localhost.

Just a note: Charles means any address *that isn't able to be
delivered to any other user* on localhost.
-- 
Windows 95 /n./ 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition.



dot-qmail problem

2001-07-03 Thread usenet_only

Hello,

I am using the .qmail-file to forward messages to another email-address.
But I want to keep the mails in original Maildir also.

My .qmail-file:

[EMAIL PROTECTED]
./Maildir/

Postmaster receives following error:

Hi. This is the qmail-send program at mydomain.com
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, no mailbox here by that name. vpopmail (#5.1.1)

What is wrong?

I'm using qmail-1.03 with vpopmail 4.9.8-1

Peter

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 11!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a




Re: dot-qmail problem

2001-07-03 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 [EMAIL PROTECTED]:
 Sorry, no mailbox here by that name. vpopmail (#5.1.1)
 
 What is wrong?

You're using vpopmail, which seems to have its own interpretation of .qmail
files.  Switch to vmailmgr (where you can override the default behaviour using
.qmail files without running into this) or figure out how to configure both
forwarding and local storing of mail from within vpopmail.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: dot-qmail problem

2001-07-03 Thread Lou Hevly

At 12:00 03/07/01, [EMAIL PROTECTED] wrote:
Hello,

I am using the .qmail-file to forward messages to another 
email-address.
But I want to keep the mails in original Maildir also.

Which original Maildir?  You have to specify a username.


My .qmail-file:

[EMAIL PROTECTED]
./Maildir/

Assuming your .qmail-file is in ~/vpopmail/domains/mydomain.com, this 
should be (assuming you want user postmaster to receive the message):

[EMAIL PROTECTED]
./postmaster/Maildir/

BTW, you might want to subscribe to the vpopmail list; try:
[EMAIL PROTECTED]

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




Re: dot qmail problem urgent

2001-06-03 Thread Henning Brauer

On Fri, Jun 01, 2001 at 11:31:32PM +0800, Lye On Siong Johnny wrote:
 .qmail-default

remove this one too.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny

Hi,

I am using qmail + vpopmail.
Currently, I am facing this problem. I have email account like test, 
test-a, test-b
everything works fine. However, when someone send a mail to test-c, it's 
send to test instead.
Is there anyway i can configure it such that if there isn't any valid 
account or .qmail file, then the
mail should be bounce instead of being delivered.


Please advice

Thanks
Johnny




Re: dot qmail problem urgent

2001-06-01 Thread Henning Brauer

On Fri, Jun 01, 2001 at 09:09:59PM +0800, Lye On Siong Johnny wrote:
 Hi,
 
 I am using qmail + vpopmail.
 Currently, I am facing this problem. I have email account like test, 
 test-a, test-b
 everything works fine. However, when someone send a mail to test-c, it's 
 send to test instead.
 Is there anyway i can configure it such that if there isn't any valid 
 account or .qmail file, then the
 mail should be bounce instead of being delivered.

remove the test-default .qmail-file.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny

Hi, thanks for your reply.

But i need to have the .qmail-test cause it's use to forward it to another 
email

Any suggestion??
Thanks

At 03:27 PM 6/1/2001 +0200, Henning Brauer wrote:
On Fri, Jun 01, 2001 at 09:09:59PM +0800, Lye On Siong Johnny wrote:
  Hi,
 
  I am using qmail + vpopmail.
  Currently, I am facing this problem. I have email account like test,
  test-a, test-b
  everything works fine. However, when someone send a mail to test-c, it's
  send to test instead.
  Is there anyway i can configure it such that if there isn't any valid
  account or .qmail file, then the
  mail should be bounce instead of being delivered.

remove the test-default .qmail-file.

--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




Re: dot qmail problem urgent

2001-06-01 Thread Henning Brauer

On Fri, Jun 01, 2001 at 09:48:41PM +0800, Lye On Siong Johnny wrote:
 Hi, thanks for your reply.
 
 But i need to have the .qmail-test cause it's use to forward it to another 
 email

remove .qmail-test-default. Or create .qmail-test-c with |bouncesaying
[params] in it.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: dot qmail problem urgent

2001-06-01 Thread Ahmad Ridha

From: Lye On Siong Johnny [EMAIL PROTECTED]

 Hi, thanks for your reply.

 But i need to have the .qmail-test cause it's use to forward it to another
 email


Delete you .qmail-test-default not .qmail-test. By having
.qmail-test-default you're accepting every mails sent to test-whatever
(test-c, test-d, etc).

Regards,

Ahmad Ridha


 smime.p7s


Re: dot qmail problem urgent

2001-06-01 Thread Lye On Siong Johnny


On Fri, Jun 01, 2001 at 09:48:41PM +0800, Lye On Siong Johnny wrote:
  Hi, thanks for your reply.
 
  But i need to have the .qmail-test cause it's use to forward it to another
  email

remove .qmail-test-default. Or create .qmail-test-c with |bouncesaying
[params] in it.

I have remove the .qmail-test-default file.
Now the mail is still send to test when i send a mail to test-c, it doesn't 
get bounce.

The option of creating a .qmail-test-c is not viable as I will never know 
what other people is going to send to me,
they could be sending to test-go, test-k etc.

Currently, my .qmail file are as follow

.qmail-test
[EMAIL PROTECTED]

.qmail-test-a
[EMAIL PROTECTED]

.qmail-default
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

Please help me again. Help really appreciated.


Johnny




Re: dot-qmail

2001-05-29 Thread Charles Cazabon

Martin Kos [EMAIL PROTECTED] wrote:
 
 i know about the possibilty to get everything before the @ inside the
 .qmail-file with LOCAL ...

Assuming you mean the environment variable $LOCAL...

 but if i have a dot-qmail-file like .qmail-test  and somebody sends a mail
 to test34@, how can i get only the 34 without the test before?

test34 will not be handled by local user test.  test-34 will, however.

 is there also something like LOCAL ...  extension or so?  i'll be happy if
 somebody could help me, 'cause i haven't found anything that would help me
 in the dot-qmail-man.

It's in the man page for qmail-command.  That's why the dot-qmail man page has
qmail-command listed at the bottom, in the see also section.

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



RE: dot qmail problem (HELP NEEDED URGENT)

2001-04-06 Thread Wei Yao Gharib

Hello,

Thank you very much for your help, patience to
read my email and time to answer it, specially to
Keary Suska and Brad Dameron. I appreciated it very
much. Your advices helped a lot!
 It worked finally!
 I created the dot-qmail in the level of the
domains and put dot-qmail with the name like
dot-qmail-virtualuser. Besides this, I also tried to
create the file as the vpopmail user, instead to
change the ownership after. But really the dot-qmail
doesn't work under the folder of the virtual user, it
causes a lot of problem.

Best regards,
Wei Yao Gharib

=

Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808  Fax: +212(0)37810773


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-03 Thread Wei Yao Gharib

Hello,

   Keary Suska said:

"Who is uid 511? If it is the vpopmail user, then
vpopmail is 
perpetually
reinjecting the email. If it is a qmail user, then it
is qmail. I 
believe
that I recall a problem with vpopmail that it could
not handle pipes.
Perhaps this is the problem."

Sorry to ask basic questions, I am newbie in this
domain. The uid 511 is the vpopmail user, but if it is
rejecting why when I tested it with mailing to another
user, that user received, even with all the looping?
(His inbox kept receiving the emails until we removed
the dot-qmail of the original user).
 

"To remedy this, you would move your 
command to
the top level where the .qmail-default is, and use the
.qmail-user 
format,
but you will probably have to include the vpopomail
invocations found 
in
.qmail-default to ensure mail delivery, but you can
test that. Also, be 
sure
that your command line returns a status of 0, which
you should force 
whether
the command line works or not. Better yet, call a
shell script."

The top level means in the domains level or in the
vpopmail folder? And what means "include the vpopomail
invocations found in .qmail-default".

TIA
Wei Yao Gharib





=

Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808  Fax: +212(0)37810773


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-03 Thread Dave Sill

Wei Yao Gharib [EMAIL PROTECTED] wrote:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13266 invoked by uid 511); 2 Apr 2001
16:24:06 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13259 invoked by uid 511); 2 Apr 2001
16:24:06 -

Something is seriously broken. You should *NEVER* see duplicate
Delivered-To header fields in a message delivered by
qmail. qmail-local--which adds them--will bounce a message before
adding a duplicate.

-Dave



Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-03 Thread Keary Suska

 Sorry to ask basic questions, I am newbie in this
 domain. The uid 511 is the vpopmail user, but if it is
 rejecting why when I tested it with mailing to another
 user, that user received, even with all the looping?

Not rejecting, "re-injecting". vpopmail is invoking qmail (probably
qmail-inject) and asking it to resend the message. That would be the reason
for the duplicate delivery headers Apparently, vpopmail is also successfully
delivering the message.

 The top level means in the domains level or in the
 vpopmail folder? And what means "include the vpopomail
 invocations found in .qmail-default".

Yes. vpopmail works by telling qmail to deliver messages to
~/vpopmail/domains/virtualdomain.com/ (~ being whatever the vpopmail home
is, whether /var or /home or whatever). In that directory, there is a
.qmail-default that tells qmail to invoke the vpopmail delivery program to
actually deliver the message (IIRC). At that point, the vdeliver program
either delivers the message or returns an error to indicate no such user or
what not. A .qmail-user file will override the .qmail-default, and be used
for delivery instructions. To do this, you could cd into the particular
directory for the virtual domain, copy the .qmail-default file to the
appropriate .qmail-user name (e.g. .qmail-henry), then append your command
line for sending the alerts. If mail gets delivered but no alerts are sent,
then the vdeliver program is telling qmail to stop processing the .qmail
file, in which case you have to move your command line above the line(s)
provides in the .qmail-default file. It should theoretically be that simple.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Tue, 3 Apr 2001 02:56:52 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 Keary Suska said:
 
 "Who is uid 511? If it is the vpopmail user, then
 vpopmail is 
 perpetually
 reinjecting the email. If it is a qmail user, then it
 is qmail. I 
 believe
 that I recall a problem with vpopmail that it could
 not handle pipes.
 Perhaps this is the problem."
 
 Sorry to ask basic questions, I am newbie in this
 domain. The uid 511 is the vpopmail user, but if it is
 rejecting why when I tested it with mailing to another
 user, that user received, even with all the looping?
 (His inbox kept receiving the emails until we removed
 the dot-qmail of the original user).
 
 
 "To remedy this, you would move your
 command to
 the top level where the .qmail-default is, and use the
 .qmail-user 
 format,
 but you will probably have to include the vpopomail
 invocations found
 in
 .qmail-default to ensure mail delivery, but you can
 test that. Also, be
 sure
 that your command line returns a status of 0, which
 you should force 
 whether
 the command line works or not. Better yet, call a
 shell script."
 
 The top level means in the domains level or in the
 vpopmail folder? And what means "include the vpopomail
 invocations found in .qmail-default".
 
 TIA
 Wei Yao Gharib
 
 
 
 
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/
 




dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Wei Yao Gharib

Hello,
  
   I have RedHat 6.0 and RedHat6.2. There is
qmail-1.03; vpopmail and sqwebmail installed as major
sotwares for mail.
   I tried to create dot-qmail for the virtual users
inside of the vpopmail folders so any new income mail
for that user, it will send an SMS or a email to
another address to notify the new message (which will
contain who is sending and the subject).
I found some scripts in the mailing list and tried
a simple one just to test:
"| egrep -e '^From:|Subject:' | Mail -s YouGotMail 
 [EMAIL PROTECTED]"
But the time that I put this in the .qmail and the
user received one new message, it started to send
thousands of email to without stoping until I removed
dot-qmail.
I tried other scripts that I found in the mailing
list and the same behaviour happened again. I read the
documentation of qmail and the mailing list but I
still cannot find where I am missing.
Please any help will be very appreciated.

TIA
Wei Yao Gharib

=

Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808  Fax: +212(0)37810773


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

Qmail is not very robust when it comes to dealing with errors or unexpected
conditions in .qmail files. The most common response by qmail in such a
situation is to get into an infinite delivery loop. That being said, if I
recall correctly, there is particular behavior of qmail's delivery system
that is effected by the return status of piped programs. I don't recall what
these are, but it could be that a status of 0 (what would be returned by
your command line) may not be the status desired. Another issue could be
that I recall some issues with using piped commands with vpopmail. Since it
is actually vpopmail that handles the final delivery step (you can see this
in the .qmail-default file of your virtual domain directory), it could be
vpopmail that is returning an unexpected result to qmail and causing it to
attempt redelivery. I believe it is qmail-local that handles local
deliveries for qmail--have you read over its docs?

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 07:46:36 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 I have RedHat 6.0 and RedHat6.2. There is
 qmail-1.03; vpopmail and sqwebmail installed as major
 sotwares for mail.
 I tried to create dot-qmail for the virtual users
 inside of the vpopmail folders so any new income mail
 for that user, it will send an SMS or a email to
 another address to notify the new message (which will
 contain who is sending and the subject).
 I found some scripts in the mailing list and tried
 a simple one just to test:
 "| egrep -e '^From:|Subject:' | Mail -s YouGotMail
 [EMAIL PROTECTED]"
 But the time that I put this in the .qmail and the
 user received one new message, it started to send
 thousands of email to without stoping until I removed
 dot-qmail.
 I tried other scripts that I found in the mailing
 list and the same behaviour happened again. I read the
 documentation of qmail and the mailing list but I
 still cannot find where I am missing.
 Please any help will be very appreciated.
 
 TIA
 Wei Yao Gharib
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Wei Yao Gharib

Hello,

   I am not using any smtproutes. I tested many
commands in the scripts and all of them is giving the
same results.
   The most simple command that I did :
"| cat 
/home/vpopmail/domains/wisecom.ar.mail.ma/amina/filename"

   And the result was like that:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13266 invoked by uid 511); 2 Apr 2001
16:24:06 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13259 invoked by uid 511); 2 Apr 2001
16:24:06 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13252 invoked by uid 511); 2 Apr 2001
16:24:06 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13245 invoked by uid 511); 2 Apr 2001
16:24:05 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13238 invoked by uid 511); 2 Apr 2001
16:24:05 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13231 invoked by uid 511); 2 Apr 2001
16:24:05 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13224 invoked by uid 511); 2 Apr 2001
16:24:05 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13217 invoked by uid 511); 2 Apr 2001
16:24:04 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13210 invoked by uid 511); 2 Apr 2001
16:24:04 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13203 invoked by uid 511); 2 Apr 2001
16:24:04 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13196 invoked by uid 511); 2 Apr 2001
16:24:03 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 13189 invoked by uid 511); 2 Apr 2001
16:24:03 -
Delivered-To: [EMAIL PROTECTED]
...
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8513 invoked by uid 511); 2 Apr 2001
16:22:10 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8506 invoked by uid 511); 2 Apr 2001
16:22:10 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8499 invoked by uid 511); 2 Apr 2001
16:22:10 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8492 invoked by uid 511); 2 Apr 2001
16:22:10 -
Message-ID:
[EMAIL PROTECTED]
From: "gharib abdelhak" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: 16:09
Date: Mon, 02 Apr 2001 16:22:10 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

hi 1


Please, could tell me where am I missing.

TIA
Wei Yao Gharib



=

Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808  Fax: +212(0)37810773


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

 Qmail is not very robust when it comes to dealing with errors or unexpected
 conditions in .qmail files.
 
 What do you base this on?  The experience of the rest of the members of the
 list would tend to show that this is simply incorrect.

In retrospect, it could be true that the issue is with vpopmail, since my
experiences are based only on both, but only if vpopmail is explicitly
reinjecting the email. If it is instead returning a status that does not
indicate to qmail to stop attempting delivery or whatever, qmail should get
the clue that delivery isn't going to happen after some number of failures
(and that shouldn't be thousands). But since I can't say for sure what is
happening, I will have to withdraw my comment for the moment.

-K


 From: Charles Cazabon [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 15:19:42 -0600
 To: Qmail [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Keary Suska [EMAIL PROTECTED] wrote:
 
 The most common response by qmail in such a situation is to get into an
 infinite delivery loop.
 
 A .qmail file won't cause this in general; it normally takes an incorrect
 smtproutes setting to cause a mail loop.  Of course, deliveries to commands
 can cause all sorts of problems, if the script/command you are delivering to
 is buggy.
 
 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.
 ---
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

Who is uid 511? If it is the vpopmail user, then vpopmail is perpetually
reinjecting the email. If it is a qmail user, then it is qmail. I believe
that I recall a problem with vpopmail that it could not handle pipes.
Perhaps this is the problem. To remedy this, you would move your command to
the top level where the .qmail-default is, and use the .qmail-user format,
but you will probably have to include the vpopomail invocations found in
.qmail-default to ensure mail delivery, but you can test that. Also, be sure
that your command line returns a status of 0, which you should force whether
the command line works or not. Better yet, call a shell script.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 15:19:03 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 I am not using any smtproutes. I tested many
 commands in the scripts and all of them is giving the
 same results.
 The most simple command that I did :
 "| cat 
 /home/vpopmail/domains/wisecom.ar.mail.ma/amina/filename"
 
 And the result was like that:
 
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13266 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13259 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13252 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13245 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13238 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13231 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13224 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13217 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13210 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13203 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13196 invoked by uid 511); 2 Apr 2001
 16:24:03 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13189 invoked by uid 511); 2 Apr 2001
 16:24:03 -
 Delivered-To: [EMAIL PROTECTED]
 ...
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8513 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8506 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8499 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8492 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Message-ID:
 [EMAIL PROTECTED]
 From: "gharib abdelhak" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: 16:09
 Date: Mon, 02 Apr 2001 16:22:10 GMT
 Mime-Version: 1.0
 Content-Type: text/plain; format=flowed;
 charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 
 hi 1
 
 
 Please, could tell me where am I missing.
 
 TIA
 Wei Yao Gharib
 
 
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text
 




dot-qmail question

2001-03-31 Thread Wei Yao Gharib

Hi
  
   I looked into the mailing list of qmail, the
documentation of dot-qmail and the qmail-command and I
am still having the same problem. I do not know if it
is for this group or not.

   I have qmail-1.03, vpopmail-4.9.9 and
sqwebmail-1.2.5. I am trying to set up a notification
by sending email to another address, or through sms. I
put the command line into the .qmail:
"| egrep -e '^From:|Subject:' | Mail -s YouGotMail 
[EMAIL PROTECTED]"
   And it worked but sending messages without stoping
to [EMAIL PROTECTED] It only stopped after the
.qmail file was deleted.
   What did I miss?
   I will appreciate any help.

TIA
Wei Yao Gharib


=

Wei Yao Gharib
System Administrator
Wise Communication
N° 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
Tel: +212(0)37810808  Fax: +212(0)37810773


__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text



Fw: About dot qmail program!

2001-03-22 Thread shenjuefei

can u send me your program? I think u have mistake in useing stream IO or read 
function .
 
 - Original Message - 
 From: "Silver Dirk" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, March 22, 2001 12:04 PM
 Subject: About dot qmail program!
 
 
  Hello all,
  
  I write a program use C/C++ language, and put its path into a dot qmail file 
like this:
  
  |/path/to/my/program/getmailcontent
  
  But I get nothing but headers. So I need urs help how to get the whole mail 
content from
  this environment.
  
  Thanks a lot.
  
  Dirk.ye
  2001/3/23
  
  
 



Re: About dot qmail program!

2001-03-22 Thread shenjuefei

can this program work?



char buffer[1024];

FILE *pFile;
pFile = popen("/var/qmail/bin/forward [EMAIL PROTECTED]","w");
if (!pFile) err_sys("error open pipe file");

while(fgets(stdin,buffer,sizeof(buffer)-1)) 
fputs(buffer,pFile);

if (pclose(pFile)) err_sys("error close pipe");
exit(0);
___

- Original Message - 
From: "Silver Dirk" [EMAIL PROTECTED]
To: "shenjuefei" [EMAIL PROTECTED]
Sent: Thursday, March 22, 2001 4:44 PM
Subject: Re: About dot qmail program!


 ÈçÏ£º
 
 
 
 
 #define BUFFSIZE 4096
 
   char buf[BUFFSIZE];
   if ((pFile = popen("/var/qmail/bin/forward [EMAIL PROTECTED]", "w")) ==
 NULL)
 fprintf(stdout, "error open pipe file\n");
 
   bytes = read(0, buf, BUFFSIZE);
   while (bytes  0)
   {
 if (write(pFile, buf, bytes) != bytes)
   sys_err(ERROR_WRITE);
 bytes = read(0, buf, sizeof(buf));
   }
 
   if (pclose(pFile) == -1)
 fprintf(stdout, "error close pipe file\n");
 
 
 
 
 - Original Message - 
 From: "shenjuefei" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, March 22, 2001 4:35 PM
 Subject: Fw: About dot qmail program!
 
 
  can u send me your program? I think u have mistake in useing stream IO or read 
function .
   
   - Original Message - 
   From: "Silver Dirk" [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Thursday, March 22, 2001 12:04 PM
   Subject: About dot qmail program!
   
   
Hello all,

I write a program use C/C++ language, and put its path into a dot qmail 
file like this:

|/path/to/my/program/getmailcontent

But I get nothing but headers. So I need urs help how to get the whole 
mail content from
this environment.

Thanks a lot.

Dirk.ye
2001/3/23


   
  
 



Re: About dot qmail program!

2001-03-22 Thread Charles Cazabon

Silver Dirk [EMAIL PROTECTED] wrote:
 
 I write a program use C/C++ language, and put its path into a dot qmail file
 like this:
 
 |/path/to/my/program/getmailcontent
 
 But I get nothing but headers. So I need urs help how to get the whole mail
 content from this environment.

Either the message that you received had no body, or your program is buggy.
qmail feeds the whole message to your program, headers plus body, all in
one go.  `man qmail-command` for more details.

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



About dot qmail program!

2001-03-21 Thread Silver Dirk

Hello all,

I write a program use C/C++ language, and put its path into a dot qmail file like 
this:

|/path/to/my/program/getmailcontent

But I get nothing but headers. So I need urs help how to get the whole mail 
content from
this environment.

Thanks a lot.

Dirk.ye
2001/3/23




Help about write program used by dot qmail file.

2001-03-18 Thread Silver Dirk

Hello all,

Where can I find some documents about how to
write program used by dot qmail to redirect mail.

Thanks a lot.


Dirk.Ye
2001/3/18




RE: Help about write program used by dot qmail file.

2001-03-18 Thread Chris Bolt

http://www.qmail.org/man/man5/dot-qmail.html

-Original Message-
From: Silver Dirk [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 18, 2001 10:14 PM
To: [EMAIL PROTECTED]
Subject: Help about write program used by dot qmail file.


Hello all,

Where can I find some documents about how to
write program used by dot qmail to redirect mail.

Thanks a lot.


Dirk.Ye
2001/3/18





newlines in dot-qmail files?

2001-02-25 Thread Wolfgang Zeikat

the program delivery lines in my dot-qmail files are beginning to get
lengthy -
for example with if ... elif statements and such ...

is there a way to continue a line on the next line in order to keep an
overwiew and make editing easier?

thanks

wolfgang





Re: newlines in dot-qmail files?

2001-02-25 Thread Mikko Hänninen

Wolfgang Zeikat [EMAIL PROTECTED] wrote on Sun, 25 Feb 2001:
 the program delivery lines in my dot-qmail files are beginning to get
 lengthy -
 for example with if ... elif statements and such ...
 
 is there a way to continue a line on the next line in order to keep an
 overwiew and make editing easier?

How about making a separate shell script and simply put a

  |yourscript.sh

in the .qmail file?


Regards,
Mikko
-- 
// Mikko Hnninen, aka. Wizzu  // [EMAIL PROTECTED] // http://www.wizzu.com/
// The Corrs list maintainer  //  net.freak//  DALnet IRC operator/
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs/
Food is an important part of a balanced diet.



dot qmail aliases files

2000-12-04 Thread Sébastien ROZIER



Hello,
I'd like to create an alias, like [EMAIL PROTECTED]

I tried to create a file 
".qmail-firstname.lastname" in /var/qmail/aliases
This doesn't work, my qmail configuration is 
working properly and other aliases without any dots are also working 
.
Is the dot forbidden in a dot-mail alias file 
?
How could I create this alias then ?
Thanx

S. ROZIER


Re: dot qmail aliases files

2000-12-04 Thread Alex Pennace

On Mon, Dec 04, 2000 at 11:45:45AM +0100, Sébastien ROZIER wrote:
 Hello,
 I'd like to create an alias, like [EMAIL PROTECTED]
 
 I tried to create a file ".qmail-firstname.lastname" in /var/qmail/aliases
 This doesn't work, my qmail configuration is working properly and other aliases 
without any dots are also working .
 Is the dot forbidden in a dot-mail alias file ?
 How could I create this alias then ?

http://cr.yp.to/qmail/faq/incominguser.html#alias-dots

How did you find the address of this list yet you didn't find the FAQ?

 PGP signature


Re: dot qmail aliases files

2000-12-04 Thread Alex Pennace

On Mon, Dec 04, 2000 at 12:11:54PM +0100, Sébastien ROZIER wrote:
 For your information, when you post a message in a ML, use plain text.
 thanx.

This is plain text, using PGP/MIME signatures. Many mailers handle it
properly; it is even somewhat presentable in a non-MIME MUA.


 PGP signature


Re: dot-qmail question (again) :-)

2000-11-30 Thread Visar Emini

Yes , it works like this ...

Thanks

V.

   # cat /home/vpopmail/domains/bates.eu.com/.qmail-mpetrinski
   ./mpetrinski/Maildir/
   office





Re: dot-qmail question (again) :-)

2000-11-29 Thread Hans-Juergen Schwarz

Hallo Visar,

Wednesday, November 29, 2000, 11:59:32 AM, you wrote:

 I have a strange situation.

 In my .qmail file I specify a local path of my ./Maildir/ where a copy of
 message should be kept:
 /path/to/my/maildir/
 But this line is treated as e-mail address not as a local path?
 I get an error saying that:
 [EMAIL PROTECTED] is not listed in control/locals ... etc.

I don´t know. I´m using vpopmail and do the same trick to deliver
Mails to my local users and it works fine. But vpopmail does it a
bit different to the qmail installation, so maybe I´m just lucky
that it works. But I would be interessted about the problem, too
Regards

Hans-Juergen





Re: dot-qmail question (again) :-)

2000-11-29 Thread Milen Petrinski

Hi,
will anybody answer this question? I have the same problem :-( I'm trying to
write a .qmail file, to allow to forward the messages to that user and to
leave a copy in user's maildir.

be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
./Maildir/
office

As written in dot-qmail man page, this should work fine, but qmail
interpretes the ./Maildir/ line as address, not es maildir path. Why?

Milen


- Original Message -
From: "Visar Emini" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 12:59 PM
Subject: dot-qmail question (again) :-)


 I have a strange situation.

 In my .qmail file I specify a local path of my ./Maildir/ where a copy of
 message should be kept:
 /path/to/my/maildir/
 But this line is treated as e-mail address not as a local path?
 I get an error saying that:
 [EMAIL PROTECTED] is not listed in control/locals ...
etc.

 Does anyone have an idea what hte problem could be?

 Thanks

 Visar






Re: dot-qmail question (again) :-)

2000-11-29 Thread Alex Pennace

On Wed, Nov 29, 2000 at 06:09:04PM +0200, Milen Petrinski wrote:
 I'm trying to
 write a .qmail file, to allow to forward the messages to that user and to
 leave a copy in user's maildir.
 
 be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
 ./Maildir/
 office
 
 As written in dot-qmail man page, this should work fine, but qmail
 interpretes the ./Maildir/ line as address, not es maildir path. Why?

What do the logs say?

 PGP signature


Re: dot-qmail question (again) :-)

2000-11-29 Thread Milen Petrinski

Nov 29 15:53:17 be-01 qmail: 975513197.754397 new msg 101388
Nov 29 15:53:17 be-01 qmail: 975513197.754867 info msg 101388: bytes 627
from [EMAIL PROTECTED] qp 5060 uid 1001
Nov 29 15:53:18 be-01 qmail: 975513198.117625 starting delivery 38: msg
101388 to local [EMAIL PROTECTED]
Nov 29 15:53:18 be-01 qmail: 975513198.118082 status: local 1/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.444056 new msg 101743
Nov 29 15:53:21 be-01 qmail: 975513201.444555 info msg 101743: bytes 749
from [EMAIL PROTECTED] qp 5149 uid 1011
Nov 29 15:53:21 be-01 qmail: 975513201.444876 starting delivery 39: msg
101743 to local [EMAIL PROTECTED]
Nov 29 15:53:21 be-01 qmail: 975513201.445124 status: local 2/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.677352 new msg 102149
Nov 29 15:53:21 be-01 qmail: 975513201.686915 info msg 102149: bytes 749
from [EMAIL PROTECTED] qp 5157 uid 1011
Nov 29 15:53:21 be-01 qmail: 975513201.702107 starting delivery 40: msg
102149 to local [EMAIL PROTECTED]
Nov 29 15:53:21 be-01 qmail: 975513201.710230 status: local 3/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.988794 delivery 38: success:
did_0+0+1/
Nov 29 15:53:21 be-01 qmail: 975513201.997266 status: local 2/10 remote 0/20
Nov 29 15:53:22 be-01 qmail: 975513202.005094 end msg 101388

I'm not very experienced, but I don't see anything wrong, exept the
[EMAIL PROTECTED] address.

Milen

- Original Message -
From: "Alex Pennace" [EMAIL PROTECTED]
To: "Milen Petrinski" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 6:30 PM
Subject: Re: dot-qmail question (again) :-)






Re: dot-qmail question (again) :-)

2000-11-29 Thread Milen Petrinski

Sorry, the previous was not complete, here it is:

Nov 29 15:53:17 be-01 qmail: 975513197.754397 new msg 101388
Nov 29 15:53:17 be-01 qmail: 975513197.754867 info msg 101388: bytes 627
from [EMAIL PROTECTED] qp 5060 uid 1001
Nov 29 15:53:18 be-01 qmail: 975513198.117625 starting delivery 38: msg
101388 to local [EMAIL PROTECTED]
Nov 29 15:53:18 be-01 qmail: 975513198.118082 status: local 1/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.444056 new msg 101743
Nov 29 15:53:21 be-01 qmail: 975513201.444555 info msg 101743: bytes 749
from [EMAIL PROTECTED] qp 5149 uid 1011
Nov 29 15:53:21 be-01 qmail: 975513201.444876 starting delivery 39: msg
101743 to local [EMAIL PROTECTED]
Nov 29 15:53:21 be-01 qmail: 975513201.445124 status: local 2/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.677352 new msg 102149
Nov 29 15:53:21 be-01 qmail: 975513201.686915 info msg 102149: bytes 749
from [EMAIL PROTECTED] qp 5157 uid 1011
Nov 29 15:53:21 be-01 qmail: 975513201.702107 starting delivery 40: msg
102149 to local [EMAIL PROTECTED]
Nov 29 15:53:21 be-01 qmail: 975513201.710230 status: local 3/10 remote 0/20
Nov 29 15:53:21 be-01 qmail: 975513201.988794 delivery 38: success:
did_0+0+1/
Nov 29 15:53:21 be-01 qmail: 975513201.997266 status: local 2/10 remote 0/20
Nov 29 15:53:22 be-01 qmail: 975513202.005094 end msg 101388
Nov 29 15:53:27 be-01 qmail: 975513207.584003 delivery 39: success:
POP_user_does_not_exist,_but_will_deliver_to_/home/vpopmail/do
mains/bates.eu.com/postmaster/did_0+0+1/
Nov 29 15:53:27 be-01 qmail: 975513207.584618 status: local 1/10 remote 0/20
Nov 29 15:53:27 be-01 qmail: 975513207.584919 end msg 101743
Nov 29 15:53:27 be-01 qmail: 975513207.721129 delivery 40: success:
did_0+0+1/
Nov 29 15:53:27 be-01 qmail: 975513207.721590 status: local 0/10 remote 0/20
Nov 29 15:53:27 be-01 qmail: 975513207.721865 end msg 102149

I'm using vpopmail and deliver everithing that has no other recipient to
postmaster.

- Original Message -
From: "Alex Pennace" [EMAIL PROTECTED]
To: "Milen Petrinski" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 6:30 PM
Subject: Re: dot-qmail question (again) :-)






Re: dot-qmail question (again) :-)

2000-11-29 Thread Charles Cazabon

Milen Petrinski [EMAIL PROTECTED] wrote:
 will anybody answer this question? I have the same problem :-( I'm trying to
 write a .qmail file, to allow to forward the messages to that user and to
 leave a copy in user's maildir.
 
 be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
 ./Maildir/
 office
 
 - Original Message -
  [EMAIL PROTECTED] is not listed in control/locals ...

That's not an error that qmail spits out.  Your .qmail file does not contain
"/path/to/my/maildir/" in it anywhere.  We can't help you without better 
information.

Please post the following:
-relevant portions of the qmail log file(s) (don't re-type
them or remove domain names, etc -- just post them as-is)
-the exact text of the error message you are receiving, if any
-the output of `qmail-showctl` would also be helpful

I'm also suspicious of that "office" line above.  It would appear to me
to forward a copy to "office@defaultdomain", which doesn't sound like what
you want.

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



Re: dot-qmail question (again) :-)

2000-11-29 Thread Romeyn Prescott

Try this:

---
/path/to/home/Maildir/
[EMAIL PROTECTED]
---

...ROMeyn

At 6:09 PM +0200 11/29/00, Milen Petrinski wrote:
Hi,
will anybody answer this question? I have the same problem :-( I'm trying to
write a .qmail file, to allow to forward the messages to that user and to
leave a copy in user's maildir.

be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
./Maildir/
office

As written in dot-qmail man page, this should work fine, but qmail
interpretes the ./Maildir/ line as address, not es maildir path. Why?

Milen


- Original Message -
From: "Visar Emini" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 12:59 PM
Subject: dot-qmail question (again) :-)


  I have a strange situation.

  In my .qmail file I specify a local path of my ./Maildir/ where a copy of
  message should be kept:
  /path/to/my/maildir/
  But this line is treated as e-mail address not as a local path?
  I get an error saying that:
  [EMAIL PROTECTED] is not listed in control/locals ...
etc.
  
   Does anyone have an idea what hte problem could be?
  
   Thanks
  
   Visar
  
  

-- 


signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.htm
cubiclecam: http://digirom.potsdam.edu/~prescor/cubiclecam.html
^^^ --- Off-line unless someone knows how to get camserv to
 compile under RedHat 7...  *sigh*  :-(



Re: dot-qmail question (again) :-)

2000-11-29 Thread David Dyer-Bennet

Romeyn Prescott [EMAIL PROTECTED] writes on 29 November 2000 at 12:24:08 
-0500

  At 6:09 PM +0200 11/29/00, Milen Petrinski wrote:

  will anybody answer this question? I have the same problem :-( I'm trying to
  write a .qmail file, to allow to forward the messages to that user and to
  leave a copy in user's maildir.
  
  be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
  ./Maildir/
  office
  
  As written in dot-qmail man page, this should work fine, but qmail
  interpretes the ./Maildir/ line as address, not es maildir path. Why?
  
  Milen

  Try this:
  
  ---
  /path/to/home/Maildir/
  [EMAIL PROTECTED]
  ---

I was thinking along similar lines; but the dot-qmail manpage does
sasy that a maildir path begins with a dot or a slash, and it's the
maildir path that was failing.  Do you know this will fix it, or are
you just trying the obvious next thing?
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



Re: dot-qmail question (again) :-)

2000-11-29 Thread Alex Pennace

On Wed, Nov 29, 2000 at 06:50:11PM +0200, Milen Petrinski wrote:
 Sorry, the previous was not complete, here it is:
 
 Nov 29 15:53:17 be-01 qmail: 975513197.754397 new msg 101388
 Nov 29 15:53:17 be-01 qmail: 975513197.754867 info msg 101388: bytes 627
 from [EMAIL PROTECTED] qp 5060 uid 1001
 Nov 29 15:53:18 be-01 qmail: 975513198.117625 starting delivery 38: msg
 101388 to local [EMAIL PROTECTED]

Ok, qmail is going to deliver message 101388 to local address
bates.eu.com-mpetrinski.

 Nov 29 15:53:18 be-01 qmail: 975513198.118082 status: local 1/10 remote 0/20
 Nov 29 15:53:21 be-01 qmail: 975513201.444056 new msg 101743
 Nov 29 15:53:21 be-01 qmail: 975513201.444555 info msg 101743: bytes 749
 from [EMAIL PROTECTED] qp 5149 uid 1011
 Nov 29 15:53:21 be-01 qmail: 975513201.444876 starting delivery 39: msg
 101743 to local [EMAIL PROTECTED]

Something messed up the local address here for this message.

 Nov 29 15:53:21 be-01 qmail: 975513201.445124 status: local 2/10 remote 0/20
 Nov 29 15:53:21 be-01 qmail: 975513201.677352 new msg 102149
 Nov 29 15:53:21 be-01 qmail: 975513201.686915 info msg 102149: bytes 749
 from [EMAIL PROTECTED] qp 5157 uid 1011
 Nov 29 15:53:21 be-01 qmail: 975513201.702107 starting delivery 40: msg
 102149 to local [EMAIL PROTECTED]
 Nov 29 15:53:21 be-01 qmail: 975513201.710230 status: local 3/10 remote 0/20

Ok, qmail is going to deliver message 102149 to local address
bates.eu.com-office.

 Nov 29 15:53:21 be-01 qmail: 975513201.988794 delivery 38: success:
 did_0+0+1/
 Nov 29 15:53:21 be-01 qmail: 975513201.997266 status: local 2/10 remote 0/20
 Nov 29 15:53:22 be-01 qmail: 975513202.005094 end msg 101388

Okay, message 101388 has been delivered to all recipients and has been
removed from the system (note that this message number may be reused
later). But if the .qmail for bates.eu.com-mpetrinski had any
forwarding lines the line "delivery xx: success" would include
something like "qp_3511" indicating that for forwarded mail
qmail-queue pid 3511 was invoked. But the qp_ note is missing here,
one can't be sure precisely where messages 101743 and 102149 came
from.

 Nov 29 15:53:27 be-01 qmail: 975513207.584003 delivery 39: success:
 POP_user_does_not_exist,_but_will_deliver_to_/home/vpopmail/do
 mains/bates.eu.com/postmaster/did_0+0+1/
 Nov 29 15:53:27 be-01 qmail: 975513207.584618 status: local 1/10 remote 0/20
 Nov 29 15:53:27 be-01 qmail: 975513207.584919 end msg 101743
 Nov 29 15:53:27 be-01 qmail: 975513207.721129 delivery 40: success:
 did_0+0+1/
 Nov 29 15:53:27 be-01 qmail: 975513207.721590 status: local 0/10 remote 0/20
 Nov 29 15:53:27 be-01 qmail: 975513207.721865 end msg 102149

Still insufficient information. Please post the output of:

1. /var/qmail/bin/qmail-showctl
2. cat /var/qmail/users/assign
3. /var/qmail/bin/qmail-getpw bates.eu.com-mpetrinski | xargs -0 echo
4. The .qmail file that governs deliveries for the local address
bates.eu.com-mpetrinski, if you can find it. When posting, be sure to
include the full path and filename of the .qmail file you are posting,
so we can double check to see if you got the right one.

 PGP signature


Re: dot-qmail question (again) :-)

2000-11-29 Thread Peter Green

[ Sorry to piggyback, but I ... misplaced ... the original post. ]

 Milen Petrinski [EMAIL PROTECTED] wrote:
  will anybody answer this question? I have the same problem :-( I'm trying to
  write a .qmail file, to allow to forward the messages to that user and to
  leave a copy in user's maildir.
  
  be-01:/home/vpopmail/domains/bates.eu.com/mpetrinski# more .qmail
  ./Maildir/
  office

IIRC, vpopmail .qmail files in the user's directory do NOT support direct
delivery, nor do they support program execution. They only support
``forwarding''; if you want delivery or program execution, you will need to
set up a .qmail-user file, e.g.:

  # cat /home/vpopmail/domains/bates.eu.com/.qmail-mpetrinski
  ./mpetrinski/Maildir/
  office

(Though as Charles wrote, you probably don't want office, you want
[EMAIL PROTECTED] or something like that...)

HTH!
  
/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Microsoft is not the answer.
Microsoft is the question.
NO is the answer.




Re: dot-qmail question (again) :-)

2000-11-29 Thread Charles Cazabon

Peter Green [EMAIL PROTECTED] wrote:
 
 IIRC, vpopmail .qmail files in the user's directory do NOT support direct
 delivery, nor do they support program execution. They only support
 ``forwarding'';

Ah, hence the original user's log of attempted deliveries to 
"[EMAIL PROTECTED]" .  Shall we consider this issue closed now?  :)
Having never used vpopmail, I was unaware of this restriction on .qmail files.
Perhaps if they don't behave like other .qmail files, they should have
another name (.vpopmail comes to mind).

Frankenmail, indeed.

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



Re: dot-qmail question (again) :-)

2000-11-29 Thread David Dyer-Bennet

Charles Cazabon [EMAIL PROTECTED] writes on 29 November 2000 at 14:27:14 
-0600
  Peter Green [EMAIL PROTECTED] wrote:
   
   IIRC, vpopmail .qmail files in the user's directory do NOT support direct
   delivery, nor do they support program execution. They only support
   ``forwarding'';
  
  Ah, hence the original user's log of attempted deliveries to 
  "[EMAIL PROTECTED]" .  Shall we consider this issue closed now?  :)
  Having never used vpopmail, I was unaware of this restriction on .qmail files.
  Perhaps if they don't behave like other .qmail files, they should have
  another name (.vpopmail comes to mind).

In fact, this can be cited as an example of the dangers of asking on
the wrong list.  It was really a vpopmail question, and I'll bet
people over on that mailing list would have spotted this issue
considerably sooner.
-- 
David Dyer-Bennet  /  Welcome to the future!  /  [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/  Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/



Re: dot-qmail question (again) :-)

2000-11-29 Thread Milen Petrinski

 Try this:
 
 ---
 /path/to/home/Maildir/

the same - doesn't matter if it is full path or not

 [EMAIL PROTECTED]

putting  makes the message loop

 ---





Re: dot-qmail question (again) :-)

2000-11-29 Thread Milen Petrinski


- Original Message -
From: "Charles Cazabon" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 29, 2000 6:53 PM
Subject: Re: dot-qmail question (again) :-)



 That's not an error that qmail spits out.  Your .qmail file does not
contain
 "/path/to/my/maildir/" in it anywhere.  We can't help you without better
 information.

I don't say this is an error, I'm sure the problem is in the .qmail file,
buth where?

I'v tried this and full path - the same

 Please post the following:
 -relevant portions of the qmail log file(s) (don't re-type
 them or remove domain names, etc -- just post them as-is)

I did about 30 min ago

 -the exact text of the error message you are receiving, if any

no error messages - just that the message is delivered to
[EMAIL PROTECTED]

 -the output of `qmail-showctl` would also be helpful

 I'm also suspicious of that "office" line above.  It would appear to me
 to forward a copy to "office@defaultdomain", which doesn't sound like what
 you want.


this means [EMAIL PROTECTED] - no problem with this, works in other .qmail
files  I have

here is the output of qmail-showctl:

ail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.
group ids: 102, 103.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is bates.eu.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is bates.eu.com.

defaulthost: (Default.) Default host name is bates.eu.com.

doublebouncehost: (Default.) 2B recipient host: bates.eu.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is bates.eu.com.

helohost: (Default.) SMTP client HELO host name is bates.eu.com.

idhost: (Default.) Message-ID host name is bates.eu.com.

localiphost: (Default.) Local IP address becomes bates.eu.com.

locals:
Messages for localhost are delivered locally.

me: My name is bates.eu.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is eu.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at bates.eu.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 bates.eu.com.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:
Virtual domain: bates.eu.com:bates.eu.com

Milen





Something strange with dot-qmail !

2000-11-24 Thread Visar Emini

Hi ... I use qmail  vpopmail and I was trying to setup a dot-qmail to
forward emails to another account , at the same time retain a copy of
message on maildir, but  I did not succeed. Here is the content of my .qmail
file.
__
[EMAIL PROTECTED]
/var/vpopmail/domains/ipko.org/test/   -  "(I've tried to add ./Maildir/ as
well)"


When I send mail to [EMAIL PROTECTED] , I get an error reply from MAILER-DAEMON
that "[EMAIL PROTECTED]" is not listed in
control/locals ... bla bla bla ...
As you see the second line in my .qmail containing my path to Maildir is
treated as E-mail address and not as a local path. I have read the "man
dot-qmail" manual , and tried everything , but the problem remains the same.

If anybody can help me on that , I would appreciate it.
Thanks in advance,

Visar




Re: Something strange with dot-qmail !

2000-11-24 Thread Romeyn Prescott

At 10:35 PM +0100 11/24/00, Robin S. Socha wrote:
* Visar Emini [EMAIL PROTECTED] writes:

  my .qmail file. 
  [EMAIL PROTECTED]

[EMAIL PROTECTED]
--
Robin S. Socha http://socha.net/

I'm a bit of a qmail newbie, but from what I've read that means any 
mail delivered to your account is forwarded to [EMAIL PROTECTED]

Hoping you got THIS,  ;-)
...ROMeyn
-- 


signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.htm
cubiclecam: http://digirom.potsdam.edu/~prescor/cubiclecam.html
^^^ --- New and improved!



dot-qmail help

2000-11-20 Thread Pat Berry

Hi all,

Preface: I've been through dot-qmail, qmail-command, and the list archives
and I just not getting it.

Problem: I have a dot-qmail file in ~alias that goes to a number of people
and I would like to restrict it so that only a single host may send mail to
that alias.

I'm pretty sure I need to check $QMAILHOST, no?  If in the dot-qmail file I
do something like this:

|/path/to/shellscript

and the shell script checks the envars to make sure the sending host is
cool, then how do I just have it go ahead and process the delivery to a
bunch of people?

Pat

--
Freestyle Interactive | http://www.freestyleinteractive.com/ | 415.869.7400




Re: dot-qmail help

2000-11-20 Thread Charles Cazabon

Pat Berry [EMAIL PROTECTED] wrote:
 
 Problem: I have a dot-qmail file in ~alias that goes to a number of people
 and I would like to restrict it so that only a single host may send mail to
 that alias.
 
 I'm pretty sure I need to check $QMAILHOST, no?  If in the dot-qmail file I
 do something like this:
 
 |/path/to/shellscript
 
 and the shell script checks the envars to make sure the sending host is
 cool, then how do I just have it go ahead and process the delivery to a
 bunch of people?

Have your .qmail file look like this:

|/path/to/shellscript
address1@domain
address2domain
[...]

Have your script exit 0 if you want to allow the message to be delivered.
Have the script exit 99 to silently drop the message on the floor and not
forward it to anyone else.

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



dot-qmail

2000-11-01 Thread Alan Chung

I have a question about .qmail file.

I want to leaf the mails in local Mailbox and also deliver to some other 
addresses.  I setup the following lines in .qmail under my home directory,

alan@localhost
[EMAIL PROTECTED]

It delivered mails to [EMAIL PROTECTED] but not leaving any mails 
locally.  So I ends up without any mail while checking.  I even tried real 
domain name (which is the domain name of the mail server, also is the local 
host), but got the below error message,

This message is looping: it already has my Delivered-To line. (#5.4.6)

How do I perform this?

Any idea?

Alan





dot-qmail scripting

2000-09-18 Thread Gary Richardson


Hey,

I have a script that 'round-robins' email boxes for a high traffic account. It
basically cycles through a list of addresses. I can't seem to get it to work
properly though.

Doing:

`scriptname`

doesn't seem to work.

I have also tried::

| EMAIL=`loadbalance.pl test`
echo $EMAIL  /tmp/sentto
$EMAIL

which also fails.

Any suggests on how I can do this?



Re: dot-qmail scripting

2000-09-18 Thread Peter van Dijk

On Mon, Sep 18, 2000 at 02:58:08PM -0700, Gary Richardson wrote:
 
 I have a script that 'round-robins' email boxes for a high traffic account. It
 basically cycles through a list of addresses. I can't seem to get it to work
 properly though.
 
 Doing:
 
 `scriptname`
[snip]
 
 Any suggests on how I can do this?

|scriptname

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me



dot-qmail and pipe not working properly

2000-08-23 Thread Thomas Duterme

Hi all,

I have a problem which I've been banging my head against.  I have a .qmail
alias file set up as follows:

cat .qmail-unsubscribe_education
unsubscribe

in /home/unsubscribe/.qmail, I have:
./Maildir/
| /home/unsubscribe/MagazineUnsubscribe.py  /home/unsubscribe/unsub.log

Now, the weird thing is that qmail won't pass the mail to stdin like it
should (executing the second line of my .qmail...passing the mail to my
python script).  I have tried: changing the ownership of the .py script (to
alias and the grp to qmail) and it still won't work.  Any answers here?

Also, in my Maildir, I eventually get multiple copies of this email. I
believe this problem is somehow related, but I've been banging my head on
the keyboard too much to see how.  Any help or ideas appreciated.

TIA,
Tom





Re: dot-qmail and pipe not working properly

2000-08-23 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23 Aug 2000, at 23:40, Thomas Duterme wrote:

 Now, the weird thing is that qmail won't pass the mail to stdin like
 it should (executing the second line of my .qmail...passing the mail
 to my python script).  I have tried: changing the ownership of the .py
 script (to alias and the grp to qmail) and it still won't work.  Any
 answers here?

What do the logs say(tm)?

 Also, in my Maildir, I eventually get multiple copies of this email. I
 believe this problem is somehow related, but I've been banging my head
 on the keyboard too much to see how.  Any help or ideas appreciated.

It looks like your Python script fails (returns an error code); 
therefore, the delivery is retried later. The logs will tell you more.

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

iQA/AwUBOaPmEVMwP8g7qbw/EQKbgACgln+8uFyktcfKePc2idrd9FCugfMAn0rb
GsbQqBifL2zb3jMPbdXj/ARp
=1myA
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: dot-qmail and pipe not working properly

2000-08-23 Thread Ben Beuchler

On Wed, Aug 23, 2000 at 11:40:21PM +0800, Thomas Duterme wrote:

 cat .qmail-unsubscribe_education
 unsubscribe
 
 in /home/unsubscribe/.qmail, I have:
 ./Maildir/
 | /home/unsubscribe/MagazineUnsubscribe.py  /home/unsubscribe/unsub.log
 
 Now, the weird thing is that qmail won't pass the mail to stdin like it
 should (executing the second line of my .qmail...passing the mail to my
 python script).  I have tried: changing the ownership of the .py script (to
 alias and the grp to qmail) and it still won't work.  Any answers here?
 
 Also, in my Maildir, I eventually get multiple copies of this email. I
 believe this problem is somehow related, but I've been banging my head on
 the keyboard too much to see how.  Any help or ideas appreciated.

What Do the Logs Say? (tm)

Seriously, the logs will include the error message returned by your no
doubt broken Python script.  qmail most certainly did provide it the
message on stdin.  You are getting multiple messages because the message
is being deferred because the script is failing.  When it retries, it
retries the entire delivery, including the ./Maildir/ part.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Fwd: Re: dot-qmail and pipe not working properly and MAGIC(?)

2000-08-23 Thread Thomas Duterme

Thank you Ben,

Strange...I checked the logs and found that maillog wasn't recording 
anything and then i went to /var/log/qmail and found 3 folders: qmail-pop3d/ 
 qmail-send/  qmail-smtpd/.   In these, there wasn't anything really 
useful..the last logged file was on Aug 14th!  It appeared we were running 
without logging anything!  

So, I asked our mail admin why splogger wasn't running and to please turn it 
on.  We got this running and suddenly, POOF, it works...the mail is piped in 
the the python script and the python script executes.  Any explanations to 
why it suddenly started working when logging was turned on?  (I did not 
change anything else)

Thanks,
Thomas

At 11:03 AM 8/23/2000 -0500, you wrote:
On Wed, Aug 23, 2000 at 11:40:21PM +0800, Thomas Duterme wrote:

 cat .qmail-unsubscribe_education
 unsubscribe
 
 in /home/unsubscribe/.qmail, I have:
 ./Maildir/
 | /home/unsubscribe/MagazineUnsubscribe.py  /home/unsubscribe/unsub.log
 
 Now, the weird thing is that qmail won't pass the mail to stdin like it
 should (executing the second line of my .qmail...passing the mail to my
 python script).  I have tried: changing the ownership of the .py script (to
 alias and the grp to qmail) and it still won't work.  Any answers here?
 
 Also, in my Maildir, I eventually get multiple copies of this email. I
 believe this problem is somehow related, but I've been banging my head on
 the keyboard too much to see how.  Any help or ideas appreciated.

What Do the Logs Say? (tm)

Seriously, the logs will include the error message returned by your no
doubt broken Python script.  qmail most certainly did provide it the
message on stdin.  You are getting multiple messages because the message
is being deferred because the script is failing.  When it retries, it
retries the entire delivery, including the ./Maildir/ part.

Ben





Re: RFC: web interface to manage user dot-qmail files

2000-08-06 Thread Aijaz A. Ansari

On Sat, Aug 05, 2000 at 04:08:08PM -0500, Chris Hardie wrote:
...
   -Has anyone else already done this?

Chris, we've done something similar to this at ENoor.  We allow users to
authenticate themselves, and go to a web page from which they can create
.qmail files to redirect mail to a local POP3 account or any other remote
email account.  Autoresponders are also supported.  There is limited
support for multi-line .qmail files and import of text files for making
hundreds of changes at a time.

I haven't looked at inter7's products yet, but may abandon my app if those
products provide all the functionality I need.  Either way, keep me in
mind if you're looking for developers.  I haven't given too much thought
to releasing my code under GPL or a similar license, but would if it
complements existing applications.

Aijaz.

-- 
===  =   Aijaz A. Ansari Web-based CRM, E-Commerce, Hosting, Training
==   ENoor Creations Let us help you make the Web work for you. 
=  ===   [EMAIL PROTECTED] Call us at 847-980-1601 for a FREE web site. 




RFC: web interface to manage user dot-qmail files

2000-08-05 Thread Chris Hardie


Hi folks.  I'm interested in creating a web interface to manage user
dot-qmail files.  I'm ready to start coding :) but thought I'd would
solicit the sagacious and smooth advice of this list about some of the
architecture/design issues.

My proposal is here: 
  http://www.summersault.com/chris/techno/qmail/dqm/proposal.html

If you can do no other, help me answer these questions:

  -Has anyone else already done this? 
  -Have any similar projects been started and then stopped due to
   particular technical issues?

I look forward to any comments/insights you might have.  As mentioned on
the link above, you're welcome to send them directly to me, post them on
the page's comment section, or discuss them on this list.

Thanks,
Chris 

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






Re: RFC: web interface to manage user dot-qmail files

2000-08-05 Thread Olivier M.


  Nice project, but I'm asking myself if many people use .qmail-* : 
  there are currently two great tools for multiple domains 
  administrations : vmailmgr and vpopmail. 

  And both have web-based administrations tools which allow to do praticaly 
  everything you have listed on your homepage : add users, responders, 
  change password, add alias, etc. (replace add with delete and modifiy also). 

  I don't use vpopmail, but I know there is a nice C(++?) based administration, 
  plus some other tools. 

  About vmailmgr (which I use on a lots of small and big servers), there 
  is now omail-admin (http://omail.omnis.ch) which is a PHP4 based 
  web administration : you can try it on http://admin.omnis.ch/admin2/ 
  (test.com as login, and test as password, and also [EMAIL PROTECTED], 
  after that you created an user or an alias). 

  The main problem I see about a program which should work with 
  .qmail-* files, is that it must then be run with the same 
  userid as the directory owner - one cgi-script per domain, 
  or one suid script, which is never really good on any system... 

  HTH, 
  Olivier 

  PS: what is IMHO missing for qmail would be an administration 
  tool for all these /var/qmail/control files... 


-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland




Re: RFC: web interface to manage user dot-qmail files

2000-08-05 Thread Jonathan McDowell


On Sat, Aug 05, 2000 at 04:08:08PM -0500, Chris Hardie wrote:

 Hi folks.  I'm interested in creating a web interface to manage user
 dot-qmail files.  I'm ready to start coding :) but thought I'd would
 solicit the sagacious and smooth advice of this list about some of the
 architecture/design issues.
 
 My proposal is here: 
   http://www.summersault.com/chris/techno/qmail/dqm/proposal.html
 
 If you can do no other, help me answer these questions:
 
   -Has anyone else already done this? 

I did something similar for us (Black Cat), essentially to allow control
of forwarding to either another email address or a POP3 mailbox.
Authentication is via HTTP auth (a decision since regretted and in the
process of being corrected). The cgi is run as the correct user via a
suid wrapper. Written in Perl and a quick 'n dirty hack.

J.

-- 
 /\
 | I can only see one nipple. |
 | http://www.blackcatnetworks.co.uk/ |
 \/



Re: dot-qmail deliver help

2000-07-29 Thread Uwe Ohse

On Fri, Jul 28, 2000 at 08:38:11PM +0200, Einar Bordewich wrote:

  i think you don't want the `;' after "env".
 -snip-
 
 Are you sure?

Not any more.

Regards, Uwe



dot-qmail deliver help

2000-07-28 Thread Einar Bordewich

|if [ -d "$HOME/postmaster/Maildir/.einar.$EXT2/new" ];  \
then maildirdeliver $HOME/postmaster/Maildir/.einar.$EXT2/; \
else  maildirdeliver $HOME/postmaster/Maildir ; fi

I'm a little tired of the above script in my .qmail-einar-default file.
Since I'm no script expert, I would appreciate som help to expand this
"script" to a even more flexible solution.

I use IMAP to read my mail, and creating new directories. When I subscribe
to a new list, I basicly create a directory under einar with the name
qmail-newlist and subscribe with this address
[EMAIL PROTECTED] Mail is the delivered to this
subdirectory.

But, I realy would love to:
a) not be locked on the .einar.$EXT2, if it exist according to the
mailaddress deliver it
b) be able to have directories in several levels depending on the
emailaddress, insted of todays 2
 ( I can deliver to einar and to directories beneath depending of the EXT2
value).

I guess this is just some easy substitute entry, but since this is not what
I'm good at I rly could need some inspiration.
--

IDG New Media Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:   [EMAIL PROTECTED]






Re: dot-qmail deliver help

2000-07-28 Thread Einar Bordewich

- Original Message -
From: "Einar Bordewich" [EMAIL PROTECTED]
To: "Qmail-mailing list" [EMAIL PROTECTED]
Sent: Friday, July 28, 2000 11:04 AM
Subject: dot-qmail deliver help

 |if [ -d "$HOME/postmaster/Maildir/.einar.$EXT2/new" ];  \
 then maildirdeliver $HOME/postmaster/Maildir/.einar.$EXT2/; \
 else  maildirdeliver $HOME/postmaster/Maildir ; fi

 I'm a little tired of the above script in my .qmail-einar-default file.
 Since I'm no script expert, I would appreciate som help to expand this
 "script" to a even more flexible solution.

 I use IMAP to read my mail, and creating new directories. When I subscribe
 to a new list, I basicly create a directory under einar with the name
 qmail-newlist and subscribe with this address
 [EMAIL PROTECTED] Mail is the delivered to this
 subdirectory.

|TEST=`echo $EXT | cut -d"-" --output-delimiter="." -f1-4` ; if [ -d
"$HOME/postmaster/Maildir/.$TEST" ]; then maildirdeliver
$HOME/postmaster/Maildir/.$TEST/ ; else env ; maildirdeliver
$HOME/postmaster/Maildir ; fi

The above line does what I want.
--

IDG New Media Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:   [EMAIL PROTECTED]






Re: dot-qmail deliver help

2000-07-28 Thread Uwe Ohse

On Fri, Jul 28, 2000 at 06:46:25PM +0200, Einar Bordewich wrote:
 
 |TEST=`echo $EXT | cut -d"-" --output-delimiter="." -f1-4` ; if [ -d
 "$HOME/postmaster/Maildir/.$TEST" ]; then maildirdeliver
 $HOME/postmaster/Maildir/.$TEST/ ; else env ; maildirdeliver
 $HOME/postmaster/Maildir ; fi
 
 The above line does what I want.

i think you don't want the `;' after "env".

Regards, Uwe



Re: dot-qmail deliver help

2000-07-28 Thread Einar Bordewich

- Original Message -
From: "Uwe Ohse" [EMAIL PROTECTED]
To: "Qmail-mailing list" [EMAIL PROTECTED]
Sent: Friday, July 28, 2000 8:14 PM
Subject: Re: dot-qmail deliver help


 On Fri, Jul 28, 2000 at 06:46:25PM +0200, Einar Bordewich wrote:

  |TEST=`echo $EXT | cut -d"-" --output-delimiter="." -f1-4` ; if [ -d
  "$HOME/postmaster/Maildir/.$TEST" ]; then maildirdeliver
  $HOME/postmaster/Maildir/.$TEST/ ; else env ; maildirdeliver
  $HOME/postmaster/Maildir ; fi
 
  The above line does what I want.

 i think you don't want the `;' after "env".
-snip-

Are you sure? If I remove it, the env results does'nt show up in the logs.
If I keep it there, everything is like I expect it.

It's show the env, then deliver the mail to default maildir. This happens
only if the recipient does'nt resolv to a maildir according to EXT.

regards
--

IDG New Media Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:   [EMAIL PROTECTED]






dot-qmail with ./named.pipe == invalid argument #4.3.0

2000-07-20 Thread Jay J

Greetings from a happy new qmail user (first post),

** qmail 1.03
** linux-2.2.16-:i386-:-:pentium-:-

As part of a ritualistic adventure to the edges of qmail sanity, I
brazenly created a fifo to be read by a perl "daemon".

Using a .qmail file in a real-user's home dir that read:

./inmail.pipe

(BTW - I'm also using fastforward, but this is an actual user account
without aliasing)

Long story short -- qmail wrote to the pipe just fine but justifiably
barfs at the end. (Uhh, stat call or something?)

error
Jul 20 10:43:03 mn qmail: 964089783.401047 delivery 3225: deferral:
Unable_to_write_./inmail.pipe:_invalid_argument._(#4.3.0)/
/error

So .. I proceeded to create a writer.sh:

#!/bin/sh
cat  ./inmail.pipe

and modified .qmail:

| ./writer.sh

This appears to work fine, as I had hoped.

Why would I do such a crazy thing in the first place?

I've compiled with QUEUE_EXTRA and plan to use it to mangle
incoming/outgoing messages for [EMAIL PROTECTED]  [EMAIL PROTECTED] 

More precisely, I plan to attach ticket # headers, update the "bug
reports" database, and route incoming replies to the sales/support
person who was first to respond. Blah blah blah .. using Perl.

I switched to qmail 1) specifically for QUEUE_EXTRA, 2) security,
security, security, and 3) out of desperation and displeasure with
sendmail (Sorry sendmail hackers).

So why the FIFO? I'm concerned about spawning many-a-Perl at 2.5MB
each on my lowly P75 DNS/Firewall/qmail box. So the idea of a single
reader is attractive ..

Is that crazy? Suggestions? (Other than "Pentium II's are cheap") :-)

-Jay J

p.s. Many thanks for qmail  friends



Re: dot-qmail with ./named.pipe == invalid argument #4.3.0

2000-07-20 Thread Chris, the Young One

On Thu, Jul 20, 2000 at 07:00:04AM -0500, Jay J wrote:
! Long story short -- qmail wrote to the pipe just fine but justifiably
! barfs at the end. (Uhh, stat call or something?)

I think the mailfile() function in qmail-local.c calls fsync() at the
end. If my man page is right, fsync() works only on regular files.

The failure can be attributable to other reasons, but I find the above
to be the most likely explanation.

! Is that crazy? Suggestions? (Other than "Pentium II's are cheap") :-)

Forking is cheap. :-)

---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: dot-qmail with ./named.pipe == invalid argument #4.3.0

2000-07-20 Thread David Dyer-Bennet

Jay J [EMAIL PROTECTED] writes on 20 July 2000 at 07:00:04 -0500

  So why the FIFO? I'm concerned about spawning many-a-Perl at 2.5MB
  each on my lowly P75 DNS/Firewall/qmail box. So the idea of a single
  reader is attractive ..
  
  Is that crazy? Suggestions? (Other than "Pentium II's are cheap") :-)

AMD K-6's are cheap?  :-)  Compared to what your time is worth

Write your procedure in C?  

Test performance of the perl version to see if your concerns are
supported?  The 2.5MB each includes considerable code shared between
all invocations on the systems I'm familiar with.
-- 
Photos: http://dd-b.lighthunters.net/ Minicon: http://www.mnstf.org/minicon
Bookworms: http://ouroboros.demesne.com/ SF: http://www.dd-b.net/dd-b 
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]



autoreplies in dot-qmail or fastworward?

2000-06-26 Thread wolfgang zeikat


how would i set up an autoreply for incoming messages in qmail?
with a .qmail-* file? and if so, what should it contain exactly?

or is there a way to do it with the fastforward tool?

wolfgang




Re: autoreplies in dot-qmail or fastworward?

2000-06-26 Thread wolfgang zeikat

i found a rather easy way to do it at
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/04/msg00134.html

now i wonder if i could quote the original message?
is there a variable like $msg or something that can be used for that?

wolfgang




dot-qmail problem with hotmail

2000-06-08 Thread Orion

When I create a .qmail-mailinglist in ~/alias with 1 @home and one hotmail
address, the mail send to mailinglist get's delivered to both boxes. When I
put the addresses in my .qmail in the emailing account, I only get the @home
message and the one delivered to the emailingbox.

The .qmail file in emailing

[EMAIL PROTECTED]
[EMAIL PROTECTED]
./Maildir/

The maillog does report a successful delivery.
No filters used in the hotmail account.
Anyone knows why this happens ?

Jeremy Cole




the point with the dot in dot-qmail

2000-06-08 Thread Jens Georg

hi,

i would like to forward incoming emails for an special user of a virtual
domain to an external email-address. my emailformat is always i.e.
[EMAIL PROTECTED], which nearly all of my customers want to have.
all emails to vdomain.com are delivered to a local user "vdomain" and
fetched via pop3 by user "vdomain". there is an empty .qmail-default in
/home/vdomain/.

now, if i touch a new .qmail file like i.e. /home/vdomain/.qmail-bob.miller
with i.e. [EMAIL PROTECTED] inside, mails for [EMAIL PROTECTED] are
still delivered to "vdomain". altering .qmail-bob.miller to .qmail-bob_miller
forwards correctly, but this doesn't fit to my emailformat using a "."
instead of "_". qmail seems not to like a second "." in any dot-qmail files.
is there no way to get forwarding working with the "." ?

-- 
jens
-
department computer science, university of dortmund
linux ... life's too short for reboots!




Re: the point with the dot in dot-qmail

2000-06-08 Thread Mikko Hänninen

Jens Georg [EMAIL PROTECTED] wrote on Fri, 09 Jun 2000:
 is there no way to get forwarding working with the "." ?

Yes, there is a way.  Use : instead of the . in the dot-qmail file.
eg. .qmail-bob:miller for an address of "bob.miller".


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
The Monkeys are listening.



dot-qmail extensions ...

2000-06-07 Thread mwangu


Dear all,

I have been trawling through all the docs I can find
trying to find the
answer to the question:

When I am using dot-qmail extension files to process
mail through a
script, is there any way to view the output produced
by the scripts 
when
they process an e-mail?

I desperately need to find the answer to this question
so I can 
complete
an upgrade for a system which has recently come into
my care.

Appreciatively,

M

__
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com



Re: dot-qmail extensions ...

2000-06-07 Thread Ondrej Sury

mwangu wrote:
 
 Dear all,
 
 I have been trawling through all the docs I can find
 trying to find the
 answer to the question:
 
 When I am using dot-qmail extension files to process
 mail through a
 script, is there any way to view the output produced
 by the scripts
 when
 they process an e-mail?
 
 I desperately need to find the answer to this question
 so I can
 complete
 an upgrade for a system which has recently come into
 my care.
 
 Appreciatively,

.qmail-anything
|program tmp/qmail-anything.log 21

is not sufficient?

-- 
Ondej Sur [EMAIL PROTECTED] Globe Internet s.r.o. http://globe.cz/
Tel: +420235365000 Fax: +420235365009  Plnikova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126  Mapa: http://globe.namape.cz/
Involvement with people is always a very delicate thing --
it requires real maturity to become involved and not get all messed up.
-- Bernard Cooke



Re: dot-qmail extensions ...

2000-06-07 Thread Russell Nelson

mwangu writes:
  When I am using dot-qmail extension files to process mail through a
  script, is there any way to view the output produced by the scripts
  when they process an e-mail?

Anything sent by a program delivery to stdout or stderr ends up in the
log file.

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



dot-qmail in vpopmail

2000-06-05 Thread Pablo Martínez Schroder

It is possible to use a .qmail file with vpopmail...

I have tried a .qmail file in ~vpopmail/domains/mydomain.tld/user with
the lines

./Maildir/
[EMAIL PROTECTED]

but qmail tries to send it to [EMAIL PROTECTED] and tries to
execute with sh "[EMAIL PROTECTED]"

I've also tried to use .qmail-user in ~vpopmail/domains/mydomain.tld,
but this file isn't read, the mail is send directly to the user's
Maildir
-- 
Pablo Martínez Schroder
Departamento de Administracion de Sistemas
 
 Hidra Telecomunicaciones y Multimedia, S.A.
 C/. Casas de Campos, 3
 29001 Málaga
 Tlf Nal.: 902 20 21 02
 Tlf Int.: +34 95 222 92 14
 http://www.hipernet.es/
 mailto:[EMAIL PROTECTED]



RE: dot-qmail in vpopmail

2000-06-05 Thread Próspero, Esteban

!Hola Pablo!

I think you should put a .qmail-usuario under
~vpopmail/domains/mydomain.tld/.qmail-usuario. Look at vpopmail man page or
http://www.inter7.com/vpopmail/vpopmail.html the dot-qmail section.

Suerte!

Esteban Javier Próspero
 From: Pablo Martínez Schroder [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, June 05, 2000 1:39 PM
 To:   lista, qmail
 Subject:  dot-qmail in vpopmail
 
 It is possible to use a .qmail file with vpopmail...
 
 I have tried a .qmail file in ~vpopmail/domains/mydomain.tld/user with
 the lines
 
 ./Maildir/
 [EMAIL PROTECTED]
 
 but qmail tries to send it to [EMAIL PROTECTED] and tries to
 execute with sh "[EMAIL PROTECTED]"
 
 I've also tried to use .qmail-user in ~vpopmail/domains/mydomain.tld,
 but this file isn't read, the mail is send directly to the user's
 Maildir
 -- 
 Pablo Martínez Schroder
 Departamento de Administracion de Sistemas
  
  Hidra Telecomunicaciones y Multimedia, S.A.
  C/. Casas de Campos, 3
  29001 Málaga
  Tlf Nal.: 902 20 21 02
  Tlf Int.: +34 95 222 92 14
  http://www.hipernet.es/
  mailto:[EMAIL PROTECTED]



Re: dot-qmail: write to mbox named after current year month

2000-05-02 Thread Uwe Ohse

On Mon, May 01, 2000 at 09:47:07PM -0700, lewst wrote:
 
 manually adjust the .qmail each month?  For example, "mbox.2000-05".
 
 I've tried the following:
 
   % cat .qmail
   ./mbox.`date +%Y-%m`

|cat ./mbox.`date +%Y-%m`

Usually this is not what you want: there is no protection against
concurrent deliveries, so you might want to add an extra level of
protection, possibly using setlock from the daemontools package.

|setlock ./mbox-lock /bin/cat ./mbox.`date +%Y-%m`
(untested, i don't use mbox)

Regards, Uwe 



Re: dot-qmail: write to mbox named after current year month

2000-05-02 Thread Rogerio Brito

On May 01 2000, lewst wrote:
 What is the easiest way to have qmail deliver an incoming message to
 an mbox named after the current year and month without having to
 manually adjust the .qmail each month?  For example, "mbox.2000-05".

Essentially, something like this would do the trick:

| preline cat  ./mbox.`date +%Y-%m`

Notice that I said *essentially*. You'd have to substitute cat
with something that takes care of locks to avoid concurrent
writes to the same message and that works gracefully under
circumstances of failure.

If there isn't such a program, you'd have to write your own
here.


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: dot-qmail: write to mbox named after current year month

2000-05-02 Thread Bob Rogers

   From: Rogerio Brito [EMAIL PROTECTED]
   Date: Tue, 2 May 2000 02:32:47 -0300

   On May 01 2000, lewst wrote:
What is the easiest way to have qmail deliver an incoming message to
an mbox named after the current year and month without having to
manually adjust the .qmail each month?  For example, "mbox.2000-05".

   Essentially, something like this would do the trick:

   | preline cat  ./mbox.`date +%Y-%m`

   Notice that I said *essentially*. You'd have to substitute cat
   with something that takes care of locks to avoid concurrent
   writes to the same message and that works gracefully under
   circumstances of failure.

   If there isn't such a program, you'd have to write your own
   here.

How about a cron job that does the following at appropriate intervals:

echo "./mbox.`date '+%Y-%m'`"  .temp; mv -f .temp .qmail

Since no special code need be run at delivery time, this should be quite
robust.


-- Bob Rogers



dot-qmail: write to mbox named after current year month

2000-05-01 Thread lewst

What is the easiest way to have qmail deliver an incoming message to
an mbox named after the current year and month without having to
manually adjust the .qmail each month?  For example, "mbox.2000-05".

I've tried the following:

  % cat .qmail
  ./mbox.`date +%Y-%m`

This results in a mailbox file literally named "mbox.`date +%Y-%m`",
which is obviously not what I want.


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



dot-qmail files in /var/qmail/alias

2000-03-28 Thread Marc-Adrian Napoli

hi all,

We have two locally delivered domains: cia.com.au and ezeelynx.com.au

We have a user willows who wants to receive mail at [EMAIL PROTECTED] and
wants [EMAIL PROTECTED] to be forwarded somewhere else. I've tried
creating:

/var/qmail/alias/.qmail-ezeelynx:com:au-willows

with a line:

[EMAIL PROTECTED]

but this file is ignored and any mail that comes in to
[EMAIL PROTECTED] just goes straight into the willows mailbox.

Anyone have any ideas?

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750




dot-qmail Files

2000-03-15 Thread Christopher Tarricone

I am using vpopmail and I am wondering were my .qmail files go if I want
to forward to another e-mail address... Any Ideas?



dot-qmail?

2000-02-29 Thread ForeverKate.com

Have .qmail-default file in my main directory.
Need to pipe all incoming email to a .cgi script located in
/xforeverkate/cgi-bin/mail.cgi
The program is called "Alias-Mail" by solutionscripts.com
What should the .qmail-default file look like so that emails are piped
to this script
Thanks

--
Patrick
ForeverKate WebMaster Team
http://www.ForeverKate.com



Re: forcing /var/spool/mail delivery using a dot-qmail file

2000-02-21 Thread Paul Jarc

Kristina writes:
 I want to configure qmail-local to deliver mail to /var/spool/mail/username/
 Maildir.

You might try putting
'/var/spool/mail/$LOCAL/Maildir/'
in /var/qmail/rc (or whatever you use to start qmail), in place of the
default delivery method (probably ./Maildir or '|preline procmail').
This probably won't work, though; I don't think the delivery method is
subject to shell interpretation or plain variable substitution.  Make
sure $LOCAL is contained within single quotes, as above; otherwise, it
certainly won't work.  (It doesn't matter whether the quotes are
around just $LOCAL or the whole thing.)

Note that this will affect everyone who doesn't use their own .qmail,
and so they'll need their own Maildirs as well.

 The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
 .qmail file to change delivery, however its too difficult for me to comprehe
 nd.

Put the line
/var/spool/mail/username/Maildir/
in username's .qmail file.  (Don't forget the / at the end.)  This
will certainly work; doing it system-wide is the hard part.  I use
something similar myself; my .qmail contains:
/var/spool/maildir/username/
Perfect delivery isn't guaranteed for asynchronously-mounted
filesystems, and mounting /home synchronously would be unpleasant, so
I mount /var synchronously and deliver mail there.


paul



forcing /var/spool/mail delivery using a dot-qmail file

2000-02-20 Thread Kristina

I want to configure qmail-local to deliver mail to /var/spool/mail/username/
Maildir.
The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
.qmail file to change delivery, however its too difficult for me to comprehe
nd.

I do understand that forcing qmail-local to deliver to /var/spool/mail is ve
ry anti-qmail. I am using qmail with ldap and the ldap patch gets applies ch
anges to qmail-local to make it work with ldap beautifully. This is why I ca
nnot use the alternative methods, namely /bin/mail or procmail to deliver to
 /var/spool/mail.

I would very much appreciate some hints on how to write up the .qmail file.

Thanks in advance,
Kristina

P.S Thanks to Peter Green, Racerx and Tim Hunter for your replies one month 
ago.  Unfortunately, your replies were offering me alternatives which just d
on't work with the qmail-ldap situation. 
 



/var/spool/mail delivery using a dot-qmail file

2000-02-04 Thread Kristina

I want to configure qmail-local to deliver mail to /var/spool/mail.
The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
.qmail file to change delivery, however its too difficult for me to comprehe
nd.

Can someone help me here?
Thanks in advance,
Kristina

P.S I do not want to use /bin/mail or procmail for /var/spool/mail delivery.
I want to use qmail-local.




Re: /var/spool/mail delivery using a dot-qmail file

2000-02-04 Thread Peter Green

On Fri, Feb 04, 2000 at 05:10:01PM +0900, Kristina wrote:
 I want to configure qmail-local to deliver mail to /var/spool/mail.
 The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
 .qmail file to change delivery, however its too difficult for me to comprehe
 nd.
 
 Can someone help me here?
 Thanks in advance,
 Kristina
 
 P.S I do not want to use /bin/mail or procmail for /var/spool/mail delivery.
 I want to use qmail-local.

"I would like to cut down the mightiest tree in the forest.

P.S. I do not want to use an axe or a chainsaw. I want to use a herring."

Sorry in advance, but that's what your question sounds like. I don't think
qmail-local can do this because /var/spool/mail/$USER is not a good thing,
in many people's opinion. Delivery to vsm is only supported by third-party
apps, like procmail, as far as I know. Right tool for the right job, and all
that...

/pg
-- 
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]



RE: /var/spool/mail delivery using a dot-qmail file

2000-02-04 Thread Tim Hunter

I agree, I used to deliver to /var/spool/mail/$USER but I am happy to say I
do no longer.
The only way I was able to do it was to use procmail and fastforward for my
aliases.

I cant remember the syntax exactly but you need a .qmail-default to call
procmail from.
Its ugly, unreliable, and a security risk.  Why would you not use qmail in
the way it was intended?

just my .02

-Original Message-
From: Peter Green [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 10:32 AM
To: Kristina
Cc: [EMAIL PROTECTED]
Subject: Re: /var/spool/mail delivery using a dot-qmail file


On Fri, Feb 04, 2000 at 05:10:01PM +0900, Kristina wrote:
 I want to configure qmail-local to deliver mail to /var/spool/mail.
 The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
 .qmail file to change delivery, however its too difficult for me to
comprehe
 nd.

 Can someone help me here?
 Thanks in advance,
 Kristina

 P.S I do not want to use /bin/mail or procmail for /var/spool/mail
delivery.
 I want to use qmail-local.

"I would like to cut down the mightiest tree in the forest.

P.S. I do not want to use an axe or a chainsaw. I want to use a herring."

Sorry in advance, but that's what your question sounds like. I don't think
qmail-local can do this because /var/spool/mail/$USER is not a good thing,
in many people's opinion. Delivery to vsm is only supported by third-party
apps, like procmail, as far as I know. Right tool for the right job, and all
that...

/pg
--
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]



Re: /var/spool/mail delivery using a dot-qmail file

2000-02-04 Thread Racer X

if you need to actually STORE the mail spool under /var/spool/mail/*, then
yes, you need procmail or similar.  however, if you just need to fool stupid
lusers/mail clients, you can deliver to the homedir and have a symlink from
/var/spool/mail/user - ~user/Mailbox.

of course, mbox delivery has its own problems, which are well known to this
list :)

shag


- Original Message -
From: Tim Hunter [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Fri 4 Feb 2000 7.37
Subject: RE: /var/spool/mail delivery using a dot-qmail file


I agree, I used to deliver to /var/spool/mail/$USER but I am happy to say I
do no longer.
The only way I was able to do it was to use procmail and fastforward for my
aliases.

I cant remember the syntax exactly but you need a .qmail-default to call
procmail from.
Its ugly, unreliable, and a security risk.  Why would you not use qmail in
the way it was intended?

just my .02

-Original Message-
From: Peter Green [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 04, 2000 10:32 AM
To: Kristina
Cc: [EMAIL PROTECTED]
Subject: Re: /var/spool/mail delivery using a dot-qmail file


On Fri, Feb 04, 2000 at 05:10:01PM +0900, Kristina wrote:
 I want to configure qmail-local to deliver mail to /var/spool/mail.
 The /usr/share/man/cat5/dot-qmail.0 file tells you how to write a
 .qmail file to change delivery, however its too difficult for me to
comprehe
 nd.

 Can someone help me here?
 Thanks in advance,
 Kristina

 P.S I do not want to use /bin/mail or procmail for /var/spool/mail
delivery.
 I want to use qmail-local.

"I would like to cut down the mightiest tree in the forest.

P.S. I do not want to use an axe or a chainsaw. I want to use a herring."

Sorry in advance, but that's what your question sounds like. I don't think
qmail-local can do this because /var/spool/mail/$USER is not a good thing,
in many people's opinion. Delivery to vsm is only supported by third-party
apps, like procmail, as far as I know. Right tool for the right job, and all
that...

/pg
--
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]





Re: dot-qmail with virtualdomains

2000-01-10 Thread John L. Fjellstad

Hi Joel,

Actually, I already tried what you suggested, and it didn't work (which
is why I posted on the mailing list). What happens is when qmail hits
.qmail-user1, it will rewrite the receiver's email address according to
the instructions in that file.  So, [EMAIL PROTECTED], will hit
.qmail-user-default (not .qmail-user), and the receiptor will be
rewritten as [EMAIL PROTECTED] (which takes away the user-email
account I wanted to reach in the first place).

I'm wondering if the solution is not to put all the domains I want in
the "locals" file in /var/qmail/control.

Any reasons why this shouldn't be done?  Only restrictions seem to be
that someone in domain1 can't have the same username as domain2

Joel Shellman wrote:
 
 "John L. Fjellstad" wrote:
 
  Hi Joel,
 
  Thanks, that answers half of my questions.  I still have my original
  problem, though, which was to give the user dot-qmail (alias) control.
 
  Example of what I mean:
  I have an account [EMAIL PROTECTED]
  I like to create a (very small) mailing list using the qmail mechanism,
  something like [EMAIL PROTECTED] stored in .qmail-list.
  I want to let the users create the dot-qmail files in their home
  directories, but the below suggestion looks like they have to access to
  the ~domain-user directory?  Is it possible to give them 'normal'
  dot-qmail features?
 
  Any suggestions?
 
  Thanks,
 
  Joel Shellman wrote:
 
  
   In the virtualdomains file you have something like:
   domain1.com:username1
   domain2.com:username2
   domain3.com:username3
  
   Then you have the .qmail-whatever's in the three user's home
   directories.
  snip snip
   ~username2/.qmail
   ~username2/.qmail-whatever3
   ~username2/.qmail-whatever4
   etc.
 
 
 Did you find the answer to your question yet? What you mention is a
 little complicated but I believe you can do it by using something like
 [EMAIL PROTECTED]
 Then in virtualhosts
 domain.com:domainuser
 
 then in domainuser's directory:
 .qmail-user
 and that file contains:
 finaluser
 
 and in finaluser's directory:
 .qmail-user-email
 which contains wherever you wanted [EMAIL PROTECTED] to go
 
 I believe something like that will work.


-- 
John__
email: [EMAIL PROTECTED]
http://www.bayarea.net/~jfjellst/
work: [EMAIL PROTECTED]
icq: thales @ 17755648



dot-qmail with virtualdomains

1999-12-29 Thread John L. Fjellstad

I looked through the archives, and couldn't find a solution for this
problem, although the question seems to have been raised before.

Because of historical reasons, we have three domains connected to our
company.  Except for one or two users, a user in one domain is not a
member of another domain. Because of economical reasons, I only have one
mail server.

Right now I have all the domains except for one, as virtualdomain.  The
problem is that with virtualdomains, I can't figure out how to use the
dot-qmail feature.  Anyone know how to give people in the virtualdomains
this feature? 

Thanks,

-- 
John__
email: [EMAIL PROTECTED]
http://www.bayarea.net/~jfjellst/
work: [EMAIL PROTECTED]
icq: thales @ 17755648



Re: dot-qmail with virtualdomains

1999-12-29 Thread Joel Shellman

"John L. Fjellstad" wrote:
 
 I looked through the archives, and couldn't find a solution for this
 problem, although the question seems to have been raised before.
 
 Because of historical reasons, we have three domains connected to our
 company.  Except for one or two users, a user in one domain is not a
 member of another domain. Because of economical reasons, I only have one
 mail server.
 
 Right now I have all the domains except for one, as virtualdomain.  The
 problem is that with virtualdomains, I can't figure out how to use the
 dot-qmail feature.  Anyone know how to give people in the virtualdomains
 this feature?

In the virtualdomains file you have something like:
domain1.com:username1
domain2.com:username2
domain3.com:username3

Then you have the .qmail-whatever's in the three user's home
directories.
~username1/.qmail (I believe you need this file for it to recognize
.qmail's--it's just empty)
~username1/.qmail-whatever1 (in these files, you have user, or
forwardemailaddress or whatever)
~username1/.qmail-whatever2

~username2/.qmail
~username2/.qmail-whatever3
~username2/.qmail-whatever4
etc.


-- 
Joel Shellman
The enSurge(TM) Network
http://www.enSurge.com/
 S/MIME Cryptographic Signature


Re: dot-qmail with virtualdomains

1999-12-29 Thread Joel Shellman

"John L. Fjellstad" wrote:
 
 I looked through the archives, and couldn't find a solution for this
 problem, although the question seems to have been raised before.
 
 Because of historical reasons, we have three domains connected to our
 company.  Except for one or two users, a user in one domain is not a
 member of another domain. Because of economical reasons, I only have one
 mail server.
 
 Right now I have all the domains except for one, as virtualdomain.  The
 problem is that with virtualdomains, I can't figure out how to use the
 dot-qmail feature.  Anyone know how to give people in the virtualdomains
 this feature?

In the virtualdomains file you have something like:
domain1.com:username1
domain2.com:username2
domain3.com:username3

Then you have the .qmail-whatever's in the three user's home
directories.
~username1/.qmail (I believe you need this file for it to recognize
.qmail's--it's just empty)
~username1/.qmail-whatever1 (in these files, you have user, or
forwardemailaddress or whatever)
~username1/.qmail-whatever2

~username2/.qmail
~username2/.qmail-whatever3
~username2/.qmail-whatever4
etc.


-- 
Joel Shellman
The enSurge(TM) Network
http://www.enSurge.com/



check HOST in dot-qmail

1999-12-14 Thread Patrick Berry


I've set up an alias to allow mail to be sent to all the people in our
office.  I would like to protect this alias from the 'outside'...

Would there be any problems with just doing a simple check ala
if [ $HOST != freestyleinteractive.com ]
go away
else
everything is cool and go ahead and deliver
fi

Is there something bad that could happen that I might be over looking in my
approach?  Would it be best to execute an external shell script from the
dot-qmail file and check the return value of that script and then decide
what to do?

Pat
-- 
Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610



  1   2   >