LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-22-2009, 01:47 AM   #1
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Rep: Reputation: 30
sending mail from our mail server


Hi
I installed Postfix as mail server for our office.our users can send mail to another on our domain,but they can not send to gmail account, and gmail sends a massage as following :

host gmail-smtp-in.l.google.com[74.125.79.27] said:
550-5.7.1 [85.185.238.100] 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

how can users send mail to gmail account ??
thanks for your any help
 
Old 02-22-2009, 02:36 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
To use most smtp servers, you need to have a static IP.
If you have a dynamic IP it is rejected (spam)
So use the SMTP from your provider => smarthost
 
Old 02-22-2009, 04:00 AM   #3
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 210

Rep: Reputation: 32
Quote:
Originally Posted by nima0102 View Post
Hi
I installed Postfix as mail server for our office.our users can send mail to another on our domain,but they can not send to gmail account, and gmail sends a massage as following :

host gmail-smtp-in.l.google.com[74.125.79.27] said:
550-5.7.1 [85.185.238.100] 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

how can users send mail to gmail account ??
thanks for your any help
Like rogers and other ISP's the provide a SMTP. therefore you need to configure a host-relay in postfix main.cf and you it should work ,


Regards,
MaaS
 
Old 02-22-2009, 04:35 AM   #4
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by repo View Post
To use most smtp servers, you need to have a static IP.
If you have a dynamic IP it is rejected (spam)
So use the SMTP from your provider => smarthost
thanks for your attention
But I have Public and static IP for our server
thanks for any help or guidance
 
Old 02-22-2009, 04:42 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
Quote:
But I have Public and static IP for our server
is there a domain associated with that ip?
sometimes you need to have reverse DNS setup in order to sent mail.
 
  


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
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 08:44 PM
Sending mail through mail server. TheRealDeal Linux - Networking 17 09-12-2004 12:31 AM
Sending mail through mail server. TheRealDeal Linux - Networking 0 09-07-2004 12:43 AM
Mail Server not sending mail baye Linux - Software 1 05-28-2004 09:41 AM
sending mail between two mail server !! hitesh_linux Linux - General 3 12-14-2003 01:53 PM


All times are GMT -5. The time now is 07:21 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration