[Exim] Unable to relay

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: philt
Data:  
Para: exim-users
Assunto: [Exim] Unable to relay
I am certain that this is a newbie kind of question but I have bought the book and read quite
a bit of it and the docs. Here is the issue.
I am running suse 8.2 and exim 4.12-79

2003-11-06 00:20:04 1AHcYt-0000Y5-00 Completed
2003-11-06 00:20:04 1AHcYu-0000Y8-00 ** philt@??? R=dnslookup
T=remote_smtp: SMTP error from remote mailer after RCPT
TO:<philt@???>: host redoakhealthcare.com [192.168.1.240]: 550 5.7.1
Unable to relay for philt@???
2003-11-06 00:20:04 1AHcYu-0000Y8-00 Frozen (delivery error message)

Here is another list of my favorites

2003-11-06 00:18:48 H=(oldwebserv2.absolute-net.com) [12.47.77.10]
F=<philt@???> rejected RCPT <ptroyer@???>:
relay not permitted
2003-11-06 00:20:03 1AHcYt-0000Y5-00 <= philt@???
H=redoak1.redoakhealthcare.com (redoak1) [192.168.1.51] P=smtp S=1384
id=005b01c3a3c0$efcd3fc0$3301a8c0@???
2003-11-06 00:20:04 1AHcYt-0000Y5-00 ** ptroyer@??? R=dnslookup
T=remote_smtp: SMTP error from remote mailer after RCPT
TO:<ptroyer@???>: host redoakhealthcare.com [192.168.1.240]: 550
5.7.1 Unable to relay for ptroyer@???


My config file is prettly much out of the box. I added my local domains and subdirectories.
Odd that earlies I was able to email internally in the local domain and send mail out. I tried
to fix things multiple ways allways with a copy of the default file in backup. Now when I try
to mail to an external Address I get this.

2003-11-06 01:05:19 1AHdGh-0000aD-00 ** philt@???
<philt@???> R=dnslookup T=remote_smtp: SMTP error from remote mailer after
RCPT TO:<philt@???>: host redoakhealthcare.com [192.168.1.240]: 550
5.7.1 Unable to relay for philt@???
2003-11-06 01:05:19 1AHdGh-0000aG-00 <= <> R=1AHdGh-0000aD-00 U=mail P=local
S=2420

Here is a cooked down version of my config.



MAILMAN_HOME=/usr/local/mailman
MAILMAN_WRAP=MAILMAN_HOME/mail/mailman

MAILMAN_USER=mailman
MAILMAN_GROUP=mailman

primary_hostname = redmail.redoakhealthcare.com

domainlist local_domains = @ : dnh.redoakhealthcare.com : ckcc.redoakhealthcare.com :
cc.redoakhealtcare.com : hcv.redoakhealthcare.com : hh.redoakhealthcare.com :
tt.redoakhealthcare.com
domainlist relay_to_domains =
hostlist relay_from_hosts = 127.0.0.1 : 192.168.1.0/24
acl_smtp_rcpt = acl_check_rcpt
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 30s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d

begin acl

acl_check_rcpt:

accept hosts = :

  accept  local_parts   = postmaster
          domains       = +local_domains


require verify = sender

  accept  domains       = +local_domains
          endpass
          message       = unknown useradmin
          verify        = recipient


  accept  domains       = +relay_to_domains
          endpass
          message       = unrouteable address
          verify        = recipient


accept authenticated = *

  deny    message       = relay not permitted


begin routers

mailman_router:
    driver = accept
    require_files = MAILMAN_HOME/lists/$local_part/config.pck
    local_part_suffix_optional
    local_part_suffix = -bounces : -bounces+* : \
                        -confirm+* : -join : -leave : \
                        -owner : -request : -admin
    transport = mailman_transport


dnslookup:
driver = dnslookup
domains = ! +local_domains
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
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
file = $home/.forward
no_verify
no_expn
check_ancestor
# allow_filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

localuser:
driver = accept
check_local_user
transport = local_delivery


begin transports

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

mailman_transport:
    driver = pipe
    command = MAILMAN_WRAP \
              '${if def:local_part_suffix \
                    {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
                    {post}}' \
              $local_part
    current_directory = MAILMAN_HOME
    home_directory = MAILMAN_HOME
    user = MAILMAN_USER
    group = MAILMAN_GROUP



#
address_pipe:
driver = pipe
return_output

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add

address_reply:
driver = autoreply

begin retry

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


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



begin rewrite


Thank you for any help you can give me.
--
Absolute Internet Services (http://www.aiserve.net)