Quoth Duncan Bennett on Thu, Apr 27, 2000:
> I've experimented with a cut down configuration file and almost have what
> I need. The problem is that I can't see how to make exim (on the client)
> send the message immediately to the mailhost. It seems always to spool the
> message until I run the queue.
Did you set queue_only or something?
In any case, I would advise you to run the queue from time to
time, either using cron, or by running exim -q30m (or similar).
And also force frozen messages.
> Further, is anyone is doing this already, I'd be very grateful for a peek
> at a client's configuration file to compare against my hacked about
> version...
Attached is the cs.huji client config file, slightly changed.
Vadik.
--
Spelling is a lossed art.
##########################################################################
# Hebrew University Computer Science Mail Client Exim Configuration File #
##########################################################################
# Our domain
DEFAULT_DOMAIN = put.your.domain.here
SMART_HOST = your.smart.host.here
# No local hosts
local_domains =
# Qualify with our mail domain
qualify_domain = DEFAULT_DOMAIN
# Never send mail as 'root'
never_users = root
# Always do DNS lookups
host_lookup = 0.0.0.0/0
# Allow user@???. (sic)
strip_trailing_dot
# Only allow SMTP from ourselves (make MH happy)
host_reject = !@ : !localhost : *
receiver_unqualified_hosts = @ : localhost
sender_unqualified_hosts = @ : localhost
# Relay mail from the localhost
host_accept_relay = @ : localhost
# Message for SMTP rejects
prohibition_message = contact postmaster@DEFAULT_DOMAIN for further info
# Tell postmaster about frozen messages
freeze_tell_mailmaster = true
# Size limit on a single message
message_size_limit = 10M
end
# Only the SMTP transport is needed
mailserver_smtp:
driver = smtp
no_delay_after_cutoff
end
# No directors -- everything is remote
end
# The sole router -- send everything the the central mail server
route_to_mailserver:
driver = domainlist
transport = mailserver_smtp
route_list = "* SMART_HOST bydns_a"
end
# Default retries
* * F,2h,15m; G,16h,2h,1.5; F,4d,8h
end
# Rewriting rules -- change From: line user@localhost to user@our_domain
^([^@]+)@[^.]+$ $1@$qualify_domain fr
# End of Exim configuration file