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.

cpanel_exim_filter - how to auto delete mail?

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

  1. danieln

    danieln Member

    Joined:
    Jun 22, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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.
     
Loading...

Share This Page