From: philippe_mingo Date: Tue, 22 Jan 2002 12:55:59 +0000 (+0000) Subject: Changing file perm. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=4d2bf7f00ab025b04e4f1327deaec775abb88471 Changing file perm. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2205 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/spamcop/README b/plugins/spamcop/README deleted file mode 100755 index d0a6e5cc..00000000 --- a/plugins/spamcop/README +++ /dev/null @@ -1,62 +0,0 @@ -SpamCop Reporting -- Version 1.5 - -Helps you identify spam and send a proper message to the correct address to -SpamCop. (See http://spamcop.net/ for more information) - - -Features -======== - -* Quick one-click interface to report spam via email -* Alternate, but immediate form-based processing - - -Description -=========== - -Tired of getting spam? SpamCop helps you report it to the proper people. -It even creates spam reports and will mail them off for you. All that is -required to send a spam report is about a few seconds of your time and about -five clicks. - -It is strongly suggested you set up a mail forwarder account and have it -forwarded to your current mailbox. Sometimes mail reported with SpamCop -gets on weird spam mailing lists. If your happens to get on the list, you -can then just delete the forwarder and get a new one. Make sure to use the -forwarder to sign up for SpamCop and get the required information for the -plugin. - -This plugin is also an example of how to use the identity hooks. Just open -up setup.php and read the comments. - - -Future Work -=========== - -* Dunno - - -Installation -============ - -As with other plugins, just uncompress the archive in the plugins -directory, go back to the main directory, run configure and add the plugin. - -Questions/comments/flames/etc can be sent to the SquirrelMail Plugins list. - - -Changes -======= -1.5 - Reworked system to match up with SpamCop changes. Modified code to - keep it up-to-date with current SquirrelMail changes. - -1.4 - Added forms-based reporting, thanks to Stefan Sels - -1.3 - Fixed table rendition -- added   - -1.2 - Added support for the multiple identities in SquirrelMail 1.1.2 - (not required to use the plugin) - -1.1 - Fixed a stupid bug - -1.0 - Initial version diff --git a/plugins/spamcop/options.php b/plugins/spamcop/options.php deleted file mode 100755 index 13140bf6..00000000 --- a/plugins/spamcop/options.php +++ /dev/null @@ -1,139 +0,0 @@ - -
-
-
- Message Filtering
-
-
- - - - - - - - - - - - - - - - - - -
SpamCop link is:Enabled (Disable it) - Disabled (Enable it) -
Delete spam when reported:
- (Only works with email-based reporting) -
Enabled (Disable it) - Disabled (Enable it) -
Spam Reporting Method:
- - - -
Your SpamCop authorization code:
- (see below) -
- - - -
- -

SpamCop is a free service that greatly assists in finding the true source -of the spam and helps in letting the proper people know about the abuse.

- -

To use it, you must get a SpamCop authorization code. There is a free sign up page so you can use -SpamCop.

- -

Before you sign up, be warned: Some users have reported that the -email addresses used with SpamCop find their way onto spam lists. To be -safe, you can just create an email forwarding account and have all SpamCop -reports get sent to there. Also, if it gets flooded with spam, you can then -just delete that account with no worries about losing your real email address. -Just go create an email forwarder somewhere (Yahoo! has a list -of places) so that messages from system administrators and whatnot can -be sent to you.

- -

Once you have signed up with SpamCop and have received your SpamCop -authorization code, you need to enable this plugin -- just click the link -above. Once enabled, you go about your normal life. If you encounter a -spam message in your mailbox, just view it. On the right-hand side, near -the top of where the message is displayed, you will see a link to report -this message as spam. Clicking on it brings you to a confirmation page. -Confirming that you want the spam report sent will do different things with -different reporting methods.

- -

Email-based Reporting
-Pressing the button forwards the message to the SpamCop service and will -optionally delete the message. From there, you just need to go to your -INBOX and quite soon a message should appear from SpamCop. (It gets sent to -the account you registered with, so make sure that your mail forwarder works!) -Open it up, click on the appropriate link at the top, and a new browser -window will open.

- -

Currently, the quick reporting just forwards the request to the thorough -reporting. Also, it appears that this is for members (non-free) only. -Hopefully this will change soon.

- -

Web-based Reporting
-When you press the button on the confirmation page, this will pop open a new -browser window and the SpamCop service should appear inside. The message -will not be deleted (working on that part), but you won't need to wait for a -response email to start the spam reporting.

- -

The SpamCop service will display information as it finds it, so scroll -down until you see a form button. It might pause a little while it is -looking up information, so be a little patient. Read what it says, and -submit the spam. Close the browser window. Press Cancel or click on the -appropriate mail folder to see messages and/or delete the spam.

- -

For more information about SpamCop, it's services, spam in general, -and many related topics, try reading through SpamCop's Help and Feedback section.

- - diff --git a/plugins/spamcop/setup.php b/plugins/spamcop/setup.php deleted file mode 100755 index f4d064c6..00000000 --- a/plugins/spamcop/setup.php +++ /dev/null @@ -1,115 +0,0 @@ -\n"; - - if ($spamcop_method == 'web_form') { -?> _("SpamCop - Spam Reporting"), - 'url' => '../plugins/spamcop/options.php', - 'desc' => _("Help fight the battle against unsolicited email. SpamCop reads the spam email and determines the correct addresses to send complaints to. Quite fast, really smart, and easy to use."), - 'js' => false - ); -} - - -// When we send the email, we optionally trash it then too -function spamcop_while_sending() -{ - global $mailbox, $spamcop_delete, $spamcop_is_composing, $auto_expunge, - $username, $key, $imapServerAddress, $imapPort; - - if ($spamcop_delete) { - $imapConnection = sqimap_login($username, $key, $imapServerAddress, - $imapPort, 0); - sqimap_mailbox_select($imapConnection, $mailbox); - sqimap_messages_delete($imapConnection, $spamcop_is_composing, - $spamcop_is_composing, $mailbox); - if ($auto_expunge) - sqimap_mailbox_expunge($imapConnection, $mailbox, true); - } -} - -?>