Linux Format

Answers

Q Unauthorised address

I have installed CentOS 7 in VirtualBox. I tried to send an mail using the mail command like this:

But I get this error message:

The IP you’re using to send email is not authorized......

I tried clearing the IP mentioned in the above error logs from SPAMHAUS and no luck. What could be reason I am not able to send email from my Linux server to any external email account? What is needed to get this resolved?

Julie Pirouet

The mail command needs an SMTP server in order to send mail. If you haven’t specified one on the command line, I will assume you are using running locally, as that is the default configuration of CentOS. So mail (the command) sends your email to , which then determines how to send the email to the recipient and tries to do so. The last part is causing the problem and is most likely because you are using a residential IP address. Many servers reject mail coming from residential IP addresses because they are often spam from a compromised Windows system. The answer is to send your email through your ISP’s mail server, which is trusted by the rest of

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming
Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format2 min read
Platform Support And Editions
Kali has a huge variety of install options, and these include images for ARM-based computers and pre-made virtual K machine images for most of the popular virtualisers. It’s even possible to install a version of Kali on to an Android-powered device.

Related Books & Audiobooks