exim local delivery
At the moment all local mail gets delivered through my ISP to me because I
do not know how to configure exim to do local delivery without refusing
mail to other users of my ISP.
How can I alter my exim.conf so that all mail going to
jhspies@futurenet.co.za or other local users will be delivered locally?
My localhost is Johann.
My ISP is futurenet.co.za
I have a dialup ppp connection for internet access.
My email address is jhspies@futurenet.co.za
My exim.conf file looks like this:
qualify_domain = futurenet.co.za
local_domains = localhost:Johann
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup_nets = 0.0.0.0/0
sender_host_reject_relay = *
trusted_users = mail
smtp_verify = false
gecos_pattern = ^([^,:]*)
gecos_name = $1
received_header_text = "Received: \
${if def:sender_fullhost {from ${sender_fullhost} \
${if def:sender_ident {(${sender_ident})}}\n\t}\
{${if def:sender_ident {from ${sender_ident} }}}}\
by ${primary_hostname} \
${if def:received_protocol {with ${received_protocol}}} \
(Exim ${version_number} #${compile_number} (Debian))\n\t\
id ${message_id}"
end
local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
file = /var/spool/mail/${local_part}
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
address_reply:
driver = autoreply
remote_smtp:
driver = smtp
end
real_local:
prefix = real-
driver = localuser
transport = local_delivery
system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
userforward:
driver = forwardfile
no_verify
check_ancestor
file = .forward
modemask = 002
filter
localuser:
driver = localuser
transport = local_delivery
end
smarthost:
driver = domainlist
transport = remote_smtp
route_list = "* futurenet.co.za bydns_a"
end
* * F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
Thanks.
Johann
--------------------------------------------------------------------------
| Johann Spies Windsorlaan 19 |
| jhspies@futurenet.co.za 3201 Pietermaritzburg |
| Tel/Faks Nr. +27 331-46-1310 Suid-Afrika (South Africa) |
--------------------------------------------------------------------------
"But seek ye first the kingdom of God, and his
righteousness; and all these things shall be added
unto you." Matthew 6:33
Reply to: