Re: ESMTP
Tobias Neubert a écrit : /usr/local/bin/maildirsmtp ~alias/pppdir alias-ppp- sendmail.neubert.com $IPADDR to send my mail. But if I try this now, I get the following error: maildirserial: info: new/963816027.832.chakoty bounced: 209.231.49.20 said: 553 To send mail, first check your mail with a valid POP account; this prevents unauthorized SPAM relaying. (#5.7.1) Does anybody know how to configure my site to use ESMTP? This has nothing to do with ESMTP. Relaying is only allowed is you check your mail with POP before, to authenticate yourself. You can do it with fetchmail, before running maildirsmtp. Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - If Bill Gates had a dime for every time a Windows box crashed... ...oh, wait a minute -- he already does.
Qmail is *NOT* reliable with ReiserFS
ReiserFS does not commit link() synchronously (mounting with "sync" doesn't change anything). Therefore, if there is a power outage during the Maildir delivery or if qmail-smtpd answered the final "queued" message without actually commiting the link in queue/todo, the message will not be processed by qmail-send. Here is a patch to make Qmail more reliable for Linux users using a ReiserFS partition. Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - If Bill Gates had a dime for every time a Windows box crashed... ...oh, wait a minute -- he already does. --- ../qmail-1.03.orig/qmail-local.cMon Jun 15 12:53:16 1998 +++ qmail-local.c Sun Jul 16 16:19:04 2000 @@ -1,5 +1,6 @@ #include sys/types.h #include sys/stat.h +#include fcntl.h #include "readwrite.h" #include "sig.h" #include "env.h" @@ -128,6 +129,9 @@ if (close(fd) == -1) goto fail; /* NFS dorks */ if (link(fntmptph,fnnewtph) == -1) goto fail; + if ((fd = open(fnnewtph, O_RDONLY)) 0 || + fsync(fd) 0 || close(fd) 0) goto fail; + /* if it was error_exist, almost certainly successful; i hate NFS */ tryunlinktmp(); _exit(0); --- ../qmail-1.03.orig/qmail-queue.cMon Jun 15 12:53:16 1998 +++ qmail-queue.c Sun Jul 16 16:19:33 2000 @@ -1,5 +1,6 @@ #include sys/types.h #include sys/stat.h +#include fcntl.h #include "readwrite.h" #include "sig.h" #include "exit.h" @@ -155,6 +156,7 @@ { unsigned int len; char ch; + int fd; sig_blocknone(); umask(033); @@ -183,7 +185,7 @@ todofn = fnnum("todo/",0); intdfn = fnnum("intd/",0); - if (link(pidfn,messfn) == -1) die(64); + if (link(pidfn,messfn) == -1) die(64); if (unlink(pidfn) == -1) die(63); flagmademess = 1; @@ -248,6 +250,8 @@ if (fsync(intdfd) == -1) die_write(); if (link(intdfn,todofn) == -1) die(66); + if ((fd = open(todofn, O_RDONLY)) 0 || + fsync(fd) 0 || close(fd) 0) die(66); triggerpull(); die(0);
/var/qmail/queue/foop
Does anyone knows what is the exact role of a /var/qmail/queue/foop directory ? Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - If Bill Gates had a dime for every time a Windows box crashed... ...oh, wait a minute -- he already does.
Re: shortify bounce messages
[EMAIL PROTECTED] écrit: how can i shourtify ( limitthe size) of bounce messages Look at my patch available from qmail.org or http://www.jedi.claranet.fr Best regards, -Jedi.
Re: inodes maximum sub dir limit
kapil sharma écrit: Now i want to ask the folowing questions: 1: What is the maximum no. of sub directories under a directories? 2: Is there any way to increase this numbers of maximum files/ sub dir under main dir? What operating system are you running ? What filesystem is your partition on ? Best regards,
Re: no checkpassword in /var/qmail/bin/
[EMAIL PROTECTED] écrit: i didt found checkpassword file in /var/qmail/bin/ directory i have compiled qmail 6-7 times but not able to get the checkpassword file Isn't the 'checkpassword' file somewhere in the /bin directory ?
Re: inetd vs. ucspi-tcp
Jens Georg a écrit : is there a difference in using qmail-pop3d with either inetd or ucspi-tcp ? Yes, under high load (in fact when there are more than N requests per second), inetd will reject new clients (usually during 5 minutes) . tcpserver has not that "feature". You may also try G2S available from http://www.jedi.claranet.fr Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] If Bill Gates had a dime for every time a Windows box crashed... ...oh, wait a minute -- he already does.
Re: [PATCH] Transparent maildir compression.
Michael T. Babcock écrit: This would probably be most useful on machines with more CPU than drive space. Mind you, drive space does tend to be cheaper these days than CPU time. It depends on your email traffic. A small company usually has a single box for web/ftp/mail/fax/dns and no more than 20 mails per hour. Nobody will notice the compression CPU overhead, but more disk space will be available. And yes, disks are cheap these days, but RAID makes them expensive. Best regards.
[PATCH] Transparent maildir compression.
Here is an experimental patch against Qmail 1.03. Messages will be saved in Maildir spools as gzip files, and the POP3 server uncompresses them on-the-fly. It may save a lot of hard disk space (especially on ReiserFS partitions with tails) and does not change anything to the POP3 nor SMTP protocols. Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - If Bill Gates had a dime for every time a Windows box crashed... ...oh, wait a minute -- he already does. qmail-compression.patch.gz
Re: Off Topic: call a perl script
Carlo Gibertini a écrit : If some good soul can send me a example perl script that gets the content of the message, i will apreciate... #! /usr/local/bin/perl -w while () { /microsoft/oi exit 100 } What is the exact content of your .qmail file ? Did you check Qmail logs ? Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: Off Topic: call a perl script
Carlo Gibertini a écrit : user with "|/my_program" will call the program. "| ./my_program" would be better. -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: Unix GUI MUA For Qmail Maildirs ?
Martin Lesser wrote: in a Unix XWindow environment. I can't seem to find one that allows the usage of Qmail's Maildirs. Does anyone know of one that is Open Source ? Xemacs and Gnus is your choice Balsa (http://www.balsa.net) . -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: What MUA do you use?
If you are a Gnome user, check out the latest releases of BALSA. Although the first snapshots were a bit poor, that MUA has now lotsa nifty features like filtering and Maildir support. The multi-threaded mail fetching is also an unique feature. Checkout : http://www.balsa.net -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: What MUA do you use?
Bruno Wolff III wrote: Be carefull when using a browser to read email. People can tell when you read their email by looking to see when image links in the message are referenced. Scripting can also be used to do unfriendly things to you. Right, and many Netscrap and Grootlook users are sending HTML mails (and even HTML + plain text) for a plain text content, or just ugly and useless colors or background. Wotta stupid bandwidth starvation : the content is the same than a plain text message, but with twice its size. -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: [ Error messages ] - how and can we change/translate them?
Luka Gerzic écrit : Any one knows how to translate messages like this one ? Where are they located ? Thank you all [EMAIL PROTECTED]: Sorry, no mailbox here by that name. (#5.1.1) Unfortunately, there are hard coded in the source code. You will have to hack it in order to change the messages. Switching to gettext and .po files would be a nice alternative. -Jedi.
Re: Logging in says No mail. But there is mail!
Serban Udrea wrote: QMAIL_DIR MyMail/incoming As you can see its written there: QMAIL_DIR is for Qmail. Maybe Qmail is not qmail? Is MyMail/incoming a maildir folder (do you have cur, tmp and new in MyMail/incoming/) ? Did you mount the partition with noatime and/or nodiratime on Linux ? Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: limiting the file size of bounces ?
Van Liedekerke Franky wrote: their is a patch available for limitting bounce sizes. Maybe it is still on the qmail pages, otherwise search in the mailarchives (someone recently posted it again). I upchucked the patch at the following URL : http://www.jedi.claranet.fr/qmail-bounce.patch Anyway, it would be kewl if it was added to the Qmail home page (as a local copy because that URL will soon disappear) . Best regards, -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -
Re: How to truncate the mailer-daemo failure notice?
Ari Arantes Filho wrote: Is it possible the put just the header of the message or just a few lines? Yes, here is a patch that does the job. It defaults to bounce 50k of text max, but you can change that limit in a control/bouncemaxbytes file. Best regards, -Jedi. -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis - diff -u ../qmail-1.03/qmail-send.c ./qmail-send.c --- ../qmail-1.03/qmail-send.c Mon Jun 15 12:53:16 1998 +++ ./qmail-send.c Wed Jun 24 20:06:29 1998 @@ -44,6 +44,8 @@ int lifetime = 604800; +int bouncemaxbytes = 5; + stralloc percenthack = {0}; struct constmap mappercenthack; stralloc locals = {0}; @@ -740,9 +742,17 @@ qmail_fail(qqt); else { + int bytestogo = bouncemaxbytes; + int bytestoget = (bytestogo sizeof buf) ? bytestogo : sizeof buf; substdio_fdbuf(ssread,read,fd,inbuf,sizeof(inbuf)); - while ((r = substdio_get(ssread,buf,sizeof(buf))) 0) + while (bytestoget 0 (r = substdio_get(ssread,buf,bytestoget)) 0) { qmail_put(qqt,buf,r); + bytestogo -= bytestoget; + bytestoget = (bytestogo sizeof buf) ? bytestogo : sizeof buf; + } + if (r 0) { + qmail_puts(qqt,"\n\n--- End of message stripped.\n"); + } close(fd); if (r == -1) qmail_fail(qqt); @@ -1442,6 +1452,7 @@ /* this file is too long -- MAIN */ int getcontrols() { if (control_init() == -1) return 0; + if (control_readint(bouncemaxbytes,"control/bouncemaxbytes") == -1) return 0; if (control_readint(lifetime,"control/queuelifetime") == -1) return 0; if (control_readint(concurrency[0],"control/concurrencylocal") == -1) return 0; if (control_readint(concurrency[1],"control/concurrencyremote") == -1) return 0;
Re: auth/identd?
John Conover wrote: Qmail does not use auth/identd, right? Qmail itself does not need identd. But tcpserver and tcp-env can ask that info if needed. -- Frank DENIS aka Jedi/Sector One aka DJ Chrysalis [EMAIL PROTECTED] - Software : http://www.jedi.claranet.fr - - Music : http://www.mp3.com/chrysalis -