Re: mail confusion
Gary Hennigan wrote:
> Paul <skin@smalltown.freeisp.co.uk> writes:
> > It`s a long story but in order to install fidogate I replaced my
> > perfectly working exim with sendmail. Now when I try to collect my mail
> > with fetchmail I get:
> >
> > reading message 1 of 10 (1598 header octets)
> > fetchmail: SMTP connect to localhost failed
> The above is the problem. Sendmail is not allowing fetchmail to
> connect to your local host. You can test this with a simple:
> telnet localhost 25
>
> If everything's working fine you should connect and get a prompt from
> sendmail. If it fails, so will fetchmail.
>
> [snip]
> >
> > If I test sendmail with "sendmail -v" it says :
> >
> > Recipient names must be specified
> >
> > I would imagine that this is my problem but I`ve read loads of Docs. and
> > still can`t work out what`s wrong.
> > Easy with the advice please - my head hurts!
>
> No, you need to tell sendmail what to use as an address when you test
> it. Like:
>
> sendmail -v skin@smalltown.freeisp.co.uk
> This is a test.
> .
>
> That's how you get it a test run working.
>
> As I stated though, I don't believe this is the problem. It's that
> sendmail isn't accepting connections from localhost. I'm not that
> familiar with sendmail but I suspect you just need to add something in
> the sendmail.cf file to tell it that localhost is allowed to use
> sendmail as a relay.
>
>
Thanks for the help. I`ve buggered around with so many files now that I`m not sure
what`s going on!
The command: " sendmail -v skin@smalltown.freeisp.co.uk"
results in this:
"skin@smalltown.freeisp.co.uk... User unknown"
However this just using a valid username:
"bash-2.03$ /usr/sbin/sendmail -v paul
ddd
.
paul... Connecting to local...
paul... Sent "
seems to work OK.
And telnet to port 25:
"FUDO2:/home/guest# telnet localhost 25
Trying 127.0.0.1...
Connected to dial.pipex.com.
Escape character is '^]'.
mail... Recipient names must be specified
^]
telnet> q
Connection closed. "
doesn`t seem to work either.
Could anyone give me at least a pointer as to where to look for a solution. The
frightening thing is this is just a preliminary to trying to install fidogate again.
Thanks.
Paul
Reply to: