Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relaying denied on a reseller account

Status
Not open for further replies.

fatti

Programmer
Aug 2, 2001
3
US
Hi,

I have a reseller account which had one name based website "foo.com" name based server running Sendmail 8.11.6. and smtp server "mail.foo.com".All email accounts setup user@foo.com worked with no problem.

I have just added another name based website to the same account "foo2.org" and created email addresses user@foo2.org with sendmail smtp server "mail.foo2.org". However I keep getting the following error when trying to email user@foo2.org

550 5.7.1 <user@foo2.org>... Relaying denied. IP name lookup failed

I can send an email from user@foo.com to user@foo2.org with no problems presumably because they are the same server, yet when I test from a hotmail address or any other network I keep getting the above error.

I have contacted my service provider and he has been no help at all. He has told me reverse DNS is not setup. Is this the problem or is there a setting in sendmail or some config file that is not allowing this.

Any help would be much appreciated

Jared
 
You need to do two things. One is to add the new domain to /etc/mail/local-host-names. Next you need to add it to /etc/mail/access. For example a line would look like:

foo2.org RELAY

then run: makemap hash /etc/mail/access.db < /etc/mail/access. Just a note - Since sendmail uses real system user accounts, you can't have joe@foo.org and joe@foo2.org but you CAN have duplicate virtual users.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top