Re: [ilugd] Sending mails to ISP mail server account
coool... it will breeze to this version of sendmail and redhat... Try to use these Rule for local mail delivery. xyz . singh @ abc . com . xyz.singh #Rules## # now delete the local info -- note $=O to find characters that cause forwarding R$* @ $*$@ $Parse0 $canonify $1 user@ = user Make sure that use these Rule before this line If you are not able to do that then give me a call...so that i can give you more better idea... 011-41688050 ext 45 --Naren On 6/7/06, Naresh Narang [EMAIL PROTECTED] wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: --- Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. What you are trying will NOT work. You can't tell your mail server that he is xyz.com and at the same time there is another xyz.com sitting out there somewhere. You should change your local domain to say abc.com and users can use xyz.com in their From address to achieve what you are trying to. Regards, --Naresh If I change the local domain to abc.com users are using FROM TO address of xyz.com, than all mail will go to ISP mail server. It will increase the bandwidth traffic. (First msg will goes to ISP server than my fetchmail will downlaod it to delivered to local user.) While requirement is, msg of local users of xyz.com should be deliver locally msg of remote users of xyz.com should be deliver at ISP mail server. Is this can be achieve by sendmail? Any workaround? Regards, Sandeep Try this - Your local mail server is xyz.com and [EMAIL PROTECTED] lives on ISP. Create a user x11 on your local and in his home directory create a .forward file In this file, use mail address with ip address of your ISP's mail exchanger like so [EMAIL PROTECTED] Regards, -- Naresh __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Sending mails to ISP mail server account
A...nice question... for this you have to write few rules under the sendmail.cf. let me know which version of sendmail you are using so that i can help you. --Naren On 6/6/06, Sandeep Agarwal [EMAIL PROTECTED] wrote: Hi all, I have a local mail server on domain xyz.com. Sendmail configured as MTA. Users are able to send mails to each other. I have also configured relay-domains to xyz.com so that they are able to send mails to real world. Local users are like [EMAIL PROTECTED] .. upto [EMAIL PROTECTED] We also have the mail services from ISP on same domain xyz.com. On ISP mail server we have created same account name like [EMAIL PROTECTED] ... upto [EMAIL PROTECTED] My local mail server is fetching mail from ISP mail server delivered to local user accounts by using fetchmail. On ISP mail server, we have created few accounts of the users like [EMAIL PROTECTED] for mktg personals. These users are not having account on my local mail server. Now users want to send mail to [EMAIL PROTECTED] with cc to [EMAIL PROTECTED] . Whenever they send mails like this, error comes 'user unknown'. I have tried smart relay host option like # Smart relay host (may be null) DSxyz.com --- but not got success. Any workaround by which mails to [EMAIL PROTECTED] will go to ISP mail server account? Any pointer will help. Thanking you, Sandeep Agarwal ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Require 64bit Linux OS
I have CentOS 4.2 (64 bit). if you need this then please let me know. PS: you have to pickup the CD's from Qutub institutional Area. --Narender On 3/8/06, Tanveer Singh [EMAIL PROTECTED] wrote: On 3/8/06, Sudev Barar [EMAIL PROTECTED] wrote: On 07/03/06, Vaibhav Singh [EMAIL PROTECTED] wrote: well using a 64Bit OS will be very tough for u. softwares based on 64 Bit are aren't availble much.My friend installed Ubuntu 64Bit but had to install 32Bit again due to unavailability of softwares. i suggest u to stick on 32Bit presently. I suggest you get better friends... ;-) Which softwares that are available in 32bit Ubuntu did not run in 64bit one? The only area where you will find problems is running flash on browsers and that is due to the fact that Macromedia has not got around to releasing 64bit version. There is OpenFlash project, but I will admit it does not work very well...yet! Flash is not that much of a problem. I run firefox in 32bit mode so I can use all plugins. Rest everything runs 64bit. But then I use a more 64bit friendly distro(gentoo). Since precompiled 64bit applications are rare, gentoo flow works fine. ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] [OT] Emails to SMS alerts
use hutch service, In my case it is working, Let me know if you need more help. --Narender On 3/1/06, Yashpal Nagar [EMAIL PROTECTED] wrote: Hi ILUGD, We have to setup the SMS alerts from emails, whenever some problem occurs in NMS(Network Management System) it generates email and when that email falls in a mailbox it should do a SMS to a list of mobile numbers. I just want to know what are the service providers for same in around NCR and anyone using it? any feedback etc Regards -Yash ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] taging the date on folder
HI, ## cd /backup bkp_date=`date '+%F'` filename2_prefix=cvs_backup_ cvs_filename=${filename2_prefix}${bkp_date}.tar tar -cf /backup/$cvs_filename /cvs/* I am using this script for the backup of the cvs. Hope this will works for you also. I have a complete script for the backup of the cvs ...which tar the cvs repos and ftp it to the backup server. If you need this then let me know. I wud be more than happy to help you. Regards, Narender.. On 10/17/05, Kapil Sethi [EMAIL PROTECTED] wrote: Hi date=`date -I` mv /home/manish/cvs_bkp/cvs_bkp.tar /home/manish/cvs_bkp/cvs_bkp$date.tar you dont even need that in a variable. The following works. mv /home/manish/cvs_bkp/cvs_bkp.tar /home/manish/cvs_bkp/cvs_bkp`date -I`.tar Kapil ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] nagios
Hi all, I want that nagios send alerts by SMS to cell phone. If anyone have any ideas plese guide me. thanks in advance Narender ___ 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] Partition corrupted
hi, just do #fdisk -l (it will show u all the partition like..in your case it may be diferent. /dev/hda1 * 119152586 83 Linux /dev/hda220 784 6144862+ 83 Linux /dev/hda3 785 911 1020127+ 82 Linux swap now, #e2fsck /dev/hda1 #e2fsck /dev/hda2 if it ask for fix then press y Regards Narender On 31 Jan 2005 11:50:34 -, rahul agarwal [EMAIL PROTECTED] wrote: Hello... My system do not boot and says that linux partition is corrupted... Asks for the administrator password to fix it... When I enters the password it shows the root user prompt and asks us to fix it Suggest what to do Regards Rahul ___ 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://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Linux as router (Gateway Server) [revisited]
hi navneet, Squid is more http proxy than ftp. But still you will be able to get download. It is able to use GET but not put. Actually which i percieve thhat u r trying to do ftp at windows machine. If this is the case then please upgrade your explorer to IE6. Earlier versions of explorer have bug. Actually IE do not allow Passive Mode. and you can also try in your squid.conf acl ftp_protocol proto FTP always_direct allow ftp_protocol In my case it works, hope that works for you also. Regards, Narender On 31 Jan 2005 15:48:30 -, Navneet Choudhary [EMAIL PROTECTED] wrote: Many many thanks to all of you for devoting you valuable by reading replying to my mail(query). Quick recaps and updates: 1.i am still using RedHat Linux 9 #uname -a Linux agni.leo.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux 2.Having: RTL8139 on board + RTL 8029 plugged in(external label is of SMC ?). #lspci -v 3:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Subsystem: Standard Microsystems Corp [SMC] EZ-Card (SMC1208) Flags: medium devsel, IRQ 5 I/O ports at cc00 [size=32] Expansion ROM at c000 [disabled] [size=16K] 03:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Unknown device 1849:8139 Flags: bus master, medium devsel, latency 32, IRQ 3 I/O ports at c800 [size=256] Memory at dfdfff00 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 NOTE: should I use different NIC , that use different modules ? 3. iptables v1.2.7a 4.Now I am port redirecting i.e http/80 squid-cache/3128 adding my current iptables rules 5.users can browse Internet, but can't able to access FTP sites? Please refer below for ftp error logs/X'fer log 6.What I am trying to : a. This Linux system should act as gateway 9router) between my LAN WAN.[Working] b. Act as proxy server trough Squid url filtering by using SquidGuard. [Working] c. Act as firewall Allowed traffic http/https,POP3/SMTP,FTP SonicMQ. Please help in configuring this system [EMAIL PROTECTED] root]# insmod ip_conntrack_ftp Using /lib/modules/2.4.20-8/kernel/net/ipv4/netfilter/ip_conntrack_ftp.o [root@ leo root]# lsmod Module Size Used byNot tainted ip_conntrack_ftp5296 0 (unused) autofs 13268 0 (autoclean) (unused) iptable_filter 2412 0 (autoclean) (unused) ne2k-pci7232 1 83908508 0 [ne2k-pci] 8139too18088 1 mii 3976 0 [8139too] ipt_REDIRECT1368 1 (autoclean) iptable_nat21720 1 (autoclean) [ipt_REDIRECT] ip_conntrack 26976 2 (autoclean) [ip_conntrack_ftp ipt_REDIRECT ipt able_nat] iptable_mangle 2776 0 (autoclean) (unused) ip_tables 15096 6 [iptable_filter ipt_REDIRECT iptable_nat iptab le_mangle] microcode 4668 0 (autoclean) keybdev 2944 0 (unused) mousedev5492 0 (unused) hid22148 0 (unused) input 5856 0 [keybdev mousedev hid] usb-uhci 26348 0 (unused) ehci-hcd 19976 0 (unused) usbcore78784 1 [hid usb-uhci ehci-hcd] ext3 70784 1 jbd51892 1 [ext3] Please refer belows log file for details: ##FTP LOG STARTS## SYST Not connected Host type (I): Automatic detect WINSOCK.DLL: WinSock 2.0 WS_FTP32 4.04, Copyright © 1992-1996 Ipswitch, Inc. All rights reserved. - - connecting to X.X.X.X... Connected to X.X.X.X port 21 220 ProFTPD 1.2.4 Server (ftpserver) [X.X.X.X] USER crpovsat 331 Password required for data PASS xx 230 User crpovsat logged in. Host type (I): UNIX (standard) PWD 257 /leo/ftp is current directory. PORT 192,168,0,234,11,12 500 Illegal PORT command. DoDirList returned 0 #IPTABLES RULES STARTS HERE# # Generated by iptables-save v1.2.7a on Mon Jan 31 18:08:44 2005 *filter :INPUT ACCEPT [3142:390380] :FORWARD ACCEPT [129:8201] :OUTPUT ACCEPT [2368:283021] COMMIT # Completed on Mon Jan 31 18:08:44 2005 # Generated by iptables-save v1.2.7a on Mon Jan 31 18:08:44 2005 *nat :PREROUTING ACCEPT [42124:6973903] :POSTROUTING ACCEPT [3981:238915] :OUTPUT ACCEPT [3981:238915] -A PREROUTING -s 192.168.0.0/255.255.0.0 -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 -A POSTROUTING -s 192.168.0.0/255.255.0.0 -o eth1 -j SNAT --to-source 172.21.0.132 COMMIT # Completed on Mon Jan 31 18:08:44 2005 # Generated by iptables-save v1.2.7a on Mon Jan 31 18:08:44 2005 *mangle :PREROUTING ACCEPT [91110:21827250] :INPUT ACCEPT
[ilugd] (no subject)
___ 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]/