Re: [EXIM] sending mail to host with no mx record

Page principale
Supprimer ce message
Répondre à ce message
Auteur: The UNIX Mighty!
Date:  
À: Piete Brooks
CC: exim-users
Sujet: Re: [EXIM] sending mail to host with no mx record
> I suspect you mean "The way I have configured exim, it ..."
> You need to give details of your config file.


most of my router is orig file.....

My Config File:::::::::::
I have parsed out the comments and some things
***************************************************************************
local_domains = dbm;/etc/exim/domains
local_domains_include_host_literals

### Spamers we don't want
sender_host_reject = dbm;/etc/exim/banned.domains
sender_host_reject_recipients = dbm;/etc/exim/spamers

### deny everything BUT all the network at t3
sender_net_accept_relay = "207.19.215.0/255.255.255.0:208.28.1.0/255.255.255.0"

sender_host_accept_relay = localhost
### Always bcc to ther sender
always_bcc
### auto_thaw a mail after 600 seconds
auto_thaw = 1d
### Check the spool area for min of 10m before to anything
check_spool_space = 10M
check_log_space = 10M
### kill all the routes in header???
collapse_source_routes
### tell mailmaster if anything is wrong
freeze_tell_mailmaster
### Verify users
headers_sender_verify = true
headers_sender_verify_errmsg = true
### errors kill em after 3 days
ignore_errmsg_errors_after = 3d
#### All the Logs are saved
log_received_recipients
log_refused_recipients
log_smtp_confirmation
log_subject

rfc1413_except_nets = "172.17.0.0/255.255.0.0:172.16.0.0/255.255.0.0:207.19.215.0/255.255.255.0"

queue_run_in_order
smtp_expn_hosts = 127.0.0.1
smtp_verify

errors_copy = root
smtp_banner = "${primary_hostname} ESMTP Server Ready ${tod_full}"
        #${compile_number} ${tod_full}"


envelope_to_remove = false
message_filter = /usr/exim/filter
message_filter_user = nobody

trusted_groups = "admins"
end


######################################################################
#                      TRANPORTS CONFIGURATION                       #
######################################################################
procmail_pipe:
   driver = pipe;
   envelope_to_add,
   command = "/usr/local/bin/procmail -d ${local_part},
   from_hack,


local_delivery:
driver = appendfile;
envelope_to_add,
file = /var/mail/${local_part},
group = mail,
mode = 0660

address_pipe:
driver = pipe;
return_output

address_file:
driver = appendfile;
user = nobody,

address_directory:
driver = appendfile;
no_from_hack,
prefix = "",
suffix = "",
# maildir_format

address_reply:
driver = autoreply


remote_smtp:
#  remove_headers = "Resent-To:Resent-Date:Resent-From:Resent-Message-ID",
#  add_headers =  "X-added: this is a header added at $tod_log\n\
#                   X-added: this is another",
  driver = smtp;


end


######################################################################
#                      DIRECTORS CONFIGURATION                       #
######################################################################


procmail:
driver = localuser,
require_files = ${home}/.procmailrc,
transport = procmail_pipe;

system_aliases:
driver = aliasfile;
file = /etc/aliases,
search_type = lsearch,
errors_to = root

mailing_list:
driver = aliasfile;
file = /etc/mailing_lists,
search_type= lsearch,
errors_to = root
user = majordom

userforward:
no_verify,
driver = forwardfile;
check_ancestor,
file = .forward,


# This director matches local user mailboxes.

localuser:
driver = localuser,
transport = local_delivery;

end

######################################################################
#                      ROUTERS CONFIGURATION                         #
######################################################################


lookuphost:
driver = lookuphost,
transport = remote_smtp;

literal:
driver = ipliteral,
transport = remote_smtp;


end

##############################################################################


thanks for the help
-Bikesh-