Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Fetchmail/Postfix/Procmail Woes

  • 02-01-2005 5:16pm
    #1
    Closed Accounts Posts: 14,483 ✭✭✭✭


    This post has been deleted.


Comments

  • Registered Users, Registered Users 2 Posts: 1,065 ✭✭✭Snowbat


    Trashscan, eh? By any chance are you following the guide at http://www.jennings.homelinux.net/mailserver_config.html?

    That guide is the basis for the postfix+procmail+fetchmail+spamassassin+courier_IMAP+squirrelmail config on my headless server but I made a few changes...
    • I couldn't find Trashscan so I left out ClamAV and the Trashscan bits
    • I need per-user spamassassin rules and spamc appears not to support that so instead I have procmail running each email through spamassassin

    Postfix calls procmail to run as the final delivery agent - I think you'll need to install postfix.


  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


  • Registered Users, Registered Users 2 Posts: 1,065 ✭✭✭Snowbat


    My server runs Mandrake 9.1

    /etc/fetchmailrc (localhost 5058 is a YahooPOPs daemon)
    # Put here each user config
    set postmaster "gar@localhost"
    set bouncemail
    set invisible
    set no spambounce
    
    # gar's mailboxes
    poll pop.oceanfree.net proto pop3
            user pop3username
            password pop3password
            is gar here
            options fetchall
            antispam 501
    
    poll pop.esatclear.ie proto pop3
            user pop3username
            password pop3password
            is gar here
            options fetchall
            antispam 501
    
    poll pop3.globo.com proto pop3
            user pop3username
            password pop3password
            is gar here
            options fetchall
            antispam 501
    
    poll localhost port 5058 proto pop3
            user YahooUsername
            password YahooPassword
            is gar here
            options fetchall
            antispam 501
    
    # connie's mailboxes
    poll pop3.globo.com proto pop3
            user pop3username
            password pop3password
            is connie here
            options fetchall
            antispam 501
    
    /etc/postfix/main.cf with comment lines removed
    command_directory = /usr/sbin
    daemon_directory = /usr/lib/postfix
    myhostname = localhost
    inet_interfaces = localhost
    mydestination = $myhostname, localhost.$mydomain $mydomain
    unknown_local_recipient_reject_code = 450
    mynetworks = 192.168.1.0/24, 127.0.0.0/8
    relayhost = smtp.globo.com
    alias_maps = hash:/etc/postfix/aliases
    home_mailbox = Maildir/
    mail_spool_directory = /var/spool/mail
    mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
    debug_peer_level = 1
    debugger_command =
            PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
            echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
            >$config_directory/$process_name.$process_id.log & sleep 5
    delay_warning_time = 4
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.0.6/samples
    readme_directory = /usr/share/doc/postfix-2.0.6/README_FILES
    alias_database = hash:/etc/postfix/aliases
    mydestination = $myhostname, localhost.$mydomain, $mydomain
    


Advertisement