I need to allow relaying from specific host inside my network
(192.169.99.9)
I added
192.168.99.9 RELAY
to the /etc/mail/access
Then issued :
makemap hash /etc/mail/access < /etc/mail/access
(shouldn't it be access.db in the first one?)
then restarted the sendmail .....still doesn't work.
Here is the sendmail info:
sendmail -d0.1 -bt < /dev/null
Version 8.11.0
Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB NIS QUEUE SASL SCANF SMTP
USERDB
1. It should be access.db, they have am typo in the official sendmail.org documentation >
2. If I place the whole network range in access (192.168.99.0) then it works.
So I have the workaround but still can't figure out what is the trick to allow relaying from single host.
Bookmarks