You are not logged in.

#1 2020-11-30 14:45:04

shams
Member
Registered: 2020-08-08
Posts: 22

exim error: user@localhost is undeliverable: Unknown user

I installed the exim in arch and configured according to the arch exim wiki now when test the exim cannot dilver the message to the local user mail box, the mail box for user is  in the /var/mail, when i telnet to the port 25 of localhost it is working and listening, in post is user but in the real command is my user name for my arch account. this is the test ouput:

# exim -d -bt user@localhost
Exim version 4.94 uid=0 gid=0 pid=1809 D=f7715cfd
Support for: crypteq iconv() IPv6 PAM OpenSSL Content_Scanning DANE DKIM DNSSEC Event I18N OCSP PIPE_CONNECT PRDR SPF TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm sqlite
Authenticators: cram_md5 dovecot plaintext spa tls
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
Compiler: GCC [10.2.0]
Library version: Glibc: Compile: 2.32
                        Runtime: 2.32
Probably GDBM (native mode)
Library version: OpenSSL: Compile: OpenSSL 1.1.1h  22 Sep 2020
                          Runtime: OpenSSL 1.1.1h  22 Sep 2020
                                 : built on: Tue Sep 22 14:59:44 2020 UTC
Library version: IDN2: Compile: 2.3.0
                       Runtime: 2.3.0
Library version: Stringprep: Compile: 1.36
                             Runtime: 1.36
Library version: spf2: Compile: 1.2.10
                       Runtime: 1.2.10
Library version: PCRE: Compile: 8.44
                       Runtime: 8.44 2020-02-12
Total 15 lookups
Library version: SQLite: Compile: 3.33.0
                         Runtime: 3.33.0
WHITELIST_D_MACROS unset
TRUSTED_CONFIG_LIST unset
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=1809
  auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
configuration file is /etc/mail/exim.conf
log selectors = 0000cffc 19005022 00000003
trusted user
admin user
dropping to exim gid; retaining priv uid
originator: uid=0 gid=0 login=root name=
sender address = root@user.eu.org
Address testing: uid=0 gid=79 euid=0 egid=79
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing user@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering user@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing user@localhost
--------> dnslookup router <--------
local_part=user domain=localhost
checking domains
localhost in "@ : localhost: userme.user.eu.org: user.eu.org: user.linkpc.net : user.be.eu.org : user.de.eu.org"? yes (matched "localhost")
data from lookup saved for cache for +local_domains: key 'localhost' value 'localhost'
localhost in "! +local_domains"? no (matched "! +local_domains")
dnslookup router skipped: domains mismatch
--------> system_aliases router <--------
local_part=user domain=localhost
calling system_aliases router
rda_interpret (string): '${lookup{$local_part}lsearch{/etc/mail/aliases}}'
 search_open: lsearch "/etc/mail/aliases"
 search_find: file="/etc/mail/aliases"
   key="user" partial=-1 affix=NULL starflags=0 opts=NULL
 LRU list:
   9/etc/mail/aliases
   End
 internal_search_find: file="/etc/mail/aliases"
   type=lsearch key="user" opts=NULL
 file lookup required for user
   in /etc/mail/aliases
 lookup failed
expanded: ''
file is not a filter file
parse_forward_list: 
system_aliases router declined for user@localhost
--------> userforward router <--------
local_part=user domain=localhost
checking for local user
seeking password data for user "user": cache not available
getpwnam() succeeded uid=1000 gid=1000
alling userforward router
rda_interpret (file): '$home/.forward'
expanded: '/home/user/.forward'
stat(/home/user/.)=0
/home/user/.forward does not exist
userforward router declined for user@localhost
--------> localuser router <--------
local_part=user domain=localhost
localuser router skipped: suffix mismatch
no more routers
user@localhost is undeliverable: Unknown user
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=1809 (fresh-exec) terminating with rc=2 >>>>>>>>>>>>>>>>

I also use my virtual domain instead of localhost but got the above error.

Offline

Board footer

Powered by FluxBB