Results 1 to 2 of 2

Thread: Procmail: send messages to inbox

  1. #1
    Senior Member
    Join Date
    Apr 2002
    Posts
    417

    Procmail: send messages to inbox

    Hi,

    I just discovered Procmail. I have it installed on a mail server, system wide for all users. I was wondering about the procmailrc file.

    I don't have one in there right now but as soon as I do will procmail automatically recongize it? How does sendmail interface w/ it? How do you tell sendmail to route mail throught promail?

    also i noticed that there are rules to send mail to your inbox folder. however I don't reall have an inbox 'folder'. my inbox is the /var/spool/mail/my_name file. how do i get procmail to use this as the default?

    thanx.

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Re: Procmail: send messages to inbox

    This is an example taken from the Exim MTA config file.

    Transports

    # This transport is used for procmail

    procmail_pipe:
    driver = pipe
    command = "/usr/bin/procmail -d ${local_part}"
    return_path_add
    delivery_date_add
    envelope_to_add
    check_string = "From "
    escape_string = ">From "
    user = $local_part

    Directors

    # This director runs procmail for users who have a .procmailrc file

    procmail:
    driver = localuser
    transport = procmail_pipe
    require_files = ${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
    no_verify
    ================================================== ====

    I don't know about sendmail, but Postfix has something very similar, so I assume sendmail will too.

    Have a look at this:
    http://www.linuxjunior.org/cgi-bin/p...play&id=16



Similar Threads

  1. E-mail Messages Stuck in Your Outbox
    By regix in forum Windows - General Topics
    Replies: 4
    Last Post: 04-08-2005, 01:02 AM
  2. Send and Receive Faxes in Windows 2000
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 12:46 AM
  3. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  4. Suggestions on send only mail server
    By datamike in forum Linux - General Topics
    Replies: 10
    Last Post: 06-24-2004, 01:31 PM
  5. Calling all mail server admins
    By demian in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 04-21-2004, 08:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •