Why do users get “relaying denied” when they are remotely sending mail through my OpenBSD system?
Try this: # grep relay-domains /etc/mail/sendmail.cf The output may look something like this: FR-o /etc/mail/relay-domains If this file doesn’t exist, create it. You will need to enter the hosts who are sending mail remotely with the following syntax: .domain.com #Allow relaying for/to any host in domain.com sub.domain.com #Allow relaying for/to sub.domain.com and any host in that domain 10.2 #Allow relaying from all hosts in the IP net 10.2.*.* Don’t forget send a ‘HangUP’ signal to sendmail (a signal which causes most daemons to re-read their configuration file): # kill -HUP `head -1 /var/run/sendmail.