Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do users get “relaying denied” when they are remotely sending mail through my OpenBSD system?

0
Posted

Why do users get “relaying denied” when they are remotely sending mail through my OpenBSD system?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123