1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Fetchmail, Sendmail, Procmail & 1 Catchall account...

Discussion in 'Linux and Unix' started by daltond, Oct 9, 2003.

Thread Status:
Not open for further replies.
  1. daltond

    daltond Thread Starter

    Joined:
    Oct 9, 2003
    Messages:
    1
    Hi all, kinda been working on Redhat for about a year feeling my away about. I have Redhat 7.2 installed on my network. I want it to be able to use fetchmail to get mail from 1 catchall account and distribute to individual mailboxes on my system. e.g an email to [email protected] would be retrieved from the catchall account then filtered so that it would be placed in the joe mailbox on my RH. I have sendmail working and fetchmail also but i am unable to get it to deliver to the individual mailboxes. I believe i need procmail configured but i dunno how. Any help would be appreciated.

    Thanks.

    Dalton
     
  2. codejockey

    codejockey

    Joined:
    Feb 11, 2002
    Messages:
    1,405
    You will need to do a couple of things:

    (1) set up sendmail so that local incoming mail is handed off to procmail. This can be done in the sendmail.cf file.

    (2) create a .procmailrc file in your home directory to direct mail to various folders/accounts.

    One approach to this is documented in the Offline-Mailing mini-HOWTO (see http://www.tldp.org/HOWTO/Offline-Mailing.html). The procmail man page also gives some examples of integrating procmail and sendmail. You can also use procmail with qmail (recommended).

    Hope this helps.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/170682

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice