Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 25th September 2011, 11:19
newbielinx newbielinx is offline
Junior Member
 
Join Date: Sep 2011
Posts: 10
Thanks: 0
Thanked 2 Times in 2 Posts
Unhappy Postfix Cannot Receive Email - Smtp Timed Out

Hi everyone,

having problems on OS centos 5.6/5.7 - postfix - dovecot - I setup my postfix using this tutorial

1. I can send email to any domain but cannot received any email from external domain (but strange I can receive email from test server - look below).
2. I can send and received email between local account (using webmin and squirrelmail).
3. I cannot connect to my smtp server using thunderbird on port 25 or 110 (always timed out).

What info should I provide?

here's postfix config
Quote:
tinypaste.com/c97d73
I'm able to test my server AND SUCCESS using this https://www.wormly.com/test_smtp_server

Quote:
Resolving hostname...
Connecting...
SMTP -> FROM SERVER:
220 newbielinx-domain.com ESMTP Postfix
SMTP -> FROM SERVER:
250-newbielinx-domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: newbielinx-test@gmail.com
SMTP -> FROM SERVER:
250 2.1.0 Ok
RCPT TO: supp@newbielinx-domain.com
SMTP -> FROM SERVER:
250 2.1.5 Ok
Sending Mail Message Body...
SMTP -> FROM SERVER:
354 End data with .
SMTP -> FROM SERVER:
250 2.0.0 Ok: queued as EF91C4D2DD
Message completed successfully.
I received the email "SMTP Test Message" on my mailbox supp@newbielinx-domain.com

When I connect to mail.newbielinx-domain.com 25 or 995 nothing changed in maillog.
When I send email to supp@newbielinx-domain.com from gmail or yahoo no changes on the log.

Also checking my computer IP using whatismyipaddress.com/blacklist-check [not listed on blacklist]

netstat -nalp | grep master | grep "LISTEN "
Quote:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3970/master
host -t MX mail.newbielinx-domain.com
Quote:
mail.newbielinx-domain.com mail is handled by 10 direct-connect.newbielinx-domain.com.
host -t mx newbielinx-domain.com
Quote:
newbielinx-domain.com has no MX record
Trying to send email to supp@mail.newbielinx-domain.com here's the log
Quote:
Sep 25 05:40:21 newbielinx-domain postfix/smtpd[4938]: connect from gateway06.websitewelcome.com[67.18.21.22]
Sep 25 05:40:21 newbielinx-domain postfix/smtpd[4938]: NOQUEUE: reject: RCPT from gateway06.websitewelcome.com[67.18.21.22]: 554 5.7.1 <supp@direct-connect.newbielinx-domain.com>: Relay access denied; from=<sls@blabla.info> to=<supp@direct-connect.newbielinx-domain.com> proto=SMTP helo=<gateway06.websitewelcome.com>
Sep 25 05:40:21 newbielinx-domain postfix/smtpd[4938]: disconnect from gateway06.websitewelcome.com[67.18.21.22]
Send email again (this time from gmail) newbielinx-test@gmail.com to supp@mail.newbielinx-domain.com
- SUCCESS Email received on mailbox

Send again from gmail but this time to supp@newbielinx-domain.com(without mail.)
Nothing on the log (FAIL)

I just changed my mx record from "mail" to "@" on cloudflare and see how it goes. And I still don't understand why the email from sls@blabla.info rejetcted.

Problem solved now I can received and and send from and to any local and external email host
here's the solution:
changed mydestination to mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

One more problem... can't connect to my smtp mail.newbielinx-domain.com

Last edited by newbielinx; 25th September 2011 at 12:48.
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
centos, dovecot, mail, postfix

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
ftp authentication fails fooboo Installation/Configuration 34 26th March 2010 14:04
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Postfix won't receive external email fred!head Server Operation 2 29th June 2008 19:30


All times are GMT +2. The time now is 10:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.