Any way to force refresh of LocalAddresses_Flat?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Any way to force refresh of LocalAddresses_Flat?

Scott J
When adding new email addresses to a domain, how does ASSP detect
changes to LocalAddresses_Flat?  Is there a specific refresh interval,
or is it possible to externally trigger ASSP to refresh the file when it
is externally modified to reduce the update lag?

We have new addresses setup in our SMTP server and are quickly
there-after used to receive email, but ASSP doesn't recognize those new
valid local addresses right away (almost 3 minutes in the example
below). It's causing mail to be rejected by ASSP even though it's valid
in on our backend SMTP server.

Here's an example where the LocalAddresses_Flat was modified at
Sep-08-16 08:08:48

...
...
Sep-08-16 08:10:44 [Worker_1] Worker_1 wakes up
Sep-08-16 08:10:44 [Worker_1] Connected: session:1FBC6774
156.147.23.53:37379 > xxx.xxx.xxx.xxx:125 > xxx.xxx.xxx.xxx:25
Sep-08-16 08:10:44 [Worker_1] 156.147.23.53 info: injected STARTTLS
request to xxx.xxx.xxx.xxx
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] [InvalidAddress]
156.147.23.53 <[hidden email]> invalid address rejected:
[hidden email]
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
<[hidden email]> Message-Score: added 10 (irValencePB) for invalid
address [hidden email], total score for this message is
now 10
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
<[hidden email]> info: start damping (1 s)
Sep-08-16 08:10:47 m1-40244-08146 [Worker_1] 156.147.23.53
<[hidden email]> info: PB-IP-Score for '156.147.23.0' is 10, added
10 in this session
Sep-08-16 08:10:47 [Worker_1] Disconnected: session:1FBC6774
156.147.23.53 - processing time 3 seconds
Sep-08-16 08:10:47 [Worker_1] Worker_1 will sleep now

...
...
Sep-08-16 08:11:39 [Main_Thread] Adminupdate: [root xxx.xxx.xxx.xxx]
file 'E:/assp/files/ASSP_LocalAddresses_Flat.txt' for config
'LocalAddresses_Flat' was changed
Sep-08-16 08:11:39 [Main_Thread] Option list file:
'E:/assp/files/ASSP_LocalAddresses_Flat.txt' reloaded
(LocalAddresses_Flat) with 834 records
...
...

Our setup is ASSP version 2.5.1(16177) running on Win Server 2012 with
Strawberry Perl 5.020003 (5.20.3)
------------------------------------------------------------------------------

_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user
Reply | Threaded
Open this post in threaded view
|

Re: Any way to force refresh of LocalAddresses_Flat?

Thomas Eckardt/eck
If 'LocalAddresses_Flat' is modified using the GUI, changes are active
immediatly.
If 'LocalAddresses_Flat' is modified externaly, it may take up to five
minutes before the changes become active - see 'ReloadOptionFiles'..

Thomas




Von:    Scott J <[hidden email]>
An:     [hidden email]
Datum:  08.09.2016 19:55
Betreff:        [Assp-user] Any way to force refresh of
LocalAddresses_Flat?



When adding new email addresses to a domain, how does ASSP detect
changes to LocalAddresses_Flat?  Is there a specific refresh interval,
or is it possible to externally trigger ASSP to refresh the file when it
is externally modified to reduce the update lag?

We have new addresses setup in our SMTP server and are quickly
there-after used to receive email, but ASSP doesn't recognize those new
valid local addresses right away (almost 3 minutes in the example
below). It's causing mail to be rejected by ASSP even though it's valid
in on our backend SMTP server.

Here's an example where the LocalAddresses_Flat was modified at
Sep-08-16 08:08:48

...
...
Sep-08-16 08:10:44 [Worker_1] Worker_1 wakes up
Sep-08-16 08:10:44 [Worker_1] Connected: session:1FBC6774
156.147.23.53:37379 > xxx.xxx.xxx.xxx:125 > xxx.xxx.xxx.xxx:25
Sep-08-16 08:10:44 [Worker_1] 156.147.23.53 info: injected STARTTLS
request to xxx.xxx.xxx.xxx
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] [InvalidAddress]
156.147.23.53 <[hidden email]> invalid address rejected:
[hidden email]
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
<[hidden email]> Message-Score: added 10 (irValencePB) for invalid
address [hidden email], total score for this message is
now 10
Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
<[hidden email]> info: start damping (1 s)
Sep-08-16 08:10:47 m1-40244-08146 [Worker_1] 156.147.23.53
<[hidden email]> info: PB-IP-Score for '156.147.23.0' is 10, added
10 in this session
Sep-08-16 08:10:47 [Worker_1] Disconnected: session:1FBC6774
156.147.23.53 - processing time 3 seconds
Sep-08-16 08:10:47 [Worker_1] Worker_1 will sleep now

...
...
Sep-08-16 08:11:39 [Main_Thread] Adminupdate: [root xxx.xxx.xxx.xxx]
file 'E:/assp/files/ASSP_LocalAddresses_Flat.txt' for config
'LocalAddresses_Flat' was changed
Sep-08-16 08:11:39 [Main_Thread] Option list file:
'E:/assp/files/ASSP_LocalAddresses_Flat.txt' reloaded
(LocalAddresses_Flat) with 834 records
...
...

Our setup is ASSP version 2.5.1(16177) running on Win Server 2012 with
Strawberry Perl 5.020003
(5.20.3)------------------------------------------------------------------------------
_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************


------------------------------------------------------------------------------

_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user
Reply | Threaded
Open this post in threaded view
|

Re: Any way to force refresh of LocalAddresses_Flat?

Scott J
Thanks for that setting Thomas.  I've lowered the reload threshold
setting for now as a work around.  How much overhead does a low
threshold add if there are no file changes? Is it significant, or does
it only add a penalty if there are actually file changes?

One other question - is it possible to use "DB:" for the
'LocalAddresses_Flat' lookup to make it near real-time?  I was
experimenting a bit with it, but it didn't appear to actually use a DB
back-end for 'LocalAddresses_Flat' despite the setting.  The description
kind of implies it's file-only, but couldn't tell if DB backing only
works for options where explicitly stated, or most anywhere file backing
is allowed.

I don't have an LDAP server setup, which seemed like the only other
potential way I could find in the options to feed ASSP local addresses
via a real-time, database back-end.

Thoughts?

Thanks,

-Scott

On 2016-09-09 02:30, Thomas Eckardt wrote:

> If 'LocalAddresses_Flat' is modified using the GUI, changes are active
> immediatly.
> If 'LocalAddresses_Flat' is modified externaly, it may take up to five
> minutes before the changes become active - see 'ReloadOptionFiles'..
>
> Thomas
>
> Von:    Scott J <[hidden email]>
> An:     [hidden email]
> Datum:  08.09.2016 19:55
> Betreff:        [Assp-user] Any way to force refresh of
> LocalAddresses_Flat?
>
> When adding new email addresses to a domain, how does ASSP detect
> changes to LocalAddresses_Flat?  Is there a specific refresh interval,
> or is it possible to externally trigger ASSP to refresh the file when it
> is externally modified to reduce the update lag?
>
> We have new addresses setup in our SMTP server and are quickly
> there-after used to receive email, but ASSP doesn't recognize those new
> valid local addresses right away (almost 3 minutes in the example
> below). It's causing mail to be rejected by ASSP even though it's valid
> in on our backend SMTP server.
>
> Here's an example where the LocalAddresses_Flat was modified at
> Sep-08-16 08:08:48
>
> ...
> ...
> Sep-08-16 08:10:44 [Worker_1] Worker_1 wakes up
> Sep-08-16 08:10:44 [Worker_1] Connected: session:1FBC6774
> 156.147.23.53:37379 > xxx.xxx.xxx.xxx:125 > xxx.xxx.xxx.xxx:25
> Sep-08-16 08:10:44 [Worker_1] 156.147.23.53 info: injected STARTTLS
> request to xxx.xxx.xxx.xxx
> Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] [InvalidAddress]
> 156.147.23.53 <[hidden email]> invalid address rejected:
> [hidden email]
> Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
> <[hidden email]> Message-Score: added 10 (irValencePB) for invalid
> address [hidden email], total score for this message is
> now 10
> Sep-08-16 08:10:45 m1-40244-08146 [Worker_1] [TLS-out] 156.147.23.53
> <[hidden email]> info: start damping (1 s)
> Sep-08-16 08:10:47 m1-40244-08146 [Worker_1] 156.147.23.53
> <[hidden email]> info: PB-IP-Score for '156.147.23.0' is 10, added
> 10 in this session
> Sep-08-16 08:10:47 [Worker_1] Disconnected: session:1FBC6774
> 156.147.23.53 - processing time 3 seconds
> Sep-08-16 08:10:47 [Worker_1] Worker_1 will sleep now
>
> ...
> ...
> Sep-08-16 08:11:39 [Main_Thread] Adminupdate: [root xxx.xxx.xxx.xxx]
> file 'E:/assp/files/ASSP_LocalAddresses_Flat.txt' for config
> 'LocalAddresses_Flat' was changed
> Sep-08-16 08:11:39 [Main_Thread] Option list file:
> 'E:/assp/files/ASSP_LocalAddresses_Flat.txt' reloaded
> (LocalAddresses_Flat) with 834 records
> ...
> ...
>
> Our setup is ASSP version 2.5.1(16177) running on Win Server 2012 with
> Strawberry Perl 5.020003
> (5.20.3)------------------------------------------------------------------------------
> _______________________________________________
> Assp-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-user
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, legally
> privileged and protected in law and are intended solely for the use of the
>
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Assp-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/assp-user
------------------------------------------------------------------------------

_______________________________________________
Assp-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/assp-user