[solved] Spamassassin and amavis stopped working

Discussion in 'Installation/Configuration' started by Mindless74, Aug 22, 2015.

  1. Mindless74

    Mindless74 New Member

    Hello World ;),

    I moved my debian server to a new HDD (only the /boot was left at the old one). I rsync'd the file system with "rsync -axv" in order to copy the permissions. Every thing is working fine, I can add/Delete domains and Mailboxes in ISPConfig and so on.

    Today I noticed that there is no spam filtering at all. There are no X-SPAM Tags in the mail headers. I deactivated spam filtering for all domains and reactivated it. The changes was written to the corresponding table in ISPConfig Database. But.... still no Spam Filtering.
    There is no error in the mail- and syslogs and also no sign of SPAMD, Amavis or Spamassasin.

    You will find logs and configs below. Please feel free to ask for more.

    Any help appreciated, Patrick

    The mail.log is unusual short:
    Code:
    Aug 22 20:06:13 server postfix/smtpd[16782]: connect from mail-ig0-f179.google.com[209.85.213.179]
    Aug 22 20:06:14 server postfix/smtpd[16782]: 8EC708A26C3: client=mail-ig0-f179.google.com[209.85.213.179]
    Aug 22 20:06:14 server postfix/cleanup[17293]: 8EC708A26C3: message-id=<CAJRdMtSYPyTVT0WHcfQb7YmMDrE-FyOgrD1taJia__mXH7T8OQ@mail.gmail.com>
    Aug 22 20:06:14 server postfix/qmgr[4474]: 8EC708A26C3: from=<[email protected]>, size=1712, nrcpt=1 (queue active)
    Aug 22 20:06:15 server postfix/smtpd[16782]: disconnect from mail-ig0-f179.google.com[209.85.213.179]
    Aug 22 20:06:15 server dovecot: auth-worker(17296): mysql(localhost): Connected to database ispconfig
    Aug 22 20:06:15 server dovecot: lda([email protected]): sieve: msgid=<CAJRdMtSYPyTVT0WHcfQb7YmMDrE-FyOgrD1taJia__mXH7T8OQ@mail.gmail.com>: stored mail into mailbox 'INBOX'
    Aug 22 20:06:15 server postfix/pipe[17294]: 8EC708A26C3: to=<[email protected]>, relay=dovecot, delay=0.71, delays=0.4/0.04/0/0.27, dsn=2.0.0, status=sent (delivered via dovecot service)
    Aug 22 20:06:15 server postfix/qmgr[4474]: 8EC708A26C3: removed
    Aug 22 20:06:29 server dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=31.4.155.28, lip=192.168.1.100, mpid=17303, session=<5htYPuodsAAfBJsc>
    
    All services are up and running:
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:smtp                  *:*                     LISTEN      4457/master
    tcp        0      0 localhost:953           *:*                     LISTEN      2692/named
    tcp        0      0 *:https                 *:*                     LISTEN      2952/apache2
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN      2857/smbd
    tcp        0      0 *:imaps                 *:*                     LISTEN      4322/dovecot
    tcp        0      0 *:pop3s                 *:*                     LISTEN      4322/dovecot
    tcp        0      0 *:3333                  *:*                     LISTEN      2952/apache2
    tcp        0      0 localhost:10024         *:*                     LISTEN      2906/amavisd-new (m
    tcp        0      0 localhost:10025         *:*                     LISTEN      4457/master
    tcp        0      0 *:mysql                 *:*                     LISTEN      3934/mysqld
    tcp        0      0 *:submission            *:*                     LISTEN      4457/master
    tcp        0      0 localhost:11211         *:*                     LISTEN      3329/memcached
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN      2857/smbd
    tcp        0      0 *:pop3                  *:*                     LISTEN      4322/dovecot
    tcp        0      0 *:imap2                 *:*                     LISTEN      4322/dovecot
    tcp        0      0 localhost:spamd         *:*                     LISTEN      3377/spamd.pid
    tcp        0      0 *:http                  *:*                     LISTEN      2952/apache2
    tcp        0      0 *:ssmtp                 *:*                     LISTEN      4457/master
    tcp        0      0 *:tproxy                *:*                     LISTEN      2952/apache2
    tcp        0      0 server.uttrich.m:domain *:*                     LISTEN      2692/named
    tcp        0      0 *:ftp                   *:*                     LISTEN      4315/pure-ftpd (SER
    tcp        0      0 *:munin                 *:*                     LISTEN      3379/munin-node
    tcp        0      0 localhost:domain        *:*                     LISTEN      2692/named
    tcp        0      0 *:ssh                   *:*                     LISTEN      3355/sshd
    
    main.cf
    Code:
    
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = /usr/share/doc/postfix
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = server.xxxxxxx.ml
    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    myorigin = /etc/mailname
    mydestination = server.xxxxxxx.ml, localhost, localhost.localdomain
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    html_directory = /usr/share/doc/postfix/html
    inet_protocols = ipv4
    virtual_alias_domains =
    virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
    smtpd_tls_security_level = may
    transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_client_message_rate_limit = 100
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    owner_request_special = no
    smtp_tls_security_level = may
    smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
    smtpd_tls_protocols = !SSLv2,!SSLv3
    smtp_tls_protocols = !SSLv2,!SSLv3
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    
    relayhost =[outmail.profilter.co.uk]:587
    smtp_sasl_auth_enable=yes
    smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd
    smtp_sasl_security_options=noanonymous
    smtp_sasl_mechanism_filter=plain,login
    smtp_tls_CAfile = /etc/postfix/cacert.pem
    smtp_use_tls = yes
    
     
  2. Mindless74

    Mindless74 New Member

    Good morning
    I am still in investigation, amavis is starting without error message. There is no difference between the configs on the old and new HDD.

    Amavis Startup:
    Code:
    Aug 23 11:17:53 server amavis[2432]: starting. /usr/sbin/amavisd-new at server.xxxxxxx.xx amavisd-new-2.7.1 (20120429), Unicode aware, LANG="en_GB.UTF-8"
    Aug 23 11:17:59 server amavis[2444]: Net::Server: Group Not Defined.  Defaulting to EGID '117 117'
    Aug 23 11:17:59 server amavis[2444]: Net::Server: User Not Defined.  Defaulting to EUID '113'
    Aug 23 11:18:00 server amavis[2444]: Module Amavis::Conf        2.303
    Aug 23 11:18:00 server amavis[2444]: Module Archive::Zip        1.30
    Aug 23 11:18:00 server amavis[2444]: Module BerkeleyDB          0.51
    Aug 23 11:18:00 server amavis[2444]: Module Compress::Zlib      2.033
    Aug 23 11:18:00 server amavis[2444]: Module Convert::TNEF       0.17
    Aug 23 11:18:00 server amavis[2444]: Module Convert::UUlib      1.4
    Aug 23 11:18:00 server amavis[2444]: Module Crypt::OpenSSL::RSA 0.28
    Aug 23 11:18:00 server amavis[2444]: Module DBD::mysql          4.021
    Aug 23 11:18:00 server amavis[2444]: Module DBI                 1.622
    Aug 23 11:18:00 server amavis[2444]: Module DB_File             1.821
    Aug 23 11:18:00 server amavis[2444]: Module Digest::MD5         2.51
    Aug 23 11:18:00 server amavis[2444]: Module Digest::SHA         5.61
    Aug 23 11:18:00 server amavis[2444]: Module File::Temp          0.22
    Aug 23 11:18:00 server amavis[2444]: Module IO::Socket::INET6   2.69
    Aug 23 11:18:00 server amavis[2444]: Module MIME::Entity        5.503
    Aug 23 11:18:00 server amavis[2444]: Module MIME::Parser        5.503
    Aug 23 11:18:00 server amavis[2444]: Module MIME::Tools         5.503
    Aug 23 11:18:00 server amavis[2444]: Module Mail::DKIM::Signer  0.39
    Aug 23 11:18:00 server amavis[2444]: Module Mail::DKIM::Verifier 0.39
    Aug 23 11:18:00 server amavis[2444]: Module Mail::Header        2.09
    Aug 23 11:18:00 server amavis[2444]: Module Mail::Internet      2.09
    Aug 23 11:18:00 server amavis[2444]: Module Mail::SPF           v2.008
    Aug 23 11:18:00 server amavis[2444]: Module Mail::SpamAssassin  3.003002
    Aug 23 11:18:00 server amavis[2444]: Module Net::DNS            0.66
    Aug 23 11:18:00 server amavis[2444]: Module Net::Server         2.006
    Aug 23 11:18:00 server amavis[2444]: Module NetAddr::IP         4.062
    Aug 23 11:18:00 server amavis[2444]: Module Socket6             0.23
    Aug 23 11:18:00 server amavis[2444]: Module Time::HiRes         1.972101
    Aug 23 11:18:00 server amavis[2444]: Module URI                 1.60
    Aug 23 11:18:00 server amavis[2444]: Module Unix::Syslog        1.1
    Aug 23 11:18:00 server amavis[2444]: Amavis::DB code      loaded
    Aug 23 11:18:00 server amavis[2444]: SQL base code        loaded
    Aug 23 11:18:00 server amavis[2444]: SQL::Log code        NOT loaded
    Aug 23 11:18:00 server amavis[2444]: SQL::Quarantine      NOT loaded
    Aug 23 11:18:00 server amavis[2444]: Lookup::SQL code     loaded
    Aug 23 11:18:00 server amavis[2444]: Lookup::LDAP code    NOT loaded
    Aug 23 11:18:00 server amavis[2444]: AM.PDP-in proto code loaded
    Aug 23 11:18:00 server amavis[2444]: SMTP-in proto code   loaded
    Aug 23 11:18:00 server amavis[2444]: Courier proto code   NOT loaded
    Aug 23 11:18:00 server amavis[2444]: SMTP-out proto code  loaded
    Aug 23 11:18:00 server amavis[2444]: Pipe-out proto code  NOT loaded
    Aug 23 11:18:00 server amavis[2444]: BSMTP-out proto code NOT loaded
    Aug 23 11:18:00 server amavis[2444]: Local-out proto code loaded
    Aug 23 11:18:00 server amavis[2444]: OS_Fingerprint code  NOT loaded
    Aug 23 11:18:00 server amavis[2444]: ANTI-VIRUS code      loaded
    Aug 23 11:18:00 server amavis[2444]: ANTI-SPAM code       loaded
    Aug 23 11:18:00 server amavis[2444]: ANTI-SPAM-EXT code   NOT loaded
    Aug 23 11:18:00 server amavis[2444]: ANTI-SPAM-C code     NOT loaded
    Aug 23 11:18:00 server amavis[2444]: ANTI-SPAM-SA code    loaded
    Aug 23 11:18:00 server amavis[2444]: Unpackers code       loaded
    Aug 23 11:18:00 server amavis[2444]: DKIM code            loaded
    Aug 23 11:18:00 server amavis[2444]: Tools code           NOT loaded
    Aug 23 11:18:00 server amavis[2444]: Found $file            at /usr/bin/file
    Aug 23 11:18:00 server amavis[2444]: Found $altermime       at /usr/bin/altermime
    Aug 23 11:18:00 server amavis[2444]: Internal decoder for .mail
    Aug 23 11:18:00 server amavis[2444]: No decoder for       .F
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .Z    at /bin/uncompress
    Aug 23 11:18:00 server amavis[2444]: Internal decoder for .gz
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .bz2  at /bin/bzip2 -d
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .xz   at /usr/bin/xz -dc
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .lzma at /usr/bin/xz -dc --format=lzma
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .lzo  at /usr/bin/lzop -d
    Aug 23 11:18:00 server amavis[2444]: No decoder for       .rpm  tried: rpm2cpio.pl, rpm2cpio
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .cpio at /bin/pax
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .tar  at /bin/pax
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .deb  at /usr/bin/ar
    Aug 23 11:18:00 server amavis[2444]: Internal decoder for .zip
    Aug 23 11:18:00 server amavis[2444]: Internal decoder for .kmz
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .7z   at /usr/bin/7zr
    Aug 23 11:18:00 server amavis[2444]: No decoder for       .rar  tried: unrar-free
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .arj  at /usr/bin/arj
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .arc  at /usr/bin/nomarch
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .zoo  at /usr/bin/zoo
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .doc  at /usr/bin/ripole
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .cab  at /usr/bin/cabextract
    Aug 23 11:18:00 server amavis[2444]: No decoder for       .tnef
    Aug 23 11:18:00 server amavis[2444]: Internal decoder for .tnef
    Aug 23 11:18:00 server amavis[2444]: Found decoder for    .exe  at /usr/bin/arj
    Aug 23 11:18:00 server amavis[2444]: Using primary internal av scanner code for ClamAV-clamd
    Aug 23 11:18:00 server amavis[2444]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Aug 23 11:18:00 server amavis[2444]: Deleting db files __db.004,__db.001,nanny.db,__db.002,snmp.db,__db.003 in /var/lib/amavis/db
    Aug 23 11:18:00 server amavis[2444]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.51, libdb 5.1
    
     
  3. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You have no content_filter in your main.cf (content_filter = amavis:[127.0.0.1]:10024). And make sure, that you have the services for 10025 and 10027 in your master.cf
     
    Mindless74 likes this.
  4. Mindless74

    Mindless74 New Member

    Thanks a lot,
    the "x-virus.scanned" tag is back, but spamassasing is still not active. I would be nice if you can check my config again.

    master.cf
    Code:
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = /usr/share/doc/postfix
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    myhostname = server.xxxxxxx.xx
    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    myorigin = /etc/mailname
    mydestination = server.uttrich.ml, localhost, localhost.localdomain
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    html_directory = /usr/share/doc/postfix/html
    inet_protocols = ipv4
    virtual_alias_domains =
    virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf
    smtpd_tls_security_level = may
    transport_maps = hash:/var/lib/mailman/data/transport-mailman, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_client_message_rate_limit = 100
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    owner_request_special = no
    smtp_tls_security_level = may
    smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
    smtpd_tls_protocols = !SSLv2,!SSLv3
    smtp_tls_protocols = !SSLv2,!SSLv3
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    content_filter = amavis:[127.0.0.1]:10024
    
    master.cf
    Code:
    # ==========================================================================
    # 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
    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
    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=DRhu 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
    
    127.0.0.1:10027 inet  n       -       n       -       10      smtpd
      -o smtpd_recipient_restrictions=$10027_recipient_restrictions
      -o syslog_name=postfix/10027
    
     
  5. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    Do you see any errors / warnings in your mail.log?

    This is from my master.cf:
    Code:
    127.0.0.1:10025 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=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtp_send_xforward_command=yes
    
    127.0.0.1:10027 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=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
            -o smtp_send_xforward_command=yes
                -o milter_default_action=accept
            -o milter_macro_daemon_name=ORIGINATING
             -o disable_dns_lookups=yes
     
    Mindless74 likes this.
  6. Mindless74

    Mindless74 New Member

    Thanks for your help Florian. I have used this config and got still the same issue.
    After two days of "digging" I came to the time saving conclusion to reinstall the server (its only a small, private system). I took just 5h and everything is working fine now.
    To be honest - there is still an part in me who would like to know what have caused this issue, but..... ;)

    Thanks again, cu
     
    Last edited: Aug 26, 2015
  7. florian030

    florian030 ISPConfig Developer ISPConfig Developer

    You can compare your amavis-configs and the related settings in the database. ;)
     
    Mindless74 likes this.

Share This Page