[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMAP + fetchmail + procmail



I'M NOT MEMER OF YOUR MAILING LISTS. MY MAIL IS : PONIK@POBOX.SK
(PONIK@PROVER.SK IS ONLY FORWARD FROM PONIK@POBOX.SK).

WHY THIS MAILS COME TO ME?
EVERY DAY COME TO ME 200 MAILS FROM YOUR MAILING LISTS.

CAN YOU DO SOMETHING WITH IT?

     THANK YOU.

----- Original Message -----
From: "Michael van der Kolff" <vandy@aperfectpc.com>
To: "Jason Bleazard" <jbleazard@sympatico.ca>;
<debian-user@lists.debian.org>
Sent: Tuesday, June 04, 2002 10:09 AM
Subject: Re: IMAP + fetchmail + procmail


> I'd say that you should _probably_ use exim instead... My setup here
happens
> to be cyrus21-* packages + sasl2-bin + exim-tls + fetchmail-ssl +
> fetchmail-common.  It isn't that hard... what I did was installed said
> packages, chown --recursive /var/run/saslauthd (might not be necessary
> anymore - was a bug in sasl2-bin) edited /etc/fetchmailrc appropriately,
> /etc/default/fetchmail and /etc/imapd.conf.  Oh, and I added a shadow
> transport option to the exim.conf file (just one of my niceties, not
> strictly needed, we only put servers into businesses, you see...)
(attaching
> all relevant files)...
>
> You probably want to change all instances of /home/cyrus to
/var/spool/cyrus
> or whatever the default is (I forget, but you'll see it when you install
> it).
>
> And you will probably also want to run eximconfig and just use the shadow
> transport section, if you see such a need arising.
>
> Then you'll have to run cyradm --auth login localhost (read the cyradm
> manpage) to add the appropriate mailboxes.
>
> Cyrus is probably the best IMAP server out there, and I'd recommend you
get
> used to it.  It is quite a step forward from the UW-IMAP server...
>
> Additionally, you can place a .procmailrc file in your home directory,
which
> I believe exim honours.
>
> Also, you will want to change the entries in the /etc/fetchmailrc file to
> reflect your setup.  We've gone for a multi-drop only because we have
> peculiar circumstances (ISP charging us too much per mailbox).  You just
> have to add more than one server entry to get all the accounts...
>
> Hope it helps,
>
> Michael van der Kolff
> A Perfect PC
> Gymea, Sydney, Australia
>
> BTW, I'm only using Outlook express 'cause my linux box (excl. server)
ain't
> turned on and I couldn't be bothered doing so (you _could_ find out such
> information from the headers, so I'm just telling you in advance).
>
> ----- Original Message -----
> From: "Jason Bleazard" <jbleazard@sympatico.ca>
> To: <debian-user@lists.debian.org>
> Sent: Tuesday, June 04, 2002 11:38 AM
> Subject: IMAP + fetchmail + procmail
>
>
> > I've found a lot of good documentation about IMAP, fetchmail and
> > procmail individually.  However, I'm trying to figure out how to make
> > them all work together and I'm afraid I don't quite get it.  I've tried
> > some Google searches and found myself overwhelmed with information that
> > didn't really apply to my situation.  If anyone could point me toward
> > some good documents or offer a few pointers, I'd sure appreciate it.
> > I'm just looking to download from three POP3 accounts and serve e-mail
> > to two users (myself and my wife), so I don't need a large capacity
> > setup.
> >
> > Read further if you want to know more details of what I want to do.
> >
> > We have a (modest :-) home network of four machines scattered around the
> > house, running a mix of Debian and Windows.  I'm building a fifth to act
> > as a central file server, and I'd like to put our e-mail on there as
> > well.
> >
> > Our ISP has their e-mail set up with POP access for downloading and an
> > SMTP server for sending.  Pretty standard stuff.  Their setup guide just
> > tells us to configure these servers directly in Outlook or Netscape.
> > This works okay, but it pretty well ties my e-mail to one machine, mail
> > program and/or operating system on our network.
> >
> > I figure the best way to centrailize our mail is to set up an IMAP
> > server.  I know that I need fetchmail to bring our mail in from our
> > ISP.  I also know that I can use procmail to filter incoming messages to
> > different folders (for example, I want debian-user messages to go to
> > their own directory).  It's a DSL connection that's active pretty much
> > all the time, so I don't need to worry about triggering it manually.  I
> > can just let it grab stuff every so often.
> >
> > Unfortunately, I can't grasp how to get everything working together.
> > Does fetchmail automagically filter things through procmail once the
> > latter is set up?  How do I get procmail to play nice with IMAP
> > folders?  Does it matter if I use mbox or maildir format?
> >
> > Also, I'm not sure how to set up exim, or if there's another alternative
> > that would be better suited for what I want to do.  I've noticed that if
> > I get any mail from cron it sits in my local mailbox on each machine, so
> > I get the new mail notice when I log in to that machine.  It would be
> > nice if all the machines on the network could send stuff to my central
> > IMAP inbox.
> >
> > Do I need to really worry about remote mail routing, or should I just
> > tell my mail client to connect directly to my ISP's SMTP server (the way
> > it is now)?  With only two users, I can't really think of a reason I'd
> > need to send mail internally other than messages from cron, and they
> > don't use my mail client anyway.
> >
> > Our ISP gives us up to 6 e-mail accounts.  One thing I'd like to do is
> > set up one or more of them so that any mail sent to that address will be
> > forwarded to both of us.  My thinking is to create a dummy user account
> > that receives the e-mail from the special address, then that account's
> > procmail settings forward the message to both of our regular accounts.
> > I want two copies, not just a single IMAP inbox that we both access
> > (then we get questions like "did you read that?  Can I delete it?")
> >
> > The reason I want to use procmail is I'm hoping once I get that set up,
> > I can then do some intelligent filtering on messages.  Some things
> > should go to me, some things to my wife, and some things to both of us.
> >
> > Well, that's about all I can think of so far.  I'm still in the planning
> > stages, but I'm hoping that good planning will lead to easier
> > implementation.
> >
> > Thanks in advance,
> > Jason
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> >
> >
> >
> >
> >
>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: