LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-17-2014, 07:20 AM   #1
marcelc
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Rep: Reputation: Disabled
Postfix inconsistency


I want to host my own mail server and in order to do so I've installed Postfix 2.7.0 and Dovecot 1.2.9 on Ubuntu Server 10.04.

One big problem I face right now is that Google SMTP servers reject my mail ONLY WHEN it is being sent remotely. Strange, right?

So if I telnet localhost 25, then issue AUTH LOGIN (not an open relay of course) then send the mail I get a status = sent and I actually receive the mail message in my Gmail's account Inbox. Works like a charm.

On the other hand, if I want to send the mail from a remote host, I use:

Code:
openssl s_client -connect mail.mydomain.com:465
Then I issue AUTH LOGIN, the login process is successful. So I don't have a problem communicating with my server. I can see what happens in the log files. But when I try to send mail like this, Google replies:

Quote:
Our system has detected an unusual rate of 421-4.7.0 unsolicited mail originating from your IP address. To protect our 421-4.7.0 users from spam, mail sent from your IP address has been temporarily 421-4.7.0
Why Google accepts my mail if being sent locally but rejects it when I openssl to my server and send it remotely?

It's like Postfix on my server makes Google aware of how email got to it in the first place and this way enables Google to reject mail that was not sent locally.

Does this make any sense to you, guys?
 
Old 08-17-2014, 07:44 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Dupe of https://www.linuxquestions.org/quest...cy-4175514091/ reported.
 
  


Closed Thread

Tags
openssl, postfix, smtp, telnet


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
[SOLVED] Postfix vs Google SMTP servers inconsistency marcelc Linux - Server 6 05-29-2015 10:42 AM
Unexpected inconsistency Master_Simon Fedora 4 10-25-2012 01:51 PM
Samba inconsistency SpaceGhoti Linux - Networking 4 04-22-2004 02:45 AM
hostname inconsistency lacrimae Linux - General 7 02-12-2002 11:01 AM
inconsistency Dynamo Linux - General 2 08-04-2001 11:36 AM


All times are GMT -5. The time now is 09:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration