On Monday 03 Feb 2003 6:55 pm, Stephen Kuhn wrote:
> On Tue, 2003-02-04 at 00:08, tuija wrote:
> > > Run "fetchmailconf" and double check where it's slurping your emails to
> > > - and then you'll be able to discern as to what is going on with the
> > > rest of the scene.
> >
> > *************************************************************************
> >* I did that and .fetchmailrc doesn't tell where fetchmail puts the posts
> > it pulls, /var/log/mail tells that 30 posts are pulled from server
> > *************************************************************************
> >*
>
> Ok...you're going to have to get into the POSTFIX configurations and
> double check those; by default, POSTFIX dumps it's mail in
> /var/spool/mail, but that could be mucked up - so best is to fire up
> Webmin and go into SERVERS, then POSTFIX, then USER MAILBOXES - click on
> any mailbox and towards the top of the page it will give you the path to
> the mailbox - and as well, will tell you if it's a zero length file or
> if there's something in it.
>
> A question I would have, though, is when was the last time that you did
> get mail properly - and were you slurping it from /var/spool/mail, or
> have you changed anything that you know of on your system?
>
> > > My configs always dump to /var/spool/mail/yournamegoeshere
> > >
> > > ...so it's readily readable/find-able...
> >
> > *************************************************************************
> > My /var/spool/mail is empty there isn't user name, I have tried to
> > command set spoolfile but it didn't help?
> > How I can put the procmail on, could it help?
> >
> > Thank you advance
>
> PROCMAIL runs from an RC file in your /etc directory - namely,
> /etc/procmailrc - but prior to just jumping into that particular file
> and it's structure, you're going to want to do some reading up on it.
> PROCMAIL can be quite powerful for blocking spam, rerouting mail
> internally on your system (or on your network) - heaps of different
> functions. Check out: http://handsonhowto.com/pmail101.html for more
> information on this powerful little text file - you won't regret it.
>
> Check through all of the above and tell us how it works mate! Cheers!
You should check that your fetchmailrc is actually passing the mail over to a
valid user account. For example in mine
poll pop.ntlworld.com with proto POP3
user 'djennings' there with password 'xxxxxxx' is 'derek' here options
fetchall antispam 501
The account 'derek' has to be a valid user account on the server. If it is
then Postfix will automatically create a directory in /var/mail for it.
The other question of course is . Do you have Postfix running?
If there is no listener running on port 25 (Such as Postfix or Sendmail), then
Fetchmail will by default look to see if there is a ~/.procmailrc file in
existance, and if there is it will pass the mail to procmail. What happens
next is down to the contents of your .procmailrc file.
derek
--
----------------------------------
www.jennings.homelinux.net
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com