Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have configured POSTFIX mail server in REDHAT LINUX
also configured fetchmailrc which download mail from particular domain and save to local user's local mail box[downnload individual mail box in remote server also save to local individual mailbox]
OK now i got mail from remote mailserver and saved local mail box.fine
Mail sending through Postfix ok. Well.
I enabled "Always_bcc = allmail" in postfix main.cf
So all send and recive mail make a copy to "allmail" user's mail box
MY PROBLEM [Needed] is:
Certain group of users [like 10 users or may be more than 10 users ]mails both Sending and Receiving should make a copy to a single user mail box[ eg., username as "tenusers"]
so i can see that 10 user's sending and receiving mail by that user [tenusers] mail box.
can i do it?
if there is any possibility in main.cf?
can i do it with Procmailrc? if yes pls give the example and where i have to save that file?
fetchmail from remote site and put to appropriate locate Linux user mail box.
r
recipient_bcc_maps is ok when mail is reciving from local linux user and send to [ie., transfer to another local user by MTA (postfix)] another local linux user.
at the same time fetched mails [by .fetchmailrc] ONLY send to appropriate users mail box who is mentioned in .fetchmailrc file . i think it never check /etc/postfix/recipient_bcc file for to deliver common user or monitoring user or who want to get one or more users mail copy.
so i couldn't get another [never add bcc for reciving (fetched mails)mail] copy of the same mail to common user or monitoring user or who want to get one or more users mail copy.
i cheked by stoping postfix that time mails are not delivered even local user also.
so after mail fetched from remote server where it has gone .
but mail is deliver to excact user who is noted in .ferchmailrc file
fetchingmail from remote site and put to appropriate local Linux user mail box.
recipient_bcc_maps is ok when mail is reciving from local linux user and send to [ie., transfer to another local user by MTA (postfix)] another local linux user.
at the same time fetched mails [by .fetchmailrc] ONLY send to appropriate users mail box who is mentioned in .fetchmailrc file . i think it never check /etc/postfix/recipient_bcc file for to deliver common user or monitoring user or who want to get one or more users mail copy.
so i couldn't get another [never add bcc for reciving (fetched mails)mail] copy of the same mail to common user or monitoring user or who want to get one or more users mail copy.
i cheked by stoping postfix that time mails are not delivered even local user also.
so after mail fetched from remote server where it has gone? .
but mail is deliver to excact user who is noted in .ferchmailrc file
With a minimal fetchmail configuration, mail comes in with an envelope address of the form user@localhost, which postfix then rewrites to user@localhost.mysite.com. The key (i.e. the left side) of the recipient_bcc table must match this address. An easy solution for recipient_bcc is:
postfix does not care which kernel you use. But, RPM binaries are compiled in a particular environment, and may not work outside of it. Make sure that you install an RPM made specifically for Redhat 9. If this is a production system, you might seek advice from someone who uses Redhat.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.