Skip to main content

send/receive via forwarder email

Comments

9 comments

  • cPanelMichael
    Hello :) Rather than setting up a forwarder, you could utilize the "Email Filtering" option in cPanel after creating the email account: Email Filters - Documentation - cPanel Documentation Setup a rule to redirect the email sent to the first address, and then have the additional rule discard the message. This document helps to explain how filter rules work: How to Configure Mail Filters - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • mislisa
    I should mention that all mail (in or out) gets forwarded to the other addresses. it'a weird setup but it works for us. I like having the emails simply forwarded without having to risk missing one with the filters. I've tried setting up a filter to delete all emails, but as there are so many emails coming/going many get missed and pile up.
    0
  • cPanelMichael
    I've tried setting up a filter to delete all emails, but as there are so many emails coming/going many get missed and pile up.

    What specific filter rule did you implement? Also, what method are you using to forward mails that your account sends out? Please provide the full details of your current filter rules. Thank you.
    0
  • mislisa
    What specific filter rule did you implement? Also, what method are you using to forward mails that your account sends out? Please provide the full details of your current filter rules. Thank you.

    The filter rule states that if the recipient of incoming mail matches sara@mydomainname.com OR john@mydomainname.com etc. the message is to be deleted. I have also applied the rule that if the sender matches sara@mydomainname.com OR john@mydomainname.com etc. the message is to be deleted. Emails still slip through though. I am using tampermonkey with gmail to allow outgoing emails to be auto carbon-copied to the other staff. - if Sara writes an email, John is automatically sent a copy. In cPanel, i have it set up that mail coming to sara@mydomainname.com is forwarded to her gmail, as well as to John. John's is set up to do the same. we have 5 emails doing this. Right now, we can use our gmail to send as sara@mydomainname.com. I have the new email set up to do the same, but it doesn't want to work when just set up as a forwarder. I really don't understand why it works for the older accounts but not for the newer.
    0
  • cPanelMichael
    I have the new email set up to do the same, but it doesn't want to work when just set up as a forwarder. I really don't understand why it works for the older accounts but not for the newer.

    You have to create the actual email accounts, not just a forwarder, if you want the email address to authenticate via SMTP. Custom filter rules are the only real method of ensuring the email is discarded after it's forwarded. The other option is to setup a cron job that deletes the email files from the appropriate directories. Thank you.
    0
  • mislisa
    You have to create the actual email accounts, not just a forwarder, if you want the email address to authenticate via SMTP. Custom filter rules are the only real method of ensuring the email is discarded after it's forwarded. The other option is to setup a cron job that deletes the email files from the appropriate directories. Thank you.

    It's strange that it's allowing the other 4 emails to send without having a mailbox. oh well. :) Can you walk me through setting up a cron job to delete emails from the one mailbox? I've looked at that, but am not sure how to set that up without messing something up. Thanks!
    0
  • cPanelMichael
    It's strange that it's allowing the other 4 emails to send without having a mailbox.

    Are you authenticating with the email account username and password, or with the cPanel username and password? The following thread should help with the cron job: Possible to auto delete old emails after x number of days? Thank you.
    0
  • mislisa
    Are you authenticating with the email account username and password, or with the cPanel username and password?

    I'm actually not sure, and i don't really want to go poking around in my gmail setting in case i mess something up. the 4 older emails work perfectly.
    The following thread should help with the cron job: Possible to auto delete old emails after x number of days?

    That thread is very confusing for me... is there any way you can post a script for deleting emails over 2 days old from sara@mydomainname.com?? I'm not great with coding, and 3 pages of people saying that this or that doesn't work just makes it worse.
    0
  • cPanelMichael
    That thread is very confusing for me... is there any way you can post a script for deleting emails over 2 days old from sara@mydomainname.com[/EMAIL]?? I'm not great with coding, and 3 pages of people saying that this or that doesn't work just makes it worse.

    The following post shows a custom script that removes all email for an email account, and the post below shows how to configure the cron job: Having issues getting cron job to work There's a third-party URL here that may help you to modify the script to only delete emails over a certain age: How to delete all files older than 3 days when "Argument list too long"? Thank you.
    0

Please sign in to leave a comment.