Thank You Merlin,
   i modified the .forward file as per your suggestion, and the auto
   answer now works as expected, withouf the "secondary" mail from
   Debian-exim.
   This is the final .forward contents:
   if personal then
   mail to $reply_address
   from "myaddress@mydomain"
   subject "I am on holiday - Auto Answer"
   file /var/spool/mail/example.com/user/.vacation.msg
   endif
   luciano

   Il 08/05/2016 16:05, [1][email protected] ha scritto:

I think it is because you have put the word 'mail' twice...

--
Merlin Hartley



On 8 May 2016, at 11:17, Luciano Rinetti [2]<[email protected]> 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 [3]https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at [4]http://www.exim.org/
## Please use the Wiki with this list - [5]http://wiki.exim.org/

References

   1. mailto:[email protected]
   2. mailto:[email protected]
   3. https://lists.exim.org/mailman/listinfo/exim-users
   4. http://www.exim.org/
   5. http://wiki.exim.org/
-- 
## 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/

Reply via email to