logging outgoing mails in mailserver?????
hello!!!
we need to keep a backup of outgoing mails((not incoming to an account)) through our smtp mail server...how could that be made possible?? any solutions?? we are using sendmail... |
Use "Synonym" for this purpose. using that you can log all outgoing mails to one specific account or even can log outgoing mails to per user basis.
|
what;s that??
what is Synonym n how can we implement it in our mail server...
please be kind enough to reply..... |
Use the following link:
http://http://www.modulo.ro/Modulo/e...s/Synonym.html My Distro was RHEL4 with sendmail as MTA and procmail as LDA. |
Quote:
It should be http://www.modulo.ro/Modulo/en/Products/Synonym.html |
oops sorry.
|
hello!!! thanks a lot!!!
but the synonym(stable version) couldnot be installed using tar package coz command `make' and make install didnot work i wonder why?? so i did install the synonym rpm package..and it did install.... now when i modified the /etc/mail/sendmail.mc as instruted in the README file.i.e by adding two lines define('_FFR_MILTER', "true') INPUT_MAIL_FILTER'Synonym', 'S=local:/var/run/synonym/synonym.sock, T=C:10m;S:1s;R:1s;E:5m') and did m4 <sendmail.mc > sendmail.cf and restarted sendmail,it gave the following errors "cannot stop smclient "/var/run/synonym/synonym.sock missing" cannot start sm client..... tried my level best to fix the problem but didnot work.. what should i do???? kindly provide some solutions........ thank you |
Quote:
Code:
define(`_FFR_MILTER', `true') |
ummmm the bracket is missing only here...in the sendmail.mc file it s all right,.....but still it is generating the pre stated errors....
|
so what can i do next?? help me out plz>>>
|
hello!!!
i did up to service synonym restart as stated in the README file... actually now it is generating errors "cannot generate or build synonym.conf file when i tried to start the synonym by doing "service synonym start". actually the synonym.conf file was commented out by using <--! in the beginning and --> ih the end..n i remove them for uncommenting .... but it still generated the error cannot build or generate the synonym.conf file..... actually also it is not creating synonym.sock file in /var/run/synonym directory when i installed synonym using the rpm package. .as the make and make install command was generating errors relating to the synonym.c file.... and the synonym binary is also in the directory /usr/local/sbin instead of /usr/local/bin as stated in the README file..... m really having problem to start the synonym ....... plzzz suggest on this................ |
I just downloaded the rpm in RHEL4 and installed without a hitch. What distro you are using?
|
now i have successfully installed the synonym package in my red hat enterprise..for that i also downloaded the sendmail development package and installed it as well.and synonym created all the files as stated in the README file...and i also did modifiy the /etc/synonym.conf file according to our need exactly in this manner
<Rules> <Rule> <Condition> <Header>From</Header> <Match>*.@sytem.info.com.np</Match> </Condition> <Action> <ActionType>Copy</ActionType> <Address>niks@system.info.com.np</Address> </Action> </Rule> </Rules> so this should copy all the mails sents from @system.info.com.np to address niks@system.info.com.np if m not wrong...but the synonym is not copying it... i wonder why.. have done both service synonym restart and service sendmail restart...but it;s still not copying...... anything more i need to do or modify ???? please give some ideas and suggestions to make it work...... thanks!!!! |
mission accomplised
today it worked!!!
synonym does work... thanks a lot !!!! u helped me solved my problem.. thanks |
Glad it worked.
It took me days to find out this solution. You will even find a post of mine here regarding this. :) |
All times are GMT -5. The time now is 07:16 AM. |