I have Sendmail 8.12.5 and I am hosting several Mail domains. The basic domain is xxx.com and the virtual domains are yyy.com, zzz.com and so on. DNS works fine, no problems. The mails are going in but I have problems with sending out.
- When user john@xxx.com sends mail to any exist user in any virtual domain, yyy.com or zzz.com it is OK.
- When user john@xxx.com or jane@yyy.com or jack@zzz.com try to send mail to joe@domain1.com the following error messageis coming: 550 5.7.1 joe@domain.com... Relaying denied
- All users for all virtual domains can accept mail from anyone.
Which file I must change to fix the problem? Also I do not want to Relay mails from any domains to any domains.
- When user john@xxx.com sends mail to any exist user in any virtual domain, yyy.com or zzz.com it is OK.
- When user john@xxx.com or jane@yyy.com or jack@zzz.com try to send mail to joe@domain1.com the following error messageis coming: 550 5.7.1 joe@domain.com... Relaying denied
- All users for all virtual domains can accept mail from anyone.
Which file I must change to fix the problem? Also I do not want to Relay mails from any domains to any domains.