I think it is because you have put the word 'mail' twice...
--
Merlin Hartley
> On 8 May 2016, at 11:17, Luciano Rinetti <l.rinetti@???> wrote:
>
> I am configuring may .forward file to have an auto answer message in
> this way:
> ...
> if personal then
> mail to $reply_address
> mail from myaddress@mydomain
> subject "I am on holiday - Auto Answer"
> file /var/spool/mail/example.com/user/.vacation.msg
> endif
> the auto answer message works, but it is sent also a mail from:
> Debian-exim@mydomain
> with no subject and no body
> to the sender.
> How can i avoid the mail from Debian-exim@mydomain to be sent ?
> Regards,
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users > ## Exim details at http://www.exim.org/ > ## Please use the Wiki with this list - http://wiki.exim.org/