Re: Re: smtp times out
Hi, this is dns problem. its unable to resolve address and unable to find MX records for dns. change settings in /etc/resolv.conf To test, make first nameserver as vsnl's dns server (i think you are in India, doen't matter if your server is outside India) nameserver 202.54.1.30 and then try Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 11:17:24 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thank u.I fixed it by increasing the soft limit to 400 from 200.But now the problem is dns look up.earlier it sent the mail to remote locations but now it fails to do so.It sends the mails only if theremote domain's mx ip is in the smtproutes file. with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds
Don't understand qmail-local parameter!!!
Hell all: The qmail-local usage is: usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty.But can't understand every parameter meaning except user,homedir,domain. Anyone can help me to undrstand? Thanks!
hi,how to unsubcribe?
faint,I have not found information on http://cr.yp.to/lists.html#qmail Regards Liu
Re: Re: Re: smtp times out
Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds
Re: Don't understand qmail-local parameter!!!
hi, man qmail-local NAME qmail-local - deliver or forward a mail message SYNOPSIS qmail-local [ -nN ] user homedir local dash ext domain sender defaultdelivery DESCRIPTION qmail-local reads a mail message and delivers it to user by the procedure described in dot-qmail(5). The message's envelope recipient is local@domain. qmail- local records local@domain in a new Delivered-To header field. If exactly the same Delivered-To: local@domain already appears in the header, qmail-local bounces the message, to prevent mail forwarding loops. The message's envelope sender is sender. qmail-local records sender in a new Return-Path header field. homedir is the user's home directory. It must be an abso- lute directory name. dash and ext identify the .qmaildashext file used by qmail-local; see dot-qmail(5). Normally dash is either empty or a lone hyphen. If it is empty, qmail-local treats a nonexistent .qmailext the same way as an empty .qmailext: namely, following the delivery instructions in defaultdelivery. The standard input for qmail-local must be a seekable file, so that qmail-local can read it more than once. OPTIONS -n Instead of reading and delivering the message, print a description of the delivery instructions. -N (Default.) Read and deliver the message. - from man qmail-local--- Regards Santosh Pasi ---Original Message-- Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk Date: Wed, 30 May 2001 14:38:47 +0800 From: george [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Don't understand qmail-local parameter!!! Content-Transfer-Encoding: 7bit Hell all: The qmail-local usage is: usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty.But can't understand every parameter meaning except user,homedir,domain. Anyone can help me to undrstand? Thanks!
Re: Don't understand qmail-local parameter!!!
The qmail-local usage is:" usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty".But can't understand every parameter meaning except user,homedir,domain. Anyone can help me to undrstand? 'man qmail-local' will help you much. B.Csaba __ This message went through virus scan at Trend Ltd. which stated the message was clean of viri appeared before 2001.05.24.
Re: Re: Re: smtp times out
Hai, 172.16.69.7 is the internal dns server. $/var/qmail/bin/qmail-remote anysmtpservername senderaddress reciveraddress works fine. But when I try to send mail from my pine.It just puts the mail in the queue.I can see 2 mails in the queue to mailandnews.com.The same mail reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote directly.So I don't think there is any blocking in the firewall. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds -- Talk is cheap. Show me the code. - Linus Torvalds
Re: Don't understand qmail-local parameter!!!
On Wed, May 30, 2001 at 02:38:47PM +0800, george wrote: Hell all: The qmail-local usage is: usage: qmail-local [ -nN ] user homedir local dash ext domain sender aliasempty.But can't understand every parameter meaning except user,homedir,domain. Anyone can help me to undrstand? There is no need to use qmail-local directly. qmail-send handles this for you. Stop worrying. Greetz, Peter.
Re: Don't understand qmail-local parameter!!!
On Wed, May 30, 2001 at 12:27:02PM +0530, Santosh Pasi wrote: hi, man qmail-local [snip qmail-local manpage] - from man qmail-local--- That was completely uncalled for and a waste of bandwidth. Greetz, Peter.
Re: Re: Re: smtp times out
On Wed, May 30, 2001 at 12:13:44PM +0530, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. The RFCs have nothing to do with /etc/resolv.conf. Greetz, Peter.
Re: Re: Re: Re: smtp times out
Hi, I think its problem of pine how did you check that mail is in queue? mailq ... make sure this links are created .. as few mail program looks for sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail and try If still problem ... in user's home directory you will find .pinerc ... rename or delete this file and try Even pine doesn't support maildir format ... there is patch for pine to support qmail regards Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 12:49:44 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, 172.16.69.7 is the internal dns server. $/var/qmail/bin/qmail-remote anysmtpservername senderaddress reciveraddress works fine. But when I try to send mail from my pine.It just puts the mail in the queue.I can see 2 mails in the queue to mailandnews.com.The same mail reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote directly.So I don't think there is any blocking in the firewall. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds -- Talk is cheap. Show me the code. - Linus Torvalds Santosh Pasi India ==
qmail guru's
Hi all, qmail is now up, fixed, happy. Thanks to Joel Michael, from sage australia for his help. So how did I fix it? well... to be quite honest I gave up trying to fix it, and just reinstalled everything from scratch, because I was getting close to the point of committing computer murder. But, a couple of notes. I'm pretty sure it was caused by a couple of things - permissions of files/directories, and the contents of the qmail-smtpd/send scripts, which tell it how to deliver stuff. The send script runs /var/qmail/rc which in turn,(now) runs: exec env - PATH=/var/qmail/bin:$PATH \ qmail-start `cat /var/qmail/control/defaultdelivery` Whereas before, it was running ??? defaultdelivery contains ./Maildir/ so that mail is sent to the /Maildir/ instead of a mailbox file. The other change of note was making sure that the other startup scripts were pointing at the correct directory for tcp.pop3.cdb etc etc. An example looks like: VPOPMAILUID=`id -u vpopmail` VCHKPWGID=`id -g vpopmail` env - PATH=/var/qmail/bin:/usr/local/bin \ **-- /usr/local/bin/tcpserver -v -p -x path-to/tcp.pop3.cdb \--*** -u $VPOPMAILUID -g $VCHKPWGID 0 pop3 /var/qmail/bin/qmail-popup \ your.host.name.here ~vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 Cheers, Chris _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: Re: Re: Re: smtp times out
Hi, This is only for explanation. ---Original Message-- Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk Date: Wed, 30 May 2001 09:24:23 +0200 From: Peter van Dijk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Re: Re: smtp times out Mail-Followup-To: [EMAIL PROTECTED] Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: no.id; from [EMAIL PROTECTED] on Wed, May 30, 2001 at 12:13:44PM +0530 On Wed, May 30, 2001 at 12:13:44PM +0530, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. The RFCs have nothing to do with /etc/resolv.conf. In which rfc its written? send me copy of that rfc :) Greetz, Peter. Santosh Pasi India ==
Re: Re: Re: Re: smtp times out
On Wed, May 30, 2001 at 01:27:47PM +0530, Santosh Pasi wrote: [snip] Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. The RFCs have nothing to do with /etc/resolv.conf. In which rfc its written? send me copy of that rfc :) In no rfc, that's the whole point. Greetz, Peter.
Re: Re: Re: Re: Re: smtp times out
Hi, once again try mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail remove ~/.pinerc even try sending mails using mutt, and other programs Regards, Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 13:46:43 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, There is no problem with pine i hope.It was working earlier well.Now I amusing /var/qmail/bin/qmail-qread to see the mail delivery status.It showsthe messages I injected using pine as well as i injected by telnetting toport 25.If I use the smtproutes file to point the ipaddress of the domainsit is working. Shall I have to apply qmail-DNS Patch? with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, I think its problem of pine how did you check that mail is in queue? mailq ... make sure this links are created .. as few mail program looks for sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail and try If still problem ... in user's home directory you will find .pinerc .. rename or delete this file and try Even pine doesn't support maildir format ... there is patch for pine to support qmail regards Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 12:49:44 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, 172.16.69.7 is the internal dns server. $/var/qmail/bin/qmail-remote anysmtpservername senderaddress reciveraddress works fine. But when I try to send mail from my pine.It just puts the mail in the queue.I can see 2 mails in the queue to mailandnews.com.The same mail reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote directly.So I don't think there is any blocking in the firewall. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds -- Talk is cheap. Show me the code. - Linus Torvalds Santosh Pasi India == -- I'm a bastard, and proud of it ! - Linus Torvalds
Re: smtp times out
Hi, once again try mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail remove ~/.pinerc even try sending mails using mutt, and other programs Regards, Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 13:46:43 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, There is no problem with pine i hope.It was working earlier well.Now I amusing /var/qmail/bin/qmail-qread to see the mail delivery status.It showsthe messages I injected using pine as well as i injected by telnetting toport 25.If I use the smtproutes file to point the ipaddress of the domainsit is working. Shall I have to apply qmail-DNS Patch? with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, I think its problem of pine how did you check that mail is in queue? mailq ... make sure this links are created .. as few mail program looks for sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail and try If still problem ... in user's home directory you will find .pinerc .. rename or delete this file and try Even pine doesn't support maildir format ... there is patch for pine to support qmail regards Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 12:49:44 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, 172.16.69.7 is the internal dns server. $/var/qmail/bin/qmail-remote anysmtpservername senderaddress reciveraddress works fine. But when I try to send mail from my pine.It just puts the mail in the queue.I can see 2 mails in the queue to mailandnews.com.The same mail reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote directly.So I don't think there is any blocking in the firewall. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds -- Talk is cheap. Show me the code. - Linus Torvalds Santosh Pasi India == -- I'm a bastard, and proud of it ! - Linus Torvalds
Re: Re: Re: Re: Re: smtp times out
Ok I can do that,but why the injection of mail thro the port number 25 also just puts the mail in queue without delivering? But I think I need to apply qmail-dns patch. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, once again try mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail remove ~/.pinerc even try sending mails using mutt, and other programs Regards, Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 13:46:43 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, There is no problem with pine i hope.It was working earlier well.Now I amusing /var/qmail/bin/qmail-qread to see the mail delivery status.It showsthe messages I injected using pine as well as i injected by telnetting toport 25.If I use the smtproutes file to point the ipaddress of the domainsit is working. Shall I have to apply qmail-DNS Patch? with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, I think its problem of pine how did you check that mail is in queue? mailq ... make sure this links are created .. as few mail program looks for sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old# ignore errors mv /usr/sbin/sendmail /usr/sbin/sendmail.old # ignore errors ln -s /var/qmail/bin/sendmail /usr/lib/sendmail ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail and try If still problem ... in user's home directory you will find .pinerc .. rename or delete this file and try Even pine doesn't support maildir format ... there is patch for pine to support qmail regards Santosh Pasi ---Original Message-- Date: Wed, 30 May 2001 12:49:44 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, 172.16.69.7 is the internal dns server. $/var/qmail/bin/qmail-remote anysmtpservername senderaddress reciveraddress works fine. But when I try to send mail from my pine.It just puts the mail in the queue.I can see 2 mails in the queue to mailandnews.com.The same mail reaches the recipient([EMAIL PROTECTED]) if I use qmail-remote directly.So I don't think there is any blocking in the firewall. with regards kamesh jayachandran On Wed, 30 May 2001, Santosh Pasi wrote: Hi, ---Original Message-- Date: Wed, 30 May 2001 11:57:55 -0400 (EDT) From: kamesh jayachandran [EMAIL PROTECTED] To: Santosh Pasi [EMAIL PROTECTED] Subject: Re: Re: smtp times out In-Reply-To: [EMAIL PROTECTED] Hai, Thanks again. my resolv.conf file is, nameserver 172.16.69.7 //local ip nameserver 202.54.1.30 nameserver 164.164.4.5 nameserver 164.164.128.16 Is 172.16.69.7 is your local dns server? more over there are four entries for nameserver, which is wrong according to RFCs. so for time being and testing, just remove first entry and try ... sending mail to say yahoo, hotmail, rediff. If it goes, then try sending mails to your internal network, if it gives error this time, then make second nameserver as 172.16.69.7 (again if it is your dns server) before that try to ping to 202.54.1.30? As you are behind firewall, make sure in firewall server or routers, to enable support for smtp and related protocols. $echo hai|/var/qmail/bin/qmail-remote smtp.mail.yahoo.com kameshj [EMAIL PROTECTED] It works by giving out the message that not able to resolve the sender domain(since my machine is behind the firewall,I am just playing with qmail so that I can install it at production machines). $echo hai|/var/qmail/bin/qmail-remote ductape.net kameshj [EMAIL PROTECTED] just returns(meaning that it is not successful). samething happens for other domains like shellyeah.org,etc. will the order of nameserver entries in /etc/resolv.conf affect the lookup? Yes, it matters, it looks first nameserver .. if it does't resolve or find records in two sec, it goes to next namserver( afaik and rfc says) Santosh Pasi with regards kamesh jayachandran -- Talk is cheap. Show me the code. - Linus Torvalds -- Talk is cheap. Show me the code. - Linus Torvalds Santosh Pasi India == -- I'm a bastard, and proud of it ! - Linus
removing msg for old users
My problem is: My mail server receives mail for old users/rcpt I want delete these msg and no forward to postmaster or other. I have created a .qmail file in ~alias (e.g. .qmail-robert - with robert old user ). How can I specify the delete operation in .qmail file? Thanks -- Massimo Quintini Osservatorio Astronomico Collurania Teramo Via Mentore Maggini s.n.c. 64100 TERAMO (Italy) Tel +39-0861210490 Fax +39-0861210492 http://www.te.astro.it
/var partition, queue size, and sendmail
I recently discovered that my /var partition is not going to be large enough to accomodate my queue at certain times, and was hoping for some insight. As a temporary fix, I moved the queue to another partition (/home of all places) and created a symbolic link. I realize that there are some security concerns with this solution, so I am seeking advice. Is there a (reasonably) safe utility to resize my partitions without starting over (which is not really an option)? Is there another acceptable place to store the queue? And if so, is a symbolic link acceptable, or should I recompile to reflect the new queue location? Are there performance concerns here? Here's my partition table, and the output of 'df' for your consideration. The system is RedHat 7.0. partition table: Disk /dev/sda: 255 heads, 63 sectors, 2202 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/sda1 * 1 3 24066 83 Linux /dev/sda2 4 2202 17663467+ 5 Extended /dev/sda5 4 1002 8024436 83 Linux /dev/sda6 1003 2001 8024436 83 Linux /dev/sda7 2002 2034265041 83 Linux /dev/sda8 2035 2067265041 83 Linux /dev/sda9 2068 2100265041 82 Linux swap df: Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda8 256667243418 0 100% / /dev/sda123302 9106 12993 42% /boot /dev/sda6 7898380 97088 7400072 2% /home /dev/sda5 7898380 1000684 6496476 14% /usr /dev/sda7 256667 57363186052 24% /var The cause of the large queue is a mailing list that sends about 150,000 messages at 10-25k per message once a week (via qmail's replacement for sendmail), so I figure I'll bring up the large queue problem as well. I know this borders on an FAQ, but what I'm not sure of is this--is there /any/ way to avoid the queue size limit of 20ish thousand messages? As I understand it, the big-todo patch doesn't actually solve it, it just splits up the todo directory, and conf-split is only able to increase performance. Please tell me I'm wrong, because I'm not /positive/ that this will be an avoidable problem in the future. Thanks to everyone for any suggestions they can offer. --joshua.
Re: hi,how to unsubcribe?
On Wed, 30 May 2001 14:43:18 +0800 Liu Wen wrote: LWfaint,I have not found information on http://cr.yp.to/lists.html#qmail LW LWRegards LWLiu LW LW Sigh. This has become such a FAQ that I'm reposting the detailed instructions: First, ask your Internet Provider to mail you an Unsubscribing Kit. Then follow these directions. The kit will most likely be the standard no-fault type. Depending on requirements, System A and/or System B can be used. When operating System A, depress lever and a plastic dalkron unsubscriber will be dispensed through the slot immediately underneath. When you have fastened the adhesive lip, attach connection marked by the large X outlet hose. Twist the silver- coloured ring one inch below the connection point until you feel it lock. The kit is now ready for use. The Cin-Eliminator is activated by the small switch on the lip. When securing, twist the ring back to its initial condition, so that the two orange lines meet. Disconnect. Place the dalkron unsubscriber in the vacuum receptacle to the rear. Activate by pressing the blue button. The controls for System B are located on the opposite side. The red release switch places the Cin-Eliminator into position; it can be adjusted manually up or down by pressing the blue manual release button. The opening is self- adjusting. To secure after use, press the green button, which simultaneously activates the evaporator and returns the Cin-Eliminator to its storage position. You may log off if the green exit light is on over the evaporator . If the red light is illuminated, one of the Cin-Eliminator requirements has not been properly implemented. Press the List Guy call button on the right of the evaporator . He will secure all facilities from his control panel. To use the Auto-Unsub, first undress and place all your clothes in the clothes rack. Put on the velcro slippers located in the cabinet immediately below. Enter the shower, taking the entire kit with you. On the control panel to your upper right upon entering you will see a Shower seal button. Press to activate. A green light will then be illuminated immediately below. On the intensity knob, select the desired setting. Now depress the Auto-Unsub activation lever. Bathe normally. The Auto-Unsub will automatically go off after three minutes unless you activate the Manual off override switch by flipping it up. When you are ready to leave, press the blue Shower seal release button. The door will open and you may leave. Please remove the velcro slippers and place them in their container. If you prefer the ultrasonic log-off mode, press the indicated blue button. When the twin panels open, pull forward by rings A B. The knob to the left, just below the blue light, has three settings, low, medium or high. For normal use, the medium setting is suggested. After these settings have been made, you can activate the device by switching to the ON position the clearly marked red switch. If during the unsubscribing operation, you wish to change the settings, place the manual off override switch in the OFF position. You may now make the change and repeat the cycle. When the green exit light goes on, you may log off and have lunch. Please close the door behind you. - Lucas _ Lukasz Gogolewski - [EMAIL PROTECTED] Tel: 347.452.6837 - Fax: 718.504.4822 SupremeDesigns- www.supremedesigns.com
forwarding msgs analyzing subject text
I must forward msgs from 1 sender to groups of users AFTER EXAMINING SUBJECT TEXT example: the rcpt of msg is user1 IF subject contains the char string xxx THEN the msg must be forwarded to users user2, user3, user4 IF subject contains the char string yyy THEN the msg must be forwarded to users user5, user6, user7 ..and so on It's possibile? How? I think with use of .qmail files in /home/user1 specifing a program (perl?, C?) that executes the forwarding. It's right? How can I manage in program Subject: To: contents? Thanks -- Massimo Quintini Osservatorio Astronomico Collurania Teramo Via Mentore Maggini s.n.c. 64100 TERAMO (Italy) Tel +39-0861210490 Fax +39-0861210492 http://www.te.astro.it
Re: /var partition, queue size, and sendmail
joshua, you're probably not going to like my answer (since it is one of those 'do lots of work now for less work later' options), but we use logical volume managers on most of the production systems around here. you didn't say what operating system you're using but AIX, HPUX, Solaris and now even linux (with the Linux LVM project at sistina.com and now the EVMS port of AIX's excellent LVM to linux as well at sourceforge.net/projects/evms). all of these solutions allow a properly-prepared filesystem (in linux ext2 and reiser can both apply) to be resized as the underlying logical volume is increased in size. once you go down this route, you'll never want to go back to static, bios-based partitions. anyway, this doesn't solve your problem in the short run, but it would have solved your problem if you'd gone this direction several months ago (ach, the irony!). todd underwood vice president chief technology officer oso grande technologies, inc. [EMAIL PROTECTED] On Wed, 30 May 2001, Joshua Nichols wrote: Date: Wed, 30 May 2001 09:02:22 -0400 From: Joshua Nichols [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: /var partition, queue size, and sendmail I recently discovered that my /var partition is not going to be large enough to accomodate my queue at certain times, and was hoping for some insight. As a temporary fix, I moved the queue to another partition (/home of all places) and created a symbolic link. I realize that there are some security concerns with this solution, so I am seeking advice. Is there a (reasonably) safe utility to resize my partitions without starting over (which is not really an option)? Is there another acceptable place to store the queue? And if so, is a symbolic link acceptable, or should I recompile to reflect the new queue location? Are there performance concerns here? Here's my partition table, and the output of 'df' for your consideration. The system is RedHat 7.0. partition table: Disk /dev/sda: 255 heads, 63 sectors, 2202 cylinders Units = cylinders of 16065 * 512 bytes Device BootStart EndBlocks Id System /dev/sda1 * 1 3 24066 83 Linux /dev/sda2 4 2202 17663467+ 5 Extended /dev/sda5 4 1002 8024436 83 Linux /dev/sda6 1003 2001 8024436 83 Linux /dev/sda7 2002 2034265041 83 Linux /dev/sda8 2035 2067265041 83 Linux /dev/sda9 2068 2100265041 82 Linux swap df: Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda8 256667243418 0 100% / /dev/sda123302 9106 12993 42% /boot /dev/sda6 7898380 97088 7400072 2% /home /dev/sda5 7898380 1000684 6496476 14% /usr /dev/sda7 256667 57363186052 24% /var The cause of the large queue is a mailing list that sends about 150,000 messages at 10-25k per message once a week (via qmail's replacement for sendmail), so I figure I'll bring up the large queue problem as well. I know this borders on an FAQ, but what I'm not sure of is this--is there /any/ way to avoid the queue size limit of 20ish thousand messages? As I understand it, the big-todo patch doesn't actually solve it, it just splits up the todo directory, and conf-split is only able to increase performance. Please tell me I'm wrong, because I'm not /positive/ that this will be an avoidable problem in the future. Thanks to everyone for any suggestions they can offer. --joshua.
Re: /var partition, queue size, and sendmail
* Joshua Nichols [EMAIL PROTECTED] [010530 15:02]: I recently discovered that my /var partition is not going to be large enough to accomodate my queue at certain times, and was hoping for some insight. quick tip: buy a new, fast, disk and mount it as /var/qmail (or mount an existing, free partition there) -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/ PGP signature
Re: forwarding msgs analyzing subject text
Hello, Just a wild idea - maybe you can use procmail to filter your messages. I know that procmail has the best match do features. Also try qmail.org for any user contributed utilities. - Lucas On Wed, 30 May 2001 15:38:14 +0200 Massimo Quintini wrote: MQI must forward msgs from 1 sender to groups of users AFTER EXAMINING MQSUBJECT TEXT MQ MQexample: MQ MQthe rcpt of msg is user1 MQIF subject contains the char string xxx THEN the msg must be forwarded MQto users user2, user3, user4 MQIF subject contains the char string yyy THEN the msg must be forwarded MQto users user5, user6, user7 MQ..and so on MQ MQIt's possibile? How? MQ MQI think with use of .qmail files in /home/user1 specifing a program MQ(perl?, C?) that executes the forwarding. It's right? How can I manage MQin program Subject: To: contents? MQ MQThanks MQ MQ MQ-- MQMassimo Quintini MQOsservatorio Astronomico Collurania Teramo MQVia Mentore Maggini s.n.c. 64100 TERAMO (Italy) MQTel +39-0861210490 Fax +39-0861210492 MQhttp://www.te.astro.it MQ MQ MQ _ Lukasz Gogolewski - [EMAIL PROTECTED] Tel: 347.452.6837 - Fax: 718.504.4822 SupremeDesigns- www.supremedesigns.com
Cant receive email
Hello all. my network: 1 server called A connected to the radio antenna with ip 217.10.200.134 running sendmail 1 server called B connected to server A both of them with routable IP and can send email but cant receive. What i did: Went to DNS to server A i added B as mailserver with the IP of B. I gave IP Masquirading acces.I can send email but i cant receive.Maybe is something wrong in configuration of either qmail or Courier-Imap. Cant receive even from root to user or oposite both of them on server B. Any solution? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: Re: Re: smtp times out
kamesh jayachandran [EMAIL PROTECTED] wrote: But when I try to send mail from my pine.It just puts the mail in the queue. Perhaps qmail isn't actually running; post the output of `ps auxw | grep qmail` or `ps -ef | grep qmail`, and we'll be able to tell you that much. However, to tell you anything more after that, we will need: -the unedited output of `qmail-showctl` -a copy of your qmail startup script -cut paste copies of any error messages or relevant log entries -a general summary of how you installed and configured qmail Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Re: Re: Re: Re: smtp times out
kamesh jayachandran [EMAIL PROTECTED] wrote: Ok I can do that,but why the injection of mail thro the port number 25 also just puts the mail in queue without delivering? One possibility is that qmail-smtpd is running but the main parts of qmail are not. See other messages in the list for a solution. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: removing msg for old users
Massimo Quintini [EMAIL PROTECTED] wrote: My mail server receives mail for old users/rcpt All mail servers do; accounts change, spammers have incorrect or guessed address, etc. I want delete these msg and no forward to postmaster or other. qmail does this (well, it bounces them) by default. If the bounces bounce, then they'll go to postmaster. You want to know when your bounce messages are undeliverable, don't you? How can I specify the delete operation in .qmail file? Well, you can just throw the message away by putting nothing but comments in a .qmail file. You could then use the doublebounceto and doublebouncehost control files to send double bounces to that .qmail file. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: forwarding msgs analyzing subject text
Massimo Quintini writes: I must forward msgs from 1 sender to groups of users AFTER EXAMINING SUBJECT TEXT example: the rcpt of msg is user1 IF subject contains the char string xxx THEN the msg must be forwarded to users user2, user3, user4 IF subject contains the char string yyy THEN the msg must be forwarded to users user5, user6, user7 ..and so on It's possibile? How? cat ~user1/.qmail EOF ./Mailbox |condredirect user234 `822field Subject | grep -q xxx` |condredirect user567 `822field Subject | grep -q yyy` EOF cat ~alias/.qmail-user234 EOF user2 user3 user4 EOF cat ~alias/.qmail-user567 EOF user5 user6 user7 EOF -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Microsoft rivets everything. 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws. Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | You own a screwdriver.
SMTP doesn't respond
Title: SMTP doesn't respond Hi, I've read up a little on this, but couldn't search the archives (maybe the server is down?) for any more information. Anyway, from my understanding, if the qmail server can't resolve it's DNS entry, it will have problems with SMTP, and I believe that to be the problem. However, I haven't been able to find a resolution for my situation. Here's how things are configured in my environment: The server is using a private ip address (192.168.x.x) behind a load balancer. The load balancer runs NAT so the server can send data out. The load balancer also contains a routable ip address, for which, all traffic passes back to the private ip. There is a DNS entry for the routable ip, but not for the private ip. The qmail server is setup with the same name as the DNS entry for the routable ip. As qmail runs on DNS entries, I would assume this would make everything ok. It doesn't. When I telnet to the localhost on port 25, I get a connection and it just sits there. No response, ever. Below is the output of qmail-showctl just to make sure I haven't done anything wrong. Any suggestions? qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 101, 102, 103, 0, 104, 105, 106, 107. group ids: 100, 101. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is slgpmail1.sl.ca. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is sl.ca. defaulthost: (Default.) Default host name is slgpmail1.sl.ca. doublebouncehost: (Default.) 2B recipient host: slgpmail1.sl.ca. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is slgpmail1.sl.ca. helohost: (Default.) SMTP client HELO host name is slgpmail1.sl.ca. idhost: (Default.) Message-ID host name is slgpmail1.sl.ca. localiphost: (Default.) Local IP address becomes slgpmail1.sl.ca. locals: Messages for slgpmail1.sl.ca are delivered locally. me: My name is slgpmail1.sl.ca. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is sl.ca. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at slgpmail1.sl.ca. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 slgpmail1.sl.ca. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. defaultdelivery: I have no idea what this file does. concurrencyincoming: I have no idea what this file does. Thanks, Mark Douglas - Architecture Sympatico-Lycos Inc. All your base are belong to us! Make your time!
Re: SMTP doesn't respond
Mark Douglas [EMAIL PROTECTED] wrote: The server is using a private ip address (192.168.x.x) behind a load balancer. The load balancer runs NAT so the server can send data out. The load balancer also contains a routable ip address, for which, all traffic passes back to the private ip. There is a DNS entry for the routable ip, but not for the private ip. This could be part of the problem. The qmail server is setup with the same name as the DNS entry for the routable ip. As qmail runs on DNS entries, I would assume this would make everything ok. It doesn't. When I telnet to the localhost on port 25, I get a connection and it just sits there. No response, ever. Ever? Or not in the first 60 seconds? Or what? Below is the output of qmail-showctl just to make sure I haven't done anything wrong. Any suggestions? This looks good (thanks for including it). What would help would be a copy of the script you're using to start qmail-smtpd. tcpserver may be trying a reverse lookup on your IP address and timing out, as well as some other DNS lookups which happen. They can all be fixed with changes to your qmail-smtpd script. Also, are any error messages ending up in the qmail-smtpd log? Does outgoing mail work? Are there errors in the main qmail log? I've tried to telnet to the SMTP port myself (thanks for using real DNS information and not obscuring it), and you seem to be correct -- I've got a connection, but not the welcome banner, even after several minutes. If it's a problem with your qmail-smtpd script, there should be errors in the log from the tcpserver instance for it. Another possibility, I suppose, is that the load balancer is somehow broken in regards to SMTP? Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Newbi confused
Hi, I'm a newbi trying to setup a mail server with qmail. I have downloaded the SRPMS of ucspi-tcp, ucspi-unix, daemontools, supervise-scripts, qmail+patches from http://untroubled.org, vmailmgr from www.vmailmgr.org and courier-imap from http://inter7.com/courierimap. I'm usinng Red Hat 6.2 with a minimal server install, (uninstalled postgres, sendmail, yp-bind, ..) and upgraded the kernel to 2.2.19-6.2.1, rpm-4.02, etc.. I can compile the packages and installed (in this order) ucspi-tcp, ucspi-unix, daemontools, supervise-scripts, qmail+patches vmailmagr, vmailmgr-server and vmailmgrd-server-tcp, my problem is that I can't figure whow to make the servers start and keep runing, after the RPMs installed I configured /var/qmail/control/rcpthosts and /var/qmail/control/virtualhosts to include my domains and created the base users for vmailmgr, run as the user vsetup and vadduser, created the /var/qmail/control/checkpassword containing the line 'checkvpw' only and as said by /usr/doc/qmail/README.service do 'svc-add /var/qmail/service/pop3d, svc-add /var/qmail/service/qmqpd, svc-add /var/qmail/service/qmtpd and svc-add /var/qmail/service/smtpd' and after that I do a 'svc-start qmail, svc-start pop3d, svc-start qmqpd, svc-start qmtpd, svc-start smtpd, svc-start vmailmgrd, svc-start vmailmgrd-tcp' but I cant conect from a test client. What I'm doing wrong?? Any enlightenment will be very apreciated! Thanks in advance. Javier Hernandez
RE: SMTP doesn't respond
Title: RE: SMTP doesn't respond Here is the script I'm using (straight out of Life with Qmail): #!/bin/sh PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin export PATH case $1 in start) echo -n Starting qmail: svscan cd /var/qmail/supervise nohup env - PATH=$PATH svscan echo $! /var/run/svscan.pid echo . ;; stop) echo -n Stopping qmail: svscan kill `cat /var/run/svscan.pid` echo -n qmail svc -dx /var/qmail/supervise/* echo -n logging svc -dx /var/qmail/supervise/*/log echo . ;; stat) cd /var/qmail/supervise svstat * */log ;; doqueue|alrm) echo Sending ALRM signal to qmail-send. svc -a /var/qmail/supervise/qmail-send ;; queue) qmail-qstat qmail-qread ;; reload|hup) echo Sending HUP signal to qmail-send. svc -h /var/qmail/supervise/qmail-send ;; pause) echo Pausing qmail-send svc -p /var/qmail/supervise/qmail-send echo Pausing qmail-smtpd svc -p /var/qmail/supervise/qmail-smtpd ;; cont) echo Continuing qmail-send svc -c /var/qmail/supervise/qmail-send echo Continuing qmail-smtpd svc -c /var/qmail/supervise/qmail-smtpd ;; restart) echo Restarting qmail: echo * Stopping qmail-smtpd. svc -d /var/qmail/supervise/qmail-smtpd echo * Sending qmail-send SIGTERM and restarting. svc -t /var/qmail/supervise/qmail-send echo * Restarting qmail-smtpd. svc -u /var/qmail/supervise/qmail-smtpd ;; cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp chmod 644 /etc/tcp.smtp* echo Reloaded /etc/tcp.smtp. ;; help) cat HELP stop -- stops mail service (smtp connections refused, nothing goes out) start -- starts mail service (smtp connection accepted, mail can go out) pause -- temporarily stops mail service (connections accepted, nothing leaves cont -- continues paused mail service stat -- displays status of mail service cdb -- rebuild the tcpserver cdb file for smtp restart -- stops and restarts smtp, sends qmail-send a TERM restarts it doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery reload -- sends qmail-send HUP, rereading locals and virtualdomains queue -- shows status of queue alrm -- same as doqueue hup -- same as reload HELP ;; *) echo Usage: $0 {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queu |help} exit 1 ;; esac exit 0 I haven't gotten a handle on qmail logging yet. Where are the log files stored? I look at /var/log/qmail and the files that are there contain these lines: from /var/log/qmail/current @40003b1518da292b19c4 status: local 0/10 remote 0/20 from /var/log/qmail/smtpd/current @40003b1518da3494b75c tcpserver: status: 0/0 I don't think there is a load balancer problem with SMTP, as there is another mail server running sendmail right beside this one. It's just that it was setup by somebody else, who no longer works here, and I'm much more a fan of qmail than I am of sendmail, so we're moving forward with qmail installs now. If I can provide any further information to you, please let me know. Thanks, Mark -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 12:19 To: '[EMAIL PROTECTED]' Subject: Re: SMTP doesn't respond Mark Douglas [EMAIL PROTECTED] wrote: The server is using a private ip address (192.168.x.x) behind a load balancer. The load balancer runs NAT so the server can send data out. The load balancer also contains a routable ip address, for which, all traffic passes back to the private ip. There is a DNS entry for the routable ip, but not for the private ip. This could be part of the problem. The qmail server is setup with the same name as the DNS entry for the routable ip. As qmail runs on DNS entries, I would assume this would make everything ok. It doesn't. When I telnet to the localhost on port 25, I get a connection and it just sits there. No response, ever. Ever? Or not in the first 60 seconds? Or what? Below is the output of qmail-showctl just to make sure I haven't done anything wrong. Any suggestions? This looks good (thanks for including it). What would help would be a copy of the script you're using to start qmail-smtpd. tcpserver may be trying a reverse lookup on your IP address and timing out, as well as some other DNS lookups which happen. They can all be fixed with changes to your qmail-smtpd script. Also, are any error messages ending up in the qmail-smtpd log? Does outgoing mail work? Are there errors in the main qmail log? I've tried to telnet to the SMTP port myself (thanks for using real DNS information and not obscuring it), and you seem to be correct -- I've got a connection, but not the welcome banner, even after several minutes. If it's a problem with your qmail-smtpd script, there should be errors in the log from the tcpserver instance for it. Another possibility, I suppose, is that the load balancer is somehow broken in regards to SMTP? Charles -- --- Charles Cazabon
Re: Newbi confused
Nazghul [EMAIL PROTECTED] wrote: I can compile the packages and installed (in this order) ucspi-tcp, ucspi-unix, daemontools, supervise-scripts, qmail+patches vmailmagr, vmailmgr-server and vmailmgrd-server-tcp, my problem is that I can't figure whow to make the servers start and keep runing, Bruce Guenter's RPMs (from untroubled.org, etc) use the supervise-scripts to start and stop services (they're simple wrappers around svscan functionality in most cases). Read /usr/doc/supervise-scripts/* . If you have further troubles, subscribe to Bruce's bgware mailing list and ask there; it's not a qmail issue, and many of the people on this list have never used his supervise-scripts. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: SMTP doesn't respond
Mark Douglas [EMAIL PROTECTED] wrote: The qmail server is setup with the same name as the DNS entry for the routable ip. As qmail runs on DNS entries, I would assume this would make everything ok. It doesn't. When I telnet to the localhost on port 25, I get a connection and it just sits there. No response, ever. This looks good (thanks for including it). What would help would be a copy of the script you're using to start qmail-smtpd. Here is the script I'm using (straight out of Life with Qmail): [...] echo -n Starting qmail: svscan cd /var/qmail/supervise nohup env - PATH=$PATH svscan echo $! /var/run/svscan.pid echo . ;; Okay. This script starts svscan. svscan will run another set of scripts to actually start the various qmail services. You'll have a service directory (probably /service, but possibly elsewhere) containing symlinks to other directories. Look for one called smtpd or qmail-smtpd. Inside that directory will be a script named run. We now need the contents of that script. I haven't gotten a handle on qmail logging yet. Where are the log files stored? I look at /var/log/qmail and the files that are there contain these lines: from /var/log/qmail/current @40003b1518da292b19c4 status: local 0/10 remote 0/20 Yes, that's one line from the logs of qmail-send (the main qmail process, which actually is responsible for the delivery of messages). from /var/log/qmail/smtpd/current @40003b1518da3494b75c tcpserver: status: 0/0 And that is indeed the log from qmail-smtpd (well, from its tcpserver instance, anyway). Were there any error messages in this log? Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
RE: SMTP doesn't respond
Title: RE: SMTP doesn't respond No error messages in either of the logs. Here is the content of the run file for smptd: #!/bin/sh QMAILDUID=`/usr/xpg4/bin/id -u qmaild` NOFILESGID=`/usr/xpg4/bin/id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Thanks for all the help! Mark -Original Message- From: Charles Cazabon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 13:18 To: '[EMAIL PROTECTED]' Subject: Re: SMTP doesn't respond Mark Douglas [EMAIL PROTECTED] wrote: The qmail server is setup with the same name as the DNS entry for the routable ip. As qmail runs on DNS entries, I would assume this would make everything ok. It doesn't. When I telnet to the localhost on port 25, I get a connection and it just sits there. No response, ever. This looks good (thanks for including it). What would help would be a copy of the script you're using to start qmail-smtpd. Here is the script I'm using (straight out of Life with Qmail): [...] echo -n Starting qmail: svscan cd /var/qmail/supervise nohup env - PATH=$PATH svscan echo $! /var/run/svscan.pid echo . ;; Okay. This script starts svscan. svscan will run another set of scripts to actually start the various qmail services. You'll have a service directory (probably /service, but possibly elsewhere) containing symlinks to other directories. Look for one called smtpd or qmail-smtpd. Inside that directory will be a script named run. We now need the contents of that script. I haven't gotten a handle on qmail logging yet. Where are the log files stored? I look at /var/log/qmail and the files that are there contain these lines: from /var/log/qmail/current @40003b1518da292b19c4 status: local 0/10 remote 0/20 Yes, that's one line from the logs of qmail-send (the main qmail process, which actually is responsible for the delivery of messages). from /var/log/qmail/smtpd/current @40003b1518da3494b75c tcpserver: status: 0/0 And that is indeed the log from qmail-smtpd (well, from its tcpserver instance, anyway). Were there any error messages in this log? Charles -- --- Charles Cazabon [EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: SMTP doesn't respond
On Wed, May 30, 2001 at 11:17:39AM -0600, Charles Cazabon wrote: Mark Douglas [EMAIL PROTECTED] wrote: from /var/log/qmail/smtpd/current @40003b1518da3494b75c tcpserver: status: 0/0 And that is indeed the log from qmail-smtpd (well, from its tcpserver instance, anyway). Were there any error messages in this log? Isn't that tcpserver status line an error of sorts? It seems to state that tcpserver is running zero out of a possible zero instances of the child process The setup looks very LWQish, so the relevant scripts are likely in /var/qmail/supervise/qmail-smtpd or somesuch. Please, Mark, post the contents of /var/qmail/supervise/qmail-smtpd/run. (or whichever 'run' file is actually appropriate -- Greg White Those who make peaceful revolution impossible will make violent revolution inevitable. -- John F. Kennedy
Vpopmail+qmail pop3 has lost it's mind!
Hello again. Another question! I've got a high availibilty cluster running qmail and vpopmail. Three computers mount /home from an nfs server. In the home directory is the vpopmail directory (all vpop apps and config's are in this dir). I have made /var/qmail/control and /var/qmail/users match on all nodes. When you pop from the nfs server, the users have mail. But if you hit one of the nodes, it authenticates fine, but says there's not mail. Anyone know how I broke this and how I can fix it? Here's what I do to test this-- This is on the NFS server Lists the mail fine... [root@mail(nfs1) /root]# telnet localhost 110 Trying 127.0.0.1... Connected to mail... Escape character is '^]'. +OK 4864.991244767@mail user me +OK pass test +OK list +OK 1 212 . This is on any of the nodes ... Where's my mail?!?! [root@mail(node1) /root]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. +OK 735.991234046@mail user me +OK pass test +OK list +OK . Many thanks! David Gartner
RE: SMTP doesn't respond
hi, Mark Douglas wrote: /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ there is some mixture in the options i am not able to understand: with -H and -R you are telling tcpserver not to optain TCPREMOTE and to do no reverse lookup. on the other hand you tell it to be paranoid -p and check up ip and hostname. i am confused about that, maybe tcpserver too? hope that helps alexander
Re: Vpopmail+qmail pop3 has lost it's mind!
On Wed, May 30, 2001 at 01:00:43PM -0400, David Gartner wrote: /var/qmail/users match on all nodes. When you pop from the nfs server, the users have mail. But if you hit one of the nodes, it authenticates fine, but says there's not mail. Anyone know how I broke this and how I You want to sync the clocks... qmail-pop3d won't list messages from the future. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
find message with Message-ID ...
I am trying to track down a email with a particular Message-ID but I am having no luck. I am using Multilog to log all messges sent. Within my logs, for any particular email, I just have time it was sent, whom it was sent to and the "msg" that qmail uses to keep track of the message. Where can I find the Message-ID? I am making the assumption that it is logged somewhereperhaps that is my mistake. If it is not logged, how would I do so under Multilog? Thanks
Re: Vpopmail+qmail pop3 has lost it's mind!
That fixed it :) Thanks David Gartner Henning Brauer wrote: On Wed, May 30, 2001 at 01:00:43PM -0400, David Gartner wrote: /var/qmail/users match on all nodes. When you pop from the nfs server, the users have mail. But if you hit one of the nodes, it authenticates fine, but says there's not mail. Anyone know how I broke this and how I You want to sync the clocks... qmail-pop3d won't list messages from the future. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
RE: SMTP doesn't respond
Title: RE: SMTP doesn't respond I'm not very familiar with tcpserver options. I tried adding the -R and -H as a suggestion from somebody else. As per your e-mail, I tried switching -p to -P (which as I understand, is NON-paranoid mode) and it didn't help. I also removed the -p option altogether, it didn't help either. Anyone have further suggestions? -Original Message- From: Alexander Jernejcic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 14:27 To: Mark Douglas; [EMAIL PROTECTED] Subject: RE: SMTP doesn't respond hi, Mark Douglas wrote: /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ there is some mixture in the options i am not able to understand: with -H and -R you are telling tcpserver not to optain TCPREMOTE and to do no reverse lookup. on the other hand you tell it to be paranoid -p and check up ip and hostname. i am confused about that, maybe tcpserver too? hope that helps alexander
RE: SMTP doesn't respond
Title: RE: SMTP doesn't respond SWEET! That was it, THANK YOU VERY MUCH! Posting this back to the list so people know what my problem was. I had an empty concurrencyincoming file. -Original Message- From: Greg White [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 30, 2001 14:00 To: Mark Douglas Subject: Re: SMTP doesn't respond On Wed, May 30, 2001 at 01:29:36PM -0400, Mark Douglas wrote: No error messages in either of the logs. Here is the content of the run file for smptd: #!/bin/sh QMAILDUID=`/usr/xpg4/bin/id -u qmaild` NOFILESGID=`/usr/xpg4/bin/id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 Thanks for all the help! Please see my later message to the list -- I'm sending this direct to save some time. This script is definitely LWQ. I think maybe /bin is not in your PATH for the script, or /var/qmail/control/concurrencyincoming is empty or '0'. If concurrencyincoming has '40' in it, try fully qualifying the path to 'cat' in the script -- like '/bin/cat' or '/usr/bin/cat', whichever is appropriate for your machine. If I'm correct, please feel free to quote any or all of this message to the list... I checked your earlier message, and qmail-showctl and this script seem to agree that 'concurrencyincoming' is the right file -- I can't count the number of times I couldn't figure out what was up when I got zero connections with '40' in /var/qmail/control/concurencyincoming ;) (Look closely at that filename) ;) HTH, -- GW
Re: forwarding msgs analyzing subject text
Russ' solution would certainly work, but this is exactly the sort of thing that procmail is intended for. A procmailrc to do this would look like this: :0 c * Subject:.*xxx ! user2 user3 user4 :0 c * Subject:.*yyy ! user5 user6 user7 (Recent versions of procmail play better with qmail, in particular they can deliver directly to both mboxes and maildirs.) It's possibile? How? cat ~user1/.qmail EOF ./Mailbox |condredirect user234 `822field Subject | grep -q xxx` |condredirect user567 `822field Subject | grep -q yyy` EOF cat ~alias/.qmail-user234 EOF user2 user3 user4 EOF cat ~alias/.qmail-user567 EOF user5 user6 user7 EOF -- John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869 [EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
Re: SMTP doesn't respond
Mark Douglas [EMAIL PROTECTED] wrote: #!/bin/sh QMAILDUID=`/usr/xpg4/bin/id -u qmaild` NOFILESGID=`/usr/xpg4/bin/id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c $MAXSMTPD I think you were right in the 0/0 thing. What are the contents of /var/qmail/control/concurrencyincoming? What is the ownership and the permissions on that file? If you replace $MAXSMTPD above with 40 (or whatever) and restart that service, it may start working for you. You might also want to use -H -R -l hostname options if you think there are any DNS issues involved. Your use of -H and -p together above doesn't seem to make sense to me. They're contradictory. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: find message with Message-ID ...
Brandon Yu [EMAIL PROTECTED] wrote: I am trying to track down a email with a particular Message-ID but I am having no luck. I am using Multilog to log all messges sent. Within my logs, for any particular email, I just have time it was sent, whom it was sent to and the msg that qmail uses to keep track of the message. Where can I find the Message-ID? I am making the assumption that it is logged somewhereperhaps that is my mistake. If it is not logged, how would I do so under Multilog? The message ID is not logged by default; it's under the control of the user anyways, and frequently contains garbage or (when receiving messages over the network) may not exist. The qmail log ID and time are sufficient to track a message from the Received: headers. If you want to log Message-ID or other arbitrary information, look at djb's FAQ about keeping a copy of all messages; then have a .qmail file which feeds copies of the messages to an arbitrary text processing script of your choice. You can record whatever you want at that point. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
RE: SMTP doesn't respond
Mark Douglas [EMAIL PROTECTED] wrote: QMAILDUID=`/usr/xpg4/bin/id -u qmaild` NOFILESGID=`/usr/xpg4/bin/id -g qmaild` You're using Solaris? -Dave
Re: Vpopmail+qmail pop3 has lost it's mind!
Henning Brauer [EMAIL PROTECTED] wrote: You want to sync the clocks... qmail-pop3d won't list messages from the future. Somebody refresh my memory... Why does it care? -Dave
FAQ type question (SMTP not answer long time), but from another side.
I sometimes use to connect to internet my GSM network operator's gateway an then I connect to my internal company network. All my connections is very good, but I have problem with my qmail SMTP server: often I must wait becouse connection is made but server not answer (not sent HELO info) long time (to a few minuts). From internal company network all work very fast. I see answer for similar problem: SMTP answer very slow becouse you havn't correct configured DNS server. I test this. Yes I have (this is operator's gateway address - not this same every times) IP address without configured DSN name. Standard answer: make correct configuration on your DSN server. But this is problem I connect form another (GSM operator) network. I have question from another side: 1. What I may change on my qmail SMTP server or another server configuration to accelerate my server answer ? 2. Normal reversal DNS answer is very fast (a few seconds) - name is unknown (using nslookup). qmail make another type of questions ? 3. With part (commands) of smtp server wait. May I change this in source code. Robert Skup e-mail: [EMAIL PROTECTED]
RE: SMTP doesn't respond
hi again, Mark Douglas wrote: As per your e-mail, I tried switching -p to -P (which as I understand, is NON-paranoid mode) and it didn't help. I also removed the -p option altogether, it didn't help either. sorry - seems that i barked the wrong tree. :) alexander
mail queue getting bigger
After much playing around with qmail files, I believe I have gotten part of qmail working. I say part, because I have no trouble _sending_ mail, but in delivering it, either to users on the same machine or to diffrent hosts. Pine is using the /usr/sbin/sendmail wrapper provided by qmail to send mail. However, when I try to check the mail that was sent, it has not been delivered. I use bin/qmail-qstat to look a the queue, and it is growing bigger and bigger: ---results of bin/qmail-qstat--- messages in queue: 138 messages in queue but not yet preprocessed: 138 --- I ran ps -auxw | grep qmail to determine what qmail services I had running. As you can see, both qmail-send and qmail-smtpd are running. (As a side question, is qmail-send supposed to be running so much compared to the other processes? ---results of ps -auxw | grep qmail--- root4746 1.1 1.4 852 440 con- S12:25PM 3:08.61 \ supervise qmail-send root4748 0.0 1.4 852 440 con- I12:25PM 0:00.25 \ supervise qmail-smtpd root4755 0.0 1.6 892 520 ?? I12:25PM 0:00.13 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c cat /var/qmail qmaill 4761 0.0 1.2 860 376 ?? I12:25PM 0:00.13 \ /usr/local/bin/multilog t /var/log/qmail/smtpd qmaill 4762 0.0 1.4 872 440 ?? S12:25PM 0:08.43 \ /usr/local/bin/multilog t /var/log/qmail - I would have expected qmail-inject to deliver the message as soon as possible. But it has been at least 5 minutes since I sent the test message and it still has not been delivered. As I mentioned in a previous email question, I am working behind a home firewall/DHCP server. My DHCP address is 192.168.0.102. My host name is localhost.bsd.local. If there is any other info I should include, please let me know. Included below is qmail-showctl: ---results of bin/qmail-showctl--- qmail home directory: /var/qmail. user-ext delimiter: -. paternalism (in decimal): 2. silent concurrency limit: 120. subdirectory split: 23. user ids: 81, 82, 83, 0, 84, 85, 86, 87. group ids: 81, 82. badmailfrom: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is localhost. concurrencylocal: (Default.) Local concurrency is 10. concurrencyremote: (Default.) Remote concurrency is 20. databytes: (Default.) SMTP DATA limit is 0 bytes. defaultdomain: Default domain name is . defaulthost: (Default.) Default host name is localhost. doublebouncehost: (Default.) 2B recipient host: localhost. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is localhost. helohost: (Default.) SMTP client HELO host name is localhost. idhost: (Default.) Message-ID host name is localhost. localiphost: (Default.) Local IP address becomes localhost. locals: me: My name is localhost. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is . qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: (Default.) SMTP greeting: 220 localhost. smtproutes: (Default.) No artificial SMTP routes. timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds. timeoutremote: (Default.) SMTP client data timeout is 1200 seconds. timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds. virtualdomains: (Default.) No virtual domains. concurencyincomming: I have no idea what this file does. - Thanks very much in advance! Cary Mathews Abilene Christian University ACM Chair | Education Committee
Re: Vpopmail+qmail pop3 has lost it's mind!
On Wed, May 30, 2001 at 03:50:58PM -0400, Dave Sill allegedly wrote: Henning Brauer [EMAIL PROTECTED] wrote: You want to sync the clocks... qmail-pop3d won't list messages from the future. Somebody refresh my memory... Why does it care? Apart from the enigmatic don't want to mix up the order, you could construe it as a feature that would make a bulletin *visible* to everyone at exactly the same time... Apart from that, I cannot think of a POP related reason why an mtime in the future would be a problem. Regards.
Qmail.org website
Sorry if this has been touched on already, but I couldn't find anything in the recent mail logs. I have been unable to get to www.qmail.org all day, but I haven't tried in several weeks. Has something happened permanently to it or is it just temporarily down or what? Thanks! Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ Cristopher Daniluk.vcf BEGIN:VCARD VERSION:2.1 N:Daniluk;Cristopher FN:Cristopher Daniluk ORG:Digital Services Network, Inc.;Executive Management TITLE:President CEO NOTE;ENCODING=QUOTED-PRINTABLE:=0D=0A TEL;WORK;VOICE:(330) 530-2373 TEL;WORK;VOICE:(800) 845-4822 TEL;CELL;VOICE:(330) 219-4819 TEL;WORK;FAX:(208) 723-6782 ADR;WORK;ENCODING=QUOTED-PRINTABLE:;President;89 West Marshall Avenue=0D=0ASuite A;McDonald;Ohio;44437;United S= tates of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:President=0D=0A89 West Marshall Avenue=0D=0ASuite A=0D=0AMcDonald, Ohio 4443= 7=0D=0AUnited States of America URL;WORK:http://www.dsnet.net/~cris EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010528T230445Z END:VCARD
Re: Vpopmail+qmail pop3 has lost it's mind!
Dave Sill [EMAIL PROTECTED] wrote: Henning Brauer [EMAIL PROTECTED] wrote: You want to sync the clocks... qmail-pop3d won't list messages from the future. Somebody refresh my memory... Why does it care? I asked this on the list once; I didn't get much of a response, but what little I did get said (IIRC) that it was a byproduct of using some of djb's other routines for walking the directory contents. I don't know why djb's routines ignore files dated in the future. Take this with a big grain of salt; I could be mis-remembering quite badly. Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: Qmail.org website
On Wed, May 30, 2001 at 05:37:10PM -0400, Cristopher R. Daniluk wrote: Sorry if this has been touched on already, but I couldn't find anything in the recent mail logs. I have been unable to get to www.qmail.org all day, but I haven't tried in several weeks. Has something happened permanently to it or is it just temporarily down or what? Thanks! Pick a mirror. http://mirrors.dataloss.nl/www.qmail.org/ is one. Greetz, Peter.
Re: mail queue getting bigger
On Wed, May 30, 2001 at 03:32:17PM -0500, Cary wrote: I ran ps -auxw | grep qmail to determine what qmail services I had running. As you can see, both qmail-send and qmail-smtpd are running. NO, qmail-send is NOT running. supervise qmail-send is running trying o start qmail-send and failing for some reason. check /service/qmail-send/run or /var/qmail/supervise/qmail-send/ or whatever it is on your system. -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: Qmail.org website
Try a mirror like http://qmail.trustno1.net/top.html Sean - Original Message - From: Cristopher R. Daniluk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 4:37 PM Subject: Qmail.org website Sorry if this has been touched on already, but I couldn't find anything in the recent mail logs. I have been unable to get to www.qmail.org all day, but I haven't tried in several weeks. Has something happened permanently to it or is it just temporarily down or what? Thanks! Regards, Cristopher Daniluk President CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ Cristopher Daniluk.vcf
Re: Qmail.org website
Cristopher R. Daniluk [EMAIL PROTECTED] writes: day, but I haven't tried in several weeks. Has something happened permanently to it or is it just temporarily down or what? Thanks! There must have be something with his machine/network. Russells DNS server and the MX are also not reachable. Regards, Frank
how to configure autoreply for one mail user
qmailHi,Guys one of my mail user is out of office,he want me to set up a autoreply message for him,how should i do?
Please tele me every sub-directory meaning in /var/qmail/queue/ .
Hello all: It have some sub-directory in /ar/qmail/queue directory .But I don't know every directory content and meaning . Anyone can tele me? Thank you! # ls -l /var/qmail/queue/ total 18 drwx-- 2 qmails qmail512 May 31 09:43 bounce drwx-- 25 qmails qmail512 May 30 10:45 info drwx-- 2 qmailq qmail512 May 31 09:43 intd drwx-- 25 qmails qmail512 May 30 10:45 local drwxr-x--- 2 qmailq qmail512 May 30 10:45 lock drwxr-x--- 25 qmailq qmail512 May 30 10:45 mess drwx-- 2 qmailq qmail512 May 31 09:43 pid drwx-- 25 qmails qmail512 May 30 10:45 remote drwxr-x--- 2 qmailq qmail512 May 31 09:43 todo #
tcpserver: Return 553 instead of 451?
I'm using tcpserver with qmail and a local blacklist in the form of tcp.smtp and tcp.smtp.cdb. In order to provide local logging, and a brief description to a rejected source of why their connection attempt was rejected, a typical line from my tcp.smtp file may look something like this: 63.102.43.25:allow,RBLSMTPD=Access denied due to spamming. This type of code returns an SMTP 451 error to the originator, and then drops the connection. Since a 451 means 'deferred' or something similar in SMTP-speak, the originating server continues to try to connect several more times before it finally gives up. My question: Is there any way to make tcpserver return a 553 error instead of a 451? I've dug around in the source code files, but I don't speak enough C to be able to find and change what I want. Thanks in advance for any assistance. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Bruce Lane, Owner and head honcho, Blue Feather Technologies http://www.bluefeathertech.com // E-mail: [EMAIL PROTECTED] Amateur Radio: KC7GR, active since 12-77 (Extra class as of June-2K) I'll get a life when someone demonstrates to me that it would be superior to what I have now... (Gym Z. Quirk, aka Taki Kogoma).
Re: tcpserver: Return 553 instead of 451?
On Wed, May 30, 2001 at 10:34:29PM -0700, Bruce Lane wrote: 63.102.43.25:allow,RBLSMTPD=Access denied due to spamming. 63.102.43.25:allow,RBLSMTPD=-Access denied due to spamming. should do the trick. From http://cr.yp.to/ucspi-tcp/rblsmtpd.html: However, if $RBLSMTPD begins with a hyphen, rblsmtpd removes the hyphen and uses a 553 error code. This tells legitimate clients to bounce the message immediately. -- Jos Backus _/ _/_/_/Modularity is not a hack. _/ _/ _/-- D. J. Bernstein _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED] _/_/ _/_/_/use Std::Disclaimer;
Re: tcpserver: Return 553 instead of 451?
Bruce Lane writes: I'm using tcpserver with qmail and a local blacklist in the form of tcp.smtp and tcp.smtp.cdb. In order to provide local logging, and a brief description to a rejected source of why their connection attempt was rejected, a typical line from my tcp.smtp file may look something like this: 63.102.43.25:allow,RBLSMTPD=Access denied due to spamming. My question: Is there any way to make tcpserver return a 553 error instead of a 451? I've dug around in the source code files, but I don't speak enough C to be able to find and change what I want. In http://cr.yp.to/ucspi-tcp/rblsmtpd.html, look for Temporary errors. -- -russ nelson [EMAIL PROTECTED] http://russnelson.com Crynwr sells support for free software | PGPok | Microsoft rivets everything. 521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws. Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | You own a screwdriver.
Re: Please tele me every sub-directory meaning in /var/qmail/queue/.
It have some sub-directory in /var/qmail/queue directory. But I don't know every directory content and meaning . Anyone can tell me? Thank you! # ls -l /var/qmail/queue/ total 18 drwx-- 2 qmails qmail512 May 31 09:43 bounce drwx-- 25 qmails qmail512 May 30 10:45 info drwx-- 2 qmailq qmail512 May 31 09:43 intd drwx-- 25 qmails qmail512 May 30 10:45 local drwxr-x--- 2 qmailq qmail512 May 30 10:45 lock drwxr-x--- 25 qmailq qmail512 May 30 10:45 mess drwx-- 2 qmailq qmail512 May 31 09:43 pid drwx-- 25 qmails qmail512 May 30 10:45 remote drwxr-x--- 2 qmailq qmail512 May 31 09:43 todo # In general, what you can not understand and can not find documentation about, you should not care about. Just let qmail-queue 'et al' handle this directory and enjoy your working qmail system. Or mess it up and get someone to help you out of trouble. BTW, qmail stores your emails and connecting infos in this directory. Regards. Csaba PS. Have you read any documentation about qmail before installing it? Life With Qmail for example worth reading. Find it at www.lifewithqmail.com __ This message went through virus scan at Trend Ltd. which stated the message was clean of viri appeared before 2001.05.24.
Re: spamcontrol with qmail-ldap
On Tue, May 29, 2001 at 06:22:07PM -0600, Charles Cazabon wrote: David Talkington [EMAIL PROTECTED] wrote: My apologies for the cross post. It appears that the qmail-ldap and spamcontrol patches cannot cohabitate. Either patch is successful on its own, but the second will fail with lots of rejects. Is there a solution? Probably both patches touch qmail-smtpd (I don't use either patch). It may be possible to apply by hand -- it's not tricky. However, if either one changes functionality that the other depends on, it's more a matter of rewriting one or both patches. I'm not sure about the contes of the spamcontrol patch, but qmail-ldap contains a lot of spam elimination techniques, perhaps this code is already included. qmail-ldap's qmail-smtpd varies heavyly from stock qmail's one. There are no ldap related functions in it, but TLS support, RBL stuff and so on. Greetings Henning -- * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de * * Roedingsmarkt 14, 20459 Hamburg, Germany * Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
Re: spamcontrol with qmail-ldap
-BEGIN PGP SIGNED MESSAGE- Henning Brauer wrote: My apologies for the cross post. It appears that the qmail-ldap and spamcontrol patches cannot cohabitate. Either patch is successful on its own, but the second will fail with lots of rejects. I'm not sure about the contes of the spamcontrol patch, but qmail-ldap contains a lot of spam elimination techniques, perhaps this code is already included. I did notice that, happily. The one thing I'll miss that I didn't see duplicated in the control set provided by qmail-ldap is the 'badmailfrom' feature, which allows regex-based filtering of incoming mail. - -d -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.75-6 iQEVAwUBOxTIs71ZYOtSwT+tAQHojQf/QSCnPSWQMAnVGCnp3doEQbMO0gBkfCpg 0MHn4mzNmTas611afAYXBoc3rf45NYYUS0tFWebh26ScNUwikMU4pTMYlG4r6bO8 9nIphNE1SuPYsQUUtXircDnBu8S/UsUHLL2EskqCzjaJoASifVT+PcD2PwDNGveW iDOk1npMrzg4WgYkSFpmzAIRfkmLf2HcHaex2lCbVVA0ImAK76mHnBVN5b5x33V3 sX8joR7Nrbdo6v9gSCHdBw/L3M0JDutGDUX/hZA1HWW7HIc9VEzVlkdFVDm1yDYo P4CMV9KclFrzmdgwNr/by1gwprUYdnkHG2fe1VKhGmvg5QVWiHcwDA== =0L24 -END PGP SIGNATURE-