[exim] Moving from Postfix to Exim

Etusivu
Poista viesti
Vastaa
Lähettäjä: The Doctor
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Moving from Postfix to Exim
I read the book still I may need help.

I want to get the secondary server out og the way first.

It is the outgoing mail server for dial-up and
is suppose to reject all spam if possible.

I also want to use port 3310 for clamav and 783
for Spamassassin.

Anyways here is my postconf -n from that server:

lias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = avscan:[127.0.0.1]:10025
cyrus_sasl_config_path = /usr/contrib/lib/sasl2/
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = mycadomain
default_destination_concurrency_limit = 20
disable_vrfy_command = yes
fast_flush_domains = $relay_domains, mycadomain
hash_queue_names = " " defer deferred
html_directory = /var/www/docs/postfix/
in_flow_delay = 1s
inet_interfaces = $myhostname, localhost
local_destination_concurrency_limit = 2
local_recipient_maps = unix:passwd.byname $alias_maps
local_transport = local
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 104857600
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = localhost, $myhostname, localhost.$mydomain, smtp.$mydomain, ns2.$mydomain
mydomain = mycadomain
myhostname = gallifrey.mycadomain
mynetworks = 204.209.81.0/24, 208.118.93.0/24, 208.118.94.0/24, 127.0.0.0/8
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_loglevel = 2
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_tls_session_cache
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_error_sleep_time = 0
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_invalid_hostname,            reject_non_fqdn_sender,            reject_non_fqdn_recipient,            reject_unknown_sender_domain,            reject_unknown_recipient_domain,            reject_unverified_recipient,            permit_mynetworks,            permit_sasl_authenticated,            reject_unauth_destination,            check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,            reject_rbl_client sbl-xbl.spamhaus.org,            reject_rbl_client dnsbl.njabl.org,            reject_rbl_client combined.njabl.org,            reject_rbl_client blackholes.uceb.org,            reject_rbl_client dev.null.dk,            reject_rbl_client flowgoaway.com,            reject_rbl_client relays.visi.com,            reject_rbl_client bl.spamcop.net,            reject_rbl_client hostkarma.junkemailfilter.com=127.0.0.2,            permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = smtp.mycadomain
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/smtp.mycadomain.2009.cert.pem
smtpd_tls_key_file = /etc/postfix/smtp.mycadomain.2009.key.pem


Once this is working, I will add MailScanner.

smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_session_cache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550

-- 
Member - Liberal International    This is doctor@??? Ici doctor@???
God, Queen and country! Never Satan President Republic! Beware AntiChrist rising! 
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
USenet NEwsgroups is the ULTIMATE form of blogging and social networking!