I posted this message this morning but I haven't seen it show up yet. I'm guessing I botching something, if not, sorry for the double post.
I'm having problems setting up a mail server for my internal domain. Sorry for being so verbose but I don't know how else to explain it all. :) Red Hat v8.0 Server: server.mydomain.org Client: client.mydomain.org server.mydomain.org is has DNS, DHCP, FTP, Apache, and NIS working correctly. So far so good. Next is getting sendmail to act as the mydomain.org mail server. ----- Here's the dig on my DNS: # dig mydomain.org mx | grep MX ;mydomain.org. IN MX mydomain.org. 86400 IN MX 10 server.mydomain.org. Ok, so we see that I have an MX record for the domain. ----- I've installed the following RPM's: sendmail sendmail-cf sendmail-doc m4 procmail ----- I made these changes to /etc/mail/sendmail.mc: MASQUERADE_AS(`mydomain.org')dnl FEATURE(`allmasquerade')dnl FEATURE(`masquerade_envelope')dnl EXPOSED_USER(`root')dnl dnl This changes sendmail to only listen on the loopback device 127.0.0.1 dnl and not on any other network devices. Comment this out if you want dnl to accept email over the network. #DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') FEATURE(`accept_unresolvable_domains')dnl FEATURE(`relay_based_on_MX')dnl After I made the changes I did: # m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf # service sendmail restart ----- # sendmail -d0 Version 8.12.5 Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAPPERS USERDB USE_LDAP_INIT ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = server (canonical domain name) $j = server.mydomain.org (subdomain name) $m = mydomain.org (node name) $k = server.mydomain.org ======================================================== Recipient names must be specified ----- Testing from the client machine: echo "hello root" | mail -v -s hello [EMAIL PROTECTED] [EMAIL PROTECTED] Connecting to localhost.localdomain. via relay... 220 client.mydomain.org ESMTP Sendmail 8.12.5/8.12.5; Fri, 31 Jan 2003 09:56:35 -06 00 >>> EHLO client.mydomain.org 250-client.mydomain.org Hello localhost.localdomain [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From:<[EMAIL PROTECTED]> SIZE=46 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok >>> RCPT To:<[EMAIL PROTECTED]> >>> DATA 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 h0VFuZbC001360 Message accepted for delivery [EMAIL PROTECTED] Sent (h0VFuZbC001360 Message accepted for delivery) Closing connection to localhost.localdomain. >>> QUIT 221 2.0.0 client.mydomain.org closing connection ----- But it just seems to ball up and stay in the client queue: # mailq /var/spool/mqueue (5 requests) -----Q-ID----- --Size-- -----Q-Time-------Sender/Recipient----------- h0VFuZbC001360 11 Fri Jan 31 09:56 <[EMAIL PROTECTED]> (Deferred: Connection refused by server.mydomain.org.) <[EMAIL PROTECTED]> ----- Here's the /var/log/maillog entry on the server: Jan 31 09:57:29 server sm-msp-queue[3799]: h0TA24QC019763: to=root, ctladdr=root (0/0), delay=2+05:55:25, xdelay=00:00:00, mailer=relay, pri=5970049, relay=server.mydomain.org., dsn=4.0.0, stat=Deferred: Connection refused by server.mydomain.org. ----- What step am I missing? Why is server refusing the connection? -- Caleb Groom <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list