is content level blocking possible
Hi all, From the qmail server(on Linux machine) adminstrator point of view I have a question. All my end users are M$ windoze users. Let's say a mail with some virus prone attachment(which act on windoze) arrives through SMTP. Is there any package which scans the mail for all possible known virii(which act on M$ windoze) before the qmail-queue is invoked. Can anyone give me a good pointer or some info as to where I can get that kind of packages. I hope something like this is already existing. thanks in advance
messages sent to msglog??
hi, i use a RH 6.1 and i have installed qmail in one machine using rpms from "bruceg-qmail+patches" and it is working fine. but when i send mails i see a delivery made to msglog (also i am unable to find where this is stored) i don't want to keep a copy of the mails sent. so how do i disable it. thanks in advance madhav following is the log of a message sent to the user admin from msk. Apr 27 10:21:49 server1 qmail: 956811109.956421 new msg 1179 Apr 27 10:21:49 server1 qmail: 956811109.959523 info msg 1179: bytes 562 from m [EMAIL PROTECTED] qp 1096 uid 104 Apr 27 10:21:49 server1 qmail: 956811109.966473 starting delivery 10: msg 1179 t o local [EMAIL PROTECTED] Apr 27 10:21:49 server1 qmail: 956811109.966605 status: local 1/10 remote 0/20 Apr 27 10:21:49 server1 qmail: 956811109.966704 starting delivery 11: msg 1179 t o local [EMAIL PROTECTED] Apr 27 10:21:49 server1 qmail: 956811109.966791 status: local 2/10 remote 0/20 Apr 27 10:21:50 server1 qmail: 95680.005985 delivery 10: success: did_0+0+0/ Apr 27 10:21:50 server1 qmail: 95680.008519 status: local 1/10 remote 0/20 Apr 27 10:21:50 server1 qmail: 95680.022083 delivery 11: success: did_1+0+0/ Apr 27 10:21:50 server1 qmail: 95680.025899 status: local 0/10 remote 0/20 Apr 27 10:21:50 server1 qmail: 95680.039822 end msg 1179 Apr 27 10:22:59 server1 pop3d: 956811179.747342 tcpserver: status: 1/20 Apr 27 10:22:59 server1 pop3d: 956811179.749922 tcpserver: pid 1101 from 172.16. 31.72 Apr 27 10:22:59 server1 pop3d: 956811179.753880 tcpserver: ok 1101 :10.1.10.25:1 10 :172.16.31.72::4410 Apr 27 10:23:00 server1 pop3d: 956811180.091642 tcpserver: end 1101 status 256 Apr 27 10:23:00 server1 pop3d: 956811180.093858 tcpserver: status: 0/20
pop3 error
Hi all, I have installed qmail in one machine using rpms from "bruceg-qmail+patches" and it is working fine. Now I installed qmail in a new machine using the same rpms. Both installations are identical. I looked into them carefully. I couln't find any difference. The problem is pop3 is not working properly in the new machine. It is giving authentication failure error when I am trying to retrive mails through a pop3 client. But mails are getting delivered into /Maildir/new. Only retrieval is giving problem. I tried telnetting to port 110 in this machine. It says authentication failure and connection closed. Can anyone tell me what the problem is. Thanks in advance, Madhav
some doubts in qmail
hi, i have a couple of questions: 1. The following is the assign file i have. here the first field is the mail address, 2nd user name(linux user). my problem is i am able to recieve mails sent to both the linux user and the mailaddress (in my case [EMAIL PROTECTED] and [EMAIL PROTECTED]). whereas i want to recieve mails addressed to madhav only (ie those addressed to mail addresses only). [root@server1 users]# cat /var/qmail/users/assign =madhav:msp:510:503:/home/msp::: =ramkumar:ram:509:503:/home/ram::: =mail-admin:admin:511:503:/home/admin::: =sugesstions:cod1:512:504:/coda/qmail/home/cod1::: [root@server1 users]# 2. my mail clients will be accessing mails only through pop and smtp for receiving and sending mails. for every mail user is it mandatory to create a linux user? i actually have about 350 users using mails in my domain(proposed) that would mean i have to create 350 linux users and in their home directories i have to create a Maildir. is there any way by which i can overcome this? Thanks in advance
delete messages in queue
hi 1. is there any way by which i can delete a particular mail from queue. for instance #[root@server1 msk]# /var/qmail/bin/qmail-qread 19 Apr 2000 07:16:27 GMT #45086 677 [EMAIL PROTECTED] remote [EMAIL PROTECTED] 18 Apr 2000 10:39:22 GMT #45070 1236 remote [EMAIL PROTECTED] 18 Apr 2000 10:54:46 GMT #45076 227 [EMAIL PROTECTED] remote [EMAIL PROTECTED] here if i want to delete the mail to [EMAIL PROTECTED] , one way is to manually delete it from the /var/qmail/queue/mess/ is there any other way to do it? 2. if a message cannot be delivered, it is kept in the queue and tried at periodic intervals for 7 days according to the appendix e.1 of life with qmail. Can this time of 7 days be reduced to 4 days??? thanks
Fw: delete messages in queue
Just posting it in the list someone is interested... - Original Message - From: Ismal Hisham Darus [EMAIL PROTECTED] To: Madhav [EMAIL PROTECTED] Sent: Friday, April 21, 2000 6:44 AM Subject: Re: delete messages in queue try patching this file .. to fix your queue. and please don't delete it manualy :). it will mess up everything. http://www.netmeridian.com/e-huss/queue-fix.tar.gz From: "Madhav" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Copies to: [EMAIL PROTECTED] Subject:Re: delete messages in queue Date sent: Thu, 20 Apr 2000 15:51:15 +0530 hi, thanks.i did as per your suggestion but now i am getting this warning is there anyway to remove this warning tooo(!). #[root@server1 msk]# /var/qmail/bin/qmail-qread warning: trouble with #45086: file does not exist 18 Apr 2000 10:39:22 GMT #45070 1236 remote [EMAIL PROTECTED] 18 Apr 2000 10:54:46 GMT #45076 227 [EMAIL PROTECTED] remote [EMAIL PROTECTED] - Original Message - From: Ismal Hisham Darus [EMAIL PROTECTED] To: Madhav [EMAIL PROTECTED] Sent: Thursday, April 20, 2000 1:03 PM Subject: Re: delete messages in queue find /var/qmail/queue/info lookup for queue no.s in ur case it should be 45086 45070 45076 type touch -t 01012000 /var/qmail/queue/#/45086 this will set your queue file time to jan 1 2000. the message will be bounced to the sender on the next queue. From: "Madhav" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:delete messages in queue Date sent: Thu, 20 Apr 2000 11:47:57 +0530 hi 1. is there any way by which i can delete a particular mail from queue. for instance #[root@server1 msk]# /var/qmail/bin/qmail-qread 19 Apr 2000 07:16:27 GMT #45086 677 [EMAIL PROTECTED] remote [EMAIL PROTECTED] 18 Apr 2000 10:39:22 GMT #45070 1236 remote [EMAIL PROTECTED] 18 Apr 2000 10:54:46 GMT #45076 227 [EMAIL PROTECTED] remote [EMAIL PROTECTED] here if i want to delete the mail to [EMAIL PROTECTED] , one way is to manually delete it from the /var/qmail/queue/mess/ is there any other way to do it? find /var/qmail/queue/info lookup for queue no.s in ur case it should be 45086 45070 45076 type touch -t 01012000 /var/qmail/queue/#/45086 this will set your queue file time to jan 1 2000. the message will be bounced to the sender on the next queue. 2. if a message cannot be delivered, it is kept in the queue and tried at periodic intervals for 7 days according to the appendix e.1 of life with qmail. Can this time of 7 days be reduced to 4 days??? thanks edit your /var/qmail/control/queuelifetime put 345600 restart your qmail. Ismal Hisham Mohd Darus Asst. Manager, System Support John Hancock Life Insurance (Malaysia) Berhad Ismal Hisham Mohd Darus Asst. Manager, System Support John Hancock Life Insurance (Malaysia) Berhad
opinion on my proposed setup!
hi all, i am planning to load balance my mail service using 2 servers. my proposed set up is going to be something like the following, | --- Mach1 ---| Mail clients --- Router1 | |-/common/qmail | --- Mach2 --- | i would install qmail in machine mach1 in the dir /common/qmail instead of the default /var/qmail. Now i would share this directory with mach2 using NFS or Coda file system. i would now start the qmail in both servers(mach1 and mach2). in mach2, qmail will not be installed and only the qmail startup script will be created (since it already has access to the qmail utilities through the share). My mail clients are using only POP and smtp to connect to my setup. Access to the mailservers are only through the router machine. The router will redirect requests in a round robin fashion. the routing is done at connection level. ie when my first clients connects to the router machine, the connection is redirected to the machine1. for a second connection he will be redirected to the mach2. since the 2 machines mach1 and mach2 share the same queues and control files, both mach1 and mach2 will serve as load balancing mailservers. does anyone foresee any problems with this setup? i am a newbie to qmail and would like the experts' opinion on this setup :) thanks
Re: opinion on my proposed setup!
hi, i already have my setup (with router) running for http, ftp and telnet services. and would like to add this mail service also for the same setup. This setup actually provides protection from any failure. You may be able to share maildirs, but I'm not sure what you gain by sharing one installation between two servers. If the server with your binaries crashes both servers go down. In your place I would probably just i use a distributed file system (coda) for storing these qmail binaries and queues so even if the mach1 crashes mach2 can be still acess it without any problems. my concern is if qmail-send is running on both mach1 and mach2 at the same time, trying to send the mails in the queue will i be having any problems? -Original Message- From: Madhav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 19, 2000 23:12 To: [EMAIL PROTECTED] Subject: opinion on my proposed setup! hi all, i am planning to load balance my mail service using 2 servers. my proposed set up is going to be something like the following, | --- Mach1 ---| Mail clients --- Router1 | |-/common/qmail | --- Mach2 --- | i would install qmail in machine mach1 in the dir /common/qmail instead of the default /var/qmail. Now i would share this directory with mach2 using NFS or Coda file system. i would now start the qmail in both servers(mach1 and mach2). in mach2, qmail will not be installed and only the qmail startup script will be created (since it already has access to the qmail utilities through the share). My mail clients are using only POP and smtp to connect to my setup. Access to the mailservers are only through the router machine. The router will redirect requests in a round robin fashion. the routing is done at connection level. ie when my first clients connects to the router machine, the connection is redirected to the machine1. for a second connection he will be redirected to the mach2. since the 2 machines mach1 and mach2 share the same queues and control files, both mach1 and mach2 will serve as load balancing mailservers. does anyone foresee any problems with this setup? i am a newbie to qmail and would like the experts' opinion on this setup :) thanks
qmail startup problems help
Hi all, We have installed qmail step by step till starting qmail as given in the qmail-HOWTO. I created sysm. links to /var/qmail/supervise/* in /var/run/svscan. But when we start qmail using "/etc/rc.d/init.d/svscan start", the qmail processes (qmail-send, qmail-lspawn, qmail-rspawn and qmail-clean) are starting as given in the HOWTO. But It keeps on throwing the message "multilog: fatal: unable to lock directory /var/log/qmail:temporary failure". Why is this message coming? Also if the machine is rebooted, do I need to create the above symlinks again? because they are not persistent. I am using redhat 6.1 linux with qmail 1.03. Thanks in advance, Madhav
qmail startup help
Hi all, I have got impersistent symlinks problem resolved thanls to Patrick. I am trying to test the setup. I sent a mail as suggested in TEST.deliver (echo to : root | /var/qmail/bin/qmail-inject). To see whether it came or not, I was trying to telnet to 127.0.0.1 port 110 without any success. What may be the problem? (I am using checkpassword ). Thanks in advance, Madhav
Qmail Compile Error on linux RH 6.1
Hi all, I have got the following error while compiling(make setup check). I have searched for this in mailing list archive without any use. Here is my error. I am using RH 6.1 linux distro. [root@server1 qmail-1.03]# make setup check ./load auto-str substdio.a error.a str.a /usr/bin/ld: cannot open -lsyncdir: No such file or directory collect2: ld returned 1 exit status make: *** [auto-str] Error 1 Can anyone help me out? Thanks in advance, Madhav
Qmail compilation errors on RH 6.1 distro.
Hi all, I have downloaded qmail-1.03+patches-12.src.rpm from the site http://em.ca/~bruceg. I have applied all the patches given. I have created the uids. Then I compiled the qmail using "make setup check". Then I got the following error. [root@server1 qmail-1.03]# make setup check ./load auto-str substdio.a error.a str.a /usr/bin/ld: cannot open -lsyncdir: No such file or directory collect2: ld returned 1 exit status make: *** [auto-str] Error 1 But If I don't apply any of the patches to the source and compile then it is compiling successfully. So one of the patches that I applied might have caused this error. Can anyone tell what I have to do to come out of this? Thanks in advance, Madhav