Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

HowTo dynamically change Mercurys behavior from the command line?

Last post 04-19-2016, 4:28 by Rolf Lindby. 1 replies.
Sort Posts: Previous Next
  •  04-18-2016, 13:27

    • Rainer is not online. Last active: 06-09-2016, 11:59 Rainer
    • Top 500 Contributor
    • Joined on 09-01-2007
    • Member
    • Points 305

    HowTo dynamically change Mercurys behavior from the command line?


    how can I dynamically enable MercuryS Session logging for a single IP address (and/or blocking for a single address)? I don't mind to disable it manually later.

    We're under some SMTP AUTH attacks (up to 2.500 per try).
    Whereas Mercurys hopefully just blocks these tries the lack of forensic logging (each single attempt only produces a line "T 20160418 130122 570a35ad AUTH LOGIN") makes it easy for abuse depts to "don't believe" a report.
    That's why I would like to enable session logging for such addresses as soon as it starts to happen. Manually it can be done using config | MercuryS | connection control.

    I can just
    echo 8 >> C:\Mercury\MERCURYS.ACL

    but how do I make Mercury recognize this config change without killing mercury.exe (loader loads it new)?



  •  04-19-2016, 4:28

    • Rolf Lindby is not online. Last active: 2019-07-18, 14:43 Rolf Lindby
    • Top 10 Contributor
    • Joined on 05-08-2007
    • Stockholm, Sweden
    • SuperStar
    • Points 26,265
    • BetaTeam Moderator SystemAdministrator

    Re: HowTo dynamically change Mercurys behavior from the command line?

    There is as far as I know no daemon interface or similar to manipulate the access control list for MercuryS or reload the ACL file. Another approach could perhaps be to write an event daemon to log relevant AUTH request data. 

View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page