Okay, I've recently changed the domain for my private network, and am trying to reconfigure exim.
Internal domain is internal.aom.geek, served by local DNS. External domain is aom.geek which is CNAMEd to ferret.dyndns.org currently, but will be picked up if I'm ever living somewhere I can find a real ISP. Also, *.aom.geek is CNAMEd as well. Symptoms: I can't send email to <user>@mail.aom.geek. I can send email to <user>@tarot.internal.aom.geek (tarot happens to be my gateway) <user>@localhost, and <user>@ferret.dyndns.org. Others, (using OpenDNS servers) can resolve and successfully send emails. I can't puzzle out what the problem is. My exim.conf is attached. [EMAIL PROTECTED]:~$ sudo exim -bt -d9 Exim version 3.22 debug level 9 uid=0 gid=0 Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99) tarot.internal.aom.geek in local_domains? no (end of list) adding primary host name tarot.internal.aom.geek to local_domains Actual local interface address is 127.0.0.1 (lo) Actual local interface address is 192.168.1.1 (eth0) Actual local interface address is 65.5.95.44 (eth1) Actual local interface address is 208.138.51.183 (ppp0) Actual local interface address is ::1 (lo) Actual local interface address is fe80::250:baff:fec4:d56e (eth0) Actual local interface address is fe80::2c0:f0ff:fe18:b72c (eth1) Caller is an admin user Caller is a trusted user user name "root" extracted from gecos field "root" originator: uid=0 gid=0 login=root name=root sender address = [EMAIL PROTECTED] Address testing: uid=0 gid=0 euid=8 egid=8 > [EMAIL PROTECTED] >>>>>>>>>>>>>>>>>>>>>>>> Testing [EMAIL PROTECTED] mail.aom.geek in local_domains? no (end of list) address [EMAIL PROTECTED] local_part=admin domain=mail.aom.geek domain is not local >>>>>>>>>>>>>>>>>>>>>>>> routing [EMAIL PROTECTED], domain mail.aom.geek lookuphost router called for [EMAIL PROTECTED] dns lookup: route_domain = mail.aom.geek DNS lookup of mail.aom.geek (MX) gave TRY_AGAIN mail.aom.geek in dns_again_means_nonexist? no (end of list) returning DNS_AGAIN lookuphost router deferred mail.aom.geek message: host lookup did not complete [EMAIL PROTECTED] cannot be resolved at this time: host lookup did not complete -- Ferret I will be switching my email addresses from @ferret.dyndns.org to @mail.aom.geek on or after September 1, 2001, but not until after Debian's servers include support. 'geek' is an OpenNIC TLD. See http://www.opennic.unrated.net for details about adding OpenNIC support to your computer, or ask your provider to add support to their name servers.
# This is the main exim configuration file. # It was originally generated by `eximconfig', part of the exim package # distributed with Debian, but it may edited by the mail system administrator. # This file originally generated by eximconfig at Fri Dec 3 09:45:29 PST 1999 # See exim info section for details of the things that can be configured here. # Please see the manual for a complete list # of all the runtime configuration options that can be included in a # configuration file. # This file is divided into several parts, all but the last of which are # terminated by a line containing the word "end". The parts must appear # in the correct order, and all must be present (even if some of them are # in fact empty). Blank lines, and lines starting with # are ignored. ###################################################################### # MAIN CONFIGURATION SETTINGS # ###################################################################### # # # ExternalName=ferret.dyndns.org #ExternalName=mail.aom.geek # Specify the domain you want to be added to all unqualified addresses # here. Unqualified addresses are accepted only from local callers by # default. See the receiver_unqualified_{hosts,nets} options if you want # to permit unqualified addresses from remote sources. If this option is # not set, the primary_hostname value is used for qualification. qualify_domain = ExternalName # If you want unqualified recipient addresses to be qualified with a different # domain to unqualified sender addresses, specify the recipient domain here. # If this option is not set, the qualify_domain value is used. # qualify_recipient = # Specify your local domains as a colon-separated list here. If this option # is not set (i.e. not mentioned in the configuration file), the # qualify_recipient value is used as the only local domain. If you do not want # to do any local deliveries, uncomment the following line, but do not supply # any data for it. This sets local_domains to an empty string, which is not # the same as not mentioning it at all. An empty string specifies that there # are no local domains; not setting it at all causes the default value (the # setting of qualify_recipient) to be used. local_domains = localhost:aom.geek:internal.aom.geek:ferret.dyndns.org # Allow mail addressed to our hostname, or to our IP address. local_domains_include_host = true local_domains_include_host_literals = true # Domains we relay for; that is domains that aren't considered local but we # accept mail for them. relay_domains = *.aom.geek: # If this is uncommented, we accept and relay mail for all domains we are # in the DNS as an MX for. #relay_domains_include_local_mx = true # No local deliveries will ever be run under the uids of these users (a colon- # separated list). An attempt to do so gets changed so that it runs under the # uid of "nobody" instead. This is a paranoic safety catch. Note the default # setting means you cannot deliver mail addressed to root as if it were a # normal user. This isn't usually a problem, as most sites have an alias for # root that redirects such mail to a human administrator. never_users = root # The setting below causes Exim to do a reverse DNS lookup on all incoming # IP calls, in order to get the true host name. If you feel this is too # expensive, you can specify the networks for which a lookup is done, or # remove the setting entirely. # >> Option rewritten by convert4r3 host_lookup = 0.0.0.0/0 # Exim contains support for the Realtime Blocking List (RBL) that is being # maintained as part of the DNS. See http://maps.vix.com/rbl/ for background. # Uncommenting the following line will make Exim reject mail from any # host whose IP address is blacklisted in the RBL at maps.vix.com. #rbl_domains = rbl.maps.vix.com #rbl_reject_recipients = false #rbl_warn_header = true # The setting below allows your host to be used as a mail relay by only # the hosts in the specified networks. See the section of the manual # entitled "Control of relaying" for more info. # >> Option rewritten by convert4r3 host_accept_relay = "192.168.1.0/24" # If you want Exim to support the "percent hack" for all your local domains, # uncomment the following line. This is the feature by which mail addressed # to [EMAIL PROTECTED] (where z is one of your local domains) is locally rerouted to # [EMAIL PROTECTED] and sent on. Otherwise x%y is treated as an ordinary local part. # percent_hack_domains=* # If this option is set, then any process that is running as one of the # listed users may pass a message to Exim and specify the sender's # address using the "-f" command line option, without Exim's adding a # "Sender" header. #trusted_users = mail # If this option is true, the SMTP command VRFY is supported on incoming # SMTP connections; otherwise it is not. smtp_verify = false # Some operating systems use the "gecos" field in the system password file # to hold other information in addition to users' real names. Exim looks up # this field when it is creating "sender" and "from" headers. If these options # are set, exim uses "gecos_pattern" to parse the gecos field, and then # expands "gecos_name" as the user's name. $1 etc refer to sub-fields matched # by the pattern. gecos_pattern = ^([^,:]*) gecos_name = $1 # This string defines the contents of the \`Received' message header that # is added to each message, except for the timestamp, which is automatically # added on at the end, preceded by a semicolon. The string is expanded each # time it is used. 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 ###################################################################### # TRANSPORTS CONFIGURATION # ###################################################################### # ORDER DOES NOT MATTER # # Only one appropriate transport is called for each delivery. # ###################################################################### # This transport is used for local delivery to user mailboxes. On debian # systems group mail is used so we can write to the /var/spool/mail # directory. (The alternative, which most other unixes use, is to deliver # as the user's own group, into a sticky-bitted directory) local_delivery: driver = appendfile group = mail mode = 0660 mode_fail_narrower = false file = /var/spool/mail/${local_part} maildir_delivery: driver = appendfile no_from_hack prefix = "" suffix = "" maildir_format directory = ${home}/Maildir create_directory # This transport is used for handling pipe addresses generated by alias # or .forward files. It has a conventional name, since it is not actually # mentioned elsewhere in this configuration file. (A different name *can* # be specified via the "address_pipe_transport" option if you really want # to.) If the pipe generates any standard output, it is returned to the sender # of the message as a delivery error. Set return_fail_output instead if you # want this to happen only when the pipe fails to complete normally. address_pipe: driver = pipe return_output # This transport is used for handling file addresses generated by alias # or .forward files. It has a conventional name, since it is not actually # mentioned elsewhere in this configuration file. address_file: driver = appendfile # This transport is used for handling file addresses generated by alias # or .forward files if the path ends in "/", which causes it to be treated # as a directory name rather than a file name. Each message is then delivered # to a unique file in the directory. If instead you want all such deliveries to # be in the "maildir" format that is used by some other mail software, # uncomment the final option below. If this is done, the directory specified # in the .forward or alias file is the base maildir directory. # # Should you want to be able to specify either maildir or non-maildir # directory-style deliveries, then you must set up yet another transport, # called address_directory2. This is used if the path ends in "//" so should # be the one used for maildir, as the double slash suggests another level # of directory. In the absence of address_directory2, paths ending in // # are passed to address_directory. address_directory: driver = appendfile no_from_hack prefix = "" suffix = "" # maildir_format # This transport is used for handling autoreplies generated by the filtering # option of the forwardfile director. It has a conventional name, since it # is not actually mentioned elsewhere in this configuration file. address_reply: driver = autoreply # This transport is used for delivering messages over SMTP connections. remote_smtp: driver = smtp procmail_pipe: driver = pipe command = "/usr/bin/procmail" user = ${local_part} delivery_date_add envelope_to_add return_path_add from_hack end ###################################################################### # DIRECTORS CONFIGURATION # # Specifies how local addresses are handled # ###################################################################### # ORDER DOES MATTER # # A local address is passed to each in turn until it is accepted. # ###################################################################### # This allows local delivery to be forced, avoiding alias files and # forwarding. procmail: driver = localuser require_files = ${local_part}:${home}/.procmailrc transport = procmail_pipe real_local: prefix = real- driver = localuser # transport = maildir_delivery transport = local_delivery # This director handles aliasing using a traditional /etc/aliases file. # If any of your aliases expand to pipes or files, you will need to set # up a user and a group for these deliveries to run under. You can do # this by uncommenting the "user" option below (changing the user name # as appropriate) and adding a "group" option if necessary. system_aliases: driver = aliasfile # >> Option added by convert4r3 file_transport = address_file # >> Option added by convert4r3 pipe_transport = address_pipe file = /etc/aliases search_type = lsearch # user = list # Uncomment the above line if you are running smartlist # This director handles forwarding using traditional .forward files. # It also allows mail filtering when a forward file starts with the # string "# Exim filter": to disable filtering, uncomment the "filter" # option. The check_ancestor option means that if the forward file # generates an address that is an ancestor of the current one, the # current one gets passed on instead. This covers the case where A is # aliased to B and B has a .forward file pointing to A. # For standard debian setup of one group per user, it is acceptable---normal # even---for .forward to be group writable. If you have everyone in one # group, you should comment out the "modemask" line. Without it, the exim # default of 022 will apply, which is probably what you want. userforward: driver = forwardfile # >> Option added by convert4r3 file_transport = address_file # >> Option added by convert4r3 pipe_transport = address_pipe # >> Option added by convert4r3 reply_transport = address_reply no_verify check_ancestor file = .forward modemask = 002 filter # This director matches local user mailboxes. localuser: driver = localuser # transport = maildir_delivery transport = local_delivery end ###################################################################### # ROUTERS CONFIGURATION # # Specifies how remote addresses are handled # ###################################################################### # ORDER DOES MATTER # # A remote address is passed to each in turn until it is accepted. # ###################################################################### # Remote addresses are those with a domain that does not match any item # in the "local_domains" setting above. # This router routes to remote hosts over SMTP using a DNS lookup with # default options. lookuphost: driver = lookuphost transport = remote_smtp # This router routes to remote hosts over SMTP by explicit IP address, # given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs # require this facility, which is why it is enabled by default in Exim. # If you want to lock it out, set forbid_domain_literals in the main # configuration section above. literal: driver = ipliteral transport = remote_smtp # Send all mail to a smarthost ###smarthost: ### driver = domainlist ### transport = remote_smtp ### route_list = "* smtp.phonewave.net bydns_a" end ###################################################################### # RETRY CONFIGURATION # ###################################################################### # This single retry rule applies to all domains and all errors. It specifies # retries every 15 minutes for 2 hours, then increasing retry intervals, # starting at 2 hours and increasing each time by a factor of 1.5, up to 16 # hours, then retries every 8 hours until 4 days have passed since the first # failed delivery. # Domain Error Retries # ------ ----- ------- * * F,2h,15m; G,16h,2h,1.5; F,4d,8h end ###################################################################### # REWRITE CONFIGURATION # ###################################################################### # There are no rewriting specifications in this default configuration file. # This is an example of a useful rewriting rule---it looks up the real # address of all local users in a file # [EMAIL PROTECTED] ${lookup{$1}lsearch{/etc/email-addresses}\ # {$value}fail} bcfrF [EMAIL PROTECTED] [EMAIL PROTECTED] bcfrF [EMAIL PROTECTED] [EMAIL PROTECTED] bcfrF # End of Exim configuration file
pgp9WOVFNZe3P.pgp
Description: PGP signature