procmail
[Top] [All Lists]

RE: Handling Attachments with Procmail?

2000-04-25 03:18:06
Small mix up in here

-----Original Message-----
From: Steinar Skúlason 
Sent: 19. apríl 2000 14:02
To: 'procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de'
Subject: Handling Attachments with Procmail?



Hello, 

This is what I'm tryin to do with Procmail, but having trouble
understanding... 
Note: Im a NewBie in Linux 


If sender in Asender.txt OR Bsender.txt then 
Begin 
  if attachment := True then 
  if filename is A then 
  begin 
    save in directory A as "OldFileName" + (datetime)       // to make it a
Uniqe filename 
    send mail to steinar(_at_)tolvumyndir(_dot_)is saying file received from 
"A" +
"sender" 
  end 
  else if filename is B then 
  begin 
    save in directory B as "OldFileName" + (datetime)       // to make it a
Uniqe filename 
    send mail to steinar(_at_)tolvumyndir(_dot_)is saying file received from 
"B" +
"sender" 
  end 
Else !steinar(_at_)tolvumyndir(_dot_)is 
and the mail should just get dumped  or bounce... 

Phew.. I have read the man pages and tryd to find something about
Attachments and how to handle them 
but when my eyes turned green I decided to send this here as my last resort 


Hope you can help 


Sincerly 

Steinar M. 
-=Make it idiot proof and someone will make a better idiot.=- 



<Prev in Thread] Current Thread [Next in Thread>