[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[email@example.com: Automatic dialing]
- To: firstname.lastname@example.org
- Subject: [email@example.com: Automatic dialing]
- From: Brian Candler <B.Candler@pobox.com>
- Date: Mon, 28 May 2001 09:37:39 +0100
- Delivery-date: Mon, 28 May 2001 01:38:08 -0700
- Envelope-to: firstname.lastname@example.org
I have configured off line mail server & its working fine.
I am facing some problems for automatic process . I am using following
I create a file mailrun
/usr/sbin/sendmail -q -v $*
/usr/bin/fetchmail -k -a -v -d 0 -N
Now there is a TWO case
1; when I control this process by "crond" configured through linuxconf
modem is dialing perfect at proper time shedule but next proceses i.e.
a) sending mails b)fatching mails c) stoping wvdial & pppd. is not going
on I mean to say that sendmail, fetchmail etc r not executing .
2;But If I remove "wvdial "from above script then & manully dial to internet
& after conectivity to net when I type "mailrun " then script (Without
wvdial) is working very fine Now here I mean to say that
mails r going through sendmail
mails r retriveing through fetchmail
SO for 1st case I am thinking that in the script when "wvdial" makes a
connection to inernet it is not seeing the next command i.e "sendmail" so we
have to do some thing that after making connection it should execute the
next command i.e sendmail..
PLease help me to solve this problems.
----- Original Message -----
From: Brian Candler <B.Candler@pobox.com>
To: pankaj_a <email@example.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
> > We have 20 user in my office having individual e-mail id like
> > firstname.lastname@example.org,email@example.com etc.
> > We have a POP account on server 188.8.131.52 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 184.108.40.206 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:
> Essentially you need something like this:
> poll 220.127.116.11 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
> envelope recipient. For example, if there is a delivered-to: header then
> 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
> it appears in the line, e.g. if your messages say:
> Received: by mail.example.net for firstname.lastname@example.org; ...
> then you need to add 'aka mail.example.net' to the fetchmail command line.
Techlink Devices Pvt. Ltd. Mumbai.