Re: [exim] local user can't receive email - Unknown user and…

Top Page
Delete this message
Reply to this message
Author: sam
Date:  
To: Exim Users
Old-Topics: Re: [exim] local user can't receive email - added definition in Transport
Subject: Re: [exim] local user can't receive email - Unknown user and Message is frozen.
sam wrote:

> sam wrote:
>
>> Dick Davies wrote:
>>
>>> * sam <sam.wun@???> [1036 10:36]:
>>>
>>>
>>>
>>>>> I have installed exim 4.42, and authenticaiton with cyrus-imapd22.
>>>>> It won't be the problem wth imap, becaues I can send email to
>>>>> external mail server, but can't receive any email.
>>>>>
>>>>
>>>>
>>>
>>> IMAP isn't involved in sending, so it probably is an IMAP issue.
>>>
>>>
>>>
>>>
>>>> --------> userforward router <--------
>>>> local_part=john domain=mydot.com
>>>> checking for local user
>>>> userforward router skipped: john is not a local user
>>>>
>>>
>>>
>>>
>>> What does this router look like? I'd guess it's checking valid_user,
>>> but the imap account isn't a system account, or something like that.
>>>
>>>
>>>
>> Hi,
>>
>> I m not sure where in the configure file define the routing, anyway,
>> a quick look in the configure file yield the the following Routers
>> Configuration:
>> dnslookup:
>> driver = dnslookup
>> domains = ! +local_domains
>> transport = remote_smtp
>> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>> no_more
>>
>> 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
>> condition = ${if exists{$home/.forward} {yes} {no} }
>>
>> localuser:
>> driver = accept
>> # check_local_user
>> # local_part_suffix = +* : -*
>> # local_part_suffix_optional
>> transport = local_delivery_lmtp
>> # cannot_route_message = Unknown user
>>
>> Is there anything look weird or need to be modified?
>>
>> Thank you for the replies.
>> Sam.
>>
>>
> Hi,
> I forgot include the change in Transport:
> local_delivery_lmtp:
> driver = smtp
> protocol = lmtpunix
> hosts_override
> hosts = localhost
> allow_localhost
> return_path_add
>
> This is the place calling cyrus?
>
> Thanks
> sam
>
>

Hi
Here is more error in the log:
2004-10-12 21:41:32 exim 4.42 daemon started: pid=14762, -q30m,
listening for SMTP on port 25 (IPv6 and IPv4)
2004-10-12 21:41:32 Start queue run: pid=14763
2004-10-12 21:41:32 1CHMb4-0003n7-9a ** john@???: Wonderful -
Unknown user
2004-10-12 21:41:32 1CHMb4-0003n7-9a Frozen (delivery error message)
2004-10-12 21:41:32 1CHIqs-00034S-8A Message is frozen
2004-10-12 21:41:32 1CHITq-0002ju-Kq Message is frozen
2004-10-12 21:41:32 1CHIVh-0002sq-5D Message is frozen
2004-10-12 21:41:33 1CHINv-0002aO-OI Message is frozen
2004-10-12 21:41:33 1CHINt-0002aO-J7 Message is frozen
......
---sniped----
2004-10-12 21:41:33 End queue run: pid=14763
2004-10-12 21:42:27 H=([192.168.4.235]) [192.168.4.235] sender verify
fail for <john@???>: Wonderful - Unknown user
2004-10-12 21:42:27 H=([192.168.4.235]) [192.168.4.235]
F=<john@???> rejected RCPT <sam.wun@???>: Sender verify failed
2004-10-12 21:42:36 unexpected disconnection while reading SMTP command
from ([192.168.4.235]) [192.168.4.235]

Here is the change I made in the Router Config:
localuser:
driver = accept
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
transport = local_delivery_lmtp
cannot_route_message = Wonderful - Unknown user

Thanks
Sam