Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

nobody@localhost: Sender address rejected: need fully-qualified address

1,423 views
Skip to first unread message

Ian Evans

unread,
May 15, 2014, 11:32:33 PM5/15/14
to
Noticed a few of these in my logs:

May 15 23:22:51 carson postfix/smtpd[6768]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 504 5.5.2 <nobody@localhost>: Sender address rejected: need fully-qualified address; from=<nobody@localhost> to=<root@localhost> proto=ESMTP helo=<carson.example.com>

I'm assuming this is some daemon or something trying to send some report/notice to me. Cron messages get through so I'm not quite sure what this is.

What main.cf settings would you like to see to debug this? Thx!

Ian Evans

unread,
May 15, 2014, 11:48:12 PM5/15/14
to
Hmm...may be a smtp config issue with denyhosts. Compared the two logs and the times match. So...never mind. :-)

Viktor Dukhovni

unread,
May 15, 2014, 11:47:42 PM5/15/14
to
On Thu, May 15, 2014 at 11:32:33PM -0400, Ian Evans wrote:

> Noticed a few of these in my logs:
>
> May 15 23:22:51 carson postfix/smtpd[6768]: NOQUEUE: reject: RCPT from
> localhost[127.0.0.1]: 504 5.5.2 <nobody@localhost>: Sender address
> rejected: need fully-qualified address; from=<nobody@localhost>
> to=<root@localhost> proto=ESMTP helo=<carson.example.com>
>
> I'm assuming this is some daemon or something trying to send some
> report/notice to me. Cron messages get through so I'm not quite sure what
> this is.

http://www.postfix.org/BASIC_CONFIGURATION_README.html#myorigin

Also

http://www.postfix.org/postconf.5.html#myorigin
http://www.postfix.org/postconf.5.html#mydestination
http://www.postfix.org/postconf.5.html#mydomain
http://www.postfix.org/postconf.5.html#myhostname
http://www.postfix.org/postconf.5.html#append_dot_mydomain

Finally,

smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_sender

allowing authenticated/trusted clients to bypass the non_fqdn
address checks if that's necessary, but better to not have such
addresses in the first place.

--
Viktor.

Ian Evans

unread,
May 16, 2014, 4:25:04 PM5/16/14
to
Thanks for the info. I double checked and it did appear to be the way the denyhosts daemon was set up to send mail. Chnaged it to an FQDN and all is fine now.

Have a great weekend.

0 new messages