qmail Digest 1 Feb 2001 11:00:00 -0000 Issue 1262 Topics (messages 56400 through 56456): need help 56400 by: zhonghua dai 56425 by: Ian Lance Taylor Re: Clean out /var/qmail/queue/pid + send automatic reply 56401 by: Peter van Dijk backup 56402 by: Takayuki Murai mail backup 56403 by: Takayuki Murai 56413 by: Dave Sill 56445 by: Takayuki Murai 56446 by: Kris Kelley logging & tai64nlocal 56404 by: Juan Miguel Salamanca 56405 by: Peter Green 56408 by: Mohamed Ould supervise/lock error !! 56406 by: Dennis 56418 by: Charles Cazabon Re: How sending log messages in absence of Qmail or Sendmail? 56407 by: Mohamed Ould 56417 by: Charles Cazabon procmail and formail problem.. 56409 by: email.mcmug.org 56411 by: Dave Sill Re: installation problem 56410 by: Dave Sill qmail w/ reiserfs on linux 2.4.1 56412 by: Matthew Patterson 56415 by: Jose AP Celestino 56419 by: Van Liedekerke Franky Re: how to delete messages from the queue? 56414 by: Dave Sill Re: qmail with mysql patch - solaris 56416 by: Charles Cazabon 56447 by: Sam Trenholme RE:RE: qmail with mysql patch - solaris - thanks reply 56420 by: Rudel Sun-woo Re: qmail with mysql patch - solaris - thanks reply 56421 by: Charles Cazabon one host with several hostnames? 56422 by: Michael Renner 56423 by: Peter van Dijk 56424 by: Charles Cazabon Re: Qmail with 'tcpserver' 56426 by: Aaron L. Meehan Problem with qmail-scanner 56427 by: Andres Rusconi 56428 by: Charles Cazabon 56429 by: Dave Sill 56431 by: Andres Rusconi maildirsmtp interruption 56430 by: Gavin McCord qmail alias extension question. 56432 by: Christian Nygaard qmail blocker 56433 by: Register, Dadrien 56434 by: Peter van Dijk qmail.sh & Mailbox/Maildir 56435 by: David Ondich Sieve 56436 by: Peter van Dijk qmtp and spammers. 56437 by: Faried Nawaz 56438 by: Peter van Dijk 56455 by: Vincent Schonau Mailing List Question 56439 by: Larry McJunkin 56449 by: Charles Cazabon Newbie: Which Dist Linux, Best? 56440 by: SF 56443 by: Chris Johnson 56451 by: Phil Barnett 56452 by: Vincent Danen 56453 by: Robin S. Socha Help! qmail-pop3d not liking maildir!! 56441 by: Tony Harris 56442 by: Peter van Dijk 56444 by: tony.elroynet.com 56450 by: Charles Cazabon qmail with qmail-ldap patch ? 56448 by: dennis qmail under NAT 56454 by: Boris Krivulin [OT] Re: Newbie: Which Dist Linux, Best? 56456 by: Vincent Schonau 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] ----------------------------------------------------------------------
Who can tell me what's the function substdio_feed for? thanks in advance! _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
"zhonghua dai" <[EMAIL PROTECTED]> writes: > Who can tell me what's the function substdio_feed for? It refills the buffer for the substdio argument. It is called when one of the input routines is called when there is no data left in the buffer. It's a bit confusing at first glance because DJB is using the n field as both an offset to the bytes remaining in the buffer and to indicate the size of the buffer. In substdio_feed, if s->p is 0, then s->n holds the size of the buffer. This double duty is why the byte_copyr is required at the end of substdio_feed, to ensure that the condition will hold the next time substdio_feed is called. Ian
On Wed, Jan 31, 2001 at 11:22:32AM +0100, Filip Sneppe (Yucom) wrote: [snip] > How can I clean out /var/qmail/queue/pid after an ungraceful shutduwn ? > (you've guessed it, at some point I thought it would be useful to just > kill -9 all qmail processes) I have no idea which files shouldn't be in that > folder. Any garbage in the queue will get removed after 36 hours, if I'm correct. [snip] > Also, due to a domain name change, I need to implement the following: all > people sending mail to [EMAIL PROTECTED] should receive a reply > saying that they should now use [EMAIL PROTECTED] I know it shouldn't be too > difficult to redirect mail from @subdomain.domain.com to @domain.com, but > our management really wants to have automated replies to the senders... Uh, put subdomain.domain.com:alias-moved into virtualdomains then create ~alias/.qmail-moved-default, containing |bouncesaying 'this domain has moved to domain.com' Disclaimer: I got out of bed 2 minutes ago and may be saying very stupid things :) Greetz, Peter
$B3'MM!"$3$s$K$A$o(B $B0l$D
Hello all, I am wondering that how to backup mail directory. I am having trouble with how to do it. Please give me some idea what you are doing. Taka Murai Takayuki Murai -$BB<0f!!N4G7(B- [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote: >I am wondering that how to backup mail directory. I am having trouble with >how to do it. Please give me some idea what you are doing. Which mail directory are you referring to? /var/qmail? /var/spool/mail? ~user/Maildir? And what kind of trouble are you having? I use dump and GNU tar via Amanda to backup all of my mail directories and haven't had any trouble. Of course, restoring the queue is a little tricky since some of the files must be named after their inode number. -Dave
Hello, > Which mail directory are you referring to? /var/qmail? > /var/spool/mail? ~user/Maildir? And what kind of trouble are you > having? I am referring to ~user/Maildir. Some of the user use POP, and the other use IMAP. And, I assume that incoming mails store into ~/Maildir/new. My question is: if there are new coming mail storing into ~/Maildir/new while backup job is working, what problem is going to happen. If there is no problem, it means that those new coming mail is not backed up? Or, if there is some error, what are they? Does Amanda works fine? Thank you taka Takayuki Murai -村井 隆之- [EMAIL PROTECTED]
Takayuki Murai wrote: > I am referring to ~user/Maildir. > Some of the user use POP, and the other use IMAP. And, I assume that incoming mails store > into ~/Maildir/new. My question is: > if there are new coming mail storing into ~/Maildir/new while backup job is working, > what problem is going to happen. Incoming messages are first stored in ~/Maildir/tmp. They are only moved to ~/Maildir/new once the file write is complete. Therefore, as long as you are only backing up ~/Maildir/cur and ~/Maildir/new, you shouldn't have any risk of incomplete file back-ups. > Does Amanda works fine? Not familiar with this program, but any file copier should do, even plain old "cp -r". ---Kris Kelley
I am using multilog as logger tool for my qmail instalation. As usual, the time stamp is in tain format. I know that you can use tai64nlocal to convert the timestamp to human readable format, but there is not much documentation on how to do it. Can anyone help me?
* Juan Miguel Salamanca <[EMAIL PROTECTED]> [010131 06:41]: > I am using multilog as logger tool for my qmail instalation. As usual, the > time stamp is in tain format. I know that you can use tai64nlocal to convert > the timestamp to human readable format, but there is not much documentation > on how to do it. > > Can anyone help me? Just pipe the log output through tai64nlocal, like: tai64nlocal < /var/log/qmail/current It will convert the tai64n timestamp to localtime and print the rest of the line. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- "On a normal ascii line, the only safe condition to detect is a 'BREAK' - everything else having been assigned functions by Gnu EMACS." (By Tarl Neustaedter)
Hi, is possible to do that automatically (i.e. getting current file always in local time format), without taping eeach time tail64nlocal <...... ? Peter Green a écrit : > Just pipe the log output through tai64nlocal, like: > > tai64nlocal < /var/log/qmail/current > > It will convert the tai64n timestamp to localtime and print the rest of the > line. > > /pg > -- > Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] > --- > "On a normal ascii line, the only safe condition to detect is a 'BREAK' > - everything else having been assigned functions by Gnu EMACS." > (By Tarl Neustaedter)
Help !! Anyone know why I might be getting this error ? supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary failure supervise: fatal: unable to acquire log/supervise/lock: temporary failure ? Dennis
Dennis <[EMAIL PROTECTED]> wrote: > Anyone know why I might be getting this error ? > > supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: temporary > failure > supervise: fatal: unable to acquire log/supervise/lock: temporary failure This normally means you've already got another supervise process running for that service/directory. 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. -----------------------------------------------------------------------
Thanks package. is this package exist as tarball, otherwise where I can find Doc on installation of thi RPM? I dont see on qmail.org site any doc on qmail-client (tarball or RPM) procedure of installation. Thanks if you can help to finding it. Aaron Carr a écrit : > I haven't tried this yet, but it sounds like what you are looking for. It > is to be installed on the machines that need to use your qmail server to > send mail. > > ------------------------------------------------------------------------ > Name: qmail-client-1.03-17.i386.rpm > qmail-client-1.03-17.i386.rpm Type: audio/x-pn-realaudio-plugin > Encoding: base64
Mohamed Ould <[EMAIL PROTECTED]> wrote: > > On all my LAN , DMZ, ISP machine servers, I desintallating Sendmail > (installed by default on RH6.2). > I have a Qmail Relay machine in the DMZ and Qmail server in my LAN. > Now, I have the problem to sent logs files, swatch, logcheck parsing, > alerts,... from machines in the DMZ, LAN, ISP where Qmail is not > installed. Some applications on the DMZ, ISP would be also able to send > messages to me or user on the net . Consider installing something like Bruce Guenter's nullmailer -- it provides the minimal functionality for programs on the local machine to be able to send mail (through a program which provides a sendmail-compatible command line interface), and relays all mail to one or more specified smarthosts. Check http://em.ca/~bruceg/nullmailer/ for more info. 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 want to use procmail to filter when a new message come.. it send me a icq message.. then i try send it to my [EMAIL PROTECTED] but i found that my qmail log ..have some error log MAILFROM=`/usr/bin/formail -xFrom:` :0 c |(/usr/bin/formail -X "" \ -I "To: [EMAIL PROTECTED]" -X "To:" \ -I "Cc: " -X "Cc:" \ -I "Bcc: " -X "Bcc:" \ -I "From: [EMAIL PROTECTED]" -X "From:"; \ echo "Email from:$MAILFROM "; \ echo " " ) | $MAILMAIL and the qmail log.. is that @400000003a77ed5f35833224 delivery 15: success: procmail:_Error_while_writing_to_"(/usr/bin/formail_-X_""_\/_-I_"To:_123456@ pager.icq.com"_-X_"To:"_\/______-I_"Cc:_"__-X_"Cc:"_\/______-I_"Bcc:_"__-X_" Bcc:"_\/_-I_"From:[EMAIL PROTECTED]"_-X_"From:";_\/_echo_"Email_from:$MAI LFROM_";_\/______echo_"_"_)_|_$MAILMAIL_"/did_0+0+1/did_0+0+1/ so any idea??? Nick -- _______________________________________________ Get your free email from http://www.mcmug.org/webmail.html @mcmug.org @mcdull.net DOWNLOAD McMug 2001 Calendar la.. . http://www.mcmug.org Powered by Outblaze
[EMAIL PROTECTED] wrote: >MAILFROM=`/usr/bin/formail -xFrom:` >:0 c >|(/usr/bin/formail -X "" \ > -I "To: [EMAIL PROTECTED]" -X "To:" \ > -I "Cc: " -X "Cc:" \ > -I "Bcc: " -X "Bcc:" \ > -I "From: [EMAIL PROTECTED]" -X "From:"; \ > echo "Email from:$MAILFROM "; \ > echo " " ) | $MAILMAIL > >and the qmail log.. is that > >@400000003a77ed5f35833224 delivery 15: success: >procmail:_Error_while_writing_to_"(/usr/bin/formail_-X_""_\/_-I_"To:_123456@ >pager.icq.com"_-X_"To:"_\/______-I_"Cc:_"__-X_"Cc:"_\/______-I_"Bcc:_"__-X_" >Bcc:"_\/_-I_"From:[EMAIL PROTECTED]"_-X_"From:";_\/_echo_"Email_from:$MAI >LFROM_";_\/______echo_"_"_)_|_$MAILMAIL_"/did_0+0+1/did_0+0+1/ > >so any idea??? First problem is that qmail considers this a successful delivery, but procmail thinks it was unsuccessful. See: http://www.lifewithqmail.org/lwq.html#procmail for some qmail/procmail tips. Second problem is that procmail didn't like your recipe. That's really a procmail problem, and should be directed to a procmail forum. -Dave
"Daniel Yip" <[EMAIL PROTECTED]> wrote: >I was following every single steps from Life with qmail to install >qmail on a Linux server. When I typed /usr/local/sbin/qmail start, it >gave me an error message of "softlimit: fatal: unable to run : file >does not exist Sounds like there's a typo in your /var/qmail/supervise/qmail-smtpd/run script. Try copying/pasting it from LWQ. -Dave
I know it is still very early to be asking this question, but here goes. I remember seeing a notice that qmail was incompatible with reiserfs unless you patched the reiserfs sources. The just-released Linux kernel 2.4.1 includes support for reiserfs. Does anyone know if it is the patched version that works with qmail, or if it is the version that will be incompatible? -- *********************************** Matthew H Patterson Unix Systems Administrator National Support Center, LLC Naperville, Illinois, USA ***********************************
On Wed, Jan 31, 2001 at 07:52:33AM -0600, Matthew Patterson wrote: > I know it is still very early to be asking this question, but here goes. I remember >seeing a notice that qmail was incompatible with reiserfs unless you patched the >reiserfs > sources. Never heard that. I've been using qmail over reiserfs for quite a long time now with kernel 2.2.17. What you had to do was to patch the kernel and fine-tune the qmail conf-* files before compile. But that's another story. Qmail works independent from underlaying filesystem (of course there are possible I/O bottlenecks and reliabylity problems but that's another issue). > The just-released Linux kernel 2.4.1 includes support for reiserfs. So it seems you don't have to patch the kernel sources anymore :) > Does anyone know if it is the patched version that works with qmail, or if it is the >version that > will be incompatible? There's no such thing. Please take a look at: http://www.jedi.claranet.fr/qmail-reiserfs-howto.html Also search the mailing list archives (http://www-archive.ornl.gov:8000) as this issue has been raised before. -- Jose AP Celestino <[EMAIL PROTECTED]> || SAPO / PT Multimedia Administração de Sistemas / Operações || http://www.sapo.pt -------------------------------------------------------------- <SomeLamer> what's the difference between chattr and chmod? <SomeGuru> SomeLamer: man chattr > 1; man chmod > 2; diff -u 1 2 | less -- Seen on #linux on irc
You need to patch qmail to work correctly with reiserfs, not the kernel. Greets, franky -----Original Message----- From: Matthew Patterson [mailto:[EMAIL PROTECTED]] Sent: woensdag 31 januari 2001 14:53 To: [EMAIL PROTECTED] Subject: qmail w/ reiserfs on linux 2.4.1 I know it is still very early to be asking this question, but here goes. I remember seeing a notice that qmail was incompatible with reiserfs unless you patched the reiserfs sources. The just-released Linux kernel 2.4.1 includes support for reiserfs. Does anyone know if it is the patched version that works with qmail, or if it is the version that will be incompatible?
Peter Peltonen <[EMAIL PROTECTED]> wrote: >I used qmHandle-0.4.1 which worked very well. Got my messages deleted from the >queue. Thanks for the tip. > >Though I did not stop / start qmail, I just used the tool. Could have I >achieved some harm to my system by doing so? Anytime you're fiddling with the queue there's a possibility of corrupting it, whether qmail-send is running or not. If you delete messages *carefully* while qmail-send is running, it'll complain about missing files but it shouldn't break anything. -Dave
Rudel Sun-woo <[EMAIL PROTECTED]> wrote: Can't quote it; it was in HTML. Please turn off HTML in your MUA. As to your problem... You appeared to get a segfault (core dump) from qmail-getpw after applying some patches (MySQL perhaps?). You're running Solaris. This leads me to believe one or more of the following: -your compiler or libraries are broken. This is the case with some older versions of Solaris. -you applied the patches improperly. -your MySQL installation is broken or different than the patches expect. 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, 31 Jan 2001, Rudel Sun-woo wrote: > however, when i run qmail-getpw after compiling, i get this error message: > > Segmentation Fault (Memory Dump) > > Error > > please help! In summary: * Use truss to get a sense of where the seg fault is happening * Compile the program with the '-g' switch and analyze the core file with dbm * Try compiling it with gcc instead, which can be obtained over at http://sunfreeware.com. - Sam
thanks your reply. i also thought the problem was due to solaris' lib being old.... What should i do to solve this problem? plz teach solution for solve this problem >From: Charles Cazabon [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, January 31, 2001 11:05 PM >To: [EMAIL PROTECTED] >Subject: Re: qmail with mysql patch - solaris > > >Rudel Sun-woo <[EMAIL PROTECTED]> wrote: > >Can't quote it; it was in HTML. Please turn off HTML in your MUA. As to >your problem... > >You appeared to get a segfault (core dump) from qmail-getpw after applying some >patches (MySQL perhaps?). You're running Solaris. This leads me to believe >one or more of the following: > >-your compiler or libraries are broken. This is the case with some older >versions of Solaris. > >-you applied the patches improperly. > >-your MySQL installation is broken or different than the patches expect. > >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. >-----------------------------------------------------------------------
Rudel Sun-woo <[EMAIL PROTECTED]> wrote: Again, in HTML. Please change the settings in your mail program to send plaintext mail, not HTML mail. If your compiler or libraries on Solaris are old/broken, consider installing the GNU tools and libraries. See http://www.gnu.org/ for more information on that. It's no longer an appropriate topic for the qmail mailing list. 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 have the following situation: +-----------------+ | qmail 1.03 | eth0 ------| gemini.qad.org | | | ppp0 ------| gemini.myip.org | +-----------------+ My host should accept mails to gemini.qad.org as well as gemini.myip.org, because it is the same machine. What I did: I edited the configure files 'locals', 'rcpthosts' and 'virtualdomains' and wrote the additional hostname in there. The virtualdomains: tuebingen.mpg.de: gemini.myip.org: :alias-ppp But it appears like an urgly hack to me. Is there a better way to reach the needed functionality? Thanks for answers and hints -- |Michael Renner E-mail: [EMAIL PROTECTED] | |D-72072 Tuebingen Germany | |Germany Don't drink as root! ESC:wq
On Wed, Jan 31, 2001 at 05:57:00PM +0100, Michael Renner wrote: [snip] > What I did: > I edited the configure files 'locals', > 'rcpthosts' and 'virtualdomains' and wrote > the additional hostname in there. > The virtualdomains: > tuebingen.mpg.de: > gemini.myip.org: > :alias-ppp > > But it appears like an urgly hack to me. > Is there a better way to reach the needed > functionality? Put both domains in locals and rcpthosts, and neither in virtualdomains. Nothing ugly about that. Greetz, Peter.
Michael Renner <[EMAIL PROTECTED]> wrote: > > My host should accept mails to gemini.qad.org > as well as gemini.myip.org, because it is the > same machine. > > What I did: > I edited the configure files 'locals', > 'rcpthosts' and 'virtualdomains' and wrote > the additional hostname in there. > The virtualdomains: > tuebingen.mpg.de: > gemini.myip.org: > :alias-ppp > > But it appears like an urgly hack to me. > Is there a better way to reach the needed > functionality? Take "gemini.myip.org" and "gemini.qad.org" out of virtualdomains if they are in there. Put both of them into "locals" and "rcpthosts". Then mail for both [EMAIL PROTECTED] and [EMAIL PROTECTED] will be delivered to local user "joe" on the machine. 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. -----------------------------------------------------------------------
Quoting Roger Walker ([EMAIL PROTECTED]): > On 30 Jan 2001, Mark Delany wrote: > > =.rope.net:allow,RELAYCLIENT="" > > > > Right? Possibly using -P to avoid unauthorized relay usage by those > > who control their reverse lookups. > > I control my class C reverse lookups, also :-) so I would just > need to know the proper syntax in order to implement it. He meant that I could, for instance, configure _our_ dns so that a particular IP address reverse resolves to foo.rope.net. Without paranoid checking (both PTR and A record match), then security through hostname checking is lax security. Aaron
Hi, Sorry my English, please. I'm happy with qmail and the users too. When i can add antivirus support with qmail-scanner, i fall in trouble. The QMAILQUEUE patch work fine, the installation its ok, but fetchmail ( i have a dial-up connection ) log the following to '/var/log/qmail/smtpd/current' --------------- suidperl: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory --------------- Can somebody help with this ? Thanks in advance
Andres Rusconi <[EMAIL PROTECTED]> wrote: > suidperl: error while loading shared libraries: libc.so.6: failed to map > segment from shared object: Cannot allocate memory [...] > Can somebody help with this ? malloc() failed; you're low on memory/swap. Kill some processes and try again, or add memory or swapspace to your system. It's not a qmail issue, so it's not appropriate to continue the discussion here. 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]> wrote: >Andres Rusconi <[EMAIL PROTECTED]> wrote: > >> suidperl: error while loading shared libraries: libc.so.6: failed to map >> segment from shared object: Cannot allocate memory >[...] >> Can somebody help with this ? > >malloc() failed; you're low on memory/swap. Or you've configured a memory limit on qmail-smtpd that's too low. E.g., if you installed using LWQ, you have something like: exec /usr/local/bin/softlimit -m 2000000 \ In /var/qmail/supervise/qmail-smtpd/run. Try making the 2000000 larger until the error goes away. You'll need to restart the qmail-smtpd supervise, too, if you're using it. Again, with LWQ this would be: svc -k /var/qmail/supervise/qmail-qmtpd -Dave
Hi, Thanks & sorry > malloc() failed; you're low on memory/swap. Kill some processes and try > It's not a qmail issue, > so it's not appropriate to continue the discussion here.
I'm using maildirsmtp to route my outgoing mail through my ISP. Recently, I've had problems when the connection has died, mid-transmission. The mail is no longer in the /var/qmail/alias/pppdir maildir, all I have is the processes running, e.g. /usr/local/bin/maildirserial -b -t 1209600 -- /var/qm 1389 ttyp1 S 0:00 /usr/local/bin/maildirserial -b -t 1209600 -- /var/qm 1390 ttyp1 S 0:00 /usr/local/bin/serialsmtp alias-ppp- west Is there any way I can restart the send when the connection comes back up, or do I have to kill the processes and restart the whole procedure (i.e. re-compose and send the interrupted messages.) -- I'm Keyser Soze...No, I'm Keyser Soze. I'm Keyser Soze and so's my wife! (Monty Python play The Usual Suspects.)
Is it possible to have two mailinglist named like this? ~alias/.qmail-test ~alias/.qmail-test-foobar Now if I send a mail to [EMAIL PROTECTED] it works, but if I send to [EMAIL PROTECTED] I get an error message back telling me "Sorry, no mailbox here by that name. (#5.1.1)" I've managed to hard code the users with double names, Lars-Svensson.Svensson and Lars-Olle.Svensson using the /var/qmail/users/assign but how to I handle this for mailinglists? //Christian ------------------------------------------------------------------- Christian Nygaard, Sysadmin E-mail: [EMAIL PROTECTED]
I was wondering if anyone here might know of an addon for qmail that will let me block an email address... This also needs to work with vpopmail... any help would be appreciated. Thanx.
On Wed, Jan 31, 2001 at 01:39:17PM -0800, Register, Dadrien wrote: > I was wondering if anyone here might know of an addon for qmail that will > let me block an email address... This also needs to work with vpopmail... > any help would be appreciated. Thanx. Try /var/qmail/control/badmailfrom. man qmail-smtpd might be informative there :) Greetz, Peter.
Hi all. When my friend set up some gateway/proxy/mailserver/whateverelse, he found little strange thing in script file qmail.sh located @ /etc/profile.d/ in his system (and other ones too, as we've seen later). SNIP if grep -q './Mailbox' /var/qmail/defaultdelivery/rc; then MAIL="$HOME/Mailbox" elif grep -q './Maildir/' /var/qmail/defaultdelivery/rc ; then MAIL="$HOME/Maildir/" SNIP Note that the grep with -q flag will take quietly the first Mailbox string in the file (if there exists one), even if this is in commented line (whatever the comment symbol is, std is '#'). So when you have /var/qmail/defaultdelivery/rc with this contents: SNIP # Using qmail-local to deliver messages to ~/Mailbox by default. ./Maildir/ SNIP grep will match the string '~/Mailbox' in the first (commented) line. (The first line is relict of some std installation...) Probably regexp '^[^#].*/Mailbox' or filtering comments should fix this? Regards, dond
Cyrus has an OpenSource Sieve implementation, for those who were wondering. It's supposed to be integrated into Cyrus imapd, tho. How relevant would a sieve implementation that can simply be called from a .qmail be? Greetz, Peter.
QMTP may be faster than SMTP for sending mail, but it seems less powerful in our spam-happy Internet era. How would one go about rejecting incoming QMTP mail? The protocol suggests that there is no way of writing some equivalent of rblsmtpd. The shipped qmail-qmtpd.c in qmail 1.03 doesn't even read control/badmailfrom. This means that servers running QMTP will have to do more processing after accepting mail to weed out spammers and other undesirable mail senders.
On Thu, Feb 01, 2001 at 03:08:32AM +0459, Faried Nawaz wrote: > > QMTP may be faster than SMTP for sending mail, but it seems less powerful in > our spam-happy Internet era. How would one go about rejecting incoming QMTP > mail? The protocol suggests that there is no way of writing some equivalent > of rblsmtpd. The shipped qmail-qmtpd.c in qmail 1.03 doesn't even read > control/badmailfrom. I wrote a patch to make badmailfrom work in qmail-qmtpd. It's on Johan Almqvist's QMTP page. An rblqmtpd should be very possible, I see no real problems there. Just reply 'deferred' for every recipient. Greetz, Peter.
Faried Nawaz writes: > QMTP may be faster than SMTP for sending mail, but it seems less > powerful in our spam-happy Internet era. I think you mean Dan's implementation is 'less powerful'; it has nothing to do with the protocol. Has anyone seen spam enter their network via qmail-qmtpd? Vince.
I'm considering a move to an ISP who uses qmail but before moving our business I have a question no one there can answer. We currently have five email newsletters that are served out by Lyris at out current ISP. I have an ASP page for subscribing to these newsletters that interfaces with Lyris. Does qmail Mailing List have the ability for me to do the same thing if I set up lists for the five newsletters? The documentation the ISP provided me doesn't show this information. Thanks. Larry McJunkin www.wugnet.com
Larry McJunkin <[EMAIL PROTECTED]> wrote: > I'm considering a move to an ISP who uses qmail but before moving our > business I have a question no one there can answer. We currently have five > email newsletters that are served out by Lyris at out current ISP. I have > an ASP page for subscribing to these newsletters that interfaces with Lyris. > > Does qmail Mailing List have the ability for me to do the same thing if I > set up lists for the five newsletters? The documentation the ISP provided > me doesn't show this information. Thanks. qmail is just an MTA. Is the new ISP running ezmlm or ezmlm-idx for mailing list software? If not, they should. It's the best mailing list software around, bar none, and it's specifically designed for qmail. ezmlm-idx is an add-on for ezmlm which adds a few features. It may already include a web interface for subscription/un-subscription requests, but I do not know that. If not, creating one is trivial. Just create a web page that submits to a CGI (in Python, Perl, or whatever you like -- could be done in PHP or ASP). The user fills in their email address and clicks "subscribe" or "unsubscribe". The CGI takes the address and reformats it as follows: Subscribe request: [EMAIL PROTECTED] => [EMAIL PROTECTED] Subscribe request: [EMAIL PROTECTED] => [EMAIL PROTECTED] The CGI then injects the mail into the system. ezmlm will automatically send a confirmation mail to the user asking them to reply to be automatically subscribed/unsubscribed. It's that easy. We use precisely this method at the company I work for. The CGI is about a dozen lines of Perl, if 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 working for about 4 weeks now at setting up qmail on my RH 7.0 box. I'm somewhat new to linux (my real sys admin background is in WinNT, etc. - but I lost the desire to deal with their licensing schemes...) and I've given up on the RH dist for a number of reasons including the issues I have had with setting up qmail - dealing with xinitd vs. more typical "boot" scripts and other things I don't understand enough. I have access to pretty much any dist and wanted to know what the opinion is on the most recommended distribution... I've heard Debian, FreeBSD, etc in other areas, but wasn't sure. I intend this box to be super secure with qmail (for multiple domains) and bind/dns running, thus I don't want the frills of an Xwin sys or any added visual toys, or to run a telnet or ftp server. I have learned how to login remotely using SSH and that's about all I need. I am familiar with the RH shells and the way they (RH) have the sys set up, but I guess I could learn over with a different dist. I digress... Suggestions? Thanks, SF
You'll get a zillion different answers to this question. I won't answer it directly, but I'll throw in my two cents on a few points. On Wed, Jan 31, 2001 at 04:56:40PM -0600, SF wrote: > I've been working for about 4 weeks now at setting up qmail on my RH 7.0 > box. I'm somewhat new to linux (my real sys admin background is in WinNT, > etc. - but I lost the desire to deal with their licensing schemes...) and > I've given up on the RH dist for a number of reasons including the issues I > have had with setting up qmail - dealing with xinitd vs. more typical "boot" > scripts and other things I don't understand enough. > I have access to pretty much any dist and wanted to know what the opinion is > on the most recommended distribution... I've heard Debian, FreeBSD, etc in > other areas, but wasn't sure. FreeBSD isn't a distribution of Linux. It's a version of Unix all by itself. > I intend this box to be super secure with qmail (for multiple domains) and > bind/dns running. "Super secure" and "bind/dns" are inconsistent. If you want super secure, try djbdns: http://cr.yp.to/djbdns.html. It's brought to you by the same person who gave you super-secure qmail. > I am familiar with the RH shells and the way they (RH) have the sys set up, > but I guess I could learn over with a different dist. Red Hat didn't invent the shell. You'll find the same shells available for whatever Unix you use (I believe bash is Red Hat's default shell). I don't know beans about any of the Linux distributions, so I can't make any recommendations. You might look at one of the BSDs instead of Linux though. FreeBSD (http://www.freebsd.org) and OpenBSD (http://www.openbsd.org) would both be good choices. Chris
On 31 Jan 2001, at 16:56, SF wrote: > I've been working for about 4 weeks now at setting up qmail on my RH 7.0 > box. I'm somewhat new to linux (my real sys admin background is in WinNT, > etc. - but I lost the desire to deal with their licensing schemes...) and > I've given up on the RH dist for a number of reasons including the issues I > have had with setting up qmail - dealing with xinitd vs. more typical "boot" > scripts and other things I don't understand enough. > I have access to pretty much any dist and wanted to know what the opinion is > on the most recommended distribution... I've heard Debian, FreeBSD, etc in > other areas, but wasn't sure. > I intend this box to be super secure with qmail (for multiple domains) and > bind/dns running, thus I don't want the frills of an Xwin sys or any added > visual toys, or to run a telnet or ftp server. I have learned how to login > remotely using SSH and that's about all I need. I am familiar with the RH > shells and the way they (RH) have the sys set up, but I guess I could learn > over with a different dist. > I digress... Suggestions? First off, trying to use a .0 release of any Redhat release is,at the very least, foolish. I think you would be quite happy with: Redhat 6.2 Run the Bastille Project scripts Install your SSH tools Turn off any additional unnecessary services (uses inetd, not xinetd) like telnet and ftp. Update BIND to the latest version. Install Qmail using LWQ. Install Tripwire and set it up to report to you by email automatically. Put it on the internet. (don't do this until you've done all of the above) Another options would be to learn FreeBSD, but if you've already learned where stuff is on a Redhat distribution, you'll appreciate not having to relearn where everything is by sticking with a RH distro. And, there are many other ways to do it. I'm just comfortable that the above gives you a mainstream platform that is as secure as you can quickly and easily get. -- Phil Barnett mailto:[EMAIL PROTECTED] WWW http://www.the-oasis.net/ FTP Site ftp://ftp.the-oasis.net
On Wed Jan 31, 2001 at 11:09:17PM -0500, Phil Barnett wrote: > > I've been working for about 4 weeks now at setting up qmail on my RH 7.0 > > box. I'm somewhat new to linux (my real sys admin background is in WinNT, > > etc. - but I lost the desire to deal with their licensing schemes...) and > > I've given up on the RH dist for a number of reasons including the issues I [...] > > First off, trying to use a .0 release of any Redhat release is,at the > very least, foolish. > > I think you would be quite happy with: > > Redhat 6.2 > Run the Bastille Project scripts > Install your SSH tools > Turn off any additional unnecessary services (uses inetd, not > xinetd) like telnet and ftp. > Update BIND to the latest version. > Install Qmail using LWQ. > Install Tripwire and set it up to report to you by email automatically. Another option would be to use Linux-Mandrake. I'd follow the above steps as well (the BIND update is a definate *must*!!!! don't use anything below 8.2.3, the current release). You can also go to http://www.freezer-burn.org/qmail.php for help on installing qmail under Linux-Mandrake with pre-built rpms that follow the distribution license (ie. you can further configure/customize qmail with LWQ without any conflicts or problems). -- [EMAIL PROTECTED], OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD - Danen Consulting Services www.danen.net, www.freezer-burn.org - MandrakeSoft, Inc. Security www.linux-mandrake.com Current Linux kernel 2.4.0-9mdk uptime: 5 days 5 hours 44 minutes.
* Chris Johnson <[EMAIL PROTECTED]> writes: > On Wed, Jan 31, 2001 at 04:56:40PM -0600, SF wrote: >> wanted to know what the opinion is on the most recommended distribution... >> I've heard Debian, FreeBSD, etc in other areas, but wasn't sure. [...] >> I intend this box to be super secure with qmail (for multiple >> domains) and bind/dns running. > "Super secure" and "bind/dns" are inconsistent. If you want super > secure, try djbdns: http://cr.yp.to/djbdns.html. It's brought to you > by the same person who gave you super-secure qmail. Amen. [...] > I don't know beans about any of the Linux distributions, so I can't > make any recommendations. Jurix, Slackware, Debian. Possibly in this order. Either way, throw in http://www.lids.org/ and if you're running some flavour of RH, check Bastille. > You might look at one of the BSDs instead of Linux though. FreeBSD > (http://www.freebsd.org) and OpenBSD (http://www.openbsd.org) would > both be good choices. I run both, and both come with DJB software and many add-ons for it as ports and packages. I'd go for OpenBSD, dunno why ;-) -- Robin S. Socha <http://socha.net/> "The new glue is, unfortunately, ignored by recent versions of the BIND cache; the detailed technical explanation for this is that the BIND company is a bunch of idiots." (DJB)
Hi, I'm a new user to this list, and fairly new to qmail. I have searched the faq and the manual and couldn't find an answer to my problem. Here's the situation: I have 2 machines, almost identical. Both are (as far as I can tell) set up identically. 1 machine works perfectly. The other leaves a lot to be desired. Here is my setup: Maildir is the format. I have a user jdoe in the users home directory (/home/jdoe) the Maildir directory exists Under the Maildir directory, there are three sub directories: cur new tmp Email comes in fine and is thrown into new as it should be. I run: /var/qmail/bin/qmail-popup test.notreal.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir I log in with proper username and password. I issue a list command. It shows NO messages. I manually move the messages from new to cur, re-connect, re-issue a list request, and it shows all of the messages. If I run it on the other system that seems to be operating fine, it shows that there are messages in the new directory when there are messages there. I don't get the problem. According to the man files and everything else, it should show everything that is in new (and then proceed to go thru cur and clean up tmp after download). I don't know what the problem is. -Tony
On Wed, Jan 31, 2001 at 04:56:22PM -0600, Tony Harris wrote: > It shows NO messages. > I manually move the messages from new to cur, re-connect, re-issue a list > request, and it shows all of the messages. What are the rights and ownerships of new, cur and tmp? Greetz, Peter.
Peter van Dijk writes: > On Wed, Jan 31, 2001 at 04:56:22PM -0600, Tony Harris wrote: >> It shows NO messages. >> I manually move the messages from new to cur, re-connect, re-issue a list >> request, and it shows all of the messages. > > What are the rights and ownerships of new, cur and tmp? > > Greetz, Peter. > drwx------ jdoe jdoe on all three. -Tony
Tony Harris <[EMAIL PROTECTED]> wrote: > > Here's the situation: > > I have 2 machines, almost identical. Both are (as far as I can tell) set up > identically. 1 machine works perfectly. The other leaves a lot to be > desired. [...] > I run: /var/qmail/bin/qmail-popup test.notreal.com /bin/checkpassword > /var/qmail/bin/qmail-pop3d Maildir I log in with proper username and > password. I issue a list command. > > It shows NO messages. I manually move the messages from new to cur, > re-connect, re-issue a list request, and it shows all of the messages. > > If I run it on the other system that seems to be operating fine, it shows > that there are messages in the new directory when there are messages there. I seem to recall message on this list about qmail-pop3d being sensitive to messages dated in the future. Is the time on one of these machines not accurate? Do the missing messages show up, but a day late? If either of these is true, try running xntp to keep the time correct. You may find other solutions by searching the mailing list archives. You can find a pointer to the archives from www.qmail.org. 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. -----------------------------------------------------------------------
Hi all... Being a newbie to qmail and ldap I am wondering if there is a qmail with the qmail-ldap patch already applied.
Hi, I would like to run qmail behind NAT. The local machine is called 'galois', with ip number 192.168.1.6. The router is locally called 'euler', and globally is accessible by 'hypervolume.com'. I have set up port forwarding (port 25) from euler to galois. I have ^not^ declared an MX -- do I need it if I have only one real IP address ? Also, what do I put in controls/me ? 'galois' or 'hypervolume.com' ? What else am I missing to get this working ? Thank you, Boris
SF writes: > I have access to pretty much any dist and wanted to know what the opinion is > on the most recommended distribution... I've heard Debian, FreeBSD, etc in > other areas, but wasn't sure. > I intend this box to be super secure with qmail (for multiple domains) and > bind/dns running, thus I don't want the frills of an Xwin sys or any added > visual toys, or to run a telnet or ftp server. I have learned how to login > remotely using SSH and that's about all I need. Any Linux or FreeBSD system you install is going to suffer from your lack of Un*x systems administration experience. This is not a flame, it is a warning. You *must* be aware that the security of your system ends at the same place your knowledge of the system does. The fact that you appear to think that FreeBSD is a distribution of Linux and (especially this week) think you can run a 'super secure' server with BIND on it are good indicators. Fortunately, you do realize that security is vital for an Internet-connected system. My advice would be to pick a system, and experiment with it in a secure environment (ie: not internet-connected), and read as much as you can (books, online, discussion groups). You should not expose your systems to the world until you're confident that you *know* what the risks are. DJB develops his software on OpenBSD, and for a standard installation (no patches), one of the *BSDs is optimal (because of the filesystem sync issue). You should really be asking this question in a general Un*x newbie forum rather than here. Vince.