Glen, thanks for the reply.
However if I su as local user (example george) and local user george has .fetchmailrc all of the incomming mails endup in /var/spool/mail/george mailbox. Even if the message was fpr [EMAIL PROTECTED] My ISP is holding all of the messages in one mailbox. I am looking for some way to sort incoming mail to separate (proper) mailboxes.
I su as george
fetchmail -v
all messages are delivered to george@localhost account acording to maillog
Any idea
Maybe it is not posible to doit. Do I have to use procmail and .procmailrc file to somehow do this trick?
Thanks again for your help
George Nagy
Sr. Database Administrator
The City of Waterloo
Information System
100 Regina St. S., Waterloo, ON. N2J 4A8
Bus: (519) 747-8563
Fax: (519) 747-8727
e-mail: [EMAIL PROTECTED]
@
Sent by: [EMAIL PROTECTED]
10/13/2000 06:26 PM
Please respond to redhat-list
To: [EMAIL PROTECTED]
cc:
bcc:
Subject: Re: Sorting incoming mails to individual mailboxes
Something I forgot to mention:
>ifup ppp0
>su ispuseraccount -c fetchmail
The above should read:
ifup ppp0
su localuser -c fetchmail
This tells the shell to run the fetchmail file in ~/, which should have
all your ISP login information. Your local username can be the same or
different from your ISP username.
Glen
Today, at 17:36, [EMAIL PROTECTED] sent through the Star Gate:
>Hi guys, I am new in procmail and sendmail and of course having trouble to
>set up simple mail distribution system.
>I have sendmail running on linux redhat 6.2, using ppp with pap to dial
>out, fetchmeil to get all my incoming mails.
>My ISP is storing all my e-mails for all users @mydomain.com
>I have to login as ispuseraccount to retrieve all my e-mails for mydomain
>from ispuseraccount @isp.com mailbox.
>
>My problem is all the messages will end up in ispuseraccount @mydomain.com
>mailbox instead of proper mailboxes in /var/spool.mail.
>I have seen article where was mentioned that this should work automatically
>on red hat without setting up any .procmailrc file and .forward file.
>Is this correct?
>
>my script to retrieve messages
>
>ifup ppp0
>su ispuseraccount -c fetchmail
>
>Am I doing something wrong? Did I miss something?
>BTW outgoing mails works fine.
>
>Thank you very much for help or any pointers
>
>
>George Nagy
>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list