![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sendmail.cf | robsonde | UNIX for Dummies Questions & Answers | 0 | 01-28-2008 11:21 AM |
| sendmail.cf | robsonde | UNIX and Linux Applications | 1 | 01-25-2008 05:17 AM |
| Sendmail | skykay | UNIX for Dummies Questions & Answers | 0 | 10-03-2005 01:56 AM |
| Sendmail | Jody | UNIX for Dummies Questions & Answers | 2 | 10-26-2004 04:02 AM |
| sendmail | danny howell | UNIX for Dummies Questions & Answers | 1 | 08-08-2002 12:49 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
sendmail.... any help?
I am trying to configure sendmail (v 8.12.5-7 on Redhat Linux 8) on my server. I am unable to send or receive messages using mail command (or any command for that matter).
My mailserver name: abc.com I have setup user1 to alias as user1@def.com so that all of his mails are relayed to user1@def.com. When I send a mail to user1@abc.com I can receive it on user1's account on abc.com. but when I send a mail to user1@def.com I get the message on user1@abc.com. why is that so? I am also not able to poll the server for mail from any outside client. I checked the firewall and the port 25 (smtp) is open. Please advice.... KS |
| Forum Sponsor | ||
|
|
|
||||
|
First, check the configuration with the following:
/usr/lib/sendmail -d0.1 -bt < /dev/null The output will be something like this: Version 8.11.6+Sun Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB XDEBUG ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = host (canonical domain name) $j = host.mydomain.com (subdomain name) $m = mydomain.com (node name) $k = host ======================================================== ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> It may show warnings or errors with the configuration. Second, please explain the alias you entered - is it as follows? On system abc.com user1: user1@def.com This should tell sendmail to forward any mail for user1@abc.com to user1@def.com. You then have to insure that user1@def.com accepts mail from abc.com (look in your sendmail.cf and aliases files). Third, check that mail isn't suppose to stay on abc.com according to the sendmail.cf file on abc.com. |
|
|||
|
1. output from: /usr/lib/sendmail -d0.1 -bt < /dev/null
hostnameVersion 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 = myhostname (canonical domain name) $j = $w.abc.com (subdomain name) $m = <null> (node name) $k = myhostname ======================================================== ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> Did not get any errors or warnings but... there is $w preceding my domain name. And i notice that there is no SMTP in the compiled with list! Is this why I am unable to send messages to the outside world? 2. Yes the aliases files is as follows: user1: user1@def.com 3. >>Third, check that mail isn't suppose to stay on abc.com according to the sendmail.cf file on abc.com. How can I check this? |