Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm on Debian I'm trying to send an email to email@gmail.com but it's not working although I changed the configtype in update-exim4.conf.conf to "internet".

It doesn't give me any output but I can't find anything in the email@gmail.com

The error log shows this:

The IP you're using to send mail is not authorized to\n550-5.7.1 send email directly to our servers. Please use the SMTP relay at your\n550-5.7.1 service provider

share|improve this question
    
I use the command : mail -s "Hello" email@gmail.com –  Vanddel Oct 31 '12 at 11:24
add comment

1 Answer

up vote 2 down vote accepted

According to your log entry, its clear that your IP is not authorized to send emails from the server you are sending this email.

Here are the details of the issue:

http://support.google.com/mail/bin/answer.py?hl=en&answer=10336

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.