Hi all,

new ASSP_AFC Plugin version 2.01

added:

'ASSP_AFCWebScript','Script to move large attachments to a web server',
 'If the size of an undecoded attachment exceeds the ASSP_AFCinsize or 
ASSP_AFCoutsize parameter, 
  assp will call this script and will replace the attachment with the text 
returned by this script or executable.
  If no text is returned by the script (a warning is written to the 
maillog.txt) or the returned text begins with 
  the word "error", the attachment will not be replaced.
  The script has to write the resulting text or error to STDOUT.
  The resulting text could be any of plain text or html code. The 
MIME-enconding and the Content-Type value of 
  the resulting MIME-part will be set accordingly.
  The text should contain the link to download the attachment, possibly 
some explanation (eg. download life time), 
  web login information or a web-session-identifier - what ever is needed 
to fit the requirements of your web server.
  You have to define the full path to the script and all parameters that 
should be pass to the script. 
  The literal FILENAME will be replaced with the attachment filename 
(including the full path) that was stored 
  in the /transfer folder. Any literal starting with an '$', will be 
replaced by the according connection hash value 
  or the global variable with the name.
 
  for example:
  $relayok will be replaced by $Con->{relayok} - which identifies if it is 
an incoming (1) or outgoing/local (0) mail
 
  So a possible definition of this parameter could be: 
  '/usr/bin/move_attachment_to_web.sh $relayok FILENAME' 
  or 
  'c:/assp/move_attachment_to_web.cmd $relayok FILENAME'
 
  The file has to be removed by the script. If not, assp will warn about 
this and will remove the file in the /transfer 
  folder.
  To keep the filenames unique, the assp message identifier is placed in 
front of the filename - 
  like: M1-30438-02027_attachmentfilename. Notice: if the filename 
contains unicode characters, 
  assp will pass this characters in UTF-8 to your script!
  Keep in mind, that if this script terminates it's own process - ASSP 
will die!
 
'ASSP_AFCinsize','Attachment size incoming'
 'The size in KB of an attachment in incoming mails that must be reached, 
to call the ASSP_AFCWebScript. 
 This parameter is ignored if left blank or set to zero.'
'ASSP_AFCoutsize','Attachment size outgoing/local'
 'The size in KB of an attachment in outgoing or local mails that must be 
reached, to call the ASSP_AFCWebScript. 
 This parameter is ignored if left blank or set to zero.' 


Thomas

DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to