[Exim] smtp

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Matt Fair
Date:  
À: exim-users
Sujet: [Exim] smtp
I can mail on my local host but cannot mail using netscape mail. I
want to use my server as a remote smtp server and the pop3 mail server.
When I try to send something using netscape, it says that I cannot
connect to it. I can telnet to port 25 on the server and it says:
220 netasolnetworks.com ESMTP Exim 3.12 #1 Fri, 05 Jan 2001 15:56:19
-0600
but I cannot connect to port 25 remotely.
What would be the problem?
Thanks in advance,

here is my exim.conf:
qualify_domain = netasolnetworks.com
# qualify_recipient =
local_domains = localhost:netasolnetworks.com
local_domains_include_host = true
local_domains_include_host_literals = true
relay_domains = netasol.com
#relay_domains_include_local_mx = true
never_users = root
#host_lookup =
# headers_check_syntax
#rbl_domains = rbl.maps.vix.com
#rbl_reject_recipients = false
#rbl_warn_header = true
host_accept_relay = localhost:netasolnetworks.com
# percent_hack_domains=*
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true

received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
end


local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
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 = ""
# maildir_format

procmail_pipe:
driver = pipe
command = "/usr/bin/procmail -d ${local_part}"
return_path_add
delivery_date_add
envelope_to_add
check_string = "From "
escape_string = ">From "
user = $local_part
group = mail

remote_smtp:
driver = smtp

real_local:
prefix = real-
driver = localuser
transport = local_delivery

system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist


procmail:
driver = localuser
transport = procmail_pipe
require_files =
${local_part}:+${home}:+${home}/.procmailrc:+/usr/bin/procmail
no_verify

userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
modemask = 002
filter

localuser:
driver = localuser
transport = local_delivery

end

lookuphost:
driver = lookuphost
transport = remote_smtp

literal:
driver = ipliteral
transport = remote_smtp

end

# Domain               Error       Retries
# ------               -----       -------


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


end

*@netasolnetworks.com    ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} bcfrF