How do I find out my server name (machine name) under Linux operating systems using command shell?


I‘ve configured RBL for my postfix based mail server and I’m getting an error that read as follows:

May 3 04:35:37 mx02 postfix/smtpd[10956]: NOQUEUE: reject: RCPT from ant251.neoplus.adsl.tpnet.pl[]: 554 5.7.1 Service unavailable; Client host [] blocked using xen.spamhaus.org; SPAMHAUS BLOCKLIST ADDRESS IS WRONG MUST FIX; from= to= proto=ESMTP helo=

How do I fix this problem?

{ 1 comment }

I can send and receive mail using user@example.com, but system generated emails such as root@mail.example.com bounce backup with an error:

May 1 03:14:52 mail postfix/smtp[62798]: 23CA4BD6B40: to=, relay=none, delay=0.01, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mail.example.com loops back to myself)

How do I fix this error?