LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-15-2008, 12:56 PM   #1
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Rep: Reputation: 32
Post Mail Server Setup ..


hi to all ,

i have setup postfix on my fedora system .

i was able to send emails to Gmail . but not yahoo or hotmail.

since yesterday , everytime i send emails to gmail , it keeps comming back to me with an Error .. :

-----------------------------------------------------
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [MyIpAddress] The IP you're using to send
mail is not authorized 550-5.7.1 to send email directly to our servers.
Please use the SMTP 550-5.7.1 relay at your service provider instead. Learn
more at 550 5.7.1
http://mail.google.com/support/bin/a...y?answer=10336 g9si9360469gvc.0

--47C9815FAFF.1218811932/TheBase.maas.homeunix.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
------------------------------------------------------

how can i fix this ?

thankx in advance .
 
Old 08-15-2008, 02:03 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Probably rejecting your emails cause your sending from a machine using DHCP, which most ISP's will block to eliminate spam, etc.
 
Old 08-15-2008, 03:57 PM   #3
twlilinux
Member
 
Registered: Jan 2006
Distribution: debian
Posts: 63

Rep: Reputation: 15
Hi there, this is how I would investigate the problem:

if you click on the link in google's error message, you'll get

"Gmail refuses mail when the sending IP address does not match the sending domain"

If you investigate your own IP address using: dig -x [your ip]
and the output is something other than your domain's name, then consider setting up a reverse entry for your ip address.

edit: if your machine is using DHCP as trickykid suggested, I don't know how you can set up a reverse entry.

Last edited by twlilinux; 08-15-2008 at 03:59 PM.
 
Old 08-15-2008, 04:35 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by twlilinux View Post
edit: if your machine is using DHCP as trickykid suggested, I don't know how you can set up a reverse entry.
You can't really if it's just a residential ISP connection. Usually in some cases ISP's will allow a setup of reverse DNS when you have a business class account and connection with a static IP. They usually won't if you're using DHCP (most residential ISP services).
 
Old 08-15-2008, 04:44 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
The easy solution to this is to relay through your ISP's smtp server, so something like

relayhost = smtp.my_ISP.com

in mail.cf
 
Old 08-16-2008, 09:37 AM   #6
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Smile

Quote:
Originally Posted by billymayday View Post
The easy solution to this is to relay through your ISP's smtp server, so something like

relayhost = smtp.my_ISP.com

in mail.cf

yes my Friend . it worked Perfectly .. .

thank again .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 10:50 PM
Help me guide to setup mail server as a mail-gateway use spamassasin (use sendmail) adcom99 Linux - Newbie 1 11-03-2007 03:47 PM
Mail server - setup virtual mail boxes satimis Linux - Server 1 02-10-2007 10:40 AM
mail server and mail client setup issues htm Linux - General 1 03-16-2004 09:32 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration