Click to See Complete Forum and Search --> : Relaying problem


skinfusionz
09-06-2003, 05:06 PM
here's my problems. My Domain name is parked at godaddy.com I'm using MX records to send mail to my mail servers at work.

Internally, mail sent to *@mydomain.com goes through correctly.

Externally, it bounces back.
Sep 6 13:15:30 209.115.68.26 sm-mta[45849]: h86HFU7r045849: ruleset=check_rcpt, arg1=<info@mydomain.com>, relay=sea2-dav18.sea2.hotmail.com [207.68.164.122], reject=550 5.7.1 <info@mydomain.com>... Relaying denied

mydomain.com has been added to:
/etc/mail/virtusertable
/etc/mail/relay-domains
/etc/mail/local-host-names
@mydomain.com points to my local user name as well in aliases
sendmail was restarted
at this point is "should" be working right?

I should also add, there are three servers on our network that function as mail.workdomain.com and I'm only adding this information to 1 server. I'm not sure that this will matter because server1.workdomain.com is also listed in my mx records, so even if mail.workdomain bounces, server1.workdomain should pick it up right?

skinfusionz
09-08-2003, 10:45 AM
no ideas?

fredg
09-08-2003, 11:23 AM
Originally posted by skinfusionz
mydomain.com has been added to:
/etc/mail/virtusertable
/etc/mail/relay-domains
/etc/mail/local-host-names
---
sendmail was restarted
at this point is "should" be working right?

Does adding stuff to these files require hashing the database tables too? If so, did you do that?

karthik
09-08-2003, 12:22 PM
is your domain name added to /etc/sendmail.cw file ??

yeah, after you add your domain name to /etc/mail/virtusertable you need to execute :

makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

skinfusionz
09-08-2003, 12:22 PM
Seems to be working now that it was added to a local-domains file on the other two mail servers.

WHEW, this was driving me mad.