Re: [Exim] Delivering all local mail via exim to another por…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Darren Casey
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Delivering all local mail via exim to another port
Anyone... had no replys and I am sure its not impossible?????

Thanks Darren

----- Original Message -----
From: "Darren Casey" <exim@???>
To: "Sheldon Hearn" <sheldonh@???>
Cc: <exim-users@???>
Sent: Thursday, August 28, 2003 5:20 PM
Subject: Re: [Exim] Delivering all local mail via exim to another port


> > There's not config extract that shows why you're looking stuff up in a
> > file called /etc/rc.d/rc.addresses and matching 199.254.168.113.
>
> Ah, thats the IP of the machine so I added it sorry forgot about that
> the file /etc/rc.d/rc.addresses is the file that has the IP's for each
> machine so I just did a net-lsearch on the file for ignore_target_hosts
>
> >
> > > If you want the full config ill edit it and get rid off the comments
> etc..
> > > and resend
> >
> > That's probably a better idea. Copy the list in case I can't see the
> > problem. :-)
> >
>
> Thanks :)
>
> Config below
> Darren
> --
>
> daemon_smtp_port = 2526
> av_scanner = cmdline:/usr/local/f-prot/f-prot %s:Infection:Infection.

(.+)$
>
> spool_directory = /home/spool/exim
> pid_file_path = /var/run/exim.pid
> log_selector = +subject
> helo_accept_junk_hosts = 1
>
> domainlist relay_to_domains = @mx_any
> hostlist relay_from_hosts = 127.0.0.1 : lsearch:/var/log/pop_log
> domainlist hosts_treat_as_local = self.carpediem-it.co.uk
> domainlist local_domains = self.carpediem-it.co.uk
>
> acl_smtp_data = acl_smtp_data
> acl_smtp_rcpt = acl_check_rcpt
> never_users = root
>
> host_lookup = *
>
> rfc1413_hosts = *
> rfc1413_query_timeout = 5s
>
> 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

>
> acl_smtp_data:
>
> accept hosts = 127.0.0.1:+relay_from_hosts
>
> deny  message = $found_extension files are not accepted here
>       demime = com:vbs:bat:pif:scr

>
> deny  message = Serious MIME defect detected ($demime_reason)
>       demime = *
>       condition = ${if >{$demime_errorlevel}{2}{1}{0}}
> deny message = This message contains malware ($malware_name)
>      demime = *
>      malware = *

>
> accept
>
> begin routers
>
> send_to_sendmail:
>         driver = manualroute
>         domains = +relay_to_domains
>         route_list = * $domain
>         ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 :
> net-lsearch:/etc/rc.d/rc.addresses
>         transport = remote_smtp_port
>         self=pass
>         no_more

>
> dnslookup:
> driver = dnslookup
> domains = ! +local_domains
> transport = remote_smtp
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
> no_more
>
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> file_transport = address_file
> pipe_transport = address_pipe
>
>
> localuser:
> driver = accept
> check_local_user
> transport = local_delivery
>
> begin transports
>
> remote_smtp:
> driver = smtp
>
> remote_smtp_port:
>         driver = smtp
>         allow_localhost
>         port = 2525

>
> 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
>
> fixed_login:
>         driver = plaintext
>         public_name = LOGIN
>         server_prompts = "Username:: : Password::"
> server_condition = ${run{/usr/local/sbin/user_check $1 $2}{yes}{no}}
> server_set_id = $1

>
> # End of Exim configuration file
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>
>