Re: [exim] socket bind() errors, bad exim.conf possibly

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andrew Osborn
Datum:  
To: exim-users
Betreff: Re: [exim] socket bind() errors, bad exim.conf possibly
Yet another update.
I do this command from the server:
mail -s "Hello There" aosborn@???
MESSAGE
.

And it sends an e-mail, though the router, to my gmail account.
So....exim must be working right? My mainlog file shows it sending the
messages just fine.
But if I use my PHP script, or PHPNuke, it doesn't work. To get this
far I just used a simple conf file I found online.

Simple script:
<?php
mail("aosborn@???", "My Subject", "Line 1\nLine 2\nLine 3");
?>

Never sends. Never gets to mainlog.
That's my biggest problem. Have smaller easy fixable ones, but this is
the most important. Case of a missing link to a file?

On Sat, 12 Feb 2005 21:52:35 -0600, Andrew Osborn <aosborn@???> wrote:
> Another update.
> In /var/spool/exim/msglog I have 1 file. Contents of that file:
> 2004-09-17 11:58:15 directing failed for root@webserv1: unknown
> local-part "root" in domain "webserv1"
> *** Frozen (delivery error message)
>
> Its from 2004 so maybe that is making the queue stuck, I know nothing
> of this stuff so I'm not sure. Deleting it just incase, exim -Mrm ID,
> so you know I'm doing it correctly.
>
> I still think it's my conf file. Can someone chop away at it and give
> me a basic one?
> That would be the biggest help I think.
>
>
> On Sat, 12 Feb 2005 21:37:07 -0600, Andrew Osborn <aosborn@???> wrote:
> > Update:
> > Maybe this will help something. I just rebooted my server, first time
> > in a couple months. And 5 min from issuing the command I got 2 e-mails
> > in my admin account, a gmail address, from "Nvi recovery program".
> > Something about unsaved files in vi back in Sept. 2004.
> > So....it must be kind of working.
> > I updated the mainlog file, paniclog is still thankfully empty.
> >
> > The other messages I sent are frozen, as are the ones I have tried
> > since after rebooting.
> > http://rsod.net/main.txt
> >
> > In that log it talks about, I think, my SMTP remote address being
> > H=mail3.zoneedit.com. Zoneedit.com is my DNS. I don't care who's
> > service I need to make it work, I just want it working somehow.
> >
> > Thanks for the help so far.
> >
> >
> > On Sat, 12 Feb 2005 12:34:35 -0600, Andrew Osborn <aosborn@???> wrote:
> > > I don't run it as a daemon when it's in inetd. Ive tried both, with
> > > the other disabled, as a test.
> > > In inetd I have
> > > smtp            stream  tcp     nowait  root    /usr/sbin/exim in.exim -bs

> > >
> > > and when that doesn't work I try it as a daemon and do:
> > >
> > > /usr/sbin/exim -bd -q15m at the bash line.
> > > Which makes it run as a daemon.
> > >
> > > I do not do both. I don't care which I use, as long as one works.
> > >
> > > On Sat, 12 Feb 2005 12:41:56 +0000, Tony Finch <dot@???> wrote:
> > > > On Sat, 12 Feb 2005, Andrew Osborn wrote:
> > > >
> > > > > The only SMTP I have in /etc/inetd.conf is
> > > > > smtp            stream  tcp     nowait  root    /usr/sbin/exim in.exim -bs

> > > >
> > > > Yes, you are suffering from the weird non-standard way that Debian runs
> > > > its SMTP listener. You don't need to run an Exim listening daemon (-bd)
> > > > if Exim is being run by inetd.
> > > >
> > > > Tony.
> > > > --
> > > > <fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
> > > > N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
> > > > \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}
> > > >
> > >
> > > --
> > > Andy Osborn
> > > 920-319-6032
> > >
> >
> > --
> > Andy Osborn
> > 920-319-6032
> >
>
> --
> Andy Osborn
> 920-319-6032
>



--
Andy Osborn
920-319-6032