Re: R: R: leave a copy of messages on server
I think you may do it, but you must modify your pop3 server. It should memorize the downloaded messages numbers and then execute the opportune dele # at the end of session (or immediately after RETR command, when a new command is given and it may be sure that previous RETR has completed). Or... If I'm not wrong, all read messages are moved to ../Maildir/cur, so you could delete all messages in those ../Maildir/cur directories. Tonino At 22/05/2001 22/05/2001 +0200, Andrea Cerrito wrote: Mmmmhhh, I don't think it's possible. Anyway, you can set a crontab to delete old messages (ie: 30 days old) or you can set quota. It's not advisable to make the delete mandatory because: 1) user may want to look his/her messages from a location, and to download them from another one, 2) the data transfer may fail for some reason (and you force deletion of a message unread by user) Good work --- Cordiali saluti / Best regards Andrea Cerrito ^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. P.zzale Bosco 3A 05100 Terni IT Tel. +39 744 5441330 Fax. +39 744 5441372 -Messaggio originale- Da: medi [mailto:medi]Per conto di Medi Montaseri Inviato: lunedì 21 maggio 2001 21.11 A: Andrea Cerrito Cc: [EMAIL PROTECTED] Oggetto: Re: R: leave a copy of messages on server I have the opposit question, is it possible to mandate delete? That is, can I mandate the all messages be downloaded from a POP server? Andrea Cerrito wrote: Mmmm... strange. A normal pop3 session is like ... stat retr #num dele #num and if you set leave a copy... the dele action is never done. Try to telnet to your box and act as a mail client: you'll be able to know if it's a problem with qmail (I don't think so, anyway) or with your client. I mean +OK [EMAIL PROTECTED] user $YOURUSER +OK pass $YOURPASS +OK stat +OK 1 1228 retr 1 bla bla bla bla bla quit +OK then reconnect and see if the message is still alive. Good luck --- Cordiali saluti / Best regards Andrea Cerrito ^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. P.zzale Bosco 3A 05100 Terni IT Tel. +39 744 5441330 Fax. +39 744 5441372 -Messaggio originale- Da: Roberto Marzialetti [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]] Inviato: lunedì 21 maggio 2001 18.39 A: Qmail List Oggetto: leave a copy of messages on server Hi boys have got a problem... well... if i active the option leave a copy of messages on server on my email client, the messages doesn't leave on my server :o(( have you got some solution ? many thanks Roberto -- === Medi Montaseri, [EMAIL PROTECTED], 408-450-7114 Prepass Inc, IT/Operations, Software Eng. ===
Re: Digest list available?
A digest list will usually send you an unique e-mail with all new questions and answers of the last day grouped together. That means to receive one or two (big) email instead of 50-80 email as I'm currently receiving. At 16/05/2001 16/05/2001 -0400, you wrote: what's the diff in digets list and regular mailing list - Original Message - From: tonix (Antonio Nati) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:32 AM Subject: Digest list available? Sorry to question something that probably has been already asked... Would it be possible to setup a digest for this mailing list? Tonino
Digest list available?
Sorry to question something that probably has been already asked... Would it be possible to setup a digest for this mailing list? Tonino
Re: Slow start tcpserver
Try to use the -l name parameter on tcpserver. Tonino At 14/05/2001 14/05/2001 +0300, Andriy T. Yanko wrote: Hi ALL! I decided try tcpserver program for qmail services (smtpd pop3d). It's work properly but sometimes tcpserver strarting very slow ( more than 30 sec ! ). When I used xinetd for starting qmail-smtpd qmail-pop3d I never must wait for starting it. --- /etc/rc.d/rc.qmail --- /usr/local/bin/tcpserver -H -R -v -u 514 -g 503 -x /etc/tcp.smtp.cdb 0 25 /var/qmail/bin/qmail-smtpd \ 2 /var/log/qmail-smtp.log /usr/local/bin/tcpserver -H -R -v -x /etc/tcp.pop3.cdb 0 110 /var/qmail/bin/qmail-popup mserver \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2 /var/log/qmail-pop3.log --- end --- What I do wrong? Thx. -- Good Luck! Andriy T. Yanko +-+ | E-mail: [EMAIL PROTECTED]ICQ# 83047775 Powered by Linux | +-+
Re: reason for problem found: connection reset after 1 minute
Just my 5 ITL contribute. Reading README file of checkpasswordnt (from tar downloaded from qmail site), I see: MSNT Auth v1.1 Squid web proxy Authentication module Antonino Iannella, Stellar-X Pty Ltd Mon Apr 10 22:47:33 CST 2000 _ This is a simple authentication module for the Squid proxy server to authenticate users on an NT domain. It originates from the Samba and SMB packages by Andrew Tridgell and Richard Sharpe. This version is sourced from the Pike authentication module by William Welliver ([EMAIL PROTECTED]). Usage is simple. It accepts a username and password on standard input and will return OK if the username/password is valid for the domain, or ERR if there was some problem. What I read in www.qmail.org about checkpassword is different: qmail-popup and qmail-pop3d are glued together by a program called checkpassword. It's run by qmail-popup, reads the username and password handed to the POP3 daemon, looks them up in /etc/passwd, verifies them, switches to the username/home directory, and runs pop3d. At least that's what the standard one does. Some alternatives are listed below. If what I read it true, checkpasswordnt is not good for qmail-pop3d. Tonino At 11/05/2001 11/05/2001 +0200, you wrote: Hi there, I've posted some messages concerning this strange pop3 connection reset after 1 minute. I just discovered the reason for the problem, but I still don't have a solution. I'm using checkpasswordnt for my authentication issues (so that all users can be authenticated with our NT PDC). I just changed this back to the normal checkpassword program and tried again with an appropriate account. Now it works. No connection reset, nothing. So checkpasswordnt seems to make problems. But, as I understand, checkpassword is only used to authenticate the connection in the first place. After that it's not accessed again? There seems to be some kind of timeout after one minute, but where? This is the ps aux output while running a pop3 session: root 6176 0.0 0.2 1224 344 pts/0S11:43 0:00 /var/qmail/bin/qmail-popup wetzel-office.com /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d Maildir jhassler 6177 0.0 0.3 1236 396 pts/0S11:43 0:00 /var/qmail/bin/qmail-pop3d Maildir One thing to mention: I certainly don't like this NT authentication stuff, but in this environment its needed at the moment (can't change it). Sorry for not mentioning checkpasswordnt in the first place, but I thought this would be the last place the problem could occur. I tried several things. tcpdump output is not very helpful. After the initial authentication packets there is a NBT Session Keepalive packet after 20 seconds. After this packet there is no other traffic to or from the NT server. I thought there would be something after exactly 60 seconds, but there is nothing. I'm also confused about this Keepalive packet, because the session should end after the first authentication transfers, shouldn't it? Strange, again: I use this Mrs. Brisby version of qmail-smtpd together with checkpasswordnt to implement SMTP AUTH. This works without any problems. The same packets are travelling through the cable, there is also this Keepalive packet, but the connection is not reset after 60 seconds. So there seems to be something about checkpasswordnt qmail-pop3d or qmail-popup don't like. Maybe an Anti-M$-check :-) If anyone on this list is also using checkpasswordnt and doesn't have this problem then the NT server is the evil box. That's nothing new, indeed, but this would be off-topic for this list. I'll further try finding a solution, maybe someone of you has a clue where the problem might be. Some day... I'll throw these NT things out. Certainly. Thanks again for your help, I really appreciate it. Jens
Re: qmail-inject and Perl
Hi Kevin, I use this simple PERL code that (for me) works nicely. $from, $to, $reply, $subject, $body are the variables you have to feed. The way of filling Reply-to, Return-Path, From lines, depends on your needs, this is only an example. open (MESSAGE, | /usr/sbin/sendmail -t); print MESSAGE Return-Path: $from\n; print MESSAGE From: $from\n; print MESSAGE To: $to\n; print MESSAGE Reply-To: $reply\n; print MESSAGE Subject: $subject\n; print MESSAGE \n$body\n; close (MESSAGE); Ciao, Tonino At 10/05/2001 10/05/2001 +0100, Kevin Smith wrote: Hi All, I want to send mail using Perl, however, I want to use qmail to send it and for qmail to report any failed emails, i.e. bad email addresses, failed deliveries, etc. Would qmail-inject do this for me and if so, does anyone have any simple examples using this with Perl? Many thanks, Kevin Smith
qmail-smtpd-chkusr: (reject unknown users at smtp level) patch updated
qmail-smtpd-chkusr is a patch for qmail-smtpd (with vpopmail 4.9.x) and permits rejecting non existing users/aliases/mailing-lists in the smtp acceptance phase. I've just updaded this patch, with the following changes: - changed the error code emission (550 instead of 553) - added check for BOUNCE_MAIL flag This patch is freely available at http://www.interazioni.it/qmail
Re: pop3 connection reset after exactly 1 minute
Do you have any antivirus software running over your Outlook express and using 127.0.0.1 as local pop to filter messages? If yes, try to disable it and try again. Tonino At 09/05/2001 09/05/2001 +0200, you wrote: Hi there, we're experiencing VERY strange problems with our QMail installation. I've set up QMail as stated in the Life with QMail document and everything works fine. The POP3 server is started over inetd, because its a very low traffic server: pop3stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup my-server.com /bin/checkpasswordnt /var/qmail/bin/qmail-pop3d Maildir When clients connect they can retrieve all eMails. But if one of them is larger and the connection lasts longer than 60 seconds, QMail seems to suddenly reset the connection! This is a reproducable behaviour. Outlook Express gives me following error message: Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. - it's the same with different internet providers - it's the same thing when using Outlook Express and Netscape Messenger as mail clients - the problem is the same when using tcpserver - the problem is not the type or the size of the mail, only connection time - these mail clients retrieve big mails from other (public) mail servers without any problems! These are the last lines of a connection trace with tcpdump: 10:24:11.970250 server.pop3 client.1045: . 230481:231017(536) ack 0 win 32696 (DF) 10:24:11.970271 server.pop3 client.1045: P 231017:231553(536) ack 0 win 32696 (DF) 10:24:12.111078 client.1045 server.pop3: . 0:0(0) ack 230481 win 2144 (DF) 10:24:12.38 server.pop3 client.1045: FP 231553:232073(520) ack 0 win 32696 (DF) 10:24:12.242815 client.1045 server.pop3: . 0:0(0) ack 231553 win 2144 (DF) 10:24:12.327520 client.1045 server.pop3: . 0:0(0) ack 232074 win 1624 (DF) 10:24:12.334402 client.1045 server.pop3: F 0:0(0) ack 232074 win 1624 (DF) 10:24:12.334452 server.pop3 client.1045: . 232074:232074(0) ack 1 win 32696 (DF) As you can see the server is pushing a FIN request to the client, not otherwise! I have to bring this to work asap, otherwise the users kill me :-) Thx A LOT for your help, I really hope someone of you has the solution. Jens
Re: Patch on qmail-smtpd / vpopmail for rejecting unknown users
sorry, but I cannot appreciate the difference... For me isn't nothing more than a comment (I thought iw was tha last modified version of qmail-smtpd, but I was wrong probably). May you please explain me the difference? Thanks, Tonino P.S. Why I'm receiving two times every message? I subscribe only one time. At 07/05/2001 07/05/2001 -0500, you wrote: void err_realrcpt() { out(553 sorry, no mailbox here by that name (#5.7.1 - usrchk)\r\n); } #5.7.1, Hummm... shouldn't that be #5.1.1 ;) void err_realrcpt() { out(553 sorry, no mailbox here by that name - usrchk (#5.1.1)\r\n); } --Larry M. Smith mailto:[EMAIL PROTECTED] cat BOFH | sed s/Operator/Postmaster/g BPFH Tonix wrote: I've developed a patch for qmail-smtpd with vpopmail, for rejecting non existing users/aliases/mailing lists. This patch is now working nice on my system since more than 2 months, so I think it's pretty stable and I may submit it to the community. The patch is freely available to everyone want to use it. The address of the HTML page for this patch is: http://www.interazioni.it/qmail
Re: Patch on qmail-smtpd / vpopmail for rejecting unknown users
Well, not be sorry, I'm learning... I have to modify the patch for other reason also (new qpasswd struct, checking of bounce mail flag), so I'll change this error to 550 too. I would like also to use this patch to reject senders using some recipient's filter files. Is there any suggestion about a filtering scheme? Is there a standard already? Ciao, Tonino At 07/05/2001 07/05/2001 -0500, you wrote: Let me get the coffee pot put back on... void err_realrcpt() { out(550 sorry, no mailbox here by that name (#5.1.1)\r\n); } Sorry about that... RFC2821 4.2.3; 550 Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons) RFC1893 3.2; X.1.1 Bad destination mailbox address The mailbox specified in the address does not exist. For Internet mail names, this means the address portion to the left of the @ sign is invalid. This code is only useful for permanent failures. Tonix wrote: I've developed a patch for qmail-smtpd with vpopmail, for rejecting non existing users/aliases/mailing lists. This patch is now working nice on my system since more than 2 months, so I think it's pretty stable and I may submit it to the community. The patch is freely available to everyone want to use it. The address of the HTML page for this patch is: http://www.interazioni.it/qmail
Patch on qmail-smtpd / vpopmail for rejecting unknown users
I've developed a patch for qmail-smtpd with vpopmail, for rejecting non existing users/aliases/mailing lists. This patch is now working nice on my system since more than 2 months, so I think it's pretty stable and I may submit it to the community. The patch is freely available to everyone want to use it. The address of the HTML page for this patch is: http://www.interazioni.it/qmail