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

[pankaj_a@techlinkindia.com: pine's data format]





Dear Cander ;
I have configured the off line mail server .In this I retrive the mails
through fetchmail & filtered it by procmail . When  a perticular mails come
without specified proper user(which is mentioned in procmail) this mail by
defaults goes to the /var/spool/mail/root file.
BUT if I try to see these mail through pine I could not opened it & got
error message "/var/spool/mail/root not in valid mail box format"
How can I solve this problems .
With regards
Pankaj Agrawal

----- Original Message -----
From: Brian Candler <B.Candler@pobox.com>
To: pankaj_a <pankaj_a@techlinkindia.com>
Sent: Monday, May 21, 2001 12:12 AM
Subject: Re: fetchmail with sendmail how(help)


>
> On Fri, May 04, 2001 at 03:14:45PM +0530, pankaj_a wrote:
> > My  lnux version is Redhat 6.2.
> >
> > I am trying to configure off line mail server using sendmail 8.9 &fetch
5.3.1
> >
> > We have 20 user in my office having individual e-mail id like
> > abc@techlinkindia.com,xyz@techlinkindia.com etc.
> >
> > We have a POP account on server 216.121.53.38 having login id
> > techlink with password xxxxxxx . We have to login with this
> > login id  through dialup connection & gets (Fatch)mail on local server
so during fetching these mail should go in there respective mail files.
> >
> > At present I run following script
> >
> > poll 216.121.53.38 proto imap user techlink pass xxxxxx
> >
> > So when I run this script by " fetchmail -k -a -v -d 0 -N "
> > All mail goes to /var/spool/mail root file.
> >
> >   How to distribute all the mail in respective file during fetching. But
how I don't know. & trying to solve this  problem
>
> This question probably should go to the fetchmail-friends list. For
> information how to join, see http://www.tuxedo.org/~esr/fetchmail/
>
> You should also read 'man fetchmail' (search for 'multidrop') and also see
> the M questions (multidrop mode) in the FAQ:
> http://www.tuxedo.org/~esr/fetchmail/fetchmail-FAQ.html
>
> Essentially you need something like this:
>
>    poll 216.121.53.38 localdomains techlinkindia.com
>       proto imap user techlink pass xxxxxx is *
>
> The main problem is extracting the envelope recipient address from the
> message after it has been delivered to the POP3 mailbox on your ISP's mail
> server. Check the headers carefully to see if the ISP adds a header with
the
> envelope recipient. For example, if there is a delivered-to: header then
you
> may need to add
>      envelope delivered-to
> to the fetchmail line.
>
> Otherwise, fetchmail will look for Received: headers to try to find the
> envelope recipient. You may need to declare the name of your POP3 server
as
> it appears in the line, e.g. if your messages say:
>
> Received: by mail.example.net for root@techlinkindia.com; ...
>
> then you need to add 'aka mail.example.net' to the fetchmail command line.
>
> Regards,
>
> Brian.

__________________________________________________
Techlink Devices Pvt. Ltd. Mumbai.