Community Discussions and Support
ALIAS.MER file import?

Aliases should be used for providing additional names for an account, and is a one-to-one link. If you need wildcards to catch multiple addresses you should probably use a global rule with an expression.

/Rolf 

 

<p>Aliases should be used for providing additional names for an account, and is a one-to-one link. If you need wildcards to catch multiple addresses you should probably use a global rule with an expression.</p><p>/Rolf </p><p> </p>

Hi, is there a way of importing this file instead of manually updating it in the Mercury software itself?

We have alot of aliases and doing it manually will take hours.... :(

<p>Hi, is there a way of importing this file instead of manually updating it in the Mercury software itself? We have alot of aliases and doing it manually will take hours.... :( </p>

Have a look at the file alias.smp in the ..\MERCURY\MERCURY directory. It will tell you how to create aliases with the command line tool malias.exe without having to use the GUI.

/Rolf 

<p>Have a look at the file alias.smp in the ..\MERCURY\MERCURY directory. It will tell you how to create aliases with the command line tool malias.exe without having to use the GUI.</p><p>/Rolf </p>

Is there a way of exporting the current alias list so i can alter it then import it back again?

Is there a way of exporting the current alias list so i can alter it then import it back again?

Well, there is:

Exporting aliases You can save your alias list to a simple text file in the format expected by
the MALIAS commandline utility by clicking the Export button.

(from the manual)

/Rolf 

<p>Well, there is:</p><blockquote><p><i>Exporting aliases You can save your alias list to a simple text file in the format expected by the MALIAS commandline utility by clicking the Export button.</i></p></blockquote><p>(from the manual)</p><p>/Rolf </p>

How do you do that?  WHen i run it (in CMD) it says it creates an alias list, there doesnt seem to be any "switches" listed to use it?

How do you do that?  WHen i run it (in CMD) it says it creates an alias list, there doesnt seem to be any "switches" listed to use it?

How do you do that?  WHen i run it (in CMD) it says it creates an alias

list, there doesnt seem to be any "switches" listed to use it?

When I run it at the cmd level I get

Mercury Mail Transport System,
Copyright (c) 1993-96, David Harris, all rights reserved.
MALIAS - create alias file for Mercury, v1.02.

Usage: MALIAS <source_file_name> <alias_file_name>

&lt;blockquote&gt;&lt;p&gt;How do you do that?&amp;nbsp; WHen i run it (in CMD) it says it creates an alias list, there doesnt seem to be any &quot;switches&quot; listed to use it? &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;When I run it at the cmd level I get &lt;/p&gt;&lt;p&gt;Mercury Mail Transport System, Copyright (c) 1993-96, David Harris, all rights reserved. MALIAS - create alias file for Mercury, v1.02. Usage: MALIAS &amp;lt;source_file_name&amp;gt; &amp;lt;alias_file_name&amp;gt; &lt;/p&gt;

[quote user="Ashley"]How do you do that?  WHen i run it (in CMD) it says it creates an alias list, there doesnt seem to be any "switches" listed to use it?[/quote]

There is an "Export" button in the GUI (Config - Alias) menu (of Mercury) [:)]

[quote user=&quot;Ashley&quot;]How do you do that?&amp;nbsp; WHen i run it (in CMD) it says it creates an alias list, there doesnt seem to be any &quot;switches&quot; listed to use it?[/quote] There is an &quot;Export&quot; button in the GUI (Config - Alias) menu (of Mercury) [:)]

Hi

Ok, run malias.exe, pointed it at the alias.mer file, i then get "line 1 is malformed - ignored" it then ends, however this file IS working in Mercury server no problems.... ???

Ideas?

&lt;p&gt;Hi Ok, run malias.exe, pointed it at the alias.mer file, i then get &quot;line 1 is malformed - ignored&quot; it then ends, however this file IS working in Mercury server no problems.... ??? Ideas? &lt;/p&gt;

Ok, run malias.exe, pointed it at the alias.mer file, i then get "line 1 is malformed - ignored" it then ends, however this file IS working in Mercury server no problems.... ???

You need to point at the plain text source file alias.src that coutains lines like

email@address.com  == alias@address.com

and not at the alias.mer binary file, i.e. malias alias.src alias.mer.


&lt;blockquote&gt;Ok, run malias.exe, pointed it at the alias.mer file, i then get &quot;line 1 is malformed - ignored&quot; it then ends, however this file IS working in Mercury server no problems.... ??? &lt;/blockquote&gt;&lt;p&gt;You need to point at the plain text source file alias.src that coutains lines like&lt;/p&gt;&lt;p&gt;email@address.com&amp;nbsp; == alias@address.com&lt;/p&gt;&lt;p&gt;and not at the alias.mer binary file, i.e. malias alias.src alias.mer.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;

Where is alias.src located?  i cant find it.

The orginal question was "how do i save the alias files to a text file, not import a text file to an alias file"

&lt;p&gt;Where is alias.src located?&amp;nbsp; i cant find it. The orginal question was &quot;how do i save the alias files to a text file, not import a text file to an alias file&quot; &lt;/p&gt;

[quote user="Ashley"]

The orginal question was "how do i save the alias files to a text file, not import a text file to an alias file"

[/quote]

Actually...

[quote user="Ashley"]

Hi, is there a way of importing this file instead of manually updating it in the Mercury software itself?

We have alot of aliases and doing it manually will take hours.... :(

[/quote]

Also ...

[quote user="dilberts_left_nut"]

There is an "Export" button in the GUI (Config - Alias) menu (of Mercury) Smile

 [/quote]

And to answer your final question...

[quote user="Ashley"]

Where is alias.src located?  i cant find it.

[/quote]

It is the raw text file that you create, then use malias.exe to convert it to alias.mer for use in Mercury.

[quote user=&quot;Ashley&quot;]&lt;p&gt;The orginal question was &quot;how do i save the alias files to a text file, not import a text file to an alias file&quot; &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Actually...&lt;/p&gt;&lt;p&gt;[quote user=&quot;Ashley&quot;] &lt;/p&gt;&lt;p&gt;Hi, is there a way of importing this file instead of manually updating it in the Mercury software itself? We have alot of aliases and doing it manually will take hours.... :( &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;Also ...&lt;/p&gt;&lt;p&gt;[quote user=&quot;dilberts_left_nut&quot;]&lt;/p&gt;&lt;p&gt;There is an &quot;Export&quot; button in the GUI (Config - Alias) menu (of Mercury) &lt;img src=&quot;http://community.pmail.com/emoticons/emotion-1.gif&quot; mce_src=&quot;http://community.pmail.com/emoticons/emotion-1.gif&quot; alt=&quot;Smile&quot;&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;[/quote]&lt;/p&gt;&lt;p&gt;And to answer your final question...&lt;/p&gt;&lt;p&gt;[quote user=&quot;Ashley&quot;] &lt;/p&gt;&lt;p&gt;Where is alias.src located?&amp;nbsp; i cant find it. &lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;It is the raw text file that you create, then use malias.exe to convert it to alias.mer for use in Mercury. &lt;/p&gt;

Hi

Ok, i now found the "export" button inside Mercury, i was looking for it in the MALIAS program... i have now completed the export, changes and re-imported it.

However do the real world addresses support wild cards such as "let????@domain.com" or "let****@domain.com"?

&lt;p&gt;Hi Ok, i now found the &quot;export&quot; button inside Mercury, i was looking for it in the MALIAS program... i have now completed the export, changes and re-imported it. However do the real world addresses support wild cards such as &quot;let????@domain.com&quot; or &quot;let****@domain.com&quot;? &lt;/p&gt;

No, an alias definition can't include wildcards. A delivery address has to be exact, there would be no way to interpret a wildcard character.

/Rolf 

&lt;p&gt;No, an alias definition can&#039;t include wildcards. A delivery address has to be exact, there would be no way to interpret a wildcard character.&lt;/p&gt;&lt;p&gt;/Rolf&amp;nbsp;&lt;/p&gt;

[quote user="Rolf Lindby"]

No, an alias definition can't include wildcards. A delivery address has to be exact, there would be no way to interpret a wildcard character.

/Rolf 

[/quote]

thanks :(

Can wildcards be used in the alias address?
[quote user=&quot;Rolf Lindby&quot;] &lt;P&gt;No, an alias definition can&#039;t include wildcards. A delivery address has to be exact, there would be no way to interpret a wildcard character.&lt;/P&gt; &lt;P&gt;/Rolf&amp;nbsp;&lt;/P&gt;[/quote] thanks :( Can wildcards be used in the alias address?
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