Sendig mail Error

Discussion in 'Installation/Configuration' started by fisherofer, Nov 29, 2011.

  1. fisherofer

    fisherofer New Member

    i need help please
    i dont know why my server dont send email for my inbox

    i have centos 5.7 32 bit
    and the latest IspConfig

    the mail log is:

    Please advice
  2. till

    till Super Moderator

    Does the server use courier or dovecot?
  3. fisherofer

    fisherofer New Member

    i think its dovecot
    i rechecked the ispconfig install guide and its dovecot
  4. till

    till Super Moderator

    Seems as if dovecot has not created the auth socket. Please restart dovecot and then postfix and then try again.
  5. till

    till Super Moderator

    I just read your log again and it seems as if you use courier and not dovecot. Please post the output of:

    netstat -tap | grep imap
  6. fisherofer

    fisherofer New Member

    service dovecot start
    Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 716: Unknown protocol name (section changed in /etc/dovecot.conf at line 710)
    Fatal: Invalid configuration in /etc/dovecot.conf
    i think i will start here many thanks
  7. till

    till Super Moderator

    Please post the output of:

    netstat -tap | grep imap

    according to your log, you seem to use courier. If you start to configure dovecot now, then you will break your setup as dovecot and courier use a different maildir layout. You might also check in ispconfig > system > server config on the mail tab if dovecot or courier is selected there as mailserver.
  8. fisherofer

    fisherofer New Member

    in ispconfig the server is showing courier as the mail configure

    netstat -tap | grep imap
    tcp 0 0 *:imaps *:* LISTEN 3713/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 3706/couriertcpd
  9. till

    till Super Moderator

    Ok, so you use courier. The problem is that you have also dovecot installed which caused a problem during update as the ispconfig installer found the dovecot install and configured the postfix authentication for dovecot and not courier.

    To fix that, edit the /etc/postfix/ file and change the virtual_transport line to:

    virtual_transport = maildrop

    and comment out the lines:

    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth

    by adding a # in front of the lines. then restart postfix.
  10. fisherofer

    fisherofer New Member

    many thanks for your help
    this is the last of my file

    and the maillog

  11. till

    till Super Moderator

    Please start amavisd.
  12. fisherofer

    fisherofer New Member

    /etc/sysconfig/amavisd: line 2: interface.: command not found
    Starting Mail Virus Scanner (amavisd): fetch_modules: error loading required module Compress/
    dualvar is only available with the XS version of Scalar::Util at /usr/lib/perl5/site_perl/5.8.8/Compress/ line 8
    BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/ line 8.
    Compilation failed in require at /usr/sbin/amavisd line 197.
    BEGIN failed--compilation aborted at /usr/sbin/amavisd line 237.
  13. fisherofer

    fisherofer New Member

    any of this code may help
    i added the line
    -o disable_dns_lookups=yes

    and i dont think it may help

    Modify Postfix and

    $cd /etc/postfix
    ## add this line below
    content_filter = smtp-amavis:[]:10024
    ## add few line below into
    smtp-amavis unix -      -       n     -       2  smtp
    -o smtp_data_done_timeout=1200
    [B]-o disable_dns_lookups=yes[/B] inet n  -       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=
    -o strict_rfc821_envelopes=yes
    smtp      inet  n       -       n       -       -       smtpd
    Starting Postfix

    $postfix start

Share This Page