Yes, but don’t understand why works just fine from outside, but internaly
isn’t working, I don’t want to create system users.



On Mon, 20 Nov 2017 at 17:16 Gilles Chehade <gil...@poolp.org> wrote:

> On Mon, Nov 20, 2017 at 02:13:17PM -0300, Gonzalo wrote:
> > Hello,
> >
> > I am having problems sending mails to self user.
> >
> > [...]
> >
>
> this is the relevant rule:
>
> > # Accept mail sent from local server to a local account
> > accept from local \
> >         for local alias <aliases> \
> >         deliver to mda "/usr/local/bin/rspamc --mime --exec \"
> > /usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{dest}\""
> >
>
>
> as pinpointed by the -T rules output:
>
> > rule matched: accept from <localhost> for  domain <localnames> alias
> > aliases deliver to mda "/usr/local/bin/rspamc --mime --exec "
> > /usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{dest}""
>
>
> and the following message makes it obvious what the error is:
>
> > expand: lka_expand: username: cecilia [depth=1]
> > expand: lka_expand: user-part does not match system user
> > expand: 0x2c298604018: clearing expand tree
> > 758fea245ad52499 smtp event=failed-command address=127.0.0.1
> host=localhost
> > command="RCPT TO:<ceci...@foobar.com>" result="550 Invalid recipient"
> >
> > [...]
> >
> > Any ideas?
> >
>
> I'll take the wild guess that  the user 'cecilia' does not exist on the
> system ?
>
>
> --
> Gilles Chehade
>
> https://www.poolp.org                                          @poolpOrg
>
-- 
Enviado desde mi tostadora de mano...

Reply via email to