Instant mailbox gdeliveryd

Results 1 to 5 of 5
  1. #1
    Member Mistigri is offline
    MemberRank
    Oct 2020 Join Date
    FWLocation
    40Posts

    Instant mailbox gdeliveryd

    In order to get mails instantly you need to modify gdeliveryd:
    --------------------------Part 1:
    FW/wnet/gdeliveryd/Mailbox.h
    Code:
    #define MAIL_UNREAD_DELETE 2592000 // 30 days
    #define MAIL_READ_DELETE   259200  // 3 days
    #define MAIL_ONTHEWAY_TIME 3600    // 3600 seconds
    change into:
    Code:
    #define MAIL_UNREAD_DELETE 2592000 // 30 days
    #define MAIL_READ_DELETE   259200  // 3 days
    #define MAIL_ONTHEWAY_TIME 0    // 0 seconds
    --------------------------Part 2:
    FW/wnet/gdeliveryd/Mailbox.cpp
    must change content within:
    Code:
    int MailBox::DelayPolicy( const GMailHeader& mail,time_t now )
    { }
    comment what's within the { } using // at the begining of each lines and add:
    Code:
    return 0;

    change it into:

    ->The images above shows you how it should look like when you edit using notepad+
    ->As you can see we comment the pieces of codes that we don't need and add whatever code that's required.

    Just compile the binary and enjoy!
    Last edited by Mistigri; 30-05-21 at 01:13 AM.
    Arcgames ruined FW because of their Greed and Stupidy.


  2. #2
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,684Posts

    Re: Instant mailbox gdeliveryd

    there's a reason for this delay, is for preventing dupe through retreat from server shutdown

  3. #3
    Gold subscription Fyyre is offline
    Gold SubscriberRank
    Oct 2007 Join Date
    EuropeLocation
    227Posts

    Re: Instant mailbox gdeliveryd

    Quote Originally Posted by Bola View Post
    there's a reason for this delay, is for preventing dupe through retreat from server shutdown
    i have never found this to be true. can you provide evidence ?
    Be well,

    -Fyyre

  4. #4
    Would You Kindly? Bola is offline
    DeveloperRank
    Dec 2011 Join Date
    BrazilLocation
    1,684Posts

    Re: Instant mailbox gdeliveryd

    Quote Originally Posted by Fyyre View Post
    i have never found this to be true. can you provide evidence ?
    --- removed ---
    Last edited by Bola; 4 Weeks Ago at 11:09 PM.

  5. #5
    Gold subscription Fyyre is offline
    Gold SubscriberRank
    Oct 2007 Join Date
    EuropeLocation
    227Posts

    Re: Instant mailbox gdeliveryd

    ah.. i see. i guess this could occur. i remember I use to shutdown, i would iptables -I INPUT -p tcp -m tcp --dport 29000 -j DROP for 2 minutes, then only kill gs, gdeliveryd, glinkd, gqueryd. and make wdb backup first
    Be well,

    -Fyyre



Advertisement