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
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

Extended Daemon Interface Documentation

Last post 08-10-2007, 19:52 by rnisthal. 3 replies.
Sort Posts: Previous Next
  •  06-21-2007, 20:49

    • Sebby is not online. Last active: Sat, Nov 15 2008, 8:18 Sebby
    • Top 50 Contributor
    • Joined on 06-21-2007
    • London, GB
    • Member
    • Points 495

    Extended Daemon Interface Documentation

    Hi,

     

    daemon.txt in the Mercury 4.51 distribution doesn't appear to be any different to the one in the 4.01 distribution.  How does the included Greywall work?  There doesn't seem to be anything describing manipulating MercuryS in the docs, so presumably something is new.  If that's true, where might we find docs for this improved interface?  Is it necessary to have anything more than is contained in the distribution to use the new SMTP server interfaces, or was Greywall developed in testing privately?

     

    Cheers,

    Sabahattin

    http://sabahattin-gucukoglu.com/

     

    --

    TRAP address below - no mail please!

    feedme@yamta.org

     


    --
    Sabahattin Gucukoglu <mail<at>sabahattin<dash>gucukoglu<dot>com>
    Address harvesters, snag this: feedme@yamta.org
    http://sabahattin-gucukoglu.com/
    Filed under: ,
  •  06-25-2007, 10:46

    • Patrick Beddy is not online. Last active: 11-20-2008, 11:10 Patrick Beddy
    • Top 75 Contributor
    • Joined on 05-09-2007
    • Mooiriver, South Africa
    • Member
    • Points 380

    Re: Extended Daemon Interface Documentation

    Run the GraywallSetup.exe program (with Mercury shut down) and accept the defaults. It has cut down about 70% of the inward mail traffic in my server.
    The insatller will do the necessary changes to the DAEMONS.INI

    It all works very elegantly!

    Restart Mercury and watch MercuryS/Graywall denying connections to unknown hosts. Legitimate host will come back a few minutes later to retry and Graywall will recognise them as legitimate. Spam zombies have millions of messages to deliver and so don't bother with retries! 

    If you feel the need to change any of the settings for Graywall, it can be configured in Mercury > Configuration > GrayWall where all the settings are.

     

  •  07-19-2007, 3:53

    • David Harris is not online. Last active: 11-18-2008, 23:20 David Harris
    • Top 10 Contributor
    • Joined on 01-31-2007
    • New Zealand
    • Contributor
    • Points 7,910
    • SystemAdministrator

    Re: Extended Daemon Interface Documentation

    Sebby:

    daemon.txt in the Mercury 4.51 distribution doesn't appear to be any different to the one in the 4.01 distribution.  How does the included Greywall work?  There doesn't seem to be anything describing manipulating MercuryS in the docs, so presumably something is new.  If that's true, where might we find docs for this improved interface?  Is it necessary to have anything more than is contained in the distribution to use the new SMTP server interfaces, or was Greywall developed in testing privately?



    GreyWall uses a new event-notification interface for Daemons: in this, every phase of an incoming SMTP transaction can be examined and influenced by a Daemon (or Daemons) in real time; so, if a Daemon doesn't like a particular parameter to MAIL FROM:, it can instruct MercuryS to reject it and blacklist the connection... Or if a Daemon wanted to add a new ESMTP command to MercuryS, it could easily do so by altering the return to EHLO and implementing the command itself.

    The Daemon interface has grown hugely from the documentation provided with the program, which is now very old - there 's a whole lot of stuff not covered in there. This is entirely because, like most programmers, I really hate doing documentation, and I'm always so swamped with work that updating these particular docs has just never bubbled to the top of the pot.

    I'm not going to make promises I know I probably can't keep, so I'm not going to tell you that I'll get straight onto updating these docs... But I *am* aware that it's something that really *should* be done sooner rather than later, so I'll see if I can make some time (like I say, though, no promises).

    Cheers!

    -- David --

  •  08-10-2007, 19:52

    • rnisthal is not online. Last active: 08-21-2007, 19:37 rnisthal
    • Not Ranked
    • Joined on 08-10-2007
    • Member
    • Points 5

    Re: Extended Daemon Interface Documentation

    Please, please, please, please :D
    If you could provide even basic documentation so we can start tinkering!


    Thanks for such a great product

    Roberto Nisthal
     

View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page