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

Re: Filter rulez...

  •  02-20-2010, 18:32

    • erikdr is not online. Last active: 12-27-2013, 16:53 erikdr
    • Top 500 Contributor
    • Joined on 02-15-2010
    • Member
    • Points 340

    Re: Filter rulez...

    Okay, NOW things get a bit more clear, I misread the Move...

    New rules file limited to:

    Mercury Global Rules
    If header "T" contains "sandya" Copy "sandya"
    If size > 1000000 SkipNext ""
    If header "F" contains "*" Forward "erikdr@mywebmail.com"
     

    And indeed forward works. However not everything under control yet, far from that - still doing something wrong with poor sandya...

    Below the MercuryP session log from her machine connecting:

     

    18:18:50.928: Connection from 192.168.0.134, Sat Feb 20 18:18:50 2010
    18:18:50.928: << +OK <8404928.13479@AnchorVista.NOR>, POP3 server ready.<cr><lf>
    18:18:50.943: >> USER sandya<cr><lf>
    18:18:50.943: << +OK sandya is known here.<cr><lf>
    18:18:50.943: >> PASS xxxxx<cr><lf>
    18:18:50.943: << +OK Welcome! 0 messages (0 bytes)<cr><lf>
    18:18:50.943: >> STAT<cr><lf>
    18:18:50.943: << +OK 0 0<cr><lf>
    18:18:50.943: >> QUIT<cr><lf>
    18:18:50.943: << +OK AnchorVista.NOR Server closing down.<cr><lf>
    18:18:50.943: --- Connection closed normally at Sat Feb 20 18:18:50 2010. ---
    18:18:50.943:

    And it shows _0_ messages whilst for sure I had incoming test mail for her.

    So the Mercury.ini file also to spot other places where I might have made mistakes...

    Tnx again,

    <Erik>

    #  MERCURY.INI generated by Mercury Setup
    #
    #
    #  Sample Bindery Mode / Standalone Mode MERCURY.INI file.
    #  This sample file implements most of the possible switches for each
    #  module, but you can edit it to do less if you wish.
    #
    #  Anything after a '#' to the end of the line is a comment and
    #  is stripped out before parsing. Trailing and leading whitespace
    #  is also stripped before parsing. Many sample commands have been
    #  left in this file commented out for reference purposes.
    #
    #  Note that in general, manual modification of this file is NOT
    #  RECOMMENDED - use the Mercury "Configuration" menu to change the
    #  program's settings wherever possible.
    #

    [General]
    myname:          AnchorVista.NOR    # Canonical name for this server
    timezone:        +0000    # Time Zone to add to date fields
    file_api:        1    # Use the file api instead of queues
    mailqueue:       C:\PROGFILES\MERCURY\QUEUE    # Where mail should be put for delivery
    smtpqueue:       C:\PROGFILES\MERCURY\QUEUE    # Where the SMTP client should look for mail
    newmail_path:    C:\PROGFILES\MERCURY\MAIL\~N    # Where to find the users' WinPMail mailboxes.

    [Protocols]
    # MERCURYS.DLL
    MERCURYP.DLL
    # MERCURYE.DLL
    MERCURYC.DLL
    MERCURYD.DLL
    # MERCURYH.DLL
    # MERCURYF.DLL
    # MERCURYW.DLL
    MERCURYX.DLL
    # MERCURYI.DLL
    # MERCURYB.DLL

    [Mercury]
    failfile:      C:\ProgFiles\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template
    confirmfile:   C:\ProgFiles\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template
    aliasfile:     C:\ProgFiles\MERCURY\Mercury\ALIAS.MER    # System-wide alias file
    synfile:       C:\ProgFiles\MERCURY\Mercury\SYNONYM.MER    # User synonym database
    listfile:      C:\ProgFiles\MERCURY\Mercury\LISTS.MER    # List of lists
    logfile:       C:\ProgFiles\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file
    logwidth:      30    # Width of address fields in logfile
    retpath:       1    # Do/Don't use 'return-path' for errors
    maxhops:       30    # Used to detect mailing loops
    gullible:      0    # If NZ, don't validate 'From' fields
    poll:          10   # Seconds between queue polling cycles
    scratch:       C:\ProgFiles\MERCURY\Scratch    # Where we can write temp files
    returnlines:   15    # How many lines of failed messages to return
    postmaster:    lorderik    # NetWare UIC of postmaster
    broadcast:     1    # Yes, we want broadcast notifications, but
    receipts:      0    # ... no broadcasts for receipt confirmations
    PM_notify:     1    # Do/Don't send errors to the postmaster
    change_owner:  1    # Change message ownership to recipient
    auto_tzone:    1    # If NZ, obtain timezone information from OS
    LogLevel:      15    # System message reporting level
    LogMax:        100    # Maximum number of system messages to store
    RetryPeriod:   30    # Period between job retries (minutes)
    MaxRetries:    16    # Maximum number of times a job can fail
    TwoPasses:     1    # If NZ, process submission queue in 2 passes
    Autoaddress:   0    # If NZ, auto-generate user addresses based on name
    Daily_exit:    0    # If NZ, auto-restart each day after maintenance
    No_Areply:     0    # If NZ, disable automatic replies system-wide
    Alt_Forward:   0    # If NZ, allow alternate forwarding specification
    Maint_hour:    2    # Hour for daily maintenance (24-hour clock)
    Maint_min:     0    # Minute for daily maintenance
    Retry_Mode:    0    # If NZ, use progressive backoff for queue retries
    Local_DSNs:    1    # If NZ generate Delivery Status for local users only
    DSN_time1:     10800    # Seconds deferred before first DSN is sent
    DSN_time2:     86400    # Seconds deferred before second DSN is sent
    DSN_time3:     259200    # Seconds deferred before third DSN is sent
    Host_in_title: 0    # If NZ, show hostname in system tray and taskbar
    Lingering:     0    # Enable or disable 'lingering mailboxes'
    Linger_Timeout: 60   # Seconds before a lingering mailbox is shut down
    Alert_Host:    notify.pmail.com    # Host to check for licensee advisories
    Alert_Interval: 720   # Frequency in minutes (min 240) for checks
    Alert_Flags:   3    # Flags controlling advisory checks

    [MercuryC]
    Host : mail.chello.nl
    Failfile : C:\ProgFiles\MERCURY\Mercury\FAILURE.MER
    Poll : 30
    Scratch : C:\ProgFiles\MERCURY\scratch
    ReturnLines : 15
    Timeout : 30
    ESMTP : 1
    POP3_Auth : 0
    Logfile : C:\ProgFiles\MERCURY\Logs\MercuryC\~y-~m-~d.log
    Log_Verbose : 0
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryC
    Session_logmode : 1

    [MercuryE]
    Poll : 15
    Timeout : 60
    logfile : C:\ProgFiles\MERCURY\Logs\MercuryE\~y-~m-~d.log   # Traffic logging file
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryE\   # Directory for session log files
    Session_logmode : 0
    # Nameservers : 139.80.64.1

    [MercuryD]
    Scratch : C:\ProgFiles\MERCURY\Scratch\MercuryD
    Timeout : 30
    Poll : 1200
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryD
    Session_logmode : 0

    [MercuryS]
    logfile : C:\ProgFiles\MERCURY\Logs\MercuryS\~y-~m-~d.log   # Traffic logging file
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryS\    # Directory for session log files
    Session_logmode : 0
    debug:       1                    # Whether or not to show session progress
    # allow:       192.156.225.2        # A machine we WILL permit to connect
    # refuse:      192.156.225.0        # A group of machines we WON'T permit.
    # size:        1500000
    Relay : 0         # Control non-local relaying


    [MercuryP]
    Scratch : C:\ProgFiles\MERCURY\Scratch\MercuryP
    Logfile : C:\ProgFiles\MERCURY\Logs\MercuryP\~y-~m-~d.log
    Stack : 32768
    Mark_Read : 1
    SSL_Mode : 0
    Login_Disabled : 0
    UIDL_nul_list : 1
    New_UIDs : 1
    No_NUL_passwords : 1
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryP
    Session_logmode : 1
    Timeout : 60

    [MercuryX]
    Drain_queues: 1
    # Cmd_Delay: 10
    # Cmd_Wait: 1
    # IE4_Dialling: 0
    # Use_ETRN: 1
    # Clients_only: 1
    # Sunday: 0800,1800,3,15,30,60
    # Monday: 0830,2100,5,15,60,60
    # Tuesday: 0830,2100,5,15,60,60
    # Wednesday: 1500,1900,2,30,5,30
    # Thursday: 0900,1900,2,30,0,0
    # Friday: 0830,2100,5,15,60,60
    # Saturday: 1031,1035,2,45,-1,0

    # [Groups]
    # testgroup            :     TESTGRP

    [Domains]
    AnchorVista: AnchorVista
    AnchorVista: AnchorVista.NOR

    [Maiser]
    Maiser:          Maiser   # 'Username' of mail server account
    Helpfile:        C:\ProgFiles\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests
    Lookupfile:      C:\ProgFiles\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command
    Send_dir:        C:\ProgFiles\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command
    Logfile:         C:\ProgFiles\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file
    Notify:          C:\ProgFiles\MERCURY\Mercury\TMP   # Dir. for pending 'notify' commands
    NoList:          N   # If 'Y', disable the 'list' command
    Local_only:      Y   # If 'Y', local 'notify' commands only

    [MercuryH]
    logfile : C:\ProgFiles\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file
    # Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
    # MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
    # Administrator : postmaster@clio.pmail.gen.nz
    Timeout : 30

    [MercuryI]
    Scratch : C:\ProgFiles\MERCURY\Scratch\MercuryI
    logfile : C:\ProgFiles\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryI\   # Directory for session log files
    Session_logmode : 0
    Timeout : 120
    Server_Port : 143
    Idle_Timeout : 1800

    [MercuryB]
    Scratch : C:\ProgFiles\MERCURY\Scratch\MercuryB
    logfile : C:\ProgFiles\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file
    Session_logging : C:\ProgFiles\MERCURY\Sessions\MercuryB\   # Directory for session log files
    Session_logmode : 0
    Timeout : 120
    Server_Port : 80
    Idle_Timeout : 1800
    # URL_Base : enter_your_domain_here

    [Groups]

    [Rewrite]

    [Statistics]
    StatFlags:    0  # Statistical reporting settings
    STF_Hours:    24  # How often to write stat log files
    STM_Hours:    24  # How often to e-mail stat log files

     

     

     

    Filed under: ,
View Complete Thread

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