A.Y. Sjarifuddin writes:
 > Dear All,
 > I tried to implement forward command in my ~aaa/.qmail file:
 > 
 > |if [ "$SENDER" = "bbb@domain" ]; then /var/qmail/bin/forward
 > ccc@domain ; exit 100; fi
 > ./Maildir/
 > 
 > The message successfully delivered to ccc@domain, but there's still
 > a bounce back message to bbb@domain:

Yup.  That's what you told it to do.  You asked to have the mail
forwarded (by running forward), then you asked to have it bounced (by
exiting 100).

By the way, the PATH in a .qmail file has /var/qmail/bin at the head
of it, so you can just say:

 > |if [ "$SENDER" = "bbb@domain" ]; then forward ccc@domain; fi
 > ./Maildir/

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!

Reply via email to