[95241] in RedHat Linux List
RE: IMAP configuration, procmail, and other mail related items.
daemon@ATHENA.MIT.EDU (Charles Galpin)
Fri Oct 16 07:29:54 1998
Date: Fri, 16 Oct 1998 07:35:15 -0400
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Colin Cyr <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
fwiw I'm a bit of a newbie, but I am pretty happy with my imap and vitual
mail setup. I'll try address some of your questions
===== Original Message from Colin Cyr <redhat-list@redhat.com> at 10/16/98
4:06 am
>I'm starting to get very distraught over the sheer lack of documentation on
>IMAP.
>
me too. Th eversion I am using is from the universtiy of washington. check
out http://www.washington.edu/imap for some geenral info
>I'm installed the rpm that is in the RawHide dir perfectly fine.
>
I'm using imap-4.1.final-1
>Well, all of this is done, the service is responding, when I point an IMAP
>client to retrieve my mail (Netscape until I have time to configure other).
>It pulls every file that exists in my home dir.
>
this is the default and it's compiled in. Go figure. Anyway it's a easy fix
documented in the source rpm imap-4.1.final-1.src.rpm, to change the place
it looks for mail. Here is the change to
/usr/src/redhat/SOURCES/imap-4.1.FINAL/src/osdep/unix/env_unix.c
sprintf (tmp,"%s/mail",home);
myHomeDir = cpystr (tmp); /* I prefer home/mail directory */
/*myHomeDir = cpystr (home);*/ /* use real home directory */
The first 2 lines replace the last
>First problem, All mail exists in /var/spool/mail/user, the shipping
>configuration of IMAP is useless!
>
Someone help me here. I use procmail with sendmail, and it works great, but
if I remeber correctly, my imap clients found the mail just fine before I
setup procmail
>I would like to configure procmail to sort this fetch'd mail by the account it
>is being retrieved from. This information is held in a few of the received
>headers (Is is possible to decode on a regexp in procmail). It should then
>file the message in the appropriate folder.
>
check out Chuck Moons pages http://www.moongroup.com/unix for great help on
procmail, sendmail and many other topics.
>While working local to my machine I hope to use an IMAP aware X based client
>(Any good ones? Netscape is too flaky). While away from the machine I'd use
>PINE, IMP (WebBased IMAP Client), or other IMAP aware reader.
>
doesn't imp just use you imap server? I read about this and it looks
interesting. Let us know how this goes
>The other thing which I don't believe to be easily possible, is to have the
>ability to send e-mail out such that it appears from a specific account. I.e.
>I have my local domain on my machine which everything is currently sent as, I
>have 9 different mailboxes with my ISP, 2 mailboxes at the University, etc etc.
>
>If I'm replying to a message I received in the folder for user1@dom1.com, I
>want atleast all of the header information in my reply to appear as if it is
>coming from that user rather than mylocaluserid@mylocaldomain.org.
>
I'm sure this can be done, but I can't help here
>
>The other thing is how would someone provide completely virtual e-mail
>accounts? I mean without creating accounts at teh shell level or in passwd
>etc?
Here is what I have. Not sure if you can do the same. I have one static IP,
and several domain names mapped to it. My ISP senda all mail to these domain
names to my IP. Sendmail can be configured to handle all this, and this IS
well documented. I posted a message a couple of days ago showing how to do
this, but http://www.sendmail.org/virtual-hosting.html should get you going.
The key thing is to get the sednamil-doc and sendmail-cf (to allow the
configuration by a non guru) packages
I have
sendmail-8.8.7-17
sendmail-doc-8.8.7-17
sendmail-cf-8.8.7-17
Once setup you can have mail sent to stud@dom1.com go to local user joe, or
bill@whitehouse.gov or bob@dom1.com, etc. etc.
you can then use procmail for eachindividual user account to filter and sort
mail.
>
>
>Thanks for all of the help.
>
hope this does
--
Charles Galpin <cgalpin@lighthouse-software.com>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.