[Exim] after 7h on virtual domain, i post here...

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc-Andre Vallee
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] after 7h on virtual domain, i post here...
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
I tried to get working the virtual domains on exim4 (exim 4.0.4)

i wont like foo@??? to go to mike's mailbox
and foo@??? goes to imran's mailbox

actually, foo@??? goes in foo mailbox, but i dont want this...

also, ive configured my redirect file, i've something like this

foo : mike

ans for foo2.com domain

foo : imran

actually, ive read the 1 page doc for virtual domain, but well, i'm still
stuck....

somebody can help ?

Thanks a lot

here's my configuration file


domainlist local_domains = @
domainlist relay_to_domains = foo.com:foo2.com:foo-foo.com
hostlist   relay_from_hosts = 127.0.0.1
acl_smtp_rcpt = acl_check_rcpt
allow_domain_literals
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 30s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
begin acl
acl_check_rcpt:
accept  hosts = :
  deny    local_parts   = ^.*[@%!/|]
  accept  local_parts   = postmaster
         domains       = +local_domains
  require verify        = sender
  accept  domains       = +local_domains
          endpass
          message       = unknown user
          verify        = recipient
  accept  domains       = +relay_to_domains
          endpass
          message       = unrouteable address
          verify        = recipient
  accept  hosts         = +relay_from_hosts
  accept  authenticated = *
  deny    message       = relay not permitted
begin routers
dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more


virtual:
driver =redirect
domains = dsearch;/usr/exim/aliases
data = ${lookup{$local_part}lsearch{/usr/exim/aliases/$domain}}
no_more

begin transports
remote_smtp:
driver = smtp

local_delivery:
driver = appendfile
file = /var/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
begin retry

*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite


begin authenticators



Marc-Andre Vallee
vallee.marcandre@???



--