1

I've set up a Perl script to process incoming emails through qmail. However, I find that email messages are hitting the script over and over again, every few minutes for several hours.

Am I supposed to set a return value in the script or do something else to indicate to the sender that the email has been received successfully?

webacad
  • 11
  • 1

1 Answers1

0

Depends on the MTA but yes, generally any nonzero exit code signals an error. Qmail uses different codes than Sendmail and compatibles, in the 100-something range.

tripleee
  • 175,061
  • 34
  • 275
  • 318
  • http://www.ezmlm.org/man/man8/qmail-command.8.html#lbAE seems relevant, albeit different from what I recall. – tripleee Jan 11 '12 at 07:34