July 13, 2024, 11:23:28 PM

News : LinuxSolved.com Linux Help Community Forum..

Author Topic: Procmail problem  (Read 9744 times)

Offline Linux

  • New Member
  • Posts: 1
Procmail problem
« on: February 07, 2004, 06:52:54 AM »

I wanted to Delete the mail comming to my mail server and send an auto reply to the sender and rescipent so i have a script but it has some problem can any one help me out

My script starts here

'exe,vbs,shs,com,pif,bat,src' it gets trashed and you get a notice
:0 HB
* !^X-Loop: foo\@bar\.com
* ^Content-Disposition: attachment;
| ($FORMAIL -r -A 'From: "Douglas J. Hunley" <doug@hunley.homeip.net>' \
-i "Subject: Your message (Auto-Reply)" \
-A "X-Loop: foo@bar.com" ; \
echo "Your message contained some form of MS Windows executable and was
automatically deleted (unread). " && /usr/bin/cat /root/dotsignc) | \
/usr/sbin/sendmail -oi -t
:0 a:

Script Ends here