This is the perfect use for the bouncesaying command.

You could replace 'exit 100' with 'bouncesaying "Sorry I'm not going to
send this message"'

This will give a "hard error" and the informative error message that
you have passed as an argument to bouncesaying.

-Martin

On 30 Nov, Jan Stanik wrote:
  : Hi,
  : 
  :     I have this line in .qmail-default file:
  : 
  : | [ "$HOST" = "domain.sk" ] && exit 100 || exit 0
  : 
  : which returns a "hard error" message to the sender, if host domain 
  : is "domain.sk". What I need is put to that message exact reason 
  : of undelivery (e.g. "User uknown"). How can I do that?
  : 
  : 

-- 
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]

Reply via email to