Can't receive email from external domains

Discussion in 'Installation/Configuration' started by DAC, Jul 11, 2013.

  1. DAC

    DAC New Member

    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 :

    Sorry, we were unable to deliver your message to the following address.
    <[email protected]>:
    No MX or A records for
    When i debug i get this:

    Jul 10 16:03:55 s1 postfix/smtp[4832]: 6E19A324263C: to=<[email protected]>, 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 type=MX: Host not found, try again)
    My DNS is like this:

    $TTL    86400
    @       IN      SOA {dnsemail} (
                            {serial}     ; Serial, this is [url][/url] dns zone template file.. 
                            10800   ; Refresh
                            1200     ; Retry
                            86400  ; Expire
                            86400 ) ; Minimum           IN NS        IN A    {dnsip}       IN A    {dnsip}       IN A    {dnsip}       IN A    {dnsip}       IN A    {dnsip}       IN A    {dnsip}           IN A    {webip}      IN A    {mailip}   IN A    {webip}   IN A    {webip}   IN A    {webip}       IN CNAME
    [url][/url].       IN CNAME           IN MX  10           IN TXT "v=spf1 a mx"
    *                       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/ , 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: Jul 11, 2013
  2. DAC

    DAC New Member

    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

Share This Page