I just got myself a VPS created at JODO and trying to configure sendmail. I have the following reqirement and i can not seems to get it working.
REQ 1: This needs to be a closed relay runs on port 25. Only the IP address blocks spcified by me should be able to replay.
REQ 2: Not everyone on the granted IP block should relay. I want to restriect the sender by checking MAIL FROM: I want to specifiry the list of domains somewhere and the sendmail should only replay if the MAIL FROM: [email protected], where the domain part is specified in that file.
However you do need to make sure the relay controls are locked down and we will gladly help in a ticket. I’d recommend using postfix or exim from what I have seen more secure and configurable than sendmail (of course I am WINDOWS side for a reason, since I know it best)