[ilugd] Group mail forwarding
Hi List, We have a below requirement ? 1. A group has to be created, in which if the mail comes to group, then it should automatically be forwarded to all members. 2. If a member of group sends the mail to another member it should be forwarded to all other members of group and should not return back to the sender. Is it possible? Thanks and Regards, Abhiram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] qmail + ldap
Hi, You need to apply qmail-ldap patch on a original qmail package. I think, All patches which you are trying to patch are already included in qmail-ldap patch, so no need to apply them. Regards, Abhiram On Tuesday 11 July 2006 11:06 am, rajnish kumar wrote: Dear Sameer At the time of installation i have uses two pathces for qmail 1 Applying John Simpson's all in one qmail patch... patch qmail-1.03-jms1.5.patch 2 Applying Ryan Schlesinger's forcetls patch patch qmail-1.03-forcetls-20040703.patch after that i pathed qmail-ldap them this error comes with regds rajnish On 7/10/06, Sameer N Ingole [EMAIL PROTECTED] wrote: Dear Rajnish, rajnish kumar wrote: Dear all I followed qmailrocks.org for installing qmail, it's works fine but i want also install ldap with qmail for this when patched Did you any patches to qmail-1.03 code when you installed it according to qmailrocks.org? Remember that the qmail source gets cleanly patched only when you patch virgin qmail source. base64.o and gives some error like this 1 out of 1 hunk FAILED -- saving rejects to file conf-spawn.rej 6 out of 16 hunks FAILED -- saving rejects to file qmail-remote.c.re 2 out of 9 hunks FAILED -- saving rejects to file qmail-showctl.c.rej You may try to patch rejects manually. This link: http://www.proscrutiny.com/howtos/manually_patch.html may help you patch manually. error_str.c:7: error: conflicting types for 'error_str' error.h:22: error: previous declaration of 'error_str' was here error_str.c: In function 'error_str': error_str.c:23: error: 'error_range' undeclared (first use in this function) error_str.c:23: error: (Each undeclared identifier is reported only once error_str.c:23: error: for each function it appears in.) error_str.c:24: error: 'error_proto' undeclared (first use in this function) make: *** [error_str.o] Error 1 Patch all rejects first and all errors may vanish. so plz could any one help me to integrate qmail + ldap Read http://www.proscrutiny.com/howtos/qmail-ldap.html or www.qmail-ldap.org and http://www.nrg4u.com/qmail/QLDAPINSTALL with best wishes -- Sameer N. Ingole Blog: http://weblogic.noroot.org/ --- Better to light one candle than to curse the darkness. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://wwwmail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] access log issue on a web server behind a firewall
Hi, I'm trying to figure out how to properly log clients' ip addresses in apache's access log. -- - This should not happen since you are changing the destination IP of the incoming requests and not the source IP. The only situation in which this can happen is when you have some SNAT rule which is changing the source IP of the requests to that of the firewall box. And most likely, you must be doing SNAT for the requests coming from your own LAN and changing their IP to the IP of the firewall box. So when the hosts in your LAN access the webserver through its public IP, all the requests get logged as coming from the firewall box. Just check your SNAT rules. I'm not using any SNAT rules at my firewall. Do you have a proxy server running on the firewall box ? See my network architecture as INTERNET | Firewall Box ( This box have 4 externel ips on one NIC and 1 private ip 192.168.1.x on other NIC. I'm using iptables with DNAT here ) | | |(IP 192.168.1.y) Gateway/ProxyServer ( This box also have firewall iptables rules to controlling LAN and DNAT for webserver) (IP 192.168.2.X) | | Switch-LAN(192.168.2.0/24) | WebServer ( Problem is here, i'm getting firewall's ip 192.168.1.x in apache's access log entry for all incoming requests to webserver whereas i wanted visitors' real ip)(IP 192.168.2.X) Thanks and Regards, Abhiram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] access log issue on a web server behind a firewall
WebServer ( Problem is here, i'm getting firewall's ip 192.168.1.x in apache's access log entry for all incoming requests to webserver whereas i wanted visitors' real ip) Are all the visitors for the webserver from the local LAN or from outside also ? What is the IP address used by the visitors from the local LAN to access the web server ? -snip- Now assuming that the web server is accessed using the Public IP A.B.C.D which is assigned to one of the external interfaces on your firewall box and you have an external visitor. In such a case, the incoming requests will first hit your firewall box on the interface having the address A.B.C.D and then DNAT rules will send them to Gateway / Proxy Server and then the requests should get forwarded to the web server. In such a case, the access log will record the visitor's IP address as the real IP address unless and until you have SNAT happening at the firewall box where source IP address is changed to 192.168.1.x, so you need the check the firewall rules there. Can you send the output of iptables -L iptables -t nat -L at both the gateways ? The same logic will apply when an internal visitor tries to access the web server using the public IP A.B.C.D. All the visitors are from the both LAN and outside LAN. All visitors visit my webserver as http://www.mydomain.com and for all visitors' ip loged in apache always as 192.168.1.x. I'm not using any SNAT rules on both firewall and gateway using only DNAT. On Firewall, iptables -A PREROUTING -t nat -j DNAT -p tcp -d MYPUBLIC_IP --dport 80 --to 192.168.1.w:80 On Gateway/ProxyServer iptables -A PREROUTING -t nat -j DNAT -p tcp -d 192.168.1.w --dport 80 --to 192.168.2.w:80 Thanks and Regards, Abhiram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] access log issue on a web server behind a firewall
Hi Manish, Thanks a lot for your time. All the visitors are from the both LAN and outside LAN. All visitors visit my webserver as http://www.mydomain.com and for all visitors' ip loged in apache always as 192.168.1.x. I'm not using any SNAT rules on both firewall and gateway using only DNAT. On Firewall, iptables -A PREROUTING -t nat -j DNAT -p tcp -d MYPUBLIC_IP --dport 80 --to 192.168.1.w:80 On Gateway/ProxyServer iptables -A PREROUTING -t nat -j DNAT -p tcp -d 192.168.1.w --dport 80 --to 192.168.2.w:80 The only logical reason which came to my mind was existence of some SNAT rule at the firewall box, which you have ruled out. Could there be some side effect of multiple port forwarding using 2 DNAT rules ;-) ? I think you can post your problem on the netfilter mailing list. I'm 100% sure, there are not exist any SNAT rule on Firewall box. For the time being, if you put your webserver right after the first firewall box and give it an IP address 192.168.1.W and use the DNAT rule on firewall box to direct traffic to it, it should solve your problem. I'm also thinking so. Actually, the webserver's file system is accessed by developers very frequently, thats why i've put webserver in MY LAN. Why do you have two levels of firewalling ? I've two levels of firewalling just for extra security. Regards, Abhiram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] access log issue on a web server behind a firewall
Hi, I'm running a web server behind a firewall that forwards its incoming requests for port 80 to its port 80 of the web server. The problem is that all the log entries in the apache's access log are logged as requests coming from the firewall, and I get firewall's ip address for all the log entries. at firewall i'm running iptables as iptables -A PREROUTING -t nat -j DNAT -p tcp -d MYPUBLIC_IP --dport 80 --to PRIVATE_IP:80 I'm trying to figure out how to properly log clients' ip addresses in apache's access log. Any help/suggestions would be greatly appreciated. Thanks and Regards, Abhiram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] access log issue on a web server behind a firewall
I'm not using any SNAT rules at my firewall. Thanks and Regards, Abhiram I'm running a web server behind a firewall that forwards its incoming requests for port 80 to its port 80 of the web server. The problem is that all the log entries in the apache's access log are logged as requests coming from the firewall, and I get firewall's ip address for all the log entries. at firewall i'm running iptables as iptables -A PREROUTING -t nat -j DNAT -p tcp -d MYPUBLIC_IP --dport 80 --to PRIVATE_IP:80 I'm trying to figure out how to properly log clients' ip addresses in apache's access log. This should not happen since you are changing the destination IP of the incoming requests and not the source IP. The only situation in which this can happen is when you have some SNAT rule which is changing the source IP of the requests to that of the firewall box. And most likely, you must be doing SNAT for the requests coming from your own LAN and changing their IP to the IP of the firewall box. So when the hosts in your LAN access the webserver through its public IP, all the requests get logged as coming from the firewall box. Just check your SNAT rules. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] About Falcom Twist USB GSM/GPRS Modem
Hi, Have anyone used Falcom Twist USB GSM/GPRS Modem in linux? Could someone please give me some clues how to configure this? I want to configure this on Redhat Linux 7.3 with kernel 2.4.18-5. cat /proc/bus/usb/device gives me: T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor= ProdID= Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=e400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0f94 ProdID=0001 Rev= 2.00 S: Manufacturer=FALCOM S: Product=TWIST USB S: SerialNumber=FAU01444 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=440mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Thanks and Regards, Abhiram ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Email greylisting stats
Hi, Have anybody it used with qmail-ldap patch? On Wednesday 20 October 2004 03:22 am, Sandip Bhattacharya wrote: Are any of the folks here using greylisting (http://projects.puremagic.com/greylisting/) in their mail servers? I have been using a python implementation on our server called greylistd for the past one month, and have some really interesting stats. Of 10801 items that were initially greylisted: - 1042 ( 9.6%) became whitelisted - 9759 ( 90.4%) expired from the greylist Are others getting similar stats too? The above data means that for the 1 unique sets of (envelope sender address + envelope recipient address, + sender IP address) which have hit these domains, only 10% were legit emails or sent from properly implemented MTAs. The rest 90% were denied by greylisting!! Another weapon in the war against spam! - Sandip Thanks and Regards, Abhiram ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
Re: [ilugd] Input/Output ERROR
On Saturday 09 October 2004 04:27 pm, Navneet Choudhary wrote: Dear all, I have recently installed Redhat Linux 9 Serveron my Xeon based server, having below 1specifications: Xeon 2.0 GHZ 512 MB ECC RAM Adaptec U320 Ultra SCSI Adapter Maxtor 37 GB SCSI HD 2Aplication running: Shhd Iptables based firewall using ip rules from Iptablesrocks.org Tarantella server Apache Web Server What was i doing? X'ferring data to our remote server...uplaoding/downloading why alll this? well was testing my server performance , so i make it up for 1day 6 hrswhay not 2days? before that my server start giving me ''Input/Output error where? at xterm when i tried to check/run anu commands it gives same error msg when i close Xterm Gnome crashed at shell prompt this mesg was scrolling EXT3-fs error (device sd(8,2);ext3-reserve-inode-write:IO failure inode=1455688,block=3637264 I/O error:dev 08:02,Sector 0 I/O error:dev 08:02,Sector 52936 I/O error:dev 08:02,Sector 23330920 any help regarding this?whay this is happening again again (yes it do re-occur after some time) what to do? it seams your hard disk has bad sectors. Try to backup your data ASAP. Regards, Abhiram ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
Re: [ilugd] tar with no symlinks
On Thursday 06 May 2004 22:26, Abhinav Gupta wrote: Hi ! I want to create a tarball of a very big directory (Say 2GB) but I don't want to add any symlinked-to file to it and not even symlinks. Although I may want to add the presence of the symlink in the tarball but I never want to add the files which are symlinked. Whenever I try to make the tarball It adds the symlinked-to files to itself and makes itself unnecessarily big. I have tried many options but couldn't make it done. Please help me if anyone knows any handy solutions. Hi, Use below command that will do what you want find data-dir-path ! -type l ! -type d | tar -zcvf fillename.tgz -T- HTH Abhiram ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
Re: [ilugd] Help: CGI Error in a Python Application
Hi Ajay, You have missed HTTP header line in your python script. On Wednesday 05 May 2004 14:15, ajay singh wrote: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: --- The Python code is as below: #!c:\python23\python import cgi import sys,os import string import MySQLdb add here this line as print Content-Type: text/html\n\n db=MySQLdb.connect(host=localhost,user=root,passwd=,db=power) cursor=db.cursor() print html print head print /head print body s=os.environ['QUERY_STRING'] q=cgi.parse_qs(s) sname=q['txtname'].pop() scapacity=q['capacity'].pop() sstate=q['txtstate'].pop() sregion=q['region'].pop() sfre1=q['frequency1'].pop() sfre2=q['frequency2'].pop() sfre3=q['frequency3'].pop() sfre4=q['frequency4'].pop() cursor.execute(insert into station(name,region,capacity,state,fre1,fre2,fre3,fre4) values(%s,%s,%s,%s,%s,%s,%s,%s), (sname,sregion,scapacity,sstate,sfre1,sfre2,sfre3,sfre4)) print /body print /html HTH Abhiram ___ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
[ilugd] Re: outlook express address to evolution
however, can't seem to import the address book into evolution. any body been able to successfully do this? try this http://www.joshie.com/projects/dawn/ HTH Abhiram ___ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd