no amavis.conf

Discussion in 'Installation/Configuration' started by carpman, Jan 26, 2012.

  1. carpman

    carpman Member

    Hi, is there supposed to be an amavis.conf in ispconfig3?

    Just can't see one?

    find /etc -name 'amavis*'
    ls -l /etc/amavis/
    total 16
    -rw-r--r-- 1 root root 2358 Jan 25 15:38 50-user~
    drwxr-xr-x 2 root root 4096 Dec 12 13:01 conf.d
    drwxr-xr-x 2 root root 4096 Dec 12 13:01 en_US
    -rw-r--r-- 1 root root  978 Dec 16  2010 README.l10n
    ls -l /etc/amavis/conf.d/
    total 64
    -rw-r--r-- 1 root root  1653 Dec 16  2010 01-debian
    -rw-r--r-- 1 root root   692 Dec 16  2010 05-domain_id
    -rw-r--r-- 1 root root   432 Jan 26 11:05 05-node_id
    -rw-r--r-- 1 root root 20693 Dec 16  2010 15-av_scanners
    -rw-r--r-- 1 root root   717 Dec 16  2010 15-content_filter_mode
    -rw-r--r-- 1 root root  9538 Dec 16  2010 20-debian_defaults
    -rw-r--r-- 1 root root   573 Dec 16  2010 25-amavis_helpers
    -rw-r--r-- 1 root root  2130 Dec 16  2010 30-template_localization
    -rw-r--r-- 1 root root  2358 Jan 25 15:38 50-user
    Do these files in /etc/amavis/conf.d/ replace amavis.conf?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That depends on the Linux distribution that you use and not ISPConfig.

    If you use Debian or Ubuntu, then yes.
  3. carpman

    carpman Member

    You would not know off hand know which file it is to set the IP address for smtp in amavis?

    Just i have looked though them all and cannot find it?

  4. carpman

    carpman Member

    Sorry i meant amavis listen on setting @inet_acl=
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The intention of the different files in debian is that you can add manaul changes without the risk that they get overwritten on amavis updates. The files are get included by amavis in alphabetical order, so the recommended way to do manual settings is to create a new file that gets included as last file, e.g. with the name "99-custom" and insert your custom config settings there.

    But amavis should normally listen only on localhost, if you let it listen on other IP addresses, then you might expose it to outside connections which can be misused to send emails over your server.

    So maybe you can describe why you want to change that, so that we can see if there is no different way.
  6. carpman

    carpman Member

    Thanks for info.

    The problem i have is i keep getting amavis error in logs

    amavis[1318]: (01318-04) (!)DENIED ACCESS from IP, policy bank ''
    This ip is the server mail ip and hence address.

    The other issue which i think is related is that a second server IP only used for ns2 is be set as mail server

    Received: from (unknown [])
    This i find odd as dns records use correct IP?

    This is causing rDNS errors in mail logs.

    If i bind smtp in then i can no longer send email?


Share This Page