problems with sendmail
I'm having a problem getting sendmail configured correctly. All I want to use it for is to rely mail from some cgi scripts and forms on a website to an external server. It does not work however and I can't even send a message using the mail command. I also can't telnet to the SMTP server using telnet localhost 25. If anyone can help it would be appreciated. The sendmail.mc file is below:
I got this figured out... Thanks for the help though... |
I'm having the same problem, what was the problem?
nevermind, fixed here too. My mail is now sending and recieving acording to outlook express, but I never se the mail anywhere. |
I'm back to the same problem again. I am using red hat 8.0 with sendmail and webmin. My connections to port 25 are being refused. How can I get the port to stay open?
Update: I was missing this line in sendmail.mc DAEMON_OPTIONS (`Port=smtp,Addr=192.168.1.6, Name=MTA') |
Sendmail problems
I think I'm having a similar problem.
Made that change to /etc/mail/sendmail.mc, using my own local ip address, did the make -C /etc/mail. I can now do telnet localhost 25 and I get a response 220 scott.fearandlearning.us ESMTP Sendmail 8.12.8/8.12.8; Sun, 7 Mar 2004 18:48:44 -0500 However... when I telnet from my laptop, which is within my local network, I get 'connection refused'. I'm using redhat 9 (shrike). I'm wondering if this is the same problem or a diferent one. I'm lost. help! Scott |
it sounds like my problem, in the .mc file it is probably set to only accept localhost, add the line that I added and restart sendmail and see if it helps.
|
Ok. I thought I restarted sendmail, but I hadn't. Now I have and
I guess it works ok... Now I have another problem.... (of course,. that's how it works. Fix one and then on to the next one...) I want to send a test message to my e-mail address with my DSL provider; myname@sbcglobal.net. My sendmail bounces it because it can't find the host sbcglobal.net.: 'Relaying denied . IP name lookup failed.' I check via nslookup, and sho'nuff sbcglobal.net is not found, although smtp.sbcglobal.net is. So... How does this work? I get lots of e-mail at my sbcglobal.net address. How does everyone send me e-mail at sbcglobal.net? Do I need to add an MX record for sbcglobal.net? That just doesn't seem quite right to me. |
Apologies for talking to myself out load and in
public here. I hope that this is useful to somebody.... Ok. I may have made some incorrect assumptions in my last post. The error message had the address of te e-mail source (my laptop) appended in square brackets. Perhaps it didn't like that. Here's the entire packet form tcpdump.... 21:34:05.240660 scott.workingartistdecorating.com.smtp > 192.168.1.105.1686: P 343:443(100) ack 113 win 5840 (DF) 0x0000 4500 008c e14c 4000 4006 d49c c0a8 01c9 E....L@.@....... 0x0010 c0a8 0169 0019 0696 3cf5 2f4e dada d01b ...i....<./N.... 0x0020 5018 16d0 76ab 0000 3535 3020 352e 372e P...v...550.5.7. 0x0030 3120 3c73 636f 7474 4062 6561 6b65 722e 1.<scott@beaker. 0x0040 6c61 626d 6564 2e79 6e68 682e 6f72 673e labmed.ynhh.org> 0x0050 2e2e 2e20 5265 6c61 7969 6e67 2064 656e ....Relaying.den 0x0060 6965 642e 2049 5020 6e61 6d65 206c 6f6f ied..IP.name.loo 0x0070 6b75 7020 6661 696c 6564 205b 3139 322e kup.failed.[192. 0x0080 3136 382e 312e 3130 355d 0d0a 168.1.105].. My laptop gets a DHCP assigned address from my linksys DSL router/gateway., so the address is nowhere to be found in my named.conf files. Perhaps sendmail doesn't like that. Could that be the problem? How can I tell? Sendmail didn't say anything about any of this in /var/log/messages. |
The plot thickens. Someone suggested I see if mailing between users worked.
... and it doesn't. Isn't this supposed to work 'out of the box'. What am I doing wrong? |
|
All times are GMT -5. The time now is 03:57 PM. |