Re: [exim] Unable to send mails from Mail Clients

Pàgina inicial
Delete this message
Reply to this message
Autor: cvkishore
Data:  
A: Marco Wessel
CC: exim-users
Assumpte: Re: [exim] Unable to send mails from Mail Clients


Thanks Mr. Marco.
 Here I pasted the exim.conf file
content.  Please provide the solution.

######################################################################
#                 
Runtime configuration file for
Exim              
#
######################################################################



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

 primary_hostname = mail.seec-india.com

domainlist
local_domains = seec-india.com : localhost
domainlist
relay_to_domains =
hostlist   relay_from_hosts = 127.0.0.1
: 202.62.73.67 : 10.20.0.0/255.255.0.0 


acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime

av_scanner =
clamd:/var/run/clamd.exim/clamd.sock

spamd_address = 127.0.0.1
783

tls_advertise_hosts = *


tls_certificate =
/etc/pki/tls/certs/exim.pem
tls_privatekey =
/etc/pki/tls/private/exim.pem


daemon_smtp_ports = 25 :
465 : 587
tls_on_connect_ports = 465


message_size_limit = 5M


never_users = root


host_lookup = *


rfc1413_hosts = *
rfc1413_query_timeout = 5s


ignore_bounce_errors_after =
2d


timeout_frozen_after = 7d

auth_advertise_hosts =


######################################################################
#                      
ACL
CONFIGURATION                           
#
#         Specifies access
control lists for incoming SMTP mail      #
######################################################################

begin acl


acl_check_rcpt:

accept hosts
=

  deny   
message       = Restricted characters in
address
         
domains       = +local_domains
         
local_parts   = ^[.] : ^.*[@%!/|]


 
deny    message       =
Restricted characters in address
         
domains       = !+local_domains
         
local_parts   = ^[./|] : ^.*[@%!] : ^.*/\\.\\./


  accept  local_parts   = postmaster
         
domains       = +local_domains


  require verify        =
sender


  accept 
hosts         =
+relay_from_hosts
         
control       = submission


  accept  authenticated = *
         
control       = submission


  require message = relay not permitted
          domains =
+local_domains : +relay_domains


  require verify =
recipient


  # At this point, the address has passed
all the checks that have been
  # configured, so we accept it
unconditionally.

  accept



acl_check_data:

warn message = X-Spam-Score: $spam_score
     spam = exim:true
warn message =
X-Spam-Report: $spam_report
     spam =
exim:true

warn message = Subject: **** SPAM **** ($spam_score)
$h_Subject
     spam = exim


  # And reject if the SpamAssassin score is greater than ten
  #
   deny    condition = ${if
>{$spam_score_int}{100} {1}}

          
message   = Your message scored $spam_score SpamAssassin point.
Report follows:\n\
       
$spam_report

  accept


acl_check_mime:

  # File extension filtering.
  deny message =
Blacklisted file extension detected
       condition = ${if match \
                       
{${lc:$mime_filename}} \
                       
{\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} \
                    
{1}{0}}

  accept


######################################################################
#                     
ROUTERS
CONFIGURATION                        
#
#              
Specifies how addresses are
handled                 
#
######################################################################

begin routers

dnslookup:
  driver =
dnslookup
  domains = ! +local_domains
  transport =
remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 :
10.20.0.0/255.255.0.0
  no_more


system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data =
${lookup{$local_part}lsearch{/etc/aliases}}
# user = exim
 
file_transport = address_file
  pipe_transport = address_pipe


userforward:
  driver = redirect
 
check_local_user
# local_part_suffix = +* : -*
#
local_part_suffix_optional
  file = $home/.forward
 
allow_filter
  no_verify
  no_expn
 
check_ancestor
  file_transport = address_file
 
pipe_transport = address_pipe
  reply_transport =
address_reply

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


localuser:
 
driver = accept
  check_local_user
# local_part_suffix = +*
: -*
# local_part_suffix_optional
  transport =
local_delivery
  cannot_route_message = Unknown user


######################################################################
#                     
TRANSPORTS
CONFIGURATION                     
#
######################################################################

begin transports


remote_smtp:
  driver
= smtp

procmail:
  driver = pipe
  command
= "/usr/bin/procmail -d $local_part"
 
return_path_add
  delivery_date_add
 
envelope_to_add
  user = $local_part
  initgroups
  return_output


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


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

begin retry


# Address or Domain   
Error       Retries
#
-----------------   
-----       -------

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



######################################################################
#                     
REWRITE
CONFIGURATION                        
#
######################################################################


begin rewrite



######################################################################
#                  
AUTHENTICATION
CONFIGURATION                    
#
######################################################################


begin authenticators



######################################################################
#                  
CONFIGURATION FOR
local_scan()                  
#
######################################################################




Thanks in Advance,
C V Kishore
Systems
Administrator
SEEC Technologies Asia Pvt. Ltd.


>>
>> On Mar 22, 2007, at 8:36 AM, cvkishore wrote:
>>
>>> But from mail clients

(outlook/thunderbird/evolution), I able to
>>> receive
>>> mails from all the domains but unable to send mails to

other domains
>>> except my domain(seec-india.com).
>>>
>>
>> It sounds a bit like you might

have an acl statement denying sender
>> addresses outside your

domain, or like you have sender verification
>> turned on and

are using unverifiable sender addresses.
>>
>>
>>> What could be the reason? Iam unable to find the problem.

Please
>>> help
>>> me to fix the problem.
>>
>> This is a bit hard to do without knowing your

configuration details.
>> Please paste the non-comment lines

from your exim.conf.
>>
>> --
>> ## List

details at http://www.exim.org/mailman/listinfo/exim-users
>>

## Exim details at http://www.exim.org/
>> ## Please use the

Wiki with this list - http://www.exim.org/eximwiki/
>>