Re: [Users] Re: Postfix configuration for MM4 smtp interOperator
Thanks it works now. 2010/7/13 තිලානි අබේසිංහ|Thilani Abeysinghe a.thil...@gmail.com You may run it as chmod 777 /var/log/* ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: Postfix configuration for MM4 smtp interOperator
You need to give permision to Mbuni process to access /var/log/mmsclog.log file give permission to /var/log folder using chmod On Tue, Jul 13, 2010 at 9:03 AM, sokha pen pen.so...@gmail.com wrote: Dear All, now i got Postfix configuration working but another problem arrived access denied to log file Jul 13 11:14:56 localhost postfix/cleanup[11639]: 99CF8C2D7BD: message-id=20100713041443.99cf8c2d...@localhost.localdomain Jul 13 11:14:56 localhost postfix/qmgr[11396]: 99CF8C2D7BD: from=8551378687/type=p...@cadcom.com, size=423, nrcpt=1 (queue active) Jul 13 11:14:56 localhost postfix/pipe[11627]: 99CF8C2D7BD: to=855157878/type=p...@hello.com, relay=filter, delay=36, delays=36/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: 2010-07-13 11:14:56 [11643] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-07-13 11:14:56 [11643] [0] INFO: mmsfromemail.c:79 main [mmsfromemail] [n/a] 2010-07-13 11:14:56 [11643] [0] INFO: mmsfromemail.c:80 main [mmsfromemail] [n/a] MMSC Email2MMS/MM4 Incoming Tool version cvs-20100702 starting 2010-07-13 11:14:56 [11643] [0] ERROR: Couldn't open logfile `/var/log/mmsclog.log'. 2010-07-13 11:14:56 [11643] [0] ERROR: System error 13: Permission denied 2010-07-13 11:14:56 [11643] [0] ERROR: Couldn't open logfile `/var/log/mmsc-access.log'. 2010-07-13 11:14:56 [11643] [0] ERROR: System error 13: Permission denied 2010-07-13 11:14:56 [11643] [0] PANIC: Failed to initialise global queue directory: (null) - Permission denied! 2010-07-13 11:14:56 [11643] [0] Jul 13 11:15:01 localhost postfix/smtpd[11623]: disconnect from localhost.localdomain[127.0.0.1 does any have an idea to resolve this? Regards, sokha On Fri, Jul 9, 2010 at 4:42 PM, sokha pen pen.so...@gmail.com wrote: Dear All, I have fooling around with mbuni for some weeks, now i am can install and runing Mbuni , also configure as VAS gateway . it works so great that i am able to send /receive via MM7 now I would like to configure MMS gateway which allow MMSC to do MMS interconnect, however i still couldnt configure Postfix to route email to mmsfromemail . below is what i have done. 1- make script /usr/local/bin/content-filter with the following content: #!/bin/sh INSPECT_DIR=/var/spool/filter # Exit codes from sysexits.h EX_TEMPFAIL=75 EX_UNAVAILABLE=69 # Clean up when done or when aborting. trap rm -f in.$$ 0 1 2 3 15 # Start processing. cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; } cat in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; } mmsfromemail $@ in.$$ || { echo Message content rejected; exit $EX_TEMPFAIL; } exit $? 2- add route to /etc/postfix/main.cf relay_domains = mms.example.com transport_maps = hash:/etc/postfix/transport 3- catch email by adding following line to /etc/postfix/master.cf mms.example.com mbuni:dummy 4- add rule to master.cf # mbuni mbuniunix - n n - 10 pipe flags=Rq user=mbuni argv=/usr/local/bin/content-filter -f ${sender} -t ${recipient} /etc/mmsc.conf after then i have test sending email but there is nothing in log, so i think that postfix configuration does not work. my question: 1- do i miss some step? 2- is there any document on config postfix or sendmail for mbuni? 3- could you post some working sample for postfix or sendmail if you got one? Best Regards, sokha ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: Postfix configuration for MM4 smtp interOperator
Yes, i already run this command chmod 777 /var/log/ but it still give error. 2010/7/13 තිලානි අබේසිංහ|Thilani Abeysinghe a.thil...@gmail.com You need to give permision to Mbuni process to access /var/log/mmsclog.log file give permission to /var/log folder using chmod On Tue, Jul 13, 2010 at 9:03 AM, sokha pen pen.so...@gmail.com wrote: Dear All, now i got Postfix configuration working but another problem arrived access denied to log file Jul 13 11:14:56 localhost postfix/cleanup[11639]: 99CF8C2D7BD: message-id=20100713041443.99cf8c2d...@localhost.localdomain Jul 13 11:14:56 localhost postfix/qmgr[11396]: 99CF8C2D7BD: from=8551378687/type=p...@cadcom.com, size=423, nrcpt=1 (queue active) Jul 13 11:14:56 localhost postfix/pipe[11627]: 99CF8C2D7BD: to=855157878/type=p...@hello.com, relay=filter, delay=36, delays=36/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: 2010-07-13 11:14:56 [11643] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2010-07-13 11:14:56 [11643] [0] INFO: mmsfromemail.c:79 main [mmsfromemail] [n/a] 2010-07-13 11:14:56 [11643] [0] INFO: mmsfromemail.c:80 main [mmsfromemail] [n/a] MMSC Email2MMS/MM4 Incoming Tool version cvs-20100702 starting 2010-07-13 11:14:56 [11643] [0] ERROR: Couldn't open logfile `/var/log/mmsclog.log'. 2010-07-13 11:14:56 [11643] [0] ERROR: System error 13: Permission denied 2010-07-13 11:14:56 [11643] [0] ERROR: Couldn't open logfile `/var/log/mmsc-access.log'. 2010-07-13 11:14:56 [11643] [0] ERROR: System error 13: Permission denied 2010-07-13 11:14:56 [11643] [0] PANIC: Failed to initialise global queue directory: (null) - Permission denied! 2010-07-13 11:14:56 [11643] [0] Jul 13 11:15:01 localhost postfix/smtpd[11623]: disconnect from localhost.localdomain[127.0.0.1 does any have an idea to resolve this? Regards, sokha On Fri, Jul 9, 2010 at 4:42 PM, sokha pen pen.so...@gmail.com wrote: Dear All, I have fooling around with mbuni for some weeks, now i am can install and runing Mbuni , also configure as VAS gateway . it works so great that i am able to send /receive via MM7 now I would like to configure MMS gateway which allow MMSC to do MMS interconnect, however i still couldnt configure Postfix to route email to mmsfromemail . below is what i have done. 1- make script /usr/local/bin/content-filter with the following content: #!/bin/sh INSPECT_DIR=/var/spool/filter # Exit codes from sysexits.h EX_TEMPFAIL=75 EX_UNAVAILABLE=69 # Clean up when done or when aborting. trap rm -f in.$$ 0 1 2 3 15 # Start processing. cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit $EX_TEMPFAIL; } cat in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; } mmsfromemail $@ in.$$ || { echo Message content rejected; exit $EX_TEMPFAIL; } exit $? 2- add route to /etc/postfix/main.cf relay_domains = mms.example.com transport_maps = hash:/etc/postfix/transport 3- catch email by adding following line to /etc/postfix/master.cf mms.example.com mbuni:dummy 4- add rule to master.cf # mbuni mbuniunix - n n - 10 pipe flags=Rq user=mbuni argv=/usr/local/bin/content-filter -f ${sender} -t ${recipient} /etc/mmsc.conf after then i have test sending email but there is nothing in log, so i think that postfix configuration does not work. my question: 1- do i miss some step? 2- is there any document on config postfix or sendmail for mbuni? 3- could you post some working sample for postfix or sendmail if you got one? Best Regards, sokha ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: Postfix configuration for MM4 smtp interOperator
You may run it as chmod 777 /var/log/* ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users