Re: [Exim] Remote Smtp Question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: haestan none
Date:  
À: exim-users
Sujet: Re: [Exim] Remote Smtp Question
Thanks for the fast answer, but i seem to have another problem now.
According to the log, exim delivers the mail to the remote smtp server,
but it never reaches the destination address (mbox).
My isp's smtp server seems to work for i can send mail on a windows
client without problems.
My main problem is that im not getting any error msgs anymore now. So i dont
have clue where what the problem is.

>
> >
> > smart_route:
> > transport = remote_smtp
> > driver = domainlist
> > route_list = "* smtp.myip.net"
> >
>
>That should do.
>


I changed it to the following:

smart_route:
transport = remote_smtp
driver = domainlist
route_list = "* smtp.myisp.net byname"

When im trying to send a mail to another domain, according to the log it
seems to work now. I'm getting the following output:

2002-08-19 17:09:37 17go9x-0000h5-00 <= username@??? U=username
P=local S=452 id=20020819170937.A265
1@???
2002-08-19 17:09:37 17go9x-0000h5-00 => email@sendto_domain.net
R=smart_route T=remote_smtp H=mail-4.myisp.net [62.xxx.xxx.xxx]
2002-08-19 17:09:37 17go9x-0000h5-00 Completed


Thanks,
Tom


PS: The following shows my complete exim config.



######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################



primary_hostname = hostname.mydomain.net

qualify_domain = mydomain.net

# qualify_recipient =

local_domains = mydomain.net:hostname.mydomain.net:localhost

# local_domains_include_host_literals

forbid_domain_literals

exim_user = exim
exim_group = mail
never_users = root

host_accept_relay = 127.0.0.1 : localhost : 192.168.0.0/24

relay_domains = mydomain.net

# host_lookup = *

# receiver_verify

# sender_verify

# rbl_domains = blackholes.mail-abuse.org
# rbl_domains = blackholes.mail-abuse.org:dialups.mail-abuse.org

# percent_hack_domains = *

ignore_errmsg_errors_after = 2d

timeout_frozen_after = 7d




######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################


# This transport is used for delivering messages over SMTP connections.

remote_smtp:
driver = smtp

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





######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
user = exim
group = mail
file_transport = address_file
pipe_transport = address_pipe

userforward:
driver = forwardfile
file = .forward
no_verify
no_expn
check_ancestor
# filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
match_directory = !^/nonexistent


# This director matches local user mailboxes.

localuser:
driver = localuser
transport = local_delivery





######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################


smart_route:
transport = remote_smtp
driver = domainlist
route_list = "* smtp.myisp.net byname"
# host_find_failed = defer




######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################


*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com