qmail with mysql patch - solaris
i am trying to set up qmail under following conditions OS : solaris8 (SUN OS 5.8) Hardware : e3500 Compiler : gcc-2.95.2 MySQL Patches : - qmail-mysql-1.2.1-lain.patch (OR) - qmail-mysql-0.6.6.patch however, when i run qmail-getpw after compiling, i get this error message: Segmentation Fault (Memory Dump) Error please help! Wizard Rudel ICQ: 61722029 E-Mail: [EMAIL PROTECTED]
Re: RAID Qmail.
On Fri, Jan 19, 2001 at 04:59:33PM -0500, Steve Fulton wrote: I've searched the archives extensively, and I've learned quite a lot, but I'd like advice on this question: Assuming RAID 1+0 is not an option (due to the expense), what level of RAID is best for storing /Maildir's on a file server (that will be accessible to the SMTP POP servers via NFS). Redudancy is the big issue, otherwise I'd go for RAID 1. The suits are pushing for RAID 5 because they don't know better - and won't listen. Why is RAID 5 and option if RAID 1+0 isn't? The latter only requires 4 drives in the minimum configuration. You can even do it with IDE drives using 3ware's IDE RAID controllers. John
Re: installation problem
* Daniel Yip [EMAIL PROTECTED] [010131 03:04]: 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 sh -x /usr/local/sbin/qmail start
RE: installation problem
It gave me the same error. I had also check all the execute right and they look find. I am using "root" all along. Any other suggestions? -Original Message- From: Robin S. Socha [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 4:41 PM To: [EMAIL PROTECTED] Subject: Re: installation problem * Daniel Yip [EMAIL PROTECTED] [010131 03:04]: 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 sh -x /usr/local/sbin/qmail start
Re: the rss patch to rblsmtpd
On 31 Jan 2001 06:59:09 +0100, Mate Wierdl [EMAIL PROTECTED] wrote: When testing the patch with Russ's test, I get 220 rblsmtpd.local helo rrss.crynwr.com 250 rblsmtpd.local mail from: 250 rblsmtpd.local rcpt to:[EMAIL PROTECTED] 451 Open relay problem - see? +URL:http://www.mail-abuse.org/cgi-bin/nph-rss?192.203.178.70 Terminating conversation But the URL just gives me a form to enter an IP. Is that correct? They changed the script on the webserver, it now expects a query-var. So the full URL now should read like http://www.mail-abuse.org/cgi-bin/nph-rss?query=192.203.178.70 I think everyone should change their qmail-start script... Greetings -- Robert Sander Computer Scientist Epigenomics AG Bioinformatics RDwww.epigenomics.com Kastanienallee 24 +493024345330 10435 Berlin
Re: installation problem
* Daniel Yip [EMAIL PROTECTED] [010131 03:54]: Robin S. Socha [mailto:[EMAIL PROTECTED]] * Daniel Yip [EMAIL PROTECTED] [010131 03:04]: 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 sh -x /usr/local/sbin/qmail start It gave me the same error. I had also check all the execute right and they look find. I am using "root" all along. Any other suggestions? softlimit is mentioned three times in the document. In two scripts. You've either got a typo there or installed the software in other places. Or the command is not in your path, or... Or you're using SuSE... It all boils down to this: if you're not even able to debug a shell script (or know how to enter debug information into an existing script), why on earth would you want to run a mail server? Furthermore: Message Editing and Quoting FAQ aka http://learn.to/edit_messages HowTo Use Reply-To aka http://learn.to/usereplyto And while your're at it: http://www.math.fu-berlin.de/~guckes/outlookexpress/ Last, I DO NOT WANT TO BE Cc:'d. I would set a reply-to if I wanted to.
How sending log messages in absence of Qmail or Sendmail?
Hello, 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 . Somebody suggested me to install Sendmail but not as root or install Qmail on each machines. But, I don't need Sendmail on my machines due to security problems. My question is: how I can do this? how I can get messages from any machine in LAN, DMZ, ISP whitout installating Qmail on each? Thanks
Re: how to delete messages from the queue?
Dave Sill wrote: Virtual domain deliveries *are* local. Yes... I just tried to explain that I used to have non-virtual domains and virtual domains. And called the non-virtual domain as a local delivery. Sorry. What Do The Logs Say? (tm) They complained that the home directory was writeable. As the complaints were for my non-virtual domain (which should receive no mail anymore) I started wondering and typed qmail-qread which gave me the information I listed in the previous message. 1) Stop qmail. 2) Delete the queue files associated with the message. See: http://www.faqts.com/knowledge_base/view.phtml/aid/1219/fid/286 There are also some queue management tools available from www.qmail.org. 3) Restart qmail. 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? Thanks for your help, Peter
Re: How sending log messages in absence of Qmail or Sendmail?
Hi, once I needed to create new users on a freebsd box, this users were already created on a SuSE linux box, where a qmail server is running. What I used to notify those users of their new accounts is a program called nmh, on OpenBSD and FreeBSD is at the ports tree, and of course you can compile it on linux. You can set an external mailserver in nmh conf file. Hope that it helps Franco Galian - Original Message - From: "Mohamed Ould" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 31, 2001 6:31 AM Subject: How sending log messages in absence of Qmail or Sendmail? Hello, 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 . Somebody suggested me to install Sendmail but not as root or install Qmail on each machines. But, I don't need Sendmail on my machines due to security problems. My question is: how I can do this? how I can get messages from any machine in LAN, DMZ, ISP whitout installating Qmail on each? Thanks
Clean out /var/qmail/queue/pid + send automatic reply
Hi, I'm a newbie qmail admin getting more and more enthousiastic about this MTA, even though I've just spent some time troubleshooting my first qmail problem after someone accidentally deleted a qmail user account and changed permissions on some directories. My mail system was suffering from a "451 qq trouble creating files in queue (#4.3.0)" message when receiving/trying to queue mail. I found a lot of people asking what this was all about all over the net, but no real solution to the problem. Well, I just want to add my own 0.02 $ by saying that it's all permissions and owner-related. I found the "make check" (which calls instcheck) from the build directory to be the most effective tool to find out where file ownerships and permissions have gone berserk. Note that usernames don't really matter for qmail, it's the userids that have to match ! Recreating a deleted account with a different userid doesn't solve things, you have to change the uid in /etc/passwd afterwards. I have two quick questions though: 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. [root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/instcheck [root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/qmail-lint [root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/qmail-qsanity [root@yuclnx1 queue-fix-1.4]# /var/qmail/bin/queue-fix -N /var/qmail/queue/ Running in test mode, no changes will be made. Found files in /var/qmail/queue/pid that shouldn't be there. I will not remove them. You should consider checking it out. queue-fix finished... How do I find out what files to delete ? There are 151 files in the folder. 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... Regards, Filip
qmail Digest 31 Jan 2001 11:00:01 -0000 Issue 1261
qmail Digest 31 Jan 2001 11:00:01 - Issue 1261 Topics (messages 56334 through 56399): how to delete messages from the queue? 56334 by: Peter Peltonen 56341 by: Dave Sill 56397 by: Peter Peltonen Re: SOMEONE GET ME OFF THIS LIST 56335 by: Henning Brauer Re: Sorry about the size of my prevous e-mail (I have beem flamed on this before). 56336 by: Henning Brauer Re: qmail queue problems .. help 56337 by: Charles Cazabon 56340 by: Joel Gautschi qstat 56338 by: Jacques Frip' WERNERT Re: Secure IMAP server 56339 by: Felix von Leitner 56352 by: Andy Bradford Relay and mail lists. 56342 by: Paco Martinez 56345 by: Charles Cazabon 56347 by: Paco Martinez 56350 by: Charles Cazabon vhost user 56343 by: Emilis Trinskis 56344 by: Charles Cazabon pop3 / vhosts 56346 by: Gonçalo Gomes 56386 by: Sam Trenholme Re: doubts about re-compile 56348 by: J.J.Gallardo pop3d logs 56349 by: Miles Scruggs 56361 by: Robin S. Socha Re: Qmail and GFS 56351 by: Paul Jarc 56354 by: Charles Cazabon Re: is there a filter to scan message header and reject accordingly 56353 by: Paul Jarc Memphis RSS service will be cancelled 56355 by: Mate Wierdl 56356 by: Jamin A. Brown 56357 by: Mate Wierdl 56370 by: Chris Johnson 56373 by: Andy Dustman Warning Message 56358 by: Antonio Ferri Charbone 56359 by: Charles Cazabon Re: qmail or postfix for high volume mailing list? 56360 by: Robin S. Socha Qmail with 'tcpserver' 56362 by: Roger Walker 56363 by: Mark Delany 56364 by: Robin S. Socha 56365 by: Roger Walker 56366 by: Mark Delany 56367 by: Peter van Dijk 56368 by: Mark Delany 56369 by: Roger Walker QMail permission error 56371 by: Nitro 56372 by: Matthew Patterson unable to acquire log/supervise/lock !! 56374 by: dennis 56375 by: Rahsheen Porter Re: Moving qmail servers 56376 by: M. Yu Qmail Error 56377 by: Gary Tremblay 56378 by: Chris Johnson 56379 by: Chris Johnson 56380 by: Gary Tremblay 56381 by: Charles Cazabon vmailmgr to vpopmail 56382 by: Miles Scruggs ucspi-rss.diff 56383 by: Mate Wierdl 56387 by: Vincent Schonau 56388 by: Mate Wierdl pop domain issue 56384 by: kh the rss patch to rblsmtpd 56385 by: Mate Wierdl 56394 by: Robert Sander installation problem 56389 by: Daniel Yip 56392 by: Robin S. Socha 56393 by: Daniel Yip 56395 by: Robin S. Socha qmail with mysql patch - solaris 56390 by: Rudel Sun-woo Re: RAID Qmail. 56391 by: John White How sending log messages in absence of Qmail or Sendmail? 56396 by: Mohamed Ould 56398 by: Franco Galian Clean out /var/qmail/queue/pid + send automatic reply 56399 by: Filip Sneppe \(Yucom\) 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] -- Browsing through the FAQ and "Life with Qmail" I didn't see the answer for this question (problem) I have: I used to run qmail with one local domain fivetec.com. I switched to using vmailmgr and made the fivetec.com domain a virtual one. My switch from real domains to virtual domains was quite painful and I didn't get everything working right away. In the process there seem to be messages left in the queue, that are accepted for local delivery for domain fivetec.com: [root@mail config]# qmail-qread 26 Jan 2001 09:01:43 GMT #1975510 534 [EMAIL PROTECTED] done local [EMAIL PROTECTED] local [EMAIL PROTECTED] As fivetec.com is no longer local qmail can't deliver the message. How do I delete the message from the queue? Or how do I deliver it to the virtual domain? Regards, Peter Peter Peltonen [EMAIL PROTECTED] wrote: I used to run qmail with one local domain fivetec.com. I switched to using vmailmgr and made the fivetec.com domain a virtual one. In the process there seem to be messages left in the queue, that are accepted for local delivery for domain fivetec.com: Virtual domain deliveries *are* local. [root@mail config]# qmail-qread 26 Jan 2001 09:01:43 GMT #1975510 534 [EMAIL PROTECTED] done local [EMAIL PROTECTED] local [EMAIL PROTECTED] As fivetec.com is no longer local qmail can't deliver the message. What Do The Logs Say? (tm) How do I delete the message from the queue? 1) Stop qmail. 2) Delete the queue files associated with the message. See:
need help
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.
Re: Clean out /var/qmail/queue/pid + send automatic reply
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
backup
$B3'MM!"$3$s$K$A$o(B $B0l$D
mail backup
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]
logging tai64nlocal
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?
supervise/lock error !!
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
Re: How sending log messages in absence of Qmail or Sendmail?
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.rpmType: audio/x-pn-realaudio-plugin Encoding: base64
Re: logging tai64nlocal
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)
procmail and formail problem..
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 @40003a77ed5f35833224 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
Re: installation problem
"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
Re: procmail and formail problem..
[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 @40003a77ed5f35833224 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
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? -- *** Matthew H Patterson Unix Systems Administrator National Support Center, LLC Naperville, Illinois, USA ***
Re: mail backup
[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
Re: how to delete messages from the queue?
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
Re: qmail w/ reiserfs on linux 2.4.1
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 Administrao de Sistemas / Operaes || 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
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. ---
Re: How sending log messages in absence of Qmail or Sendmail?
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. ---
Re: supervise/lock error !!
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. ---
RE: qmail w/ reiserfs on linux 2.4.1
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?
RE:RE: qmail with mysql patch - solaris - thanks reply
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. >---
Re: RE: qmail with mysql patch - solaris - thanks reply
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. ---
one host with several hostnames?
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
Re: one host with several hostnames?
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.
Re: one host with several hostnames?
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. ---
Re: need help
"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
Re: Qmail with 'tcpserver'
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
Problem with qmail-scanner
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
Re: Problem with qmail-scanner
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. ---
Re: Problem with qmail-scanner
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 200 \ In /var/qmail/supervise/qmail-smtpd/run. Try making the 200 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
maildirsmtp interruption
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 ttyp1S 0:00 /usr/local/bin/maildirserial -b -t 1209600 -- /var/qm 1390 ttyp1S 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.)
Re: Problem with qmail-scanner
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.
qmail alias extension question.
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]
Re: qmail blocker
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.
Re: qmail with mysql patch - solaris
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
Mailing List Question
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
Newbie: Which Dist Linux, Best?
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
Re: Help! qmail-pop3d not liking maildir!!
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.
Re: Help! qmail-pop3d not liking maildir!!
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. ---
Re: Newbie: Which Dist Linux, Best?
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
Re: qmtp and spammers.
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.
Help! qmail-pop3d not liking maildir!!
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
Re: Newbie: Which Dist Linux, Best?
* 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)
Re: Newbie: Which Dist Linux, Best?
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 Serviceswww.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.
RE: mail backup
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]
Re: Mailing List Question
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. ---
Re: mail backup
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