Would like configuration option to disallow all attachments

View: New views
3 Messages — Rating Filter:   Alert me  

Would like configuration option to disallow all attachments

by royce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all, I have a requirement to not allow any attachments in our SM system.  Unfortunately, there doesn't seem to be any configuration option or plug-in to do this.  Absent this in the short term, any advice on directly modifying the code is appreciated.

Royce


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Would like configuration option to disallow all attachments

by Igor Puorro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Royce, you could create a new entry on Options/Display Preferences by editing include/options/display.php and check this option value at compose page to choose show attachment upload form or not.
 
I hope it help you.
 
[]'s

On Mon, Dec 15, 2008 at 7:02 PM, RSH <royce@...> wrote:
Hi all, I have a requirement to not allow any attachments in our SM system.  Unfortunately, there doesn't seem to be any configuration option or plug-in to do this.  Absent this in the short term, any advice on directly modifying the code is appreciated.

Royce


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
-----
squirrelmail-devel mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-devel@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.devel
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel

Re: Would like configuration option to disallow all attachments

by Tomas Kuliavas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

RSH-5 wrote:
Hi all, I have a requirement to not allow any attachments in our SM system.  Unfortunately, there doesn't seem to be any configuration option or plug-in to do this.  Absent this in the short term, any advice on directly modifying the code is appreciated.
Attachments are uploaded in src/compose.php script. If temp directory is not writable by web server user, users can't upload files, but src/compose.php will disable notice about it. Look for move_uploaded_file() function in src/compose.php.

Attachment display is controlled in attachment hooks. If code has a hook, it can be controlled by plugins.

--
Tomas