Skip to main content

filter for incoming gmail

Comments

5 comments

  • cPanelMichael
    Hello :) What's the specific error message in /var/log/exim_mainlog for messages that fail? Thank you.
    0
  • enboig
    There is no error. The filter simply fail to detect mails sent from gmail. I am using moodle and to allow users reply forums from mail, I must redirect all mail sent to "moodle+345....@domain.com" to moodle@domain.com. To achieve this I set a default address for all received mail, and created a filter to redirect all mail sent to "moodle+...@domain.com" to moodle@domain.com. It works when I send a mail from an account in the same server using thunderbird, but it fails for mails sent from gmail. I took the source from both messages, and gmail was not detected by the filter. The gmail source have a line full of spaces " " in the first line, if I remove this line and test pasting the new mail in cpanel, the filter recognizes it.
    0
  • cPanelMichael
    It seems like you may need to create an additional filter rule to account for the changes that Google makes to the message. You may need to consult with the Exim users mailing list if you don't receive additional user-feedback to this thread: Exim-users Info Page Thank you.
    0
  • enboig
    For future references, I was using default filters for mail, but there was no "default address" defined. Redirecting all mail to account mailbox solved the problem.
    0
  • cPanelMichael
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.