Abhishikt Rehmat Masih forced the electrons to say:
> will be shown when I send a mail. and those mails
> should be queued on the server and server will dial
> and send outgoing mails and received incoming mails (

Put HoldExpensive=True in your /etc/sendmail.cf, and then restart sendmail.
Arrange for the command 

sendmail -q &

to be run from your ip-up script. That takes care of queueing of emails.

Regarding dialling, sendmail cannot do that. But I am sure that you have some
method by which you dial out. Then, whenever you are connected, your mail
queue will be flushed.

To receive incoming mails, configure fetchmail. Usually it just amounts to
having a line like:

poll mailandnews.com proto imap user me password "mypass" is myname here

in your .fetchmailrc and running fetchmail when you are connected to the net.

> "[EMAIL PROTECTED]" but while fetching mail from
> "fetchmail" I get an error " message "n" not flushed"
> and does not receives the message. 

Probably because you read those mails from their web interface. Next time, try
fetchmail --all --nokeep <and the rest of the stuff>

Binand

-- 
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])


-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to