On Fri, Dec 10, 2004 at 11:47:07AM +0800, Jack Liu wrote:
> 
> I am using qmail-ldap-20041201 patch, and I setting the account for
> auto-reply. Then I try to send a email to this auto-reply account.
> I can got the Auto-reply mail from this account that mean the
> auto-reply is working.
> 
> And I send again. But now I use the same from and to. Like that:
> 
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> Because the user they have a request is they need open auto-reply for
> customer, but also want send some email to themselves account.

[ looping bounce log deleted ] 

> I know it does not make sense for user's request, but I also need to
> help do something for they need. Is there any body can give me or
> discuss a helpful solution? thanks to all.

You're right about it not making sense.  Find out what they want to do,
as they probably don't need to do this.

What I've done with my vacation program is to put the qmail-reply line
in their .qmail file after the spam filtering line (I believe you can
have auto-reply enabled just through LDAP, that's why I am mentioning
this).  So in my case if they wanted to email themselves and not cause a
bounce they could just email
  [EMAIL PROTECTED]
and then have
  $ cat .qmail-noautoreply
    ./Maildir/

Or you could use the iftoccfrom and condtomaildir from qtools:
  http://www.superscript.com/qtools/intro.html
and have something like
  $ cat .qmail
    | condtomaildir ./Maildir/ iftoccfrom [EMAIL PROTECTED] 
    | qmail-reply ./Maildir/
    ./Maildir/

Chris

Reply via email to