The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim and marking catchall emails (in the header)

Discussion in 'E-mail Discussions' started by floppyfringe, Aug 27, 2010.

  1. floppyfringe

    floppyfringe Active Member

    Jan 21, 2010
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Ok lets say I have and and they're both mailboxes.

    The catchall's goes to

    If someone sends an email to I want something along this (haven't checked this script works!!):

    if ($recipients: contains ""
    or $recipients: contains "") then
    headers add "X-Mail: Mailbox"
    headers add "X-Mail: Forwarder"
    headers add "X-CA: Yes"

    The problem is I dont want to have to add mailboxes to tell the script which mailboxes are mailboxes or if they are fowarders/catchall's etc etc

    Anyone with a far better knowledge of exim have any pointers?

    The aim is to have the fact the email was caught was because it was a catch all (and most likely to be junk, but i don't want it in my inbox, with the header info, it can be put into a lower priority folder, leaving my inbox to be stuff sent to, and i'd rather not have a catchall mailbox which i'll forget to check.


Share This Page