HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x (

regcom 9th January 2012 18:48

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

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?



falko 10th January 2012 18:09

Did you configure all repositories as shown in the tutorial?

regcom 10th January 2012 18:39

Yes. I Do.

falko 11th January 2012 16:43

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

regcom 11th January 2012 16:56

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?



falko 12th January 2012 23:19

Please try again.

regcom 13th January 2012 09:53

Hi Falko,

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

falko 14th January 2012 16:22

This link might help:

regcom 19th January 2012 17:58

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 =
fiedl destination =

If I send a mail to the mail arrive corretcly olso if I send a mail to

But the mail I have sended to don't arrive to

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 =




All times are GMT +2. The time now is 04:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.