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
> 

Reply via email to