LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sticky Sendmail config question (https://www.linuxquestions.org/questions/linux-networking-3/sticky-sendmail-config-question-40288/)

merana 01-04-2003 12:56 PM

Sticky Sendmail config question
 
Hi All,

I am working on a RH8.0 box with Sendmail and I 'had' it working last night but though sheer fat fingeredness I borked it...

I am trying to send an e-mail to my hotmail account from the RH8.0 box. When I send it it goes into the queue and gets 'stuck'. When I look at the sendmail log I get this:

Jan 4 13:34:08 flynn sendmail[11288]: h04IY7up011288: from=me@eo.dyndns.info, size=6492, class=0, nrcpts=1, msgid=<200301041834.h04IY7up011288@eo.dyndns.info>, relay=root@localhost
Jan 4 13:34:08 flynn sendmail[11288]: h04IY7up011288: to=merana67@hotmail.com, ctladdr=me@eo.dyndns.info (500/500), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30231, relay=localhost.dyndns.info. [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by localhost.dyndns.info.

Now, I am a bit confused. I have sendmail set to deliver mail directly and not forward it to another host. Based on this log I see that send mail get's the message and then forwards it to root@localhost (WHY??). Then it tries to forward it to localhost.dyndns.info???

I have an MX entry in dns as follows:

eo.dyndns.info. IN MX 5 192.168.1.30
flynn.eo.dyndns.info. IN MX 10 192.168.1.30

The last one was a hold over from when I was just futzing with the server...

Anyone shed any light on this? Or a pointer to a good sendmail process tree would be great!:study:

merana 01-04-2003 06:21 PM

I got part of it...

There was a line that was stating a port address that send mail was listening to. It was pointed at 127.0.0.1. This means that the forwards work and send out but then no mail from outside was recieved. If I toggled this to the local IP address then it would recieve but not send cause nothing was listening to 127.0.0.1.

In the end I removed the addr parameter and this made it listen on all addresses and it worked...

I'd still like to know why outbound mail had to be forwarded to that initial hop before it goes outbound... :study:

rawbear 01-05-2003 02:49 PM

I have the same problem. 'Been working on it for a while. Is your RH8.0 install 'vanilla'?

take a look at http://www.linuxquestions.org/questi...threadid=39448

merana 01-05-2003 02:56 PM

Hmm... Well mine is functional for now. Although I plan on fully borking the install next weekend. I'm gonna try to set up a web based mail server that will still let standalone clients connect to it.

I have not really looked at the m4 config files yet and am not sure now if I will pursue based on changes in direction.

The suggestion made in that other thread is valid. Postfix is MUCH easier to configure. I am going to be looking at QMail for a bit this week before moving on the web mail project.

Oh, and if you don't already know about it look at WEBMIN. It's a great front end for the server and has native admin modules for sendmail, postfix, and qmail.

G'Luck! :study:


All times are GMT -5. The time now is 02:12 PM.