Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cpanel_exim_filter - how to auto delete mail?

Discussion in 'E-mail Discussion' started by danieln, Jan 27, 2011.

  1. danieln

    danieln Member

    Joined:
    Jun 22, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    51
    Hi,

    I have settings like

    if $sender_address is a@domain.com
    then
    unseen deliver b@domain.com
    endif

    which will auto forward the email sending from A to B. Now is there any command that I can auto delete the mails sending from A so that I is never sent out?

    much appreciated for your help.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello danieln,

    I'm uncertain I understand what you are wanting to do here. You want the email to delete before it is sent to b@domain.com? If you don't want it to send to that user, then why is the filter there in the first place?

    If you could provide an example of what is meant here.

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice