Community Discussions and Support
Restrict Mercury to accept from ONE IP Address Only.

Hmm, the N as the third argument should apply the rule only if the Mail From: does NOT match the given text.

Presumably the SMTP envelope MAIL FROM: is being set the same as the "Sender" address?

Check with transaction logging.

edit: try "*your@address*" to account for control chars in the parsed field

<p>Hmm, the N as the third argument should apply the rule only if the Mail From: does NOT match the given text.</p><p>Presumably the SMTP envelope MAIL FROM: is being set the same as the "Sender" address?</p><p>Check with transaction logging. </p><p>edit: try "*your@address*" to account for control chars in the parsed field </p>

Hi

Can I restrict Mercury to accept email from One IP address only,

then from ONE email address only,

and Only if specific words are found in the subject ??

 

Thanks :)

<p>Hi</p><p>Can I restrict Mercury to accept email from One IP address only,</p><p> then from ONE email address only, </p><p>and Only if specific words are found in the subject ?? </p><p> </p><p>Thanks :) </p>

[quote user="MartinB"]

Hi

Can I restrict Mercury to accept email from One IP address only,[/quote]Add a DENY entry for all IP's and an ALLOW entry for the desired IP in MercS Connection Control.[quote]

then from ONE email address only, [/quote]Add rule to transflt.mer:

M, "your@address", B-N, "554 Get lost Noddy!"[quote]
 

and Only if specific words are found in the subject ?? [/quote]Add another one:

S, "your_words", B-N, "554 Bzzzt - wrong!"[quote]

 

Thanks :)

[/quote]

Care to share why?

BOFH training?

[quote user="MartinB"]<p>Hi</p><p>Can I restrict Mercury to accept email from One IP address only,[/quote]Add a DENY entry for all IP's and an ALLOW entry for the desired IP in MercS Connection Control.[quote]</p><p> then from ONE email address only, [/quote]Add rule to transflt.mer:</p><p>M, "your@address", B-N, "554 Get lost Noddy!"[quote]  </p><p>and Only if specific words are found in the subject ?? [/quote]Add another one:</p><p>S, "your_words", B-N, "554 Bzzzt - wrong!"[quote] </p><p> </p><p>Thanks :) </p><p>[/quote]</p><p>Care to share why?</p><p>BOFH training? </p>

Thanks for the reply.

I've moved most of my email to a online host as I needed a few features mercury couldn't offer.

What I want to use mercury for is to control a couple of applications on a local PC.
If the email is from the right IP address, email address and has the correct key word, then launch a specific application. etc..

Anyway to make it 1IP Address, 1 email address, but multiple different key words so if subject = A run program A, if subject = B run program B etc.

Thanks

<p>Thanks for the reply.</p><p>I've moved most of my email to a online host as I needed a few features mercury couldn't offer. </p><p>What I want to use mercury for is to control a couple of applications on a local PC. If the email is from the right IP address, email address and has the correct key word, then launch a specific application. etc..</p><p>Anyway to make it 1IP Address, 1 email address, but multiple different key words so if subject = A run program A, if subject = B run program B etc.</p><p>Thanks </p>

If it passes the above tests, it will be accepted by the SMTP server.

You will then need to add filtering rules to match your keywords and perform the appropriate actions.

<p>If it passes the above tests, it will be accepted by the SMTP server.</p><p>You will then need to add filtering rules to match your keywords and perform the appropriate actions. </p>

Thanks

I've got this working. But I've had to remove :

M, "your@address", B-N, "554 Get lost Noddy!"
as it blocks my address, not matches it.

The address is a gmail.com account and I've checked the logs and it is as entered in transflt.mer

Any ideas?
Thanks ?

 

 

 

<p>Thanks</p><p>I've got this working. But I've had to remove : </p><p>M, "your@address", B-N, "554 Get lost Noddy!" as it blocks my address, not matches it.</p><p>The address is a gmail.com account and I've checked the logs and it is as entered in transflt.mer </p><p> Any ideas? Thanks ? </p><p> </p><p> </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