Re: [exim] 550 Unknown user

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kris Monstad
Dátum:  
Címzett: Odhiambo G. Washington, Kris Monstad, exim-users
Tárgy: Re: [exim] 550 Unknown user
Hi there,

Thanks for the response! Our configuration is as follows (I cant explain
any of the logic behind anything in it - Ive just been introduced to the
whole thing...) :

primary_hostname = centos.domain.co.uk
domainlist local_domains = 
@:domain.co.uk:domain.com:domain2.com:domain3.co.uk
domainlist relay_to_domains =
hostlist   relay_from_hosts = 127.0.0.1:*.domain.co.uk:<IP address>/24
system_filter = /etc/exim/filter
addresslist black_senders = lsearch*;/etc/exim/black_senders
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 = :
  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
  accept  domains       = +local_domains
          endpass
          verify        = recipient
  accept  domains       = +relay_to_domains
          endpass
          verify        = recipient
  accept  hosts         = +relay_from_hosts
  accept  authenticated = *
  deny      message       = relay not permitted
acl_check_mime:
  warn decode = default
  deny message = Blacklisted file extension detected
       condition = ${if match \
                        {${lc:$mime_filename}} \
                        {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} \
                     {1}{0}}
  deny message = Sorry, noone speaks chinese here
       condition = ${if eq{$mime_charset}{gb2312}{1}{0}}
  accept
acl_check_content:
  deny  message = This message contains malware ($malware_name)
        malware = *
  warn  message = X-Spam-Score: $spam_score ($spam_bar)
        spam = nobody:true
  warn  message = X-Spam-Report: $spam_report
        spam = nobody:true
  warn message = X-Spam-Flag: YES
       spam = nobody
  deny  message = This message scored $spam_score points. Congratulations!
        spam = nobody:true
        condition = ${if >{$spam_score_int}{100}{1}{0}}
  accept
begin routers
govaninitiative:
  driver = manualroute
  domains = govan-initiative.co.uk
  transport = remote_smtp
  route_list = * 10.1.30.9
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}}
  file_transport = address_file
  pipe_transport = address_pipe
userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  no_verify
  no_expn
  check_ancestor
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
procmail:
  debug_print = "R: procmail for $local_part@$domain"
  driver = accept
  domains = +local_domains
  check_local_user
  transport = procmail_pipe
  require_files = ${local_part}:\
                  ${if exists{/etc/procmailrc}\
                    {/etc/procmailrc}{${home}/.procmailrc}}:\
                  +/usr/bin/procmail
  no_verify
  no_expn
localuser:
  driver = accept
  check_local_user
transport = maildir_delivery
  cannot_route_message = Unknown user
begin transports
maildir_delivery:
  driver = appendfile
  directory = $home/Maildir/
  maildir_format
  create_directory
  delivery_date_add
  envelope_to_add
  return_path_add
  group = mail
  mode = 0660
  directory_mode = 0770
procmail_pipe:
  debug_print = "T: procmail_pipe for $local_part@$domain"
  driver = pipe
  path = "/bin:/usr/bin:/usr/local/bin"
  command = "/usr/bin/procmail"
  return_path_add
  delivery_date_add
  envelope_to_add
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
begin retry
*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,6h
begin rewrite
begin authenticators
-------------------------------------------------------------


Thanks again,
Kris Monstad



Odhiambo G. Washington wrote:
> * On 12/09/06 14:16 +0100, Kris Monstad wrote:
> |
> | Hi there,
> |
> | Ive got a problem with exim and I would greatly appreciate any help
> | offered...
> |
> | As of this weekend gone by, Ive been getting tons of "Message Frozen"
> | emails in my inbox. The mail seems to be addressed to our domain, but
> | with a bogus (and gibberish) username. Here is an example of the mail:
> |
> | Message 1GN7v5-0005t5-FC has been frozen (delivery error message).
> | The sender is <>.
> |
> | The following address(es) have yet to be delivered:
> | mpqbilrfv@???: SMTP error from remote mailer after RCPT TO:<mpqbilrfv@???>: host <IP address> [IP address]: 550 Unknown user
> |
> |
> | I assume this is some spam/bouncing issue, though I dont really know enough to be sure. Im new to using Exim (and mail servers in general), so forgive any ignorance (or re-posting an old subject).
>
>
> Hi Kris,
>
> Do this:
>
> egrep -v '^[[:space:]]*(#|$)' /usr/local/etc/exim/configure > my-exim.conf.txt
>
>
> Then show us my-exim.conf.txt, with some small explanation.
>
>
>
>         cheers
>        - wash 
> +----------------------------------+-----------------------------------------+
> Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
> wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
> GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
> GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
> +---------------------------------+------------------------------------------+
> "Oh My God! They killed init! You Bastards!"  
>                          --from a /. post

>