Hoping someone can help me for this
I need all incoming and outgoing mail forwarding to any other gmail account
How to do outgoing fw. ?
we are using
cPanel 11.24.4-S34960
WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard
Hoping someone can help me for this
I need all incoming and outgoing mail forwarding to any other gmail account
How to do outgoing fw. ?
we are using
cPanel 11.24.4-S34960
WHM 11.24.2 - X 3.9
CENTOS 5.3 i686 standard
It is not possible to forward outgoing mails from cpanel.
You can use the option forward options under your cpanel>>mail>>Forwarders to froward the incoming mails.
Not entirely accurate...
From within cPanel, no. But it's fairly simple to do...
A) your email program's outgoing mail server must use your cPanel server. If you use your ISP mail server to send mail, you can't do any processing on it.
B) configure your server to copy all email to the third account. There are several ways to do this, but the easiest to maintain is by installing MailScanner.
I highly recommend using the mailscanner stuff that configserver.com provides.
In any case, if you go this route, it's as simple as using the mailscanner 'archive' features to capture the email and forward it thusly:
in the 'archive.rules' file:
FromOrTo: *origin-domain.com address@sent-to-domain.com
This grabs email that is addressed From or To any address of origin-domain.com and sends it to address@sent-to-domain.com
you mean this is allowing only from email program's not into webmail right ??
If you set this up and use webmail, it will also capture those outgoing messages.
Hi,
I read a post from http://forums.cpanel.net/f43/want-sa...er-108285.html
And I tested it and it is working , maybe you could have a read and test it out![]()
That method will work too.... it's a lot more work, though.
i have seen that thread
but i think that script is made only for domain.com
in my server there are 400 account created & more than 1000 email accounts
what about other domains & email accounts
in my server there are more than 150 domains are hosted e.g mydomain.com , mydomain.org , testdomain.com , testing.com
In mydomain.com there 5 email accounts
test1@mydomain.com
test2@mydomain.com
test3@mydomain.com
test4@mydomain.com
test5@mydomain.com
all email which are sent from those ids must be copy to monitor@mydomain.com
test1@testdomain.com
test2@testdomain.com
test3@testdomain.com
test4@testdomain.com
test5@testdomain.com
all email which are sent from those ids must be copy to Owner@testmydomain.com
Where do I find this archive.rules file? I have mailscanner updated and cannot find it anywhere
Regards
on my system (centos, but should be true elsewhere I think):
/usr/mailscanner/etc/rules/archive.rules
Having said that, you can set where rules are stored by modifying the mailscanner configuration file. I HIGHLY recommend getting the MailScanner Front End from ConfigServer.com
I only have this archives:
[root@server1 rules]# ls
bounce.rules filename.rules.rules max.message.size.rules spam.action.rules spamhigh.action.rules spam.scanning.rules spam.whitelist.rules virus.scanning.rules
EXAMPLES filetype.rules.rules README spam.blacklist.rules spamhigh.score.rules spam.score.rules virus.delivery.rules
I have the most recent version of mailscanner and they can be viewed on the GUI in WHM thats why I asked. Then which file must be modified?
Regards
archive.rules will be the filename...
Is it enabled in the config? Have you verified the path for the archive.rules file in the config? It's possible to set a different path for each rule file.
It follows the same internal structure as the other files, such that:
Will send any email in/out of domain.com to address@otherdomain.comCode:FromOrTo: *domain.com address@otherdomain.com FromOrTo: default no
Yes I do not have that file under:
/usr/mailscanner/etc/rules
or anywhere on my server, as I stated I am using the latest version of configserver mailscanner with the front end attached to cpanel =o(
Maybe this file is depreciated in later versions