Bulk add privileged IP addresses to allow relay

Discussion regarding the Standard version.
Post Reply
chris.dempsey
Posts: 5
Joined: Tue Sep 06, 2016 11:55 am

Bulk add privileged IP addresses to allow relay

Post by chris.dempsey »

I use a third party SMTP service to send mail but Mail Enable rejects incoming messages with error

Code: Select all

551 This mail server requires authentication before sending mail from a locally hosted domain.
The third party service has over 4, 000 IPs which is impracticable to add individually in MailEnable Admin > Services & Connectors > SMTP Properties: Relay - Allow relay for privileged IP ranges.

Can I add the 4, 000 IPs directly to SMTP-ACCESS.TAB at

Code: Select all

C:\Program Files (x86)\Mail Enable\Config\SMTP-ACCESS.TAB
using the same tab separated format in that file?

eg.

Code: Select all

123.45.678.910	1	RELAY	SYSTEM
If so are changes picked up immediately or does SMTP connector need restarted?

Any other considerations?

Thanks

chris.dempsey
Posts: 5
Joined: Tue Sep 06, 2016 11:55 am

Re: Bulk add privileged IP addresses to allow relay

Post by chris.dempsey »

Sorry to bump this, I know the festive period is still winding up but the SMTP provider is pushing for a resolution.

Can anyone advise if there is an option to add privileged IP addresses in bulk to allow relay?

Thanks

Walpitscheker
Posts: 2
Joined: Thu Aug 09, 2018 9:23 am

Re: Bulk add privileged IP addresses to allow relay

Post by Walpitscheker »

Hey Chris!

I directly edit the "SMTP-DENY.TAB" via vbs/bat Script without restarting the SMTP Service using the same Syntax (IP-Address <TAB>1<Tab>CONNECT<Tab>SYSTEM) as in the file and it works.

Version: Mailenable Standard 10.20 on Windows 2016

So if you use the default configuration storage method (not a Database) it should also work for you.

But i would recommend to backup the file first. There is also a mailenable backup of the file with the Extension ".sav"

David

Admin
Site Admin
Posts: 1127
Joined: Mon Jun 10, 2002 6:31 pm
Location: Melbourne, Victoria, Australia

Re: Bulk add privileged IP addresses to allow relay

Post by Admin »

Hi,

Yes, sorry, you can edit the file directly, and the SMTP service does not need restarting.

chris.dempsey
Posts: 5
Joined: Tue Sep 06, 2016 11:55 am

Re: Bulk add privileged IP addresses to allow relay

Post by chris.dempsey »

Excellent, thank you.

Post Reply