I'll answer to myself.

The problem was related to the FROM value and not the AUTH option value.
The smarthost (who has the domain2 as local domain) checked for the
username [EMAIL PROTECTED] into its users before it accepted the email, and
since the user was not there, it rejected the email.

Now the problem is solved.

Regards,

Federico Petronio wrote:
> Hello,
>
> I write to you to ask for help in the following subject: I had
> configured an Exim MTA under Debian 3.1 to work in mode "mail sent by
> smarthost; received via SMTP or fetchmail". I need the server to send
> all emails to external domains to a smarthost (which requires AUTH
> PLAIN) and the emails to local accounts to be kept in the server.
>
> After some testing I notice that the emails are not delivered to the
> smarthost and they bounce with this error:
>
> ---
> This message was created automatically by mail delivery software.
>
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
> [EMAIL PROTECTED]
> SMTP error from remote mailer after MAIL FROM:<[EMAIL PROTECTED]> SIZE=1376
> [EMAIL PROTECTED]:
> host smtp.domain3 [xxx.xxx.xxx.xxx]:
> 554 Sorry, no mailbox here by that name. (#5.1.1)
> ---
>
>
> Where [EMAIL PROTECTED] is the original recipient, [EMAIL PROTECTED]
> is the local account that executed the "mail" command to send the email,
> and smtp.domain3 is the smarthost.
>
> Is there any way to disable that option and use plain MAIL FROM
> commands? What is that option intended to? It's not clear to me why Exim
> set "[EMAIL PROTECTED]" in the AUTH option event when the
> authentication was made with some other username.
>
> Thank you very much in advance for any help.
>
> Regards,
>   

-- 
                                        Federico Petronio
                                        [EMAIL PROTECTED]


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to