Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x

Discussion in 'HOWTO-Related Questions' started by regcom, Jan 9, 2012.

  1. regcom

    regcom New Member


    I try to install "Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x86_64)"

    All is OK.
    But when I try:

    yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql
    I have this error:

    No package amavisd-new available
    How I can find and install amavisd-new package?


  2. falko

    falko Super Moderator ISPConfig Developer

    Did you configure all repositories as shown in the tutorial?
  3. regcom

    regcom New Member

    Yes. I Do.
  4. falko

    falko Super Moderator ISPConfig Developer

    amavisd-new is available in the EPEL repository, so make sure it is configured correctly.
  5. regcom

    regcom New Member

    Thanks, Falco.
    I have solved.
    Now I have another problem.

    In the step 13 "Install Razor, Pyzor and DCC..."
    whene I run:

    su -m amavis -c 'razor-admin -home=/var/spool/amavisd -create'
    I have this message:
    nextserver: Bootstrap discovery failed. Giving up.
    Can You help me?


  6. falko

    falko Super Moderator ISPConfig Developer

    Please try again.
  7. regcom

    regcom New Member

    Hi Falko,

    I tried again, but I always get the same message.
  8. falko

    falko Super Moderator ISPConfig Developer

  9. regcom

    regcom New Member

    I solved.

    Now I have another problem with forwarding.

    I have created two mailboxes:

    I have insert into forwardings table a record with

    field source = [email protected] 
    fiedl destination = [email protected] 
    If I send a mail to [email protected] the mail arrive corretcly olso if I send a mail to [email protected].

    But the mail I have sended to [email protected] don't arrive to [email protected].

    This is part of the postfix config file:

    readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
    myhostname =
    mynetworks =
    virtual_alias_domains = 
    virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_base = /home/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 permit_inet_interfaces
    smtpd_use_tls = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/
    virtual_create_maildirsize = yes
    virtual_maildir_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    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 $virtual_mailbox_limit_maps
    receive_override_options = no_address_mappings
    and this is the content of the file / etc / postfix /

    user = mail_admin
    password = mail_admin_password
    dbname = mail
    query = SELECT destination FROM forwardings WHERE source='%s'
    hosts =



Share This Page