| 1 | Licq Email Forwarder Plugin |
|---|
| 2 | ___________________________ |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | QUICK INSTALLATION |
|---|
| 6 | |
|---|
| 7 | To get up and running quickly (assuming you are familiar with loading |
|---|
| 8 | plugins for Licq), simple run |
|---|
| 9 | |
|---|
| 10 | configure |
|---|
| 11 | make |
|---|
| 12 | make install |
|---|
| 13 | |
|---|
| 14 | And then move licq_email.conf to ~/.licq/licq_email.conf and edit this |
|---|
| 15 | file appropriately. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | DESCRIPTION |
|---|
| 19 | |
|---|
| 20 | This program is an ICQ->Email forwarder. It is a plugin for the Licq |
|---|
| 21 | daemon and can run either on it's own on along with an interface plugin |
|---|
| 22 | (such as the Qt-gui or console plugins). |
|---|
| 23 | Any events (messages, urls...) received while the plugin is enabled will |
|---|
| 24 | be forwarded via standard SMTP to a given email account. The resulting |
|---|
| 25 | message will appear as follows: |
|---|
| 26 | |
|---|
| 27 | ----------------------------------------------------------- |
|---|
| 28 | Date: Sat Nov 13 14:07:08 1999 |
|---|
| 29 | From: HackICQ <8562000@pager.mirabilis.com> |
|---|
| 30 | Reply-To: Foo Bar <hackers@uwaterloo.ca> |
|---|
| 31 | To: Apotheosis <graham@localhost.localdomain> |
|---|
| 32 | Subject: Message [This is a regular message sent from...] |
|---|
| 33 | |
|---|
| 34 | This is a regular message sent from HackICQ |
|---|
| 35 | to Apotheosis. |
|---|
| 36 | |
|---|
| 37 | ----------------------------------------------------------- |
|---|
| 38 | |
|---|
| 39 | The From field will contain the Alias of the user who sent the message, |
|---|
| 40 | along with their ICQ pager email address (any email sent to that address |
|---|
| 41 | will be forwarded to their icq account). The Reply-To field contains |
|---|
| 42 | the full name and real email address of the sender. |
|---|
| 43 | The subject field will contain the type of event (message, url, |
|---|
| 44 | chat request...) and the first 20 characters of the message. |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | RUNNING |
|---|
| 48 | |
|---|
| 49 | Loading and running the plugin is simply a matter of adding a "-p email" |
|---|
| 50 | to your Licq command line arguments. Remember that if any plugins are |
|---|
| 51 | loaded from the command line then all plugins must be specified. In other |
|---|
| 52 | words if you are using the qt-gui plugin and also wish to start the email |
|---|
| 53 | plugin, run: |
|---|
| 54 | licq [options] -p qt-gui -p email -- [ qt-gui options ] -- [ email options ] |
|---|
| 55 | |
|---|
| 56 | The email plugin starts in an inactive state, and must be turned on from |
|---|
| 57 | the plugin interface to start forwarding email. In this manner it can be |
|---|
| 58 | turned on and off without having to exit Licq. |
|---|
| 59 | Optionally, or if the only plugin desired is the email forwarder, it can |
|---|
| 60 | be started enabled by using the "-e" parameter on the command line. Remember |
|---|
| 61 | that all plugin options must come after a "--" on the command line. |
|---|
| 62 | The "-l <status>" option will tell the plugin to automatically log on in the |
|---|
| 63 | given status at startup. This is equivalent (and uses the same status strings as) |
|---|
| 64 | the fifo command "status" (see the FAQ under FIFO). |
|---|
| 65 | |
|---|
| 66 | For example, to start Licq using only the email forwarder and have it start in |
|---|
| 67 | enabled mode and logon, run: |
|---|
| 68 | licq -f -p email -- -e -l online |
|---|
| 69 | |
|---|
| 70 | The "-f" option to Licq tells it to fork into the background, thus running Licq |
|---|
| 71 | in true daemon mode. This is optional in any case. |
|---|
| 72 | Another useful option in this case is "-o <filename>" which will redirect the Licq |
|---|
| 73 | log messages to a file (or device, such as /dev/tty9). |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | CONFIGURING |
|---|
| 77 | |
|---|
| 78 | The plugin uses a small configuration file (~/.licq/licq_email.conf) which must |
|---|
| 79 | be set up by hand. A sample is included with the source, and includes help on |
|---|
| 80 | the various settings. |
|---|
| 81 | |
|---|
| 82 | |
|---|
| 83 | PROBLEMS |
|---|
| 84 | |
|---|
| 85 | If there are any problems, report them to graham@licq.org. |
|---|
| 86 | |
|---|
| 87 | |
|---|