email problems

Discussion in 'Installation/Configuration' started by bitpixel, Jan 9, 2014.

  1. bitpixel

    bitpixel New Member

    Hello
    First of all let me express how glad I am for using ISPConfig. Very smooth install and server transfer (from apple server) and so on.

    I use dnsexit for name servers and records and I am not sure if I have to add mx records to dnsexit or what?

    Currently I cannot send or receive emails through "squirrelmail" and installed via perfect ubuntu server tutorial (which was amazing).

    I am 100% certain that I'm missing a configuration step or it's my dns (and records) setup causing me trouble with emails.

    mail log
    Code:
    Jan  9 15:40:19 server postfix/smtps/smtpd[17721]: connect from localhost.server[127.0.0.1]
    Jan  9 15:41:19 server postfix/smtps/smtpd[17721]: SSL_accept error from localhost.server[127.0.0.1]: -1
    Jan  9 15:41:19 server postfix/smtps/smtpd[17721]: warning: TLS library problem: 17721:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628:
    Jan  9 15:41:19 server postfix/smtps/smtpd[17721]: lost connection after CONNECT from localhost.server[127.0.0.1]
    Jan  9 15:41:19 server postfix/smtps/smtpd[17721]: disconnect from localhost.server[127.0.0.1]
    
    I was serching for hours and hours but I couldn't find a solution.
    Thanks in advance
     
    Last edited: Jan 9, 2014
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the file /etc/postfix/master.cf
     
  3. bitpixel

    bitpixel New Member

    here we go:
    Code:
    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the master(5) manual page (command: "man 5 master").
    #
    # Do not forget to execute "postfix reload" after editing this file.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       -       -       -       smtpd
    #smtp      inet  n       -       -       -       1       postscreen
    #smtpd     pass  -       -       -       -       -       smtpd
    #dnsblog   unix  -       -       -       -       0       dnsblog
    #tlsproxy  unix  -       -       -       -       0       tlsproxy
    #submission inet n       -       -       -       -       smtpd
      -o syslog_name=postfix/submission
      -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
     # -o milter_macro_daemon_name=ORIGINATING
    #smtps     inet  n       -       -       -       -       smtpd
      -o syslog_name=postfix/smtps
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #628       inet  n       -       -       -       -       qmqpd
    pickup    fifo  n       -       -       60      1       pickup
    cleanup   unix  n       -       -       -       0       cleanup
    qmgr      fifo  n       -       n       300     1       qmgr
    #qmgr     fifo  n       -       n       300     1       oqmgr
    tlsmgr    unix  -       -       -       1000?   1       tlsmgr
    rewrite   unix  -       -       -       -       -       trivial-rewrite
    bounce    unix  -       -       -       -       0       bounce
    defer     unix  -       -       -       -       0       bounce
    trace     unix  -       -       -       -       0       bounce
    verify    unix  -       -       -       -       1       verify
    flush     unix  n       -       -       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       -       -       -       smtp
    relay     unix  -       -       -       -       -       smtp
    #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq     unix  n       -       -       -       -       showq
    error     unix  -       -       -       -       -       error
    retry     unix  -       -       -       -       -       error
    discard   unix  -       -       -       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       -       -       -       lmtp
    anvil     unix  -       -       -       -       1       anvil
    scache    unix  -       -       -       -       1       scache
    #
    # ====================================================================
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    #
    # Many of the following services use the Postfix pipe(8) delivery
    # agent.  See the pipe(8) man page for information about ${recipient}
    # and other message envelope options.
    # ====================================================================
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    # Also specify in main.cf: maildrop_destination_recipient_limit=1
    #
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
    #
    # ====================================================================
    #
    # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
    #
    # Specify in cyrus.conf:
    #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
    #
    # Specify in main.cf one or more of the following:
    #  mailbox_transport = lmtp:inet:localhost
    #  virtual_transport = lmtp:inet:localhost
    #
    # ====================================================================
    #
    # Cyrus 2.1.5 (Amos Gouaux)
    # Also specify in main.cf: cyrus_destination_recipient_limit=1
    #
    #cyrus     unix  -       n       n       -       -       pipe
    #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    #
    # ====================================================================
    # Old example of delivery via Cyrus.
    #
    #old-cyrus unix  -       n       n       -       -       pipe
    #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    #
    # ====================================================================
    #
    # See the Postfix UUCP_README file for configuration details.
    #
    uucp      unix  -       n       n       -       -       pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # Other external delivery methods.
    #
    ifmail    unix  -       n       n       -       -       pipe
      flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp     unix  -       n       n       -       -       pipe
      flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
    scalemail-backend unix  -       n       n       -       2       pipe
      flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
    mailman   unix  -       n       n       -       -       pipe
      flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
      ${nexthop} ${user}
    
    dovecot   unix  -       n       n       -       -       pipe
      flags=DROhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
    
    127.0.0.1:10025 inet n - - - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
    
    
     
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    comment out #smtps... and restart postfix
     
  5. bitpixel

    bitpixel New Member

    I assume you meant this line smtps inet n - - - - smtpd and commented out.

    Squirrel mail notification when trying to send mail

     
  6. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Try to set
    Code:
    smtpd_use_tls = yes
    smtpd_tls_auth_only = no
    
    in your main.cf
     
  7. bitpixel

    bitpixel New Member

    no joy... the squirrel status remains same. Let me attach the log:
    Code:
    Jan  9 23:10:02 server postfix/submission/smtpd[15376]: lost connection after CONNECT from localhost.server[127.0.0.1]
    Jan  9 23:10:02 server postfix/submission/smtpd[15376]: disconnect from localhost.server[127.0.0.1]
    Jan  9 23:10:02 server postfix/cleanup[15375]: 00D30840BDC: message-id=<[email protected]>
    Jan  9 23:10:02 server postfix/qmgr[22966]: 00D30840BDC: from=<[email protected]>, size=884, nrcpt=1 (queue active)
    Jan  9 23:10:02 server postfix/smtpd[15405]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Jan  9 23:10:02 server postfix/smtpd[15405]: connect from localhost.server[127.0.0.1]
    Jan  9 23:10:02 server postfix/smtpd[15405]: A38B7840417: client=localhost.server[127.0.0.1]
    Jan  9 23:10:02 server postfix/cleanup[15375]: A38B7840417: message-id=<[email protected]>
    Jan  9 23:10:02 server postfix/qmgr[22966]: A38B7840417: from=<[email protected]>, size=1336, nrcpt=1 (queue active)
    Jan  9 23:10:02 server postfix/smtpd[15405]: disconnect from localhost.server[127.0.0.1]
    Jan  9 23:10:02 server amavis[26046]: (26046-04) Passed CLEAN, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: k8ij$
    Jan  9 23:10:02 server postfix/smtp[15397]: 00D30840BDC: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.91, delays=0.26/0.01/0/0.64, dsn=2.0.0, status$
    Jan  9 23:10:02 server postfix/qmgr[22966]: 00D30840BDC: removed
    Jan  9 23:10:02 server postfix/local[15406]: A38B7840417: to=<[email protected]>, relay=local, delay=0.1, delays=0.04/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
    Jan  9 23:10:02 server postfix/qmgr[22966]: A38B7840417: removed
    Jan  9 23:15:01 server postfix/postscreen[15761]: CONNECT from [127.0.0.1]:45978 to [127.0.0.1]:25
    Jan  9 23:15:01 server postfix/postscreen[15761]: WHITELISTED [127.0.0.1]:45978
    Jan  9 23:15:01 server dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jan  9 23:15:01 server postfix/submission/smtpd[15764]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Jan  9 23:15:01 server postfix/submission/smtpd[15764]: connect from localhost.server[127.0.0.1]
    Jan  9 23:15:01 server postfix/submission/smtpd[15764]: lost connection after CONNECT from localhost.server[127.0.0.1]
    Jan  9 23:15:01 server postfix/submission/smtpd[15764]: disconnect from localhost.server[127.0.0.1]
    Jan  9 23:15:01 server dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jan  9 23:16:05 server postfix/master[22962]: terminating on signal 15
    Jan  9 23:16:05 server postfix/master[15925]: daemon started -- version 2.9.6, configuration /etc/postfix
    Jan  9 23:17:32 server postfix/master[15925]: terminating on signal 15
    Jan  9 23:17:33 server postfix/master[16072]: daemon started -- version 2.9.6, configuration /etc/postfix
    Jan  9 23:17:41 server dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
    Jan  9 23:17:41 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=16081, secured
    Jan  9 23:17:41 server dovecot: imap([email protected]): Disconnected: Logged out bytes=44/709
    Jan  9 23:17:42 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=16083, secured
    Jan  9 23:17:42 server dovecot: imap([email protected]): Disconnected: Logged out bytes=399/1723
    Jan  9 23:17:42 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=16085, secured
    Jan  9 23:17:42 server dovecot: imap([email protected]): Disconnected: Logged out bytes=292/1912
    Jan  9 23:17:55 server postfix/submission/smtpd[16089]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Jan  9 23:17:55 server postfix/submission/smtpd[16089]: connect from localhost.server[127.0.0.1]
    Jan  9 23:17:55 server postfix/submission/smtpd[16089]: lost connection after EHLO from localhost.server[127.0.0.1]
    Jan  9 23:17:55 server postfix/submission/smtpd[16089]: disconnect from localhost.server[127.0.0.1]
    
     

Share This Page