I am trying to setup a mailertable and for some reason I seem to be missing something. I want all mail for jkcool.com to be sent to drivers.jkcool.com so I created a DNS record to say my MX is drivers.jkcool.com that part is working fine and dandy. So then I went to drivers.jkcool.com and setup a sendmail.mc file here it is:
VERSIONID(`linux for smtp-only setup')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')
FEATURE(`mailertable','hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl
as you can see it is very simple.
then I ran m4 /etc/mail/sendmail.cf < /etc/mail/sendmail.mc
the file was created because I edited the file and it had todays date and a time like 1 minute ago
then I created a relay-domains file
The file Contains
then I editied the mailertable file and added
then I ran
makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
everything appeared to go through ok. the file got created.
then I tested the telnet to drivers.jkcool.com
root@desktop%11:59:44%:~# telnet drivers.jkcool.com 25
Connected to drivers.jkcool.com.
Escape character is '^]'.
220 service.crmankato.com ESMTP Sendmail 8.12.8/8.12.8; Sat, 14 Feb 2004
250 service.crmankato.com Hello 12-218-53-187.client.mchsi.com
[220.127.116.11], pleased to meet you
mail from: firstname.lastname@example.org
250 2.1.0 email@example.com... Sender ok
250 2.1.5 firstname.lastname@example.org... Recipient ok
354 Enter mail, end with "." on a line by itself
This is a test message
250 2.0.0 i1EI1Xaq022001 Message accepted for delivery
221 2.0.0 service.crmankato.com closing connection
Connection closed by foreign host.
it appeared like everything went through ok.
The mail however never appears on my end. but if I switch back the DNS MX record to point to jkcool.com mail works again.
can someone help me fix this??