[imp] IMP stopped talking to send mail all of a sudden
Brian Voils
voilsb at gmail.com
Tue Oct 5 12:00:02 PDT 2004
Okay, now I'm pretty certain it's not a server problem. The PHP
mail() function sends mail just fine, as does a local IMAP client.
The server seems to be able to process mail sent via IMAP and SMTP
just fine.
Does anyone know if I can back-up my config files and drop them into a
new installation of IMP and/or Horde? This should allow me to see if
it's a config problem or a code problem.
-Brian
On Mon, 4 Oct 2004 20:41:54 -0700, Brian Voils <voilsb at gmail.com> wrote:
> I'm not so sure it's a server error. I can send mail fine using the
> following code (from a script I wrote to send mail via a web form on
> my webpage):
>
> /*********** start block of code ***********/
> function send() {
> $eMail[] = array( 'Brian Voils', 'email at addy.org' );
>
> $userip = ($_SERVER['X_FORWARDED_FOR']) ?
> $_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
> if( get_magic_quotes_gpc() == 1 )
> {
> $_POST["Subject"] = "[voils.net] " . stripslashes( $_POST["Subject"] );
> $_POST["Body"] = stripslashes( $_POST["Body"] ) .
> "\n\n\n\n--\nThis e-mail was sent via http://voils.net/email.html";
> }
>
> if( mail( '"' . $eMail[0][0] . '" <' . $eMail[0][1] . '>',
> $_POST["Subject"], $_POST["Body"],
> 'Return-Path: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
> . 'From: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
> . 'Reply-To: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
> . "X-Mailer: PHP/" . phpversion() . "\n"
> . "X-From-IP: " . $userip ) )
> echo "Message Sent Successfully";
> else
> echo "UNABLE To Send Message.";
> }
> /*********** end block of code ***********/
>
>
>
>
> On Mon, 4 Oct 2004 20:12:40 -0700, Lord Apollyon <implist at paypc.com> wrote:
> >
> >
> >
> > > Apparently /usr/sbin/sendmail is a link to exi. I don't know if it's a
> > > symlink or a hardlink, and am trying to find out (and see if something
> > > is broken along the way).
> >
> > In any event, this is not a horde/imp problem, as much as a system
> > configuration problem.
> >
> > Horde/IMP didn't lie when it said sendmail isn't an executable.
> >
> >
> >
> > =R=
> > --
> > IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> >
>
> --
> Brian Voils
>
--
Brian Voils
More information about the imp
mailing list