Vinu Chandran rearranged electrons thusly:

> outgoing mails it does. I've a script written in PHP which uses the
> inbuilt mail() function of PHP, I want to tell sendmail to use SMTP
> always for all mails irrespective of local or outgoing. How to do that ?

 pardon?  sendmail uses the SMTP / ESMTP protocols to send out mails.
 
> I've seen "pine" uses some feature with which all mails are being
> redirected to SMTP. How it does ? Can I configure sendmail in such a way
> that it does the same ?  Please help !!! I need this b'coz I'm using

 oh my god, just what do you mean boss?  pine does either of two things ...

 1. Talks [e]smtp to the sendmail / whatever running on localhost port 25
 (using sendmail -bs generally)

 2. Relays mails through an external smtp server, if set.

> Perl Sendmail Milter script which waits for mails at SMTP port. Since
> "pine" uses SMTP for all mail delivery , my script works perfectly for
> pine. But when I'm usinf PHP's mail() function to send mail, for
> outgoing mails my script works but for local delivery it doesnot
> respond.
 
 Post some excerpts from /var/log/maillog, sample (mail delivery) portions of
 your script etc.
 
 [and dont mail me offlist like last time - pls post it to the list]

-- 
Suresh Ramasubramanian + mallet<@>efn.org
  You spamma my mailbox, I nukea da ass

----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr

Reply via email to