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.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th July 2013, 18:39
DAC DAC is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Can't receive email from external domains

Hi,
I can't receive email from external domains, i can send mails from my server using Outlook and Squirrel mail but i can't receive any .
I use Debian 6 and Postfix on VPS.

In Yahoo i get this message :

Code:
Sorry, we were unable to deliver your message to the following address.

<info@mydomain.eu>:
No MX or A records for mydomain.eu
When i debug i get this:

Code:
Jul 10 16:03:55 s1 postfix/smtp[4832]: 6E19A324263C: to=<root@s1.mydomain.eu>, orig_to=<root>, relay=
none, delay=1494, delays=1477/0.02/16/0, dsn=4.4.3, status=deferred (Host or domain name not fou
nd. Name service error for name=s1.mydomain.eu type=MX: Host not found, try again)
My DNS is like this:

Code:
$TTL    86400
@       IN      SOA     ns.domain.eu. {dnsemail} (
                        {serial}     ; Serial, this is www.ehcp.net dns zone template file.. 
                        10800   ; Refresh
                        1200     ; Retry
                        86400  ; Expire
                        86400 ) ; Minimum

domain.eu.           IN NS   ns.domain.eu.
ns.domain.eu.        IN A    {dnsip}
ns1.domain.eu.       IN A    {dnsip}
ns2.domain.eu.       IN A    {dnsip}
dns.domain.eu.       IN A    {dnsip}
dns1.domain.eu.       IN A    {dnsip}
dns2.domain.eu.       IN A    {dnsip}
domain.eu.           IN A    {webip}
mail.domain.eu.      IN A    {mailip}
smtp.domain.eu.   IN A    {webip}
imap.domain.eu.   IN A    {webip}
webmail.domain.eu.   IN A    {webip}
ftp.domain.eu.       IN CNAME        domain.eu.
www.domain.eu.       IN CNAME        domain.eu.
domain.eu.           IN MX  10 mail.domain.eu.
domain.eu.           IN TXT "v=spf1 a mx"

{customdns}

*                       IN A    {webip}
Need to mention also , i changed default port 25 for SMTP to 587 by adding submission inet n - - - - smtpd in /etc/postfix/master.cf , port 25 was bloked by ISP.
I appreciate any help in solving this .

P.S. Sorry in advance if i ask stupid questions i'm just a beginner.

Last edited by DAC; 11th July 2013 at 18:54.
Reply With Quote
Sponsored Links
  #2  
Old 11th July 2013, 19:26
DAC DAC is offline
Junior Member
 
Join Date: Jul 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Solved the problem.
Seems so..odd..but this is what i did:
Instead of having submission inet n - - - - smtpd at the bottom of the file i changed in top right under smtp inet n - - - - smtpd

# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
Reply With Quote
Reply

Bookmarks

Tags
debian 6, issue, 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
Gmail and Port25 Email Test Require IPv6 addresses now bpmee Server Operation 0 3rd April 2013 07:40
Cant receive External email levin Installation/Configuration 1 22nd August 2009 14:32
Postfix won't receive external email fred!head Server Operation 2 29th June 2008 19:30
Can't receive email merlincc General 4 5th December 2006 23:50
Can't receive email for aliases sbecker Installation/Configuration 10 4th April 2006 16:51


All times are GMT +2. The time now is 21:11.


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