Community Discussions and Support
Forwarding emails with a command?

Hey Rolf,

Thanks very much!

 

 

<P>Hey Rolf,</P> <P>Thanks very much!</P> <P mce_keep="true"> </P> <P mce_keep="true"> </P>

Hi,

I would like to be able to have my users forward their e-mail to other users when they will be out of the office.

Because of limitations in their client (outlook 2003) they cannot do this directly from the client (without Exchange server).

I'd like my user to be able to send an email or command to Mercury and have mercury add the forwarding.

 Is this possible?

I'm thinking of using a filter that runs a batch file that adds another filter or toggles a specific filter on or off say by editing the Rules.mer file.  Anyone try something like this?

Thanks,

MP

<P>Hi,</P> <P>I would like to be able to have my users forward their e-mail to other users when they will be out of the office.</P> <P>Because of limitations in their client (outlook 2003) they cannot do this directly from the client (without Exchange server).</P> <P>I'd like my user to be able to send an email or command to Mercury and have mercury add the forwarding.</P> <P> Is this possible?</P> <P>I'm thinking of using a filter that runs a batch file that adds another filter or toggles a specific filter on or off say by editing the Rules.mer file.  Anyone try something like this?</P> <P>Thanks,</P> <P>MP</P>

> I'd like my user to be able to send an email or command to Mercury and have mercury add the forwarding.
>
>  Is this possible?

Mail forwarding is handled by a file called FORWARD in the user's mail directory.  FORWARD can contain the following lines.

Forward-To: <address>
Deliver-Also: <Y> or <N>

The <address> is a single address to which the message should be forwarded.  While each Forward-To: line can only contain a single address, a user's FORWARD file can contain multiple Forward-To: lines, which will result in the message being forwarded separately to the address specified in each line.

You must turn on this capability in Configuration | Mercury core | Advanced "Allow file-based forwarding specification using FORWARD files".

The users will need something to save the FORWARD file in the correct directory.

&amp;gt; I&#039;d like my user to be able to send an email or command to Mercury and have mercury add the forwarding. &amp;gt; &amp;gt;&amp;nbsp; Is this possible? Mail forwarding is handled by a file called FORWARD in the user&#039;s mail directory.&amp;nbsp; FORWARD can contain the following lines. Forward-To: &amp;lt;address&amp;gt; Deliver-Also: &amp;lt;Y&amp;gt; or &amp;lt;N&amp;gt; The &amp;lt;address&amp;gt; is a single address to which the message should be forwarded.&amp;nbsp; While each Forward-To: line can only contain a single address, a user&#039;s FORWARD file can contain multiple Forward-To: lines, which will result in the message being forwarded separately to the address specified in each line. You must turn on this capability in Configuration | Mercury core | Advanced &quot;Allow file-based forwarding specification using FORWARD files&quot;. The users will need something to save the FORWARD file in the correct directory.

Thomas,

Sweet!  I noted however that it does not allow for a file extensions.  If it did, I'd just shorcut the file with instructions to user desktops and they could *easily* open and edit.

Maybe I'll try a batch file instead to make it easier for users to turn on and off the forwarding.

Thanks!

MP

 

 

 

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;Sweet!&amp;nbsp; I noted however that it does not allow for a file extensions.&amp;nbsp; If it did, I&#039;d just shorcut the file with instructions to user desktops and they could *easily* open and edit. &lt;/P&gt; &lt;P&gt;Maybe I&#039;ll try a batch file instead to make it easier for users to&amp;nbsp;turn on and off the forwarding.&lt;/P&gt; &lt;P&gt;Thanks!&lt;/P&gt; &lt;P&gt;MP&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

Or you could use the web interface here for it.

/Rolf

&lt;p&gt;Or you could use the web interface &lt;a href=&quot;http://downloads.serieguide.se/webtools.zip&quot; target=&quot;_blank&quot; mce_href=&quot;http://downloads.serieguide.se/webtools.zip&quot;&gt;here&lt;/a&gt; for it.&lt;/p&gt;&lt;p&gt;/Rolf &lt;/p&gt;

Rolf,

 Humm, having some issue with this. 

Have installed, retrieves my Mercuys settings, mailbox Dir, but only sees 2 of my ~50 mailboxes.

How to access from the browser? (I see the HTTP file in WEB dir, but the the menus do nothing when clicked.)

Do I need IIS or something?

EDIT:  I see I don;t need IIS, however I cannot connect via my browser.  What URL should I be using to connect to the web server?  I tried serverIP:port.  That does not work.

EDIT:  I used this http://serverIP:81/template.html and get the interface but all I get is "mailbox name not given".

EDIT: Ok, I'm getting somewhere with acces to the sites, however it is not seeing my mail boxes.  It give me () and  Admin only for mail boxes.

My boxes are on a different server than where Mercury is installed.  Thomas said to not do this, however I have always done it this way and if Mercury lost its connection with the server, it would just crash and get or tryto deliver any mail.

Is my problem that I need to have the mail boxes on the same server?

I get "WARNING: Mercury not found" in the HTTP server window.

EDIT:  How does the server know where my mailboxe and Queue directories are located?  It is not defined in the INI file?

 Thanks,

Mark

  

 

 

&lt;P&gt;Rolf,&lt;/P&gt; &lt;P&gt;&amp;nbsp;Humm, having some issue with this.&amp;nbsp;&lt;/P&gt; &lt;P&gt;Have installed, retrieves my Mercuys settings,&amp;nbsp;mailbox Dir, but only sees 2 of my ~50 mailboxes.&lt;/P&gt; &lt;P&gt;How to access&amp;nbsp;from the browser? (I see the HTTP file in WEB dir, but the the menus do nothing when clicked.)&lt;/P&gt; &lt;P&gt;Do I need IIS or something?&lt;/P&gt; &lt;P&gt;EDIT:&amp;nbsp; I see I don;t need IIS, however I cannot connect&amp;nbsp;via my browser.&amp;nbsp; What URL should I be using to connect to the web server?&amp;nbsp; I tried serverIP:port.&amp;nbsp; That does not work.&lt;/P&gt; &lt;P&gt;EDIT:&amp;nbsp; I used this &lt;A href=&quot;http://serverip:81/template.html&quot; mce_href=&quot;http://serverip:81/template.html&quot;&gt;http://serverIP:81/template.html&lt;/A&gt;&amp;nbsp;and get the interface but all I get is &quot;mailbox name not given&quot;.&lt;/P&gt; &lt;P&gt;EDIT: Ok, I&#039;m getting somewhere with acces to the sites, however it is not seeing my mail boxes.&amp;nbsp; It give me () and &amp;nbsp;Admin only for mail boxes.&lt;/P&gt; &lt;P&gt;My boxes are on a different server than where Mercury is installed.&amp;nbsp; Thomas said to not do this, however I have always done it this way and if Mercury lost its connection with the server, it would just crash and get or tryto deliver any mail.&lt;/P&gt; &lt;P&gt;Is my problem&amp;nbsp;that&amp;nbsp;I need to&amp;nbsp;have the mail boxes on the same server?&lt;/P&gt; &lt;P&gt;I get &quot;WARNING: Mercury not found&quot; in the HTTP server window.&lt;/P&gt; &lt;P&gt;EDIT:&amp;nbsp; How does the server know where my mailboxe and Queue directories are located?&amp;nbsp; It is not defined in the INI file?&lt;/P&gt; &lt;P&gt;&amp;nbsp;Thanks,&lt;/P&gt; &lt;P&gt;Mark&lt;/P&gt; &lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

If your Mercury installation isn't found then neither will your mailboxes be found. The program automatically searches in well-known locations like c:\mercury\, and checks the location pointed to by the Windows registry entry for Mercury, if there is one. If this for some reason this fails you can enter the path manually in http.ini (MercDir).

As you already found out the way to access the program is to point your web browser to your server address and the selected port, for instance http://serverIP:81.

/Rolf 

&lt;p&gt;If your Mercury installation isn&#039;t found then neither will your mailboxes be found. The program automatically searches in well-known locations like c:\mercury\, and checks the location pointed to by the Windows registry entry for Mercury, if there is one. If this for some reason this fails you can enter the path manually in http.ini (MercDir).&lt;/p&gt;&lt;p&gt;As you already found out the way to access the program is to point your web browser to your server address and the selected port, for instance&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma, Arial, Helvetica; &quot;&gt;&amp;nbsp;&lt;a style=&quot;color: rgb(2, 70, 155); &quot; href=&quot;http://serverip:81/template.html&quot;&gt;http://serverIP:81&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;/Rolf&amp;nbsp;&lt;/p&gt;

Thomas,

I'm having a problem.  If I create the forward file, with an email address, it forwards fine.  However, if I remove the the email address from the forward file, Mercury is delivering a copy to ADMIN user.  If I remove the forward file, its stop generating the copy.

Forward file contents:

Forward-To:
Deliver-Also: Y


#To start forwarding, after "Forward-To:" add your forward email address.
#(Ex Forward-To: giggles@laugh.com )
#Change the Y to N if you DO NOT want a copy to go to your mail box when the message is forwarded.

Do I need to remove the forward file from the mailbox vs just editing it and removing the forward address?

Thanks much,

MP

 

&lt;P&gt;Thomas,&lt;/P&gt; &lt;P&gt;I&#039;m having a problem.&amp;nbsp; If I create the forward file, with an email address, it forwards fine.&amp;nbsp; However, if I remove the the email address from the forward file, Mercury is delivering a copy to ADMIN user.&amp;nbsp; If I remove the forward file, its stop generating the copy.&lt;/P&gt; &lt;P&gt;Forward file contents:&lt;/P&gt; &lt;P&gt;Forward-To: Deliver-Also: Y&lt;/P&gt; &lt;P&gt; #To start forwarding, after &quot;Forward-To:&quot; add your forward email address. #(Ex Forward-To: &lt;A href=&quot;mailto:giggles@laugh.com&quot;&gt;giggles@laugh.com&lt;/A&gt; ) #Change the Y to N if you DO NOT want a copy to go to your mail box when the message is forwarded.&lt;/P&gt; &lt;P&gt;Do I need to remove the forward file from the mailbox vs just editing it and removing the forward address?&lt;/P&gt; &lt;P&gt;Thanks much,&lt;/P&gt; &lt;P&gt;MP&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt;

You will need to remove the lines, or comment them out with a #, if you don't want to delete the file altogether.

/Rolf

&lt;p&gt;You will need to remove the lines, or comment them out with a #, if you don&#039;t want to delete the file altogether.&lt;/p&gt;&lt;p&gt;/Rolf &lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft