Sendmail: "550 Relaying denied" after boot up; restart sendmail solves problem !?!

Ted Mittelstaedt tedm at
Thu Feb 23 03:56:12 PST 2006

One possibility is that sendmail is doing a dns query during
boot to find out what it's hostname is, this is failing because
maybe networking isn't up yet.

put your machine name and IP in /etc/hosts and try it again.


>-----Original Message-----
>From: owner-freebsd-questions at
>[mailto:owner-freebsd-questions at]On Behalf Of Rob
>Sent: Thursday, February 23, 2006 2:38 AM
>To: freebsd-questions at
>Subject: Sendmail: "550 Relaying denied" after boot up;restart sendmail
>solves problem !?!
>I have a weird problem with my mail server.
>It's running 6-Stable as Feb. 23rd.
>After a boot up, sendmail refuses to deliver
>emails with a
> reject=550 5.7.1 [...] Relaying denied
>When I then simply restart sendmail manually:
>  /etc/rc.d/sendmail restart
>the problem is solved and email is correctly
>delivered without any Relay denials.
>Any idea what this can be?
>And how to get this right immediately after
>boot up?
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>freebsd-questions at mailing list
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at"
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.375 / Virus Database: 267.15.12/266 - Release 
>Date: 2/21/2006

More information about the freebsd-questions mailing list