qmail Digest 24 May 2001 10:00:01 -0000 Issue 1374 Topics (messages 62883 through 62927): Problem with Bcc's 'for' line disappearing 62883 by: Eric Bonharme 62886 by: Peter van Dijk 62904 by: Charles Cazabon 62913 by: Scott Gifford Re: Problems with SMTP connections 62884 by: Graham H. 62902 by: Charles Cazabon 62922 by: Michael Boyiazis Re: Message size limiting 62885 by: Peter van Dijk 62896 by: Davidson Thaba 62899 by: Peter van Dijk forwarding. 62887 by: richard morris 62903 by: Charles Cazabon slow server (qmail + imap + tcpserver) 62888 by: MERCHE TOMAS 62892 by: Jörgen Persson qmail-remote not working 62889 by: kamesh jayachandran 62890 by: Johan Almqvist 62906 by: Charles Cazabon Re: /var/qmail/alias/.qmail-default vs virtualdomains 62891 by: Dean Staff qmail dead but subsys locked. 62893 by: Srikrishnan Chitoor Logging POP3 62894 by: David Gartner 62898 by: Dean Staff 62905 by: Charles Cazabon 62911 by: Kris Kelley Setting POP Mail at qmail 62895 by: eddy 62910 by: Charles Cazabon Re: slow server (qmail + imap + tcpserver)] 62897 by: MERCHE TOMAS 62917 by: Jörgen Persson Re: gcc programming with qmail 62900 by: Joshua Nichols 62901 by: Charles Cazabon Relay-ctrl compiles wrong with RH 7.0? 62907 by: Webservice 62912 by: Charles Cazabon 62919 by: Webservice 62923 by: Charles Cazabon scan_whitenskip? 62908 by: Ondøej Surý Blocking Hahaha at server level 62909 by: Davidson Thaba 62914 by: Charles Cazabon 62915 by: Johan Almqvist 62916 by: Hank Wethington 62918 by: Kirti S. Bajwa High Availability, High Volume and NFS 62920 by: Duane Schaub 62921 by: Dave Weiner 62924 by: Mark Delany 62925 by: Charles Cazabon 62926 by: Jeremy Suo-Anttila Commercial Support 62927 by: ross.antivirus.ie Administrivia: To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To subscribe to the digest, e-mail: [EMAIL PROTECTED] To bug my human owner, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
Title: Problem with Bcc's 'for' line disappearingHi there,
We have a problem with the 'for' line being stripped out when delivering Bcc'ed messages to the Bcc'ed recipient locally.
This is a problem because we have a catch all mailbox set up in the following way:
.mail-default contains :
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/users/domain.com/anything
This is then picked up by another server which delivers to local users on the client's site. But as the 'for' line is stripped out (presumably because qmail thinks that it's in the correct mailbox and there is no need for a 'for' line any more), the client's mail server doesn't know which mailbox to send it.
Any help would be appreciated.
Eric
On Wed, May 23, 2001 at 10:29:56AM +0000, Eric Bonharme wrote: > Hi there, > We have a problem with the 'for' line being stripped out when delivering > Bcc'ed messages to the Bcc'ed recipient locally. [snip] qmail doesn't strip headers, and I've never seen qmail *add* a for header. Greetz, Peter.
Eric Bonharme <[EMAIL PROTECTED]> wrote: > We have a problem with the 'for' line being stripped out when delivering > Bcc'ed messages to the Bcc'ed recipient locally. qmail doesn't remove any headers. What is a "for" header? I've never seen such a beast. 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. -----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]> writes: > Eric Bonharme <[EMAIL PROTECTED]> wrote: > > We have a problem with the 'for' line being stripped out when delivering > > Bcc'ed messages to the Bcc'ed recipient locally. > > qmail doesn't remove any headers. What is a "for" header? I've never seen > such a beast. Eric is probably talking about the "for" clause of the Received header: Received: from muncher.math.uic.edu ([131.193.178.181]) (envelope-sender <[EMAIL PROTECTED]>) by smtp01.mail.onemain.com (qmail-ldap-1.03) with SMTP for <[EMAIL PROTECTED]>; 23 May 2001 10:10:26 -0000 here ^^^^^^^^^^^^^^^^^^^^^^ Looking at the 'for' clause is a hack, and will only work under some circumstances. Particularly, if more than one person on the same mail server receives a message, the 'for' clause will not be present at all. Fortunately, qmail provides a better solution. Use the first 'Delivered-To' header; that will always be there, and will always be correct and unambiguous. -----ScottG.
Well, I can send mail to cnmnetwork.com fine. telnet cnmnetwork.com 25, and you'll get the MTA. However, domains like aol.com, netzero.net, and probably many others, who don't run MTAs on x.com, I can't reach. Example: telnet aol.com 25. You'll get no response. It seems as if I have to mail to [EMAIL PROTECTED] in order to get my message across. Again, maybe I missed out a config file? Thanks much, -- Graham > Eduardo Augusto Alvarenga wrote: > > If only particular from your server, try tracing the route to these > hosts, > from a working machine and from the server. > Since you can receive/send to a couple of other domains with 100% > success, > it looks like you are on a network/routing trouble.
Graham H. <[EMAIL PROTECTED]> wrote: > Well, I can send mail to cnmnetwork.com fine. telnet > cnmnetwork.com 25, and you'll get the MTA. However, domains > like aol.com, netzero.net, and probably many others, who > don't run MTAs on x.com, I can't reach. This is expected behaviour. > Example: telnet aol.com 25. You'll get no response. It seems as if I have > to mail to [EMAIL PROTECTED] in order to get my > message across. It's not "some random server". It's the mail exchanger(s) for the domain in question. DNS records include this information. Use your favourite DNS query tool to retrieve the MX records for aol.com, for example. qmail does this on its own -- if DNS isn't working, you shouldn't be able to send mail anywhere remote (well, except for those domains you've hardcoded with smtproutes entries). Post the unedited output of qmail-showctl, log entries showing your problem, and a better summary. 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. -----------------------------------------------------------------------
nslookup -type=mx netzero.net netzero.net preference = 10, mail exchanger = inbound-mail.netzero.net telnet inbound-mail.netzero.net 25 should work for you (unless your IP is in the DUL) -- Michael Boyiazis [EMAIL PROTECTED] Mail Architect, NetZero, Inc. > -----Original Message----- > From: Charles Cazabon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 23, 2001 7:03 AM > To: [EMAIL PROTECTED] > Subject: Re: Problems with SMTP connections > > > Graham H. <[EMAIL PROTECTED]> wrote: > > Well, I can send mail to cnmnetwork.com fine. telnet > > cnmnetwork.com 25, and you'll get the MTA. However, domains > > like aol.com, netzero.net, and probably many others, who > > don't run MTAs on x.com, I can't reach. > > This is expected behaviour. > > > Example: telnet aol.com 25. You'll get no response. It > seems as if I have > > to mail to [EMAIL PROTECTED] in order > to get my > > message across. > > It's not "some random server". It's the mail exchanger(s) > for the domain in > question. DNS records include this information. Use your > favourite DNS query > tool to retrieve the MX records for aol.com, for example. > > qmail does this on its own -- if DNS isn't working, you > shouldn't be able to > send mail anywhere remote (well, except for those domains > you've hardcoded > with smtproutes entries). Post the unedited output of > qmail-showctl, log > entries showing your problem, and a better summary. > > 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. -----------------------------------------------------------------------
On Wed, May 23, 2001 at 11:52:53AM +0300, Davidson Thaba wrote: > Hello > > I would like to set a max size for mail sent to a specific Maildir and alert the >recipient or the sender that such a mail has been rejected. A simple C program that fstat's stdin (fd 0 :), checks the size, and, if the message is too big, print a message and reject it by return()'ing 100 (man qmail-command). Your .qmail file would then look like (2 lines): |sizechecker ./Maildir/ Note that a user can easily circumvent this if he can edit his .qmail file. Greetz, Peter.
Hello Peter,Please send me the sizechecker program (if u've done one already)Thanks,Davidson----- Original Message -----From: "Peter van Dijk" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Wednesday, May 23, 2001 1:18 PMSubject: Re: Message size limiting> On Wed, May 23, 2001 at 11:52:53AM +0300, Davidson Thaba wrote:
> > Hello
> >
> > I would like to set a max size for mail sent to a specific Maildir and alert the recipient or the sender that such a mail has been rejected.
>
> A simple C program that fstat's stdin (fd 0 :), checks the size, and,
> if the message is too big, print a message and reject it by
> return()'ing 100 (man qmail-command).
>
> Your .qmail file would then look like (2 lines):
>
> |sizechecker
> ./Maildir/
>
> Note that a user can easily circumvent this if he can edit his .qmail
> file.
>
> Greetz, Peter.
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.219 / Virus Database: 103 - Release Date: 05/12/2000
On Wed, May 23, 2001 at 04:05:25PM +0300, Davidson Thaba wrote: > Hello Peter, > > Please send me the sizechecker program (if u've done one already) Please see attachment. Usage: |./sizechecker 5000 ./Maildir/ (where 5000 is max message size). Greetz, Peter.#include <sys/types.h> #include <sys/stat.h> int main(int argc, char **argv) { struct stat ss; int maxsize; if(argc<1) { puts("usage: sizechecker <size>"); return 111; } maxsize=atoi(argv[1]); if(!maxsize) return 0; if(fstat(0, &ss)==-1) { puts("sizechecker: fstat error"); return 111; } if(ss.st_size>maxsize) { puts("message too big, bouncing"); return 100; } else { return 0; } }
Hi I'm trying to forward mail to other users, i've tried the fastforward option but that doesn't work so i've been told that if i use .qmail files this will work? where can i found out how to use them and could somebody perhps send me and example. we are using vpopmail, i've been told to go into the /vpopmail/domains/directoy and vi .qmail -username and enter &user_to_forward_to.co.za? richard.
richard morris <[EMAIL PROTECTED]> wrote: > > i've tried the fastforward option but that doesn't work so i've been told > that if i use .qmail files this will work? where can i found out how to use > them and could somebody perhps send me and example. `man dot-qmail` -- it contains instructions, and examples. > we are using vpopmail, i've been told to go into the > /vpopmail/domains/directoy and vi .qmail -username and enter > &user_to_forward_to.co.za? Sounds about right, although I don't know much about vpopmail. 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. -----------------------------------------------------------------------
Hello, we have an imap server with qmail and tcpserver. We've been looking for an answer for months, but we cannot find where is the problem. The tcpserver concurrency is 500. We're only 60 users. Sometimes, when there are about 40 users connected to the server it becomes so slow that nobody can access to their folders. When the number of connections goes down then every thing goes ok again. I don't know if the problem is with qmail, tcpserver or imap, but i think that it's with imap. If any of you can give me an idea.. Thanks for your help PD- excuse me if there is any strange expression, English is not my primary language.
On Wed, May 23, 2001 at 01:33:18PM +0200, MERCHE TOMAS wrote: > we have an imap server with qmail and tcpserver. We've been looking for > an answer for months, but we cannot find where is the problem. The > tcpserver concurrency is 500. We're only 60 users. Sometimes, when there > are about 40 users connected to the server it becomes so slow that > nobody can access to their folders. When the number of connections goes > down then every thing goes ok again. I don't know if the problem is with > qmail, tcpserver or imap, but i think that it's with imap. If any of you > can give me an idea.. It's most probably the imap server -- try asking them... By the way, which imap server is it?? Jörgen
Hai, when I try to send mail to someone outside using "mail -s "hai" [EMAIL PROTECTED] it is not reaching the person [EMAIL PROTECTED] local delivery works fine. /var/log/qmail/qmail-send/current looks like this, ----------------- @400000003b0c1c80090fc16c new msg 12640 @400000003b0c1c80090fe0ac info msg 12640: bytes 246 from <[EMAIL PROTECTED]> qp 12831 uid 0 @400000003b0c1c80092d829c starting delivery 17: msg 12640 to remote [EMAIL PROTECTED] @400000003b0c1c80092d9a0c status: local 0/10 remote 1/20 @400000003b0c1c8009714a2c delivery 17: failure: Unable_to_run_qmail-remote./ @400000003b0c1c800971696c status: local 0/10 remote 0/20 @400000003b0c1c8009a80db4 bounce msg 12640 qp 12833 @400000003b0c1c8009a93e64 end msg 12640 @400000003b0c1c8009aca194 new msg 12641 @400000003b0c1c8009ad8424 info msg 12641: bytes 758 from <> qp 12833 uid 516 @400000003b0c1c8009cadbdc starting delivery 18: msg 12641 to remote [EMAIL PROTECTED] @400000003b0c1c8009cb8ba4 status: local 0/10 remote 1/20 @400000003b0c1c800a0b6f1c delivery 18: failure: Unable_to_run_qmail-remote./ @400000003b0c1c800a0e70a4 status: local 0/10 remote 0/20 @400000003b0c1c800a5a8d04 bounce msg 12641 qp 12835 @400000003b0c1c800a5bae14 end msg 12641 @400000003b0c1c800a5f2c9c new msg 12640 @400000003b0c1c800a60269c info msg 12640: bytes 1177 from <#@[]> qp 12835 uid 516 @400000003b0c1c800a7d2094 starting delivery 19: msg 12640 to local postmaster@kameshj @400000003b0c1c800a7dd05c status: local 1/10 remote 0/20 @400000003b0c1c800ad8c19c delivery 19: success: did_1+0+0/ @400000003b0c1c800ada86bc status: local 0/10 remote 0/20 @400000003b0c1c800adc0974 end msg 12640 Similarly if i invoke the qmail-remote from the shell then I am getting no response. $echo"hai">/var/qmail/bin/qmail-remote myrealbox.com kameshj kameshj returns nothing. can anyone help me in solving this problem with regards kamesh jayachandran -- "You are welcome to your opinion. I've got this great bridge to sell you too." - Alan Cox to someone recommending the NVidia drivers
* kamesh jayachandran <[EMAIL PROTECTED]> [010523 22:59]: > Similarly if i invoke the qmail-remote from the shell then I am getting no > response. > $echo"hai">/var/qmail/bin/qmail-remote myrealbox.com kameshj kameshj > returns nothing. That's not how qmail-remote in called. Anyway, please give us the results of file /var/qmail/bin/qmail-* ls -l /var/qmail/bin/qmail-* -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
kamesh jayachandran <[EMAIL PROTECTED]> wrote: > when I try to send mail to someone outside using "mail -s > "hai" [EMAIL PROTECTED] it is not reaching the person > [EMAIL PROTECTED] [...] > @400000003b0c1c8009714a2c delivery 17: failure: Unable_to_run_qmail-remote./ There's something wrong with your qmail install -- the qmail-remote binary might be hosed, although I would suspect an ownership/permissions problem. Change into your qmail source directory and do a "make setup check" (while qmail is not running, obviously). That might fix your problem. 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. -----------------------------------------------------------------------
On 22 May 2001, at 10:55, Charles Cazabon wrote: > Dean Staff <[EMAIL PROTECTED]> wrote: > > > > I'd like to know if it's possible to edit the > > /var/qmail/alias/.qmail- default file, so instead of it having a > > username or email address to deliver messages for undefined users > > to, you have a defined path to a specific mailbox. ie: > > /home/bubba/Maildir/ > >[...] > > Perhaps you could try this: > > -make the domain virtual. For instance, "dom.net:virtuser1" in > virtualdomains. > -have .qmail files in ~virtuser1 to handle the "real" users, if any: > ~virtuser1/.qmail-joe contains "/home/virtuser1/Mail/joe/" or > similar. This could be a vmailmgr domain perhaps? > -have ~virtuser1/.qmail-default to handle all the fax numbers. > You can then refer to $DEFAULT in a script to get the original > mail address (fax number). `man qmail-command` and `man > dot-qmail` for details. > Once again, Thanks Charles. I'm not a programmer so I'm a newbie when it comes to writing scripts. So I'll have to do some more research, but you've put me on the right path. Thanks. Dean ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dean Staff Protus IP Solutions 210 - 2379 Holly Lane Ottawa, ON K1V 7P2 Canada 613-733-0000 ex 546 Fax 613-248-4553 e-mail: [EMAIL PROTECTED] Web: http://www.protus.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am facing a peculiar problem. On our server, qmail seems to be running fine, but when I do "qmail status", it says"qmail dead but subsys locked".When I do "ps aux|grep mail" all normal qmail processes are present.Any ideas on this?Thanks,-Krishnan.
Just switched to qmail and have a slight problem. We used to log pop3 traffic (logins/logouts) so that we could help people who claim they couldn't get their mail. Basically, so we could verify they were even reaching the server. I noticed with qmail (also using tcpserver) doesn't log that by default. Anyone know how I can log attempts similar to how sendmail did? In case anyone's confused about what I'm talking about, here's a sample of the log sendmail keeps. May 23 08:30:21 mail ipop3d[12955]: Login user=USERNAME host=HOST [IPADDRESS] nmsgs=0/0 May 23 08:30:21 mail ipop3d[12955]: Logout user=USERNAME host=HOST [IPADDRESS] nmsgs=0 ndele=0 Thanks in advance for any help anyone can provide! David
On 23 May 2001, at 8:33, David Gartner wrote: > Just switched to qmail and have a slight problem. We used to log pop3 > traffic (logins/logouts) so that we could help people who claim they > couldn't get their mail. Basically, so we could verify they were even > reaching the server. I noticed with qmail (also using tcpserver) > doesn't log that by default. Anyone know how I can log attempts > similar to how sendmail did? In case anyone's confused about what I'm > talking about, here's a sample of the log sendmail keeps. > > May 23 08:30:21 mail ipop3d[12955]: Login user=USERNAME host=HOST > [IPADDRESS] nmsgs=0/0 May 23 08:30:21 mail ipop3d[12955]: Logout > user=USERNAME host=HOST [IPADDRESS] nmsgs=0 ndele=0 > > Thanks in advance for any help anyone can provide! > Hi David, Welcome to the list... Before you get flamed by others on the list, just a piece of friendly advice.... You should search the list archives before posting a question, chances are it's been covered already. I know this first hand because I asked the same question last week... But to save you some time.... Here's my solution... (As posted to this list) Best of luck, I hope this helps. Dean ----begin original message------- For anyone else who is interested, Here's the final results. I modified my poplog script tp read as follows... #! /bin/sh newmail=`ls $HOME/Maildir/new/ | wc -l` newmailbytes=`du -sb $HOME/Maildir/new/ | cut -f 1` echo "$TCPREMOTEIP" "$USER" "$newmail" "$newmailbytes" | /var/qmail/bin/splogger pop3d 19 pop="$1"; shift; exec "$pop" "$@" I'm running a distor based on RedHat 7 so the pop3d daemon is called from xinetd. So the /etc/xinetd.conf file has a pop3 section that reads as follows.... service pop-3 { socket_type = stream user = root wait = no server = /var/qmail/bin/qmail-popup server_args = localhost /bin/checkpassword /var/qmail/bin/poplog /var/qmail/bin/qmail-pop3d Maildir } Next, I edit the /etc/syslog.conf so the line for local3 reads... local3.* /var/log/popper.log And finally with all this I get a /var/log/popper.log that has the following... May 17 11:54:01 testmail pop3d: 990114841.105074 dean 4 20480 May 17 12:01:42 testmail pop3d: 990115302.090064 dean 12 57344 I hope this helps someone else. Again Thanks to Charles for his response. Regards Dean ----------------end original message---------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dean Staff Protus IP Solutions 210 - 2379 Holly Lane Ottawa, ON K1V 7P2 Canada 613-733-0000 ex 546 Fax 613-248-4553 e-mail: [EMAIL PROTECTED] Web: http://www.protus.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Gartner <[EMAIL PROTECTED]> wrote: > Just switched to qmail and have a slight problem. We used to log pop3 > traffic (logins/logouts) so that we could help people who claim they > couldn't get their mail. Basically, so we could verify they were even > reaching the server. I noticed with qmail (also using tcpserver) > doesn't log that by default. Anyone know how I can log attempts similar > to how sendmail did? In case anyone's confused about what I'm talking > about, here's a sample of the log sendmail keeps. > > May 23 08:30:21 mail ipop3d[12955]: Login user=USERNAME host=HOST > [IPADDRESS] nmsgs=0/0 > May 23 08:30:21 mail ipop3d[12955]: Logout user=USERNAME host=HOST > [IPADDRESS] nmsgs=0 ndele=0 The login line can be done fairly easily with a shell script shim called right after your checkpassword (or alternative) invocation in the qmail-pop3d run script. This little script should just log the username (from $USER or other information, depending on your checkpassword) and then exec it's arg(s). Someone else posted a script to this list last week that did exactly this. For logging the logout; well, you'll probably have to patch qmail-pop3d to do this. 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. -----------------------------------------------------------------------
David Gartner wrote: > > Just switched to qmail and have a slight problem. We used to log pop3 > > traffic (logins/logouts) so that we could help people who claim they >> couldn't get their mail... Charles Cazabon wrote: >The login line can be done fairly easily with a shell script shim called right >after your checkpassword (or alternative) invocation in the qmail-pop3d run >script... > >For logging the logout; well, you'll probably have to patch qmail-pop3d to do >this. If you're not too discrimating about what gets logged, you can use recordio to log *everything*. If you do use recordio, be extremely careful about who gets to see the logs, since passwords will probably be sprinkled liberally throughout (unless your users use MD5 or similar authentication scheme). ---Kris Kelley
Halooo, guys. Can somebody help me with my pop3d setting. I have a situation like this: 1. I set up my DNS server with W2K at comp = apolo1 at domain "valencia.com" -> apolo1.valencia.com 2. I set up qmail Server on linux rh 6.2 at comp = zeus1 at domain valencia.com -> zeus1.valencia.com I have install qmail at zeus1(so far so good), the problem is I don't know how to set up for the pop mail on qmail. I have installed checkpassword Then I tried to retrive mail from outlook, but i won't work...it show error Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'zeus1.valencia.com ', Server: 'zeus1.valencia.com', Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F Can anyone help me how to figure it out , coz I completly blind what to do .... Regards, Eddy
eddy <[EMAIL PROTECTED]> wrote: > I have installed checkpassword > Then I tried to retrive mail from outlook, but i won't work...it show error > > Your server has unexpectedly terminated the connection. Possible causes for > this include server problems, network problems, or a long period of > inactivity. Account: 'zeus1.valencia.com ', Server: 'zeus1.valencia.com', That's almost certainly wrong -- the account name should probably be something like "fred" or "aandrews", not the same as the server name. This could be that you've misconfigured your MUA. > Protocol: POP3, Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F First of all, test whether you can authenticate with checkpassword directly on the mail server and a known test account. There's instructions on qmail.org for how to do this. If that doesn't work, you haven't installed checkpassword properly. If it does work, then test your POP3 server by telnetting to port 110 on the mail server and doing a POP3 session by hand, using the USER and PASS commands. If that doesn't work, you haven't installed qmail-pop3d correctly (probably an error in your qmail-pop3d start script). 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. -----------------------------------------------------------------------
On Wed, May 23, 2001 at 01:33:18PM +0200, MERCHE TOMAS wrote: > we have an imap server with qmail and tcpserver. We've been looking for > an answer for months, but we cannot find where is the problem. The > tcpserver concurrency is 500. We're only 60 users. Sometimes, when there > are about 40 users connected to the server it becomes so slow that > nobody can access to their folders. When the number of connections goes > down then every thing goes ok again. I don't know if the problem is with > qmail, tcpserver or imap, but i think that it's with imap. If any of you > can give me an idea.. It's most probably the imap server -- try asking them... By the way, which imap server is it?? Jörgen IMAP4rev1 2000.283rh
On Wed, May 23, 2001 at 04:04:06PM +0200, MERCHE TOMAS wrote: > > > > On Wed, May 23, 2001 at 01:33:18PM +0200, MERCHE TOMAS wrote: > > we have an imap server with qmail and tcpserver. We've been looking for > > an answer for months, but we cannot find where is the problem. The > > tcpserver concurrency is 500. We're only 60 users. Sometimes, when there > > are about 40 users connected to the server it becomes so slow that > > nobody can access to their folders. When the number of connections goes > > down then every thing goes ok again. I don't know if the problem is with > > qmail, tcpserver or imap, but i think that it's with imap. If any of you > > can give me an idea.. > > It's most probably the imap server -- try asking them... > By the way, which imap server is it?? > > Jörgen > > > > IMAP4rev1 2000.283rh No idea... look in the changelog for the latest version (2000c Final) or ask their mailing list[1]. Jörgen [1] http://www.washington.edu/imap/imap-list.html
> i want to develop an application which can send mail through the > qmail system. could you please give me a starting point of this? > I would take advantage of qmail's sendmail compatibility. That is to say, do it just as though you were running sendmail, that way your code doesn't end up limited to qmail systems. --joshua.
KY Lui <[EMAIL PROTECTED]> wrote: > > i want to develop an application which can send mail through the qmail > system. Fair enough. > could you please give me a starting point of this? i don't know how to do > it There are several options: -use SMTP (i.e., inject via the network). Easy in VHHLs like Python or Perl. -use qmail's sendmail wrapper, calling out to /usr/sbin/sendmail or wherever you've installed it. You probably want to use a pipe here. -similar to above, but use qmail-inject, qmail's native human interface. -similar to above, but use qmail-queue. This is good if your message is already preformatted, you don't need to do any address parsing, etc. The man pages for qmail-inject and qmail-queue will tell you what you need to know. For examples, look in the mailing list archives, or at qmail.org. There are lots of programs there, in various languages, that send mail through 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. -----------------------------------------------------------------------
I've been trying for 2 days now to install relay-ctrl-2.5. Everyting goes well (I see no errors in compiling), but the dir's are normally not created (once I saw a /var/spool/relay-ctrl, but don't know for sure), all the other times I created the dirs myself. When compiling I never got an error, I tried in /usr and /usr/local. This is how I start my tcpserver: /usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup \ ns4.pi-group.net /bin/checkpoppasswd /usr/sbin/relay-ctrl-allow \ /var/qmail/bin/qmail-pop3d Maildir & I can loggin at all times, but this 'easy' program doesn't seem to work. /var/spool/relay-ctrl stays empty........ .... maybe .... I think I've read something that RH 7.0 is using a strange gcc-compiler, but I don't know for sure. I'm a rookie when it comes to compiling. O yeah, I tried the RPM: --> error: relay-ctrl-2.5-1.i386.rpm cannot be installed Hope someone can help, cause it's not funny anymore after 2 days. Best Regards, Pascal
Webservice <[EMAIL PROTECTED]> wrote: > I've been trying for 2 days now to install relay-ctrl-2.5. You may want to ask this question on the author's bgware mailing list if you don't get an answer here -- this isn't strictly a qmail issue. > Everyting goes well (I see no errors in compiling), but the dir's are > normally not created (once I saw a /var/spool/relay-ctrl, but don't know for > sure), all the other times I created the dirs myself. How did you compile? "make"? Did you do "make install"? Did you do it as root? Why did you think it would work if part of the installation failed? > This is how I start my tcpserver: > /usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup \ > ns4.pi-group.net /bin/checkpoppasswd /usr/sbin/relay-ctrl-allow \ > /var/qmail/bin/qmail-pop3d Maildir & What is "checkpoppasswd"? Normally, relay-ctrl is used with either a vanilla checkpassword or with vmailmgr's replacement (checkvpw). Perhaps it does not implement the full checkpassword interface? relay-ctrl relies on this interface to work. > I can loggin at all times, but this 'easy' program doesn't seem to work. > /var/spool/relay-ctrl stays empty........ > .... maybe .... I think I've read something that RH 7.0 is using a strange > gcc-compiler, but I don't know for sure. I'm a rookie when it comes to > compiling. If it was a compiler issue, you'd have seen error messages during the build, and it almost certainly would have hit a fatal error at that point. > O yeah, I tried the RPM: --> error: relay-ctrl-2.5-1.i386.rpm cannot be > installed Why? RPM gives better error messages than that. 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. -----------------------------------------------------------------------
> > I've been trying for 2 days now to install relay-ctrl-2.5. > > You may want to ask this question on the author's bgware mailing list if you > don't get an answer here -- this isn't strictly a qmail issue. I've already did that (no response, the list looks empty) > > Everyting goes well (I see no errors in compiling), but the dir's are > > normally not created (once I saw a /var/spool/relay-ctrl, but don't know for > > sure), all the other times I created the dirs myself. > > How did you compile? "make"? Did you do "make install"? Did you do it as > root? Why did you think it would work if part of the installation failed? Everytime as root, make followed by make install, also tried make root-install > > This is how I start my tcpserver: > > /usr/local/bin/tcpserver -R 0 pop3 /var/qmail/bin/qmail-popup \ > > ns4.pi-group.net /bin/checkpoppasswd /usr/sbin/relay-ctrl-allow \ > > /var/qmail/bin/qmail-pop3d Maildir & > > What is "checkpoppasswd"? Normally, relay-ctrl is used with either a vanilla > checkpassword or with vmailmgr's replacement (checkvpw). Perhaps it does not > implement the full checkpassword interface? relay-ctrl relies on this > interface to work. checkpoppasswd is a patch from Philip Jacob to put the user in a different file insteadof /etc/passwd http://www.whirlycott.com/phil/pop3.html I've seen users in the lists that actualy use both. > > O yeah, I tried the RPM: --> error: relay-ctrl-2.5-1.i386.rpm cannot be > > installed > > Why? RPM gives better error messages than that. # rpm -i -vv relay*rpm D: counting packages to install D: found 1 packages D: looking for packages to download D: retrieved 0 packages D: New Header signature D: Signature size: 149 D: Signature pad : 3 D: sigsize : 152 D: Header + Archive: 18342 D: expected size : 18431 error: relay-ctrl-2.5-1.i386.rpm cannot be installed D: found 0 source and 0 binary packages
Webservice <[EMAIL PROTECTED]> wrote: > > > I've been trying for 2 days now to install relay-ctrl-2.5. > > > > You may want to ask this question on the author's bgware mailing list if > > you don't get an answer here -- this isn't strictly a qmail issue. > > I've already did that (no response, the list looks empty) I'm on that list and I never saw your message. I just checked the list archives for May, and you're not in it. The list is certainly not empty, either -- bgware gets a couple of dozen messages a month. > > > This is how I start my tcpserver: /usr/local/bin/tcpserver -R 0 pop3 > > > /var/qmail/bin/qmail-popup \ ns4.pi-group.net /bin/checkpoppasswd > > > /usr/sbin/relay-ctrl-allow \ /var/qmail/bin/qmail-pop3d Maildir & > > > > What is "checkpoppasswd"? Normally, relay-ctrl is used with either a > > vanilla checkpassword or with vmailmgr's replacement (checkvpw). Perhaps > > it does not implement the full checkpassword interface? relay-ctrl relies > > on this interface to work. > > checkpoppasswd is a patch from Philip Jacob to put the user in a different > file insteadof /etc/passwd http://www.whirlycott.com/phil/pop3.html I've > seen users in the lists that actualy use both. Okay, fair enough. But is it actually working? > > > O yeah, I tried the RPM: --> error: relay-ctrl-2.5-1.i386.rpm cannot be > > > installed > > > > Why? RPM gives better error messages than that. > > # rpm -i -vv relay*rpm > D: counting packages to install > D: found 1 packages > D: looking for packages to download > D: retrieved 0 packages > D: New Header signature > D: Signature size: 149 > D: Signature pad : 3 > D: sigsize : 152 > D: Header + Archive: 18342 > D: expected size : 18431 error: relay-ctrl-2.5-1.i386.rpm cannot be > installed > D: found 0 source and 0 binary packages You have a corrupt RPM, or a version of RPM which cannot verify the signature on the RPM. Which part of "expected size != size" is unclear? 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. -----------------------------------------------------------------------
Hello, I found declaration to scan_whitenskip in scan.h in qmail distribution, but no definition. Does somebody know where to get it, or it is only declarations which djb never really coded? -- Ondřej Surý <[EMAIL PROTECTED]> Globe Internet s.r.o. http://globe.cz/ Tel: +420235365000 Fax: +420235365009 Pláničkova 1, 162 00 Praha 6 GPG fingerprint: CC91 8F02 8CDE 911A 933F AE52 F4E6 6A7C C20D F273
Whats the best way of blocking Hahaha virus at server level. ?HelpDavid
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.219 / Virus Database: 103 - Release Date: 05/12/2000
Davidson Thaba <[EMAIL PROTECTED]> wrote: > Whats the best way of blocking Hahaha virus at server level. ? Doesn't it come with an envelope sender address of "[EMAIL PROTECTED]"? If so, putting that address in /var/qmail/control/badmailfrom would do the trick. If, on the other hand, that address only shows up in the headers of the message, you'd need to patch qmail-smtpd to reject mail based on its contents (a bad idea, IMO). 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. -----------------------------------------------------------------------
* Charles Cazabon <[EMAIL PROTECTED]> [010523 18:17]: > Davidson Thaba <[EMAIL PROTECTED]> wrote: > > Whats the best way of blocking Hahaha virus at server level. ? > Doesn't it come with an envelope sender address of "[EMAIL PROTECTED]"? If so, > putting that address in /var/qmail/control/badmailfrom would do the trick. > If, on the other hand, that address only shows up in the headers of the > message, you'd need to patch qmail-smtpd to reject mail based on its contents > (a bad idea, IMO). The problem is that this virus comes with <> as the envelope sender... But the original poster stated that he had virus checking for outgoing messages (see signature) so why not extend this to incoming messages. Otherwise, qmail-qfilter and qmail-qscanner come to mind. -Johan -- Johan Almqvist http://www.almqvist.net/johan/qmail/
I used the qmailqueue patch and used qmailscanner to take care of it.. You can check it out at: http://qmail-scanner.sourceforge.net/ Hope that helps Hank Wethington ================================================ Information Logistics www.GoInfoLogistics.com mailto:info.at.GoInfoLogistics.com ================================================ -----Original Message----- From: Davidson Thaba [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 8:32 AM To: [EMAIL PROTECTED] Subject: Blocking Hahaha at server level Whats the best way of blocking Hahaha virus at server level. ? Help David --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.219 / Virus Database: 103 - Release Date: 05/12/2000
David:About two weeks ago, I had the same question listed on this mailing list. Several people responded. In my case, the subject matter was listed as "failure notice" since I was getting bounced messages. Please look in the archives. If you do not have any luck, then send me a private message and I will send you couple of responses which I have saved.Kirti
PS: My email: [EMAIL PROTECTED]-----Original Message-----
From: Davidson Thaba [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 11:32 AM
To: [EMAIL PROTECTED]
Subject: Blocking Hahaha at server levelWhats the best way of blocking Hahaha virus at server level. ?HelpDavid
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.219 / Virus Database: 103 - Release Date: 05/12/2000
I want to set up multiple qmail machines to access an NFS backend. We have about 10,000 users (running maildir) and an average of 5 emails/user/dat and av. 10K in size. On average, there are 6 simultaneous pop sessions with approx. 200 new sessions/min. We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients. The result was that the qmail machines were BARELY able to keep up. If there were any pauses on the NFS server, the POP sessions would build to 50-60 very quickly with qmail crashing at about 300 sessions. Once qmail exceeded about 70 sessions, it was beyond the point of return and would not recover. The NFS server was nothing special (P350/IDE 256Mb RAM). We also tried a Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS.... But the performance was abysmal! Performing an ls in a user/new directory took 21 seconds for a response. I think NFS would work, but I don't really want a Netapp F5 ($50,000). What NFS experiences are out there? If you wish - respond privately [EMAIL PROTECTED] Duane. ==================================================== President, | Terra World, Inc. Terra World, Inc. | 200 ARCO Place, Suite 252 (888)332-1616 | Independence, KS 67301 (620)332-1616 | When your work counts, Use www.terraworld.net | T E R R A W O R L D ====================================================
> I want to set up multiple qmail machines to access an NFS backend. We have > about 10,000 users (running maildir) and an average of 5 emails/user/dat and > av. 10K in size. On average, there are 6 simultaneous pop sessions with > approx. 200 new sessions/min. I'm working on something similar. > The NFS server was nothing special (P350/IDE 256Mb RAM). We also tried a > Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS.... But the > performance was abysmal! Performing an ls in a user/new directory took 21 > seconds for a response. > > I think NFS would work, but I don't really want a Netapp F5 ($50,000). What > NFS experiences are out there? Well, our solution was to use an existing EMC Cellera, but I think that's beyond your means :) On the other hand, if you go with a speedy CPU (Athalon 800Mhz+, I think), and at least 1GB of RAM, and a really, really good NIC (I like the NetGear FA310TX, and I think they've come out with a newer one), you should be ok. > > If you wish - respond privately [EMAIL PROTECTED] > > Duane. > Dave
I don't want to start an OS war, but if you want to use NFS on an Intel box, I strongly suggest one of the BSDs. I was in a situation where I had to use Linux NFS servers - that was until they failed miserabled. They were replaced with FreeBSD and the problems went away. Regards. On Wed, May 23, 2001 at 01:40:13PM -0500, Duane Schaub allegedly wrote: > > I want to set up multiple qmail machines to access an NFS backend. We have > about 10,000 users (running maildir) and an average of 5 emails/user/dat and > av. 10K in size. On average, there are 6 simultaneous pop sessions with > approx. 200 new sessions/min. > > We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients. > The result was that the qmail machines were BARELY able to keep up. If > there were any pauses on the NFS server, the POP sessions would build to > 50-60 very quickly with qmail crashing at about 300 sessions. Once qmail > exceeded about 70 sessions, it was beyond the point of return and would not > recover. > > The NFS server was nothing special (P350/IDE 256Mb RAM). We also tried a > Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS.... But the > performance was abysmal! Performing an ls in a user/new directory took 21 > seconds for a response. > > I think NFS would work, but I don't really want a Netapp F5 ($50,000). What > NFS experiences are out there? > > If you wish - respond privately [EMAIL PROTECTED] > > Duane. > > > ==================================================== > President, | Terra World, Inc. > Terra World, Inc. | 200 ARCO Place, Suite 252 > (888)332-1616 | Independence, KS 67301 > (620)332-1616 | When your work counts, Use > www.terraworld.net | T E R R A W O R L D > ==================================================== > >
Duane Schaub <[EMAIL PROTECTED]> wrote: > > I want to set up multiple qmail machines to access an NFS backend. We have > about 10,000 users (running maildir) and an average of 5 emails/user/dat and > av. 10K in size. 50,000 messages a day, 10k each? Not a huge load. We handle about a tenth of that on one machine with a P733 and SCSI disks. System load is typically << 0.1 (i.e., negligible). > On average, there are 6 simultaneous pop sessions with approx. 200 new > sessions/min. This could be the big problem. > We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients. You're not using the default kernel shipped with RH6.1, are you? That would be 2.2.5-something. Early 2.2 kernels are known to have absolutely terrible NFS performance as NFS servers, and client-side isn't a whole lot better. NFS has gotten somewhat better in 2.2.19, but server-side is still not up to snuff. You may want to run OpenBSD or FreeBSD as the NFS server. > The NFS server was nothing special (P350/IDE 256Mb RAM). This is your biggest problem. This is not a performance workstation class machine, let alone a high-performance server. You'll notice a huge difference just in switching to SCSI with Linux, even cheap 7200rpm SCSI disks on an average controller. For your load, I would recommend good 15kRPM SCSI disks in a hardware RAID setup (not software RAID). This would probably cure your performance issues on the NFS server. Adding additional RAM would likely benefit as well, as more of the filesystem could be cached. Memory is so cheap these days that you might want to jump right to 1GB. > The result was that the qmail machines were BARELY able to keep up. If > there were any pauses on the NFS server, the POP sessions would build to > 50-60 very quickly with qmail crashing at about 300 sessions. If qmail is "crashing" (prove it!) due to POP3 load, you've seriously misconfigured your server. You should be using tcpserver's concurrency limits to enforce a maximum limit on concurrent POP3 connections to a level that your system can actually handle. qmail itself doesn't crash for any reason related to POP3 access. > If you wish - respond privately [EMAIL PROTECTED] No, I think I'll keep it on the list. That way others can benefit from your experiences and learn from them, rather than asking the same question next week, next month, next year... 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. -----------------------------------------------------------------------
Unleash the daemon! ;) -----Original Message----- From: Mark Delany [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 2:12 PM To: Qmail List Subject: Re: High Availability, High Volume and NFS I don't want to start an OS war, but if you want to use NFS on an Intel box, I strongly suggest one of the BSDs. I was in a situation where I had to use Linux NFS servers - that was until they failed miserabled. They were replaced with FreeBSD and the problems went away. Regards. On Wed, May 23, 2001 at 01:40:13PM -0500, Duane Schaub allegedly wrote: > > I want to set up multiple qmail machines to access an NFS backend. We have > about 10,000 users (running maildir) and an average of 5 emails/user/dat and > av. 10K in size. On average, there are 6 simultaneous pop sessions with > approx. 200 new sessions/min. > > We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients. > The result was that the qmail machines were BARELY able to keep up. If > there were any pauses on the NFS server, the POP sessions would build to > 50-60 very quickly with qmail crashing at about 300 sessions. Once qmail > exceeded about 70 sessions, it was beyond the point of return and would not > recover. > > The NFS server was nothing special (P350/IDE 256Mb RAM). We also tried a > Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS.... But the > performance was abysmal! Performing an ls in a user/new directory took 21 > seconds for a response. > > I think NFS would work, but I don't really want a Netapp F5 ($50,000). What > NFS experiences are out there? > > If you wish - respond privately [EMAIL PROTECTED] > > Duane. > > > ==================================================== > President, | Terra World, Inc. > Terra World, Inc. | 200 ARCO Place, Suite 252 > (888)332-1616 | Independence, KS 67301 > (620)332-1616 | When your work counts, Use > www.terraworld.net | T E R R A W O R L D > ==================================================== > >
Hi List, I would like to get some commercial support for Qmail from somebody based in Ireland or England. Can anybody recommend anybody? I would prefer to contract somebody who has been recommended, rather than somebody listed on the Qmail home page: http://www.ie.qmail.org/top.html#paidsup Thanks, Ross