LinuxQuestions.org
Help answer threads with 0 replies.
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


Reply
  Search this Thread
Old 08-24-2009, 08:07 PM   #1
Alt-Ox
LQ Newbie
 
Registered: Nov 2007
Posts: 20

Rep: Reputation: 0
Cant send external mail with postfix


Hello

Im trying to send external messages using postfix commmand line:

Quote:
sendmail -t myemail@gmail.com
teste
.
but those messages are not being sent.

Quote:
# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
4F04270C84 298 Mon Aug 24 20:59:27 root@site.com
(connect to gmail.com[209.85.225.83]:25: Connection timed out)
myemail@gmail.com
The current network configuration:
Quote:
# grep -i network /etc/postfix/main.cf
mynetworks = 192.168.56.0/24, 127.0.0.1/24
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination

Last edited by Alt-Ox; 08-24-2009 at 08:26 PM.
 
Old 08-25-2009, 02:09 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

I've been struggling with this too some time ago. Since the company where I work uses Google for enterprises I was able to contact the 'business' part of Google. They informed me that from a dynamic IP they only accept relaying if authenticated. We use fixed IP's so I was able real soon to get it up and running. However in my search for answers I stumbled upon this site Postfix Gmail SMTP relay. With those instructions I was able to set up my 'home mail server' and it connects and relays all mails to my personal gmail account.

Hope this helps you out.

Kind regards,

Eric
 
  


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
Postfix - allowing only certain users to send mail to a mail ID rahmathullakm Linux - Server 3 02-07-2009 12:05 PM
How to configure sendmail only to send mail to external mail account Nivix Linux - Newbie 2 10-23-2008 01:46 AM
Trying to send mail from /var/mail to external mailbox senkyoshi Linux - Newbie 1 03-28-2008 08:15 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 11:40 PM
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM


All times are GMT -5. The time now is 07:20 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