Mail server postfix, sends but don't receive.

Discussion in 'Installation/Configuration' started by Erth, Jun 2, 2008.

  1. Erth

    Erth New Member

    Hi, I set up a mail server in debian. I look this howto:
    http://www.howtoforge.com/virtual_postfix_mysql_quota_courier

    The problem is that does not receive emails, whether to send emails with squirremail.

    /var/log/mail.log

    Code:
    XXXXXX:/home/vmail/# tail /var/log/mail.log -n 16
    Jun  2 16:30:13 XXXXXX postfix/smtpd[7965]: warning: TLS library problem: 7965:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('/etc/postfix/smtpd.cert','r'):
    Jun  2 16:30:13 XXXXXX postfix/smtpd[7965]: warning: TLS library problem: 7965:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
    Jun  2 16:30:13 XXXXXX postfix/smtpd[7965]: warning: TLS library problem: 7965:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:720:
    Jun  2 16:30:13 XXXXXX postfix/smtpd[7965]: cannot load RSA certificate and key data
    Jun  2 16:30:13 XXXXXX postfix/smtpd[7965]: connect from qb-out-0506.google.com[72.14.204.231]
    Jun  2 16:30:14 XXXXXX postfix/smtpd[7965]: 26C8C1AB4282: client=qb-out-0506.google.com[72.14.204.231]
    Jun  2 16:30:14 XXXXXX postfix/cleanup[7969]: 26C8C1AB4282: message-id=<f6c9015123afaf123fafddef72ddc53b7905a9b@mail.gmail.com>
    Jun  2 16:30:14 XXXXXX postfix/qmgr[7043]: 26C8C1AB4282: from=<xxxxxx@gmail.com>, size=2676, nrcpt=1 (queue active)
    Jun  2 16:30:14 XXXXXX postfix/smtp[7970]: 26C8C1AB4282: to=<prueba@midominio.com>, relay=none, delay=0.38, delays=0.37/0.01/0/0, dsn=5.4.6, status=bounced (mail for mail.midominio.com loops back to myself)
    Jun  2 16:30:14 XXXXXX postfix/cleanup[7969]: 65CE71AB42CD: message-id=<20080602143014.65CE71AB42CD@XXXXXX.dominio.com>
    Jun  2 16:30:14 XXXXXX postfix/qmgr[7043]: 65CE71AB42CD: from=<>, size=4538, nrcpt=1 (queue active)
    Jun  2 16:30:14 XXXXXX postfix/bounce[7971]: 26C8C1AB4282: sender non-delivery notification: 65CE71AB42CD
    Jun  2 16:30:14 XXXXXX postfix/qmgr[7043]: 26C8C1AB4282: removed
    Jun  2 16:30:15 XXXXXX postfix/smtp[7970]: 65CE71AB42CD: to=<xxxxxx@gmail.com>, relay=gmail-smtp-in.l.google.com[216.239.59.27]:25, delay=0.65, delays=0.01/0/0.11/0.52, dsn=2.0.0, status=sent (250 2.0.0 OK 1212417017 i6si6293963gve.4)
    Jun  2 16:30:15 XXXXXX postfix/qmgr[7043]: 65CE71AB42CD: removed
    Jun  2 16:30:44 XXXXXX postfix/smtpd[7965]: disconnect from qb-out-0506.google.com[72.14.204.231]
    
    Greetings, thx.
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Did you create the certificate as shown in the tutorial?
     
  3. Erth

    Erth New Member

    Hi, yes, I have created after the error messages, but the error persists without giving warnings about the certificates.
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please add mail.midominio.com to mydestination in /etc/postfix/main.cf and restart Postfix.
     
  5. Erth

    Erth New Member

Share This Page