Community Discussions and Support
Appending domain name

[quote user="Thomas R. Stephenson"]

If 'user' (local address 'user@mydomain.me') has an alias on

'user@outside.you' and receives a mail whose to: field was only 'user'

it is not redirected to the alias address.

How could I change

this? I've a lot of aliases and I would prefer to have a setting on

Mercury saying: if there is no domain name in the To: field then add

'@default.domain' and check the aliases.

Since an alias test is a string match using the e-mail address in it's simplest form the only way I can see to do this is to setup the alias user == user@outside.you.  [/quote]

If there is no solution within Mercury that's what I'm going to do, a script to add 'user  == user@outside.you' when there is a line 'user@mydomain.me == user@outside.you' and modify the way I process the datas when a user creates his/her own alias.

[quote user="Thomas R. Stephenson"]

If you are using a system address book though you might be able to setup the user "USER" with an e-mail address USER@mydomain.me so when a user used this e-mail address is would be resolved in the address book to a full e-mail address. 

 [/quote]

But not all my users are in an AB (too many users, too difficult to script it when I create/remove a user), and there is not only PM which generates emails, our copying machines send some also...

Thanks for your help

 

[quote user="Thomas R. Stephenson"]<blockquote><p>If 'user' (local address 'user@mydomain.me') has an alias on 'user@outside.you' and receives a mail whose to: field was only 'user' it is not redirected to the alias address.</p></blockquote><blockquote>How could I change this? I've a lot of aliases and I would prefer to have a setting on Mercury saying: if there is no domain name in the To: field then add '@default.domain' and check the aliases.</blockquote><p>Since an alias test is a string match using the e-mail address in it's simplest form the only way I can see to do this is to setup the alias user == user@outside.you.  [/quote]</p><p>If there is no solution within Mercury that's what I'm going to do, a script to add 'user  == user@outside.you' when there is a line 'user@mydomain.me == user@outside.you' and modify the way I process the datas when a user creates his/her own alias. </p><p>[quote user="Thomas R. Stephenson"] </p><p>If you are using a system address book though you might be able to setup the user "USER" with an e-mail address USER@mydomain.me so when a user used this e-mail address is would be resolved in the address book to a full e-mail address.  </p><p> [/quote]</p><p>But not all my users are in an AB (too many users, too difficult to script it when I create/remove a user), and there is not only PM which generates emails, our copying machines send some also...</p><p>Thanks for your help </p><p> </p>

Hi there

 

I use Mercury v4.72 on a lan  and Pegasus Mail as mail program.

I setup PM to use the defined SMTP server regardless of address, ie when I send an email to 'user', Mercury processes it just like if it was an email to 'user@mydomain.me', where 'mydomain.me' is the default domain recorded in Mercury.ini, it works fine except for the aliases:

I could set up a method which allow the users to define an alias for their local address (the one at 'mydomain.me'), so my aliases list is quite large (if someone wants explanations about this method, please let me know).

If 'user' (local address 'user@mydomain.me') has an alias on 'user@outside.you' and receives a mail whose to: field was only 'user' it is not redirected to the alias address.

How could I change this? I've a lot of aliases and I would prefer to have a setting on Mercury saying: if there is no domain name in the To: field then add '@default.domain' and check the aliases.

Is it possible?

Thanks in advance for your help

<p>Hi there</p><p> </p><p>I use Mercury v4.72 on a lan  and Pegasus Mail as mail program.</p><p>I setup PM to use the defined SMTP server regardless of address, ie when I send an email to 'user', Mercury processes it just like if it was an email to 'user@mydomain.me', where 'mydomain.me' is the default domain recorded in Mercury.ini, it works fine except for the aliases:</p><p>I could set up a method which allow the users to define an alias for their local address (the one at 'mydomain.me'), so my aliases list is quite large (if someone wants explanations about this method, please let me know).</p><p>If 'user' (local address 'user@mydomain.me') has an alias on 'user@outside.you' and receives a mail whose to: field was only 'user' it is not redirected to the alias address.</p><p>How could I change this? I've a lot of aliases and I would prefer to have a setting on Mercury saying: if there is no domain name in the To: field then add '@default.domain' and check the aliases. </p><p>Is it possible? </p><p>Thanks in advance for your help </p>

If 'user' (local address 'user@mydomain.me') has an alias on

'user@outside.you' and receives a mail whose to: field was only 'user'

it is not redirected to the alias address.

How could I change

this? I've a lot of aliases and I would prefer to have a setting on

Mercury saying: if there is no domain name in the To: field then add

'@default.domain' and check the aliases.

Since an alias test is a string match using the e-mail address in it's simplest form the only way I can see to do this is to setup the alias user == user@outside.you. 

If you are using a system address book though you might be able to setup the user "USER" with an e-mail address USER@mydomain.me so when a user used this e-mail address is would be resolved in the address book to a full e-mail address. 

 

<blockquote><p>If 'user' (local address 'user@mydomain.me') has an alias on 'user@outside.you' and receives a mail whose to: field was only 'user' it is not redirected to the alias address.</p></blockquote><blockquote>How could I change this? I've a lot of aliases and I would prefer to have a setting on Mercury saying: if there is no domain name in the To: field then add '@default.domain' and check the aliases.</blockquote><p>Since an alias test is a string match using the e-mail address in it's simplest form the only way I can see to do this is to setup the alias user == user@outside.you.  </p><p>If you are using a system address book though you might be able to setup the user "USER" with an e-mail address USER@mydomain.me so when a user used this e-mail address is would be resolved in the address book to a full e-mail address.  </p><p> </p>
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