Re: [exim] Mail from and lmtp transport

Pàgina inicial
Delete this message
Reply to this message
Autor: Alexey Danilevsky
Data:  
A: exim-users
Assumpte: Re: [exim] Mail from and lmtp transport
I do not think that looking at routers will be helpful, because the
routers really work. But anyway.

Routers:


dspam_router:
  no_verify
  senders = !administrator@???: !support@???: !admin_startip@???
  domains = +hosting_domains
  condition = ${if and {{!eq {$received_protocol}{spam-scanned}} \
                        {!eq {$received_protocol}{local}} \
                        {eq {DSPAM_CHECK}{TRUE}} \
                        } \
                        {yes}{no}}
  driver = accept
  errors_to =
  require_files = /usr/local/bin/dspam:+/usr/local/bin
  transport = dspam_spamcheck
  no_more



local_user:
    driver = accept
    domains = +hosting_domains
    condition = CHECK_LOCAL_USER
    transport = local_smtp
    cannot_route_message = Unknown user



Transports:

local_smtp:
    driver = smtp
    hosts = 213.59.11.3


dspam_spamcheck:
    driver = lmtp
    user = mailnull
    group = mail
    socket = /var/run/dspam.sock


and debugs are in attachment.

В Птн, 23/03/2007 в 09:31 +0000, Philip Hazel пишет:
> On Fri, 23 Mar 2007, Alexey Danilevsky wrote:
>
> > I came across a problem with lmtp-transport. When message is deliverd by
> > this transport it does not transfer real sender's address. That is in
> > MAIL FROM command only <> instead of <address@???>. But smtp
> > trasport with protocol smtp transfers sender's address normally. I can't
> > imagine what the promlem is.
>
> You showed your transports, but not the routers. How do you route to
> this transport? It would be helpful to see *all* of the debugging
> output.
>