We have our setup documented. I'll pull out the stuff for our environment and send over something more general. It may take a few hours before I get time though. Adam King IT Systems Administrator Skipton Girls High School 01756 707600 www.sghs.org.uk ----- Original Message ----- From: "Alexander Farber" <alexander.farber@xxxxxxxxx> To: "CentOS mailing list" <centos@xxxxxxxxxx> Sent: Monday, August 11, 2014 12:47:21 PM Subject: Re: Use postfix and spamd on CentOS 6 - looking for a shortest guide Hi Adam, there is no "spamd.conf" file in the spamassassin package for CentOS 6: # rpm -ql spamassassin|grep -i spamd.conf # That's the point of my question: I am looking for advice for how to use the "postfix" and "spamassassin" packages - i.e. not installing both programs manually "from scratch". (Unless I have misunderstood your question, then I am sorry). Regards Alex On Mon, Aug 11, 2014 at 1:04 PM, Adam King <kinga@xxxxxxxxxxx> wrote: > whats your database user in spamd.conf? > > > ----- Original Message ----- > From: "Alexander Farber" <alexander.farber@xxxxxxxxx> > > So I have installed the both packages and I have configured postfix (it > works fine). > > Also I have started the spamd (and can see it in "ps uawx") with: > > # chkconfig spamassassin on > # service spamassassin start > > So I'm just missing the connection between postfix and spamd. > > Could anybody using these 2 programs on CentOS 6 please share it with me? > > Should I add something (involving spamc?) into /etc/postfix/master.cf? > ..... > > P.S. Below is my "postconf -n". I accept mails (here I'd like to filter > spam) for 6 virtual domains and then forward them to different GMail > accounts: > > alias_database = hash:/etc/aliases > > alias_maps = hash:/etc/aliases > > command_directory = /usr/sbin > > config_directory = /etc/postfix > > daemon_directory = /usr/libexec/postfix > > data_directory = /var/lib/postfix > > debug_peer_level = 2 > > header_checks = pcre:/etc/postfix/header_checks > > html_directory = no > > inet_interfaces = all > > inet_protocols = ipv4 > > mail_owner = postfix > > mailq_path = /usr/bin/mailq.postfix > > manpage_directory = /usr/share/man > > mydestination = $myhostname, localhost.$mydomain, localhost > > myhostname = www.afarber.de > > newaliases_path = /usr/bin/newaliases.postfix > > queue_directory = /var/spool/postfix > > readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES > > sample_directory = /usr/share/doc/postfix-2.6.6/samples > > sendmail_path = /usr/sbin/sendmail.postfix > > setgid_group = postdrop > > smtp_destination_concurrency_limit = 2 > > smtp_destination_rate_delay = 40s > > smtp_generic_maps = hash:/etc/postfix/generic > > unknown_local_recipient_reject_code = 550 > > virtual_alias_domains = videoskat.de balkan-preferans.de simplex.ru > larissa-farber.de bukvy.de slova.de > > virtual_alias_maps = hash:/etc/postfix/virtual > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos