Dear list, By taking a look into the sendmail README, it has come up to my mind if I can relay only one specific mail address and REJECT all other mails from {any_us...@whatever.domain.
Here is my test environment: +---------+ +-----------+ +-----------+ + MUA +-------(SMTP)------+ MTA_1 +------(RELAY)------+ MTA_2 + +---------+ +-----------+ +-----------+ MTA_2 above is set as teshost2, which is the destination of relaying. Following lines have been put into the /etc/mail/access in MTA_1. <code> localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY To: testu...@testhost2.testdomain RELAY After editing, 'makemap hash access.db < access' has been issued to rebuild the access database. The mail relay works fine while all other mails like testuser{2,3,4...@testhost2.testdomain get relayed as well. My question is, if it is possible, is there some kind of settings within sendmail (sendmail.mc / access / etc.) could meet my needs? Any comment would be greatly appreciated. -- Sincerely, Jyo