[Exim] configure file

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Raj
Dátum:  
Címzett: exim-users
Tárgy: [Exim] configure file
Hi

My regd.domain name is ecom.com

I have 5 sub domains ( 5divisions ) D1.ecom.com, D2.ecom.com, D3.ecom.com ,
D4.ecom.com
D5.ecom.com

All the users have email id as user@D*.ecom.com

The Linux box on which i have set exim is mail.ecom.com

I want that all the divisions to exchange mails thro' mail.ecom.com and no
user with mail.d other than
user@D*.ecom.com should be able to relay mails thro the mail.ecom.com server
.plus the D1user shld be able to send mail to all D* and vice-versa

please suggest / add/comment /my conf file so that i am able to run it
...specially in the MAIN CONF SETTINGS...



#################### MAIN CONFIGURATION SETTINGS #####################
primary_hostname =mail.ecom.com
qualify_domain =ecom.com

# qualify_recipient = ///***should i givre something here?bcoz if not set it
takes the value of qualify_domain
which would be fine ***///

local_domains = localhost : *.ecom.com ///***what do i give here should i
write all the 5 sub domains or *.ecom.com or only ecom.com ***///

never_users = root
# host_accept_relay = localhost
# host_accept_relay = my.friends.host : 131.111.0.0/16
host_lookup = 0.0.0.0/0 ///*** what should be given here ///
# receiver_unqualified_hosts =
# sender_unqualified_hosts =
rbl_domains = rbl.maps.vix.com
no_rbl_reject_recipients
rbl_warn_header
# rbl_domains = rbl.maps.vix.com:dul.maps.vix.com:relays.orbs.org
# percent_hack_domains = *
end
###################### TRANSPORTS CONFIGURATION ######################
remote_smtp:
  driver = smtp
# procmail transport goes here <---
local_delivery:
  driver = appendfile
  file = /var/spool/mail/${local_part}
  delivery_date_add
  envelope_to_add
  return_path_add
  group = mail
  mode = 0660
address_pipe:
  driver = pipe
  return_output
address_file:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  return_path_add
address_reply:
  driver = autoreply
end
###################### DIRECTORS CONFIGURATION #######################
# routers because of a "self=local" setting (not used in this
configuration).
system_aliases:
  driver = aliasfile
  file = /etc/aliases
  search_type = lsearch
  user = mail
  group = mail
  file_transport = address_file
  pipe_transport = address_pipe
userforward:
  driver = forwardfile
  file = .forward
  no_verify
  no_expn
  check_ancestor
# filter
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
# procmail director goes here <---
localuser:
  driver = localuser
  transport = local_delivery
end
###################### ROUTERS CONFIGURATION #########################
# widen_domains = "sales.mycompany.com:mycompany.com"
lookuphost:
  driver = lookuphost
  transport = remote_smtp
# widen_domains =
literal:
  driver = ipliteral
  transport = remote_smtp
end
###################### RETRY CONFIGURATION ###########################
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
end
######################################################################
Regards ...
Raj..