HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 6.0 x (http://www.howtoforge.com/forums/showthread.php?t=55692)

regcom 9th January 2012 17:48

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

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:

Code:

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

Code:

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

Regards.

Antonio.

falko 10th January 2012 17:09

Did you configure all repositories as shown in the tutorial?

regcom 10th January 2012 17:39

Yes. I Do.

falko 11th January 2012 15:43

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

regcom 11th January 2012 15:56

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

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

Code:

su -m amavis -c 'razor-admin -home=/var/spool/amavisd -create'
I have this message:
Code:

nextserver: Bootstrap discovery failed. Giving up.
Can You help me?

Regards.

Antonio.

falko 12th January 2012 22:19

Please try again.

regcom 13th January 2012 08:53

Hi Falko,

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

falko 14th January 2012 15:22

This link might help: http://www.freespamfilter.org/forum/....php?f=8&t=140

regcom 19th January 2012 16:58

I solved.
Thanks.

Now I have another problem with forwarding.

I have created two mailboxes:

Code:

xxxx@miodominio.it
yyyy@miodominio.it

I have insert into forwardings table a record with

Code:

field source = xxxx@miodominio.it
fiedl destination = yyyy@miodominio.it

If I send a mail to xxxx@miodominio.it the mail arrive corretcly olso if I send a mail to yyyy@miodominio.it.

But the mail I have sended to xxxx@miodominio.it don't arrive to yyyy@miodominio.it.

This is part of the postfix config file:

Code:

readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
myhostname = uniserv.uniplan.it
mynetworks = 127.0.0.0/8
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, 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 = /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/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
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 / mysql-virtual_forwardings.cf

Code:


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

Thanks.

Regards.

Antonio.


All times are GMT +2. The time now is 02:43.

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