qmail Digest 3 May 2000 10:00:00 -0000 Issue 990 Topics (messages 40820 through 40917): Re: qmail pop3 problem 40820 by: BlackStains 40821 by: BlackStains 40823 by: Chris Johnson Mail purge 40822 by: Mulindwa Eric 40828 by: Uwe Ohse 40859 by: Mulindwa Eric 40876 by: Dave Sill 40906 by: Mulindwa Eric how to keep junk rejected by rblsmtpd 40824 by: Martin Dougiamas 40825 by: Uwe Ohse 40894 by: Jonathan McDowell Re: dot-qmail: write to mbox named after current year & month 40826 by: Uwe Ohse 40874 by: Rogerio Brito 40902 by: Bob Rogers Re: qmail-inject 40827 by: Uwe Ohse Re: Three questions... 40829 by: Uwe Ohse 40843 by: Dave Sill 40871 by: Jeff Hayward 40872 by: John Gonzalez/netMDC admin 40891 by: Chris Johnson 40898 by: John White 40910 by: Jeroen ten Berge 40917 by: Vince Vielhaber Easy question 40830 by: Derek Watson 40831 by: Ricardo Cerqueira 40878 by: Dave Sill stralloc problem 40832 by: Federico Barbazza 40833 by: Petr Novotny 40835 by: Federico Barbazza 40836 by: Petr Novotny PHP 40834 by: Jeroen ten Berge 40837 by: Soffen, Matthew 40841 by: Jeroen ten Berge 40842 by: Soffen, Matthew 40844 by: Jeroen ten Berge 40847 by: Jeroen ten Berge 40850 by: Paul Farber 40851 by: Adam McKenna 40852 by: Jeroen ten Berge 40858 by: Paul Farber 40908 by: Jeroen ten Berge Re: Understanding How To Use qmail In My Product 40838 by: Dave Sill Re: Newbie setting up aliases 40839 by: Dave Sill 40899 by: bob 40901 by: bob Re: Out of memory error?? 40840 by: Dave Sill 40845 by: TAG 40846 by: Dave Sill 40848 by: Jeroen ten Berge 40849 by: Paul Farber 40875 by: Rogerio Brito 40904 by: TAG 40905 by: TAG POP or SMTP 40853 by: R.Ilker Gokhan 40912 by: R.Ilker Gokhan 40913 by: Uwe Ohse 40915 by: R.Ilker Gokhan qmail's sendmail 40854 by: J.M. Roth 40855 by: markd.bushwire.net 40856 by: Petr Novotny 40857 by: Jim Simmons 40864 by: Bruce Guenter 40886 by: J.M. Roth 40887 by: markd.bushwire.net Web front-end to mail service 40860 by: Tim_Clifton.candle.com 40861 by: Steffan Hoeke 40862 by: Dave Sill 40865 by: Tim_Clifton.candle.com 40866 by: Soffen, Matthew 40867 by: Gabriel Ambuehl 40868 by: John Gonzalez/netMDC admin 40873 by: Dave Sill Can it be done? 40863 by: Guillermo Villasana Cardoza 40879 by: Dave Sill 40883 by: Jennifer Tippens 40885 by: Guillermo Villasana Cardoza Re: "Multi-RCPT vs. Single RCPT delivery" - logic error? 40869 by: Jeff Hayward any news on the 2.0 front? 40870 by: Jeremy Hansen accustamp|tailocal|matchup 40877 by: Kins Orekhov 40880 by: Dave Sill 40881 by: Tim Hunter 40911 by: Peter Samuel 40916 by: Frank D. Cringle svscan doesn't clean up dirs during shutdown... 40882 by: Gabriel Ambuehl 40884 by: James Raftery aliases... 40888 by: Marcelo J. Iturbe 40889 by: Jennifer Tippens 40890 by: markd.bushwire.net multiple Qmail instances/machine 40892 by: Reece Markowsky 40893 by: markd.bushwire.net Any IBM Accounts Running qmail? 40895 by: Mike Flynn Error Message.. 40896 by: Mario Rafael patch send of all addresses in CC field 40897 by: Yuan P Li 40900 by: Bob Rogers Control of queue lifetimes in qmail 40903 by: Ian Lance Taylor Re: upgrade to 1.1.12i -=> strange behaviour :-( 40907 by: Steffan Hoeke Interesting scenerio 40909 by: Mulindwa Eric 40914 by: Uwe Ohse 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] ----------------------------------------------------------------------
-----Original Message----- From: Chris Johnson <[EMAIL PROTECTED]> To: BlackStains <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 02 Mei 2000 14:22 Subject: Re: qmail pop3 problem |On Tue, May 02, 2000 at 05:41:55AM +0700, BlackStains wrote: |> I have qmail installed on my server. The smtpd is working (using telnet |> mail.domain.com 25). But when I telnet mail.domain.com 110, it doesn't work. |> The messages: "-ERR this user has no $HOME/Maildir". What is the problem? |> |> the command "maildirmake $HOME/Maildir" if I implement that like this: |> "maildirmake /home/user01/Maildir" ...... for user01...is this correct? |> |> I put qmail-pop3d in inetd.conf like qmail-smtpd...... |> pop3 stream ......./var/qmail.......tcp-env......./qmail-pop3d is this |correct? | |Where on Earth did you get this from? It's not even remotely close to being |correct. | |Chris When I used qmail-pop3d... what should I do? __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
Could you guide me, I want to use qmail-pop3d as pop3 daemon. -----Original Message----- From: Murat Guven Mural <[EMAIL PROTECTED]> To: BlackStains <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 02 Mei 2000 6:06 Subject: Re: qmail pop3 problem |every user *must* have a $HOME/Maildir directory |(if you use ./Maildir/ delivery system under qmail.) | |if user is john do a | |su john |/var/qmail/bin/maildirmake $HOME/Maildir |thats all needed | |Best Regards, |mgm | | __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
On Tue, May 02, 2000 at 05:11:47PM +0700, BlackStains wrote: > |On Tue, May 02, 2000 at 05:41:55AM +0700, BlackStains wrote: > |> I have qmail installed on my server. The smtpd is working (using telnet > |> mail.domain.com 25). But when I telnet mail.domain.com 110, it doesn't work. > |> The messages: "-ERR this user has no $HOME/Maildir". What is the problem? > |> > |> the command "maildirmake $HOME/Maildir" if I implement that like this: > |> "maildirmake /home/user01/Maildir" ...... for user01...is this correct? > |> > |> I put qmail-pop3d in inetd.conf like qmail-smtpd...... > |> pop3 stream ......./var/qmail.......tcp-env......./qmail-pop3d is this >correct? > | > |Where on Earth did you get this from? It's not even remotely close to being > |correct. > | > |Chris > > When I used qmail-pop3d... what should I do? Read the FAQ and the relevant man pages. If it doesn't work out, tell us what you did and how it failed. Chris
Hi guys , Is there any script I can Use to free up disk space i.e deleting someold mails of clients.Am using qmail. Thanx Eric
On Tue, May 02, 2000 at 04:02:39PM +0300, Mulindwa Eric wrote: > Is there any script I can Use to free up disk space i.e deleting someold > mails of clients.Am using qmail. that's a simple find job of you are using maildirs: ( for i in `awk -v FS=: '{print $1}' /etc/passwd` ; do x=`eval echo ~$i/Maildir` if test -d $x ; then find $x -type f -mtime +180 -print0 fi done ) |xargs -0 --no-run-if-empty rm but a complicated amount of magic if you are using mbox (you'll learn why mbox is bad if you go down that road). Regards, Uwe
Hi Guys I have an interesting scenerion, whereby I send mail to user and the mail is not in the user's mailbox, what do U think could be the problem, and also when I check in the maillog I see an error msg saying : Yikes!Could_create_but_cant_delete_temperory_file!!/ENOENT:path_doesnot_exist What could be the prob.
Mulindwa Eric <[EMAIL PROTECTED]> wrote: >I have an interesting scenerion, whereby I send mail to user and the mail >is not in the user's mailbox, what do U think could be the problem, and >also when I check in the maillog I see an error msg saying : >Yikes!Could_create_but_cant_delete_temperory_file!!/ENOENT:path_doesnot_exist >What could be the prob. That "Yikes" message isn't coming from qmail. What delivery agent is this user using? -Dave
Well am using qmail. E On Tue, 2 May 2000, Dave Sill wrote: > Mulindwa Eric <[EMAIL PROTECTED]> wrote: > > >I have an interesting scenerion, whereby I send mail to user and the mail > >is not in the user's mailbox, what do U think could be the problem, and > >also when I check in the maillog I see an error msg saying : > >Yikes!Could_create_but_cant_delete_temperory_file!!/ENOENT:path_doesnot_exist > >What could be the prob. > > That "Yikes" message isn't coming from qmail. What delivery agent is > this user using? > > -Dave >
Hi, I run a very small server for a few people, and just added rblsmtp to my setup. It seems to be working fine, but as I'm not very familiar with the quality of ORBS or MAPS I'm worried about what non-junkmail it may be bouncing. So, I would love to have a solution that: - collects the whole message - sends a bounce to sender (as rblsmtpd is already doing) - adds an X-junkmail header to the rejected messages - forwards this modified mail to the original recipients so that I can SEE what is being rejected for a while. Is this possible with rblsmtpd ? Cheers, Martin -- ### Martin Dougiamas ### ### http://dougiamas.com ###
On Tue, May 02, 2000 at 07:19:29PM +0800, Martin Dougiamas wrote: > So, I would love to have a solution that: > > - collects the whole message > - sends a bounce to sender (as rblsmtpd is already doing) No. rblsmtp sends an error code ("5xx .... do not send junk" or so). It's the sending SMTP servers responsibility to create a bounce message. > - adds an X-junkmail header to the rejected messages > - forwards this modified mail to the original recipients > > so that I can SEE what is being rejected for a while. > > Is this possible with rblsmtpd ? No. The whole point of the RBL is to not get the traffic. Regards, Uwe
On Tue, May 02, 2000 at 07:19:29PM +0800, Martin Dougiamas wrote: > So, I would love to have a solution that: > > - collects the whole message > - sends a bounce to sender (as rblsmtpd is already doing) > - adds an X-junkmail header to the rejected messages > - forwards this modified mail to the original recipients > > so that I can SEE what is being rejected for a while. I don't think what you want to do is possible with rblsmtpd, but you can certainly do the last 2 things with my X-Spam-Warning patch, linked off http://www.earth.li/~noodles/programming.html You could run this for a while and check how many false positives you receive and then decide what lists to bounce on. I don't see how you can generate a proper bounce message in the SMTP conversation *and* receive the mail. J. -- It's deja-vu all over again. | Black Cat Networks Ltd | http://www.blackcatnetworks.co.uk/ | UK Web, domain and email hosting
On Mon, May 01, 2000 at 09:47:07PM -0700, lewst wrote: > manually adjust the .qmail each month? For example, "mbox.2000-05". > > I've tried the following: > > % cat .qmail > ./mbox.`date +%Y-%m` |cat >./mbox.`date +%Y-%m` Usually this is not what you want: there is no protection against concurrent deliveries, so you might want to add an extra level of protection, possibly using setlock from the daemontools package. |setlock ./mbox-lock /bin/cat >./mbox.`date +%Y-%m` (untested, i don't use mbox) Regards, Uwe
On May 01 2000, lewst wrote: > What is the easiest way to have qmail deliver an incoming message to > an mbox named after the current year and month without having to > manually adjust the .qmail each month? For example, "mbox.2000-05". Essentially, something like this would do the trick: | preline cat >> ./mbox.`date +%Y-%m` Notice that I said *essentially*. You'd have to substitute cat with something that takes care of locks to avoid concurrent writes to the same message and that works gracefully under circumstances of failure. If there isn't such a program, you'd have to write your own here. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From: Rogerio Brito <[EMAIL PROTECTED]> Date: Tue, 2 May 2000 02:32:47 -0300 On May 01 2000, lewst wrote: > What is the easiest way to have qmail deliver an incoming message to > an mbox named after the current year and month without having to > manually adjust the .qmail each month? For example, "mbox.2000-05". Essentially, something like this would do the trick: | preline cat >> ./mbox.`date +%Y-%m` Notice that I said *essentially*. You'd have to substitute cat with something that takes care of locks to avoid concurrent writes to the same message and that works gracefully under circumstances of failure. If there isn't such a program, you'd have to write your own here. How about a cron job that does the following at appropriate intervals: echo "./mbox.`date '+%Y-%m'`" > .temp; mv -f .temp .qmail Since no special code need be run at delivery time, this should be quite robust. -- Bob Rogers
On Mon, May 01, 2000 at 09:23:44PM -0700, Mike Perks wrote: > How do I tell qmail-inject to send email thru a particular virtual domain > name? man qmail-inject > Currently it just gives the address [EMAIL PROTECTED] which is my > defauldomain > > The reason why I am asking is I have a cgi script that sends mail thru an > interface and currently it just pushes everything thru my defaultdomain and > I get the bounced messages in my postmaster box when the mail isnt > deliverable... Would rather the virt domain get its own return addressed > mail use $QMAILHOST or $MAILHOST, or $QMAILSHOST, ... > Can I also put a particular user's name in the this comand line so if a > message doesbounce then they'll get the MAILER-Daemon message set one of QMAILUSER, MAILUSER, USER, or LOGNAME. Regards, Uwe
On Tue, May 02, 2000 at 09:35:47AM +0100, Gareth Harper wrote: > 1) His first requirement was to only allow relaying if the user had one > of his hosted domains as the From: line of an email. I've told him what > a bad idea this is but there's no persuading. So is there anyway to do > this but only when the mail has to be relayed? I'd guess we'd need a > patch to smtpd. Please don't tell me what a bad idea this is - I know. > But orders are orders. How do you survive in the same company as someone so clueless? (nevermind) Using the From header (as opposed to the environment From) in particular is utterly stupid - you would have to receive a larger part of the message before you deny access. See FAQ 5.5 for a way. > 2) He want's a web based front end to view customers mailboxes without don't know. Should be possibly and quite easy, but i will not let a web server touch my mails. Especially without any authentication ... > 3) I've been told that the logs don't produce enough detail and that > sendmail produces much more detailed logs in /var/log/maillog including > the sender, recipient and other information. To only piece of qmail which doesn't log _extensively_ is qmail-smtpd. The remainder of the qmail system - qmail-send and so on - log everything you might want, as soon as qmail has taken reponsibility for the delivery of the message. > Is it possible to produce much more detailed logging using qmail. No. > We need to be able to trace anything in case of abuse. Astonishing. (in other words: so do i, and qmail satisfies my needs since years) Regards, Uwe >
Gareth Harper <[EMAIL PROTECTED]> wrote: >1) His first requirement was to only allow relaying if the user had one >of his hosted domains as the From: line of an email. I think there's a patch. Check the archives and www.qmail.org. >2) Is there a web front end available that doesn't require logging in like >this? I hope not. :-) >or where can I find detailed info on the maildir format that qmail >uses so I can write my own. man maildir >3) I've been told that the logs don't produce enough detail and that >sendmail produces much more detailed logs in /var/log/maillog including >the sender, recipient and other information. Don't believe everything you're told. Evaluate such claims yourself. What do *you* think of qmail's logging vs. sendmail's? >Is it possible to produce much more detailed logging using qmail. Of course. You can easily log the complete contents of every message that passes through your system. >We need to be able to trace anything in case of abuse. qmail's standard logging is considered adequate my most of us for tracking messages. -Dave
On Tue, 2 May 2000, Gareth Harper wrote: 1) His first requirement was to only allow relaying if the user had one of his hosted domains as the From: line of an email. I've told him what a bad idea this is but there's no persuading. So is there anyway to do this but only when the mail has to be relayed? I'd guess we'd need a patch to smtpd. Please don't tell me what a bad idea this is - I know. But orders are orders. Warning: brain damage detected. You will instantly be listed in ORBS, and will likely also be frequently abused by relay-rapers. Is there a web front end available that doesn't require logging in like this? or where can I find detailed info on the maildir format that qmail uses so I can write my own. You can hack upon sqwebmail, but I wouldn't. More brain damage. 3) I've been told that the logs don't produce enough detail and that sendmail produces much more detailed logs in /var/log/maillog including the sender, recipient and other information. Is it possible to produce much more detailed logging using qmail. We need to be able to trace anything in case of abuse. The only thing that sendmail logs which qmail does not is the message-id. Of course, qmail doesn't write logs in sendmail format, which may be what the PHB wants. Write a perl script to reformat qmail/tcpserver logs in sendmail format. -- Jeff Hayward
On Tue, 2 May 2000, Jeff Hayward wrote: >The only thing that sendmail logs which qmail does not is the >message-id. Of course, qmail doesn't write logs in sendmail format, which >may be what the PHB wants. Write a perl script to reformat >qmail/tcpserver logs in sendmail format. > >-- Jeff Hayward It is noteworthy to mention that qmail does create it's own ID's for tracking email, ie. May 2 11:30:40 ns1 qmail: 957288640.258690 new msg 67734 May 2 11:30:40 ns1 qmail: 957288640.259014 info msg 67734: bytes 1475 from <[EMAIL PROTECTED]> qp 21954 uid 1015 May 2 11:30:40 ns1 qmail: 957288640.294963 starting delivery 87111: msg 67734 to local [EMAIL PROTECTED] May 2 11:30:40 ns1 qmail: 957288640.717617 delivery 87111: success: did_1+0+0/ May 2 11:30:40 ns1 qmail: 957288640.717947 end msg 67734 _ __ _____ __ _________ ______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [---------------------------------------------[system info]-----------] 11:25am up 98 days, 18:22, 6 users, load average: 0.34, 0.24, 0.16
On Tue, May 02, 2000 at 12:25:14PM -0500, Jeff Hayward wrote: > On Tue, 2 May 2000, Gareth Harper wrote: > > 1) His first requirement was to only allow relaying if the user had one > of his hosted domains as the From: line of an email. I've told him what > a bad idea this is but there's no persuading. So is there anyway to do > this but only when the mail has to be relayed? I'd guess we'd need a > patch to smtpd. Please don't tell me what a bad idea this is - I know. > But orders are orders. > > Warning: brain damage detected. You will instantly be listed in ORBS, and > will likely also be frequently abused by relay-rapers. "Only allow relaying if the user has one of his hosted domains as the From: line of an email" is not necessarily the same as "Allow relaying if the user has one of his hosted domains as the From: line of an email." Relaying could be restricted the conventional way, i.e. by IP address, and there could be a further requirement that the mail show the proper From address. The "only" in Gareth's message is placed a little ambiguously, so I don't know which he meant. I think this still indicates brain damage, just a different kind of brain damage. It's the kind of brain damage that means you can't use a pobox.com address, or an address with another ISP's domain (which ISP you use sometimes but don't happen to be connected to right now), or an address with your employer's domain, or an address with your own personal domain, or any other address but the one your ISP assigns you. If this were my ISP, I'd drop it in an instant, both for this policy and for the general level of cluelessness it indicates. Chris
On Tue, May 02, 2000 at 12:25:14PM -0500, Jeff Hayward wrote: > On Tue, 2 May 2000, Gareth Harper wrote: > > 1) His first requirement was to only allow relaying if the user had one > of his hosted domains as the From: line of an email. I've told him what > a bad idea this is but there's no persuading. So is there anyway to do > this but only when the mail has to be relayed? I'd guess we'd need a > patch to smtpd. Please don't tell me what a bad idea this is - I know. > But orders are orders. > > Warning: brain damage detected. You will instantly be listed in ORBS, and > will likely also be frequently abused by relay-rapers. Jeff, if you read into the statement just a bit, you'll realize that the boss is asking for something much worse: denying relaying from valid IPs which don't present the ISPs domain in the envelope sender. John
??? I have the message ID's in my log ! -----Original Message----- From: Jeff Hayward [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 7:25 PM To: [EMAIL PROTECTED] Subject: Re: Three questions... On Tue, 2 May 2000, Gareth Harper wrote: 1) His first requirement was to only allow relaying if the user had one of his hosted domains as the From: line of an email. I've told him what a bad idea this is but there's no persuading. So is there anyway to do this but only when the mail has to be relayed? I'd guess we'd need a patch to smtpd. Please don't tell me what a bad idea this is - I know. But orders are orders. Warning: brain damage detected. You will instantly be listed in ORBS, and will likely also be frequently abused by relay-rapers. Is there a web front end available that doesn't require logging in like this? or where can I find detailed info on the maildir format that qmail uses so I can write my own. You can hack upon sqwebmail, but I wouldn't. More brain damage. 3) I've been told that the logs don't produce enough detail and that sendmail produces much more detailed logs in /var/log/maillog including the sender, recipient and other information. Is it possible to produce much more detailed logging using qmail. We need to be able to trace anything in case of abuse. The only thing that sendmail logs which qmail does not is the message-id. Of course, qmail doesn't write logs in sendmail format, which may be what the PHB wants. Write a perl script to reformat qmail/tcpserver logs in sendmail format. -- Jeff Hayward
On Tue, 2 May 2000, John White wrote: > On Tue, May 02, 2000 at 12:25:14PM -0500, Jeff Hayward wrote: > > On Tue, 2 May 2000, Gareth Harper wrote: > > > > 1) His first requirement was to only allow relaying if the user had one > > of his hosted domains as the From: line of an email. I've told him what > > a bad idea this is but there's no persuading. So is there anyway to do > > this but only when the mail has to be relayed? I'd guess we'd need a > > patch to smtpd. Please don't tell me what a bad idea this is - I know. > > But orders are orders. > > > > Warning: brain damage detected. You will instantly be listed in ORBS, and > > will likely also be frequently abused by relay-rapers. > > Jeff, if you read into the statement just a bit, you'll realize that > the boss is asking for something much worse: denying relaying from > valid IPs which don't present the ISPs domain in the envelope sender. Why not use something like smtp-poplock? If they successfully auth to the pop daemon they can send mail for X minutes. Then who cares what they have in the From header. Vince. -- ========================================================================== Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking Online Campground Directory http://www.camping-usa.com Online Giftshop Superstore http://www.cloudninegifts.com ==========================================================================
I have been running a by-the-book installation of qmail 1.03 for a small office of 40 people for about a year now. Here's my question: In a simple, one-domain environment, is it necessary to have anything more than (in my case) "elyrium.com" in my control/rcpthosts and control/locals file? The reason I ask for advice is -- every once in a while I run into problems, for instance, when a user has their email program inproperly configured, and their return address goes out as [EMAIL PROTECTED] or [EMAIL PROTECTED] (lucid is the name of the qmail box, pop3 is obviously a cname for the service). Also, when piping to programs like /var/qmail/bin/sendmail, the default address added is my system account -- usually [EMAIL PROTECTED] or [EMAIL PROTECTED] Just wondering the *proper* way to handle this, of if I should just stick lucid and pop3.elyrium.com in my rcpthosts and locals file. Derek. PS, i have read the docs. Don't flame me if you think this is basic stuff. I know it's basic.
On Tue, May 02, 2000 at 08:55:16AM -0700, Derek Watson wrote: [snip] > > PS, i have read the docs. Don't flame me if you think this is basic > stuff. I know it's basic. yes, it is, and it's in the docs :-) try "echo elyrium.com > control/defaulthost" Regards; RC -- +------------------- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
"Derek Watson" <[EMAIL PROTECTED]> wrote: > In a simple, one-domain environment, is it necessary to have anything >more than (in my case) "elyrium.com" in my control/rcpthosts and >control/locals file? Maybe. > The reason I ask for advice is -- every once in a while I run into >problems, for instance, when a user has their email program inproperly >configured, and their return address goes out as [EMAIL PROTECTED] or >[EMAIL PROTECTED] (lucid is the name of the qmail box, pop3 is >obviously a cname for the service). If you want to accept replies to these messages, you'll obviously need to configure qmail accordingly. This is your decision: require properly configured mailers for return mail, or accomodate improperly configured mailers. > Also, when piping to programs like /var/qmail/bin/sendmail, the default >address added is my system account -- usually [EMAIL PROTECTED] or >[EMAIL PROTECTED] See "man qmail-inject" or: http://Web.InfoAve.net/~dsill/lwq.html#environment-variables for information about using environment variables to control this. > Just wondering the *proper* way to handle this, of if I should just >stick lucid and pop3.elyrium.com in my rcpthosts and locals file. Personally, I'd make lucid and pop3 work, but still encourage people not to use them. I think e-mail administrators should do whatever they can to facilitate the delivery of mail to or from their users. -Dave
Hi all, if in qmail-pop3d i declared a variable: stralloc *arrayname; int numm = 30; arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) for (i=0; i<numm; i++) stralloc_copys(&arrayname[i], "hello"); This code exit with a "segmentation fault" sometimes immediatly sometimes when i = 2. Is it a memory problem?? Thanks for all your suggest Federico.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 May 00, at 15:21, Federico Barbazza wrote: > Hi all, > if in qmail-pop3d i declared a variable: > > stralloc *arrayname; > int numm = 30; > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) Does alloc() initialize the memory it allocates? To which value? > for (i=0; i<numm; i++) > stralloc_copys(&arrayname[i], "hello"); > > This code exit with a "segmentation fault" sometimes immediatly > sometimes when i = 2. > Is it a memory problem?? Whose memory? :-) Looks like the memory is initialized to arbitrary values, sometimes - - - by chance - to NULL or something, and therefore not crashing. -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOQ7JVlMwP8g7qbw/EQJ1GQCg36xGK+18R+uY62Eo+rxc6eswuQwAoNh2 WbTpXM7VVTQtI0rPGCE6QMXj =O9kb -----END PGP SIGNATURE----- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Petr Novotny wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2 May 00, at 15:21, Federico Barbazza wrote: > > > Hi all, > > if in qmail-pop3d i declared a variable: > > > > stralloc *arrayname; > > int numm = 30; > > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) > > Does alloc() initialize the memory it allocates? To which value? how can i see?? > > > for (i=0; i<numm; i++) > > stralloc_copys(&arrayname[i], "hello"); > > > > This code exit with a "segmentation fault" sometimes immediatly > > sometimes when i = 2. > > Is it a memory problem?? > > Whose memory? :-) > > Looks like the memory is initialized to arbitrary values, sometimes - > - - by chance - to NULL or something, and therefore not crashing. I saw stralloc are initializate as: stralloc variable = {0}. How can i initialize my stralloc array?? > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.0.2 -- QDPGP 2.60 > Comment: http://community.wow.net/grt/qdpgp.html > > iQA/AwUBOQ7JVlMwP8g7qbw/EQJ1GQCg36xGK+18R+uY62Eo+rxc6eswuQwAoNh2 > WbTpXM7VVTQtI0rPGCE6QMXj > =O9kb > -----END PGP SIGNATURE----- > -- > Petr Novotny, ANTEK CS > [EMAIL PROTECTED] > http://www.antek.cz > PGP key ID: 0x3BA9BC3F > -- Don't you know there ain't no devil there's just God when he's drunk. > [Tom Waits]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 May 00, at 15:36, Federico Barbazza wrote: > > > stralloc *arrayname; > > > int numm = 30; > > > arrayname = (stralloc *) alloc(numm * sizeof(stralloc)) > > > > Does alloc() initialize the memory it allocates? To which value? > > how can i see?? What? You're using a function and you don't know what the function does??? Oh God! You may want to read the source of the function, I would think. Or find a documentation. > > > for (i=0; i<numm; i++) > > > stralloc_copys(&arrayname[i], "hello"); > > > > > > This code exit with a "segmentation fault" sometimes immediatly > > > sometimes when i = 2. Is it a memory problem?? > > > > Looks like the memory is initialized to arbitrary values, sometimes > > - - - by chance - to NULL or something, and therefore not crashing. > I saw stralloc are initializate as: > stralloc variable = {0}. > How can i initialize my stralloc array?? memset(arrayname,0,numm*sizeof(arrayname[0])); is a way. -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOQ7M0lMwP8g7qbw/EQJlMACeLVqA6403eVTwvIT/hR5Eeqx5E4MAoOgF WZxhTY93ZON1sCUocVPYgD95 =AMMI -----END PGP SIGNATURE----- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Has anyone treid the web mail howto from Ying Zhang ? Well, I have, first i've done the web database step by step howto, which went perfect, I had database activity on apache using php 3.0.16; Now in order to use IMAP i had to recompile php to include IMAP support : ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/etc/httpd \ --with-mysql \ --with-pgsql \ --with-xml \ --with-gd \ --with-imap \ --with-zlib \ --with-system-regex make make install Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the following error : Syntax error on line 238 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache/libexec/libphp3.so into server: /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 Does anybody have a clue what's wrong here ? Regards, Jeroen ten Berge.
Yeah.. You forgot to "recompile" with PHP support. If you add: --activate-module=src/modules/php3/libphp3.a You should be fine Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 9:32 AM > To: 'Qmail mailing list' > Subject: PHP > > Has anyone treid the web mail howto from Ying Zhang ? > Well, I have, first i've done the web database step by step howto, which > went perfect, I had database activity on apache using php 3.0.16; > Now in order to use IMAP i had to recompile php to include IMAP support : > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/etc/httpd \ > --with-mysql \ > --with-pgsql \ > --with-xml \ > --with-gd \ > --with-imap \ > --with-zlib \ > --with-system-regex > make > make install > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the > following error : > Syntax error on line 238 of /etc/httpd/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp3.so into server: > /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > Does anybody have a clue what's wrong here ? > > Regards, > Jeroen ten Berge.
Euh, where ? There is no libphp3.a ! The configure was at /tmp/php-3.0.16, where I had PHP's source.. -----Original Message----- From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 4:18 PM To: Jeroen ten Berge; 'Qmail mailing list' Subject: RE: PHP Yeah.. You forgot to "recompile" with PHP support. If you add: --activate-module=src/modules/php3/libphp3.a You should be fine Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 9:32 AM > To: 'Qmail mailing list' > Subject: PHP > > Has anyone treid the web mail howto from Ying Zhang ? > Well, I have, first i've done the web database step by step howto, which > went perfect, I had database activity on apache using php 3.0.16; > Now in order to use IMAP i had to recompile php to include IMAP support : > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/etc/httpd \ > --with-mysql \ > --with-pgsql \ > --with-xml \ > --with-gd \ > --with-imap \ > --with-zlib \ > --with-system-regex > make > make install > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the > following error : > Syntax error on line 238 of /etc/httpd/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp3.so into server: > /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > Does anybody have a clue what's wrong here ? > > Regards, > Jeroen ten Berge.
Ok.. When you make PHP, what was your config.status ? I used something like: ./configure --with-mysql --with-oracle=/oracle --with-apache=../apache_1.3.9 --without-gd --enable-track-vars This installs it as a module for Apache. Then when you build apache you would do: ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/etc/httpd \ --activate-module=src/modules/php3/libphp3.a \ --with-mysql \ --with-pgsql \ --with-xml \ --with-gd \ --with-imap \ --with-zlib \ --with-system-regex This should make you all set. Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 10:21 AM > To: 'Soffen, Matthew'; 'Qmail mailing list' > Subject: RE: PHP > > Euh, where ? There is no libphp3.a ! The configure was at /tmp/php-3.0.16, > where I had PHP's source.. > > -----Original Message----- > From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 4:18 PM > To: Jeroen ten Berge; 'Qmail mailing list' > Subject: RE: PHP > > Yeah.. You forgot to "recompile" with PHP support. > > If you add: > --activate-module=src/modules/php3/libphp3.a > > You should be fine > > Matt Soffen > Web Intranet Developer > http://www.iso-ne.com/ > ============================================== > Boss - "My boss says we need some eunuch programmers." > Dilbert - "I think he means UNIX and I already know UNIX." > Boss - "Well, if the company nurse comes by, tell her I said > never mind." > - Dilbert - > ============================================== > > > -----Original Message----- > > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, May 02, 2000 9:32 AM > > To: 'Qmail mailing list' > > Subject: PHP > > > > Has anyone treid the web mail howto from Ying Zhang ? > > Well, I have, first i've done the web database step by step howto, which > > went perfect, I had database activity on apache using php 3.0.16; > > Now in order to use IMAP i had to recompile php to include IMAP support > : > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/etc/httpd \ > > --with-mysql \ > > --with-pgsql \ > > --with-xml \ > > --with-gd \ > > --with-imap \ > > --with-zlib \ > > --with-system-regex > > make > > make install > > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the > > following error : > > Syntax error on line 238 of /etc/httpd/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp3.so into server: > > /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > > > Does anybody have a clue what's wrong here ? > > > > Regards, > > Jeroen ten Berge.
In the howto Ying Zhang talked about dynamicly loading these lib's, so I didn't recompile apache, apparently I also have to recompile apache ? But then it wouldn't be a dynamicly loadable module would it ? -----Original Message----- From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 4:32 PM To: Jeroen ten Berge Cc: 'Qmail mailing list' Subject: RE: PHP Ok.. When you make PHP, what was your config.status ? I used something like: ./configure --with-mysql --with-oracle=/oracle --with-apache=../apache_1.3.9 --without-gd --enable-track-vars This installs it as a module for Apache. Then when you build apache you would do: ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/etc/httpd \ --activate-module=src/modules/php3/libphp3.a \ --with-mysql \ --with-pgsql \ --with-xml \ --with-gd \ --with-imap \ --with-zlib \ --with-system-regex This should make you all set. Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 10:21 AM > To: 'Soffen, Matthew'; 'Qmail mailing list' > Subject: RE: PHP > > Euh, where ? There is no libphp3.a ! The configure was at /tmp/php-3.0.16, > where I had PHP's source.. > > -----Original Message----- > From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 4:18 PM > To: Jeroen ten Berge; 'Qmail mailing list' > Subject: RE: PHP > > Yeah.. You forgot to "recompile" with PHP support. > > If you add: > --activate-module=src/modules/php3/libphp3.a > > You should be fine > > Matt Soffen > Web Intranet Developer > http://www.iso-ne.com/ > ============================================== > Boss - "My boss says we need some eunuch programmers." > Dilbert - "I think he means UNIX and I already know UNIX." > Boss - "Well, if the company nurse comes by, tell her I said > never mind." > - Dilbert - > ============================================== > > > -----Original Message----- > > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, May 02, 2000 9:32 AM > > To: 'Qmail mailing list' > > Subject: PHP > > > > Has anyone treid the web mail howto from Ying Zhang ? > > Well, I have, first i've done the web database step by step howto, which > > went perfect, I had database activity on apache using php 3.0.16; > > Now in order to use IMAP i had to recompile php to include IMAP support > : > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/etc/httpd \ > > --with-mysql \ > > --with-pgsql \ > > --with-xml \ > > --with-gd \ > > --with-imap \ > > --with-zlib \ > > --with-system-regex > > make > > make install > > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the > > following error : > > Syntax error on line 238 of /etc/httpd/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp3.so into server: > > /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > > > Does anybody have a clue what's wrong here ? > > > > Regards, > > Jeroen ten Berge.
Apache was compiled with DSO... -----Original Message----- From: Petr Novotny [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 4:35 PM To: Jeroen ten Berge Subject: RE: PHP -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 May 00, at 16:31, Jeroen ten Berge wrote: > In the howto Ying Zhang talked about dynamicly loading these lib's, so > I didn't recompile apache, apparently I also have to recompile apache > ? But then it wouldn't be a dynamicly loadable module would it ? apache must be compiled to support DSO through apxs/. Then you just ./configure PHP --with-apxs=/usr/bin/apxs or wherever it is. -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOQ7ZjFMwP8g7qbw/EQKWggCeLfILiXkObU0fdk/P82qif1j+ILQAn1IF MUedh+gH7U2bjHiN4sqG0Cl8 =lmJz -----END PGP SIGNATURE----- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
If it not set up to use DSO's then of course you have to set the program up to do it that way. If you want a red car, either buy a red one (ie get an apache binary with DSO built in) or paint the car red yourself (recompile what you have with DSO enabled). It's so simple it's confusing. Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 2 May 2000, Jeroen ten Berge wrote: > In the howto Ying Zhang talked about dynamicly loading these lib's, so I didn't >recompile apache, apparently I also have to recompile apache ? But then it wouldn't >be a dynamicly loadable module would it ? > > > -----Original Message----- > From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 4:32 PM > To: Jeroen ten Berge > Cc: 'Qmail mailing list' > Subject: RE: PHP > > Ok.. When you make PHP, what was your config.status ? > > I used something like: > ./configure --with-mysql --with-oracle=/oracle > --with-apache=../apache_1.3.9 --without-gd --enable-track-vars > > This installs it as a module for Apache. > > Then when you build apache you would do: > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/etc/httpd \ > --activate-module=src/modules/php3/libphp3.a \ > --with-mysql \ > --with-pgsql \ > --with-xml \ > --with-gd \ > --with-imap \ > --with-zlib \ > --with-system-regex > > This should make you all set. > > Matt Soffen > Web Intranet Developer > http://www.iso-ne.com/ > ============================================== > Boss - "My boss says we need some eunuch programmers." > Dilbert - "I think he means UNIX and I already know UNIX." > Boss - "Well, if the company nurse comes by, tell her I said > never mind." > - Dilbert - > ============================================== > > > -----Original Message----- > > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, May 02, 2000 10:21 AM > > To: 'Soffen, Matthew'; 'Qmail mailing list' > > Subject: RE: PHP > > > > Euh, where ? There is no libphp3.a ! The configure was at /tmp/php-3.0.16, > > where I had PHP's source.. > > > > -----Original Message----- > > From: Soffen, Matthew [SMTP:[EMAIL PROTECTED]] > > Sent: Tuesday, May 02, 2000 4:18 PM > > To: Jeroen ten Berge; 'Qmail mailing list' > > Subject: RE: PHP > > > > Yeah.. You forgot to "recompile" with PHP support. > > > > If you add: > > --activate-module=src/modules/php3/libphp3.a > > > > You should be fine > > > > Matt Soffen > > Web Intranet Developer > > http://www.iso-ne.com/ > > ============================================== > > Boss - "My boss says we need some eunuch programmers." > > Dilbert - "I think he means UNIX and I already know UNIX." > > Boss - "Well, if the company nurse comes by, tell her I said > > never mind." > > - Dilbert - > > ============================================== > > > > > -----Original Message----- > > > From: Jeroen ten Berge [SMTP:[EMAIL PROTECTED]] > > > Sent: Tuesday, May 02, 2000 9:32 AM > > > To: 'Qmail mailing list' > > > Subject: PHP > > > > > > Has anyone treid the web mail howto from Ying Zhang ? > > > Well, I have, first i've done the web database step by step howto, which > > > went perfect, I had database activity on apache using php 3.0.16; > > > Now in order to use IMAP i had to recompile php to include IMAP support > > : > > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > > --with-config-file-path=/etc/httpd \ > > > --with-mysql \ > > > --with-pgsql \ > > > --with-xml \ > > > --with-gd \ > > > --with-imap \ > > > --with-zlib \ > > > --with-system-regex > > > make > > > make install > > > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the > > > following error : > > > Syntax error on line 238 of /etc/httpd/httpd.conf: > > > Cannot load /usr/local/apache/libexec/libphp3.so into server: > > > /usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > > > > > Does anybody have a clue what's wrong here ? > > > > > > Regards, > > > Jeroen ten Berge. > >
On Tue, May 02, 2000 at 03:31:50PM +0200, Jeroen ten Berge wrote: > Has anyone treid the web mail howto from Ying Zhang ? > Well, I have, first i've done the web database step by step howto, which went >perfect, I had database activity on apache using php 3.0.16; > Now in order to use IMAP i had to recompile php to include IMAP support : > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/etc/httpd \ > --with-mysql \ > --with-pgsql \ > --with-xml \ > --with-gd \ > --with-imap \ > --with-zlib \ > --with-system-regex > make > make install > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the following error >: > Syntax error on line 238 of /etc/httpd/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp3.so into server: >/usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 Not sure about this but perhaps you compiled PHP with a newer libc? Or some other library that apache and PHP share? --Adam
Thanx for your help everybody, I think just joined the PHP discussion group for this answer, If I get an answer I'll post it here... Regards, Jeroen. -----Original Message----- From: Adam McKenna [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 4:56 PM To: [EMAIL PROTECTED] Subject: Re: PHP On Tue, May 02, 2000 at 03:31:50PM +0200, Jeroen ten Berge wrote: > Has anyone treid the web mail howto from Ying Zhang ? > Well, I have, first i've done the web database step by step howto, which went >perfect, I had database activity on apache using php 3.0.16; > Now in order to use IMAP i had to recompile php to include IMAP support : > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > --with-config-file-path=/etc/httpd \ > --with-mysql \ > --with-pgsql \ > --with-xml \ > --with-gd \ > --with-imap \ > --with-zlib \ > --with-system-regex > make > make install > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the following error >: > Syntax error on line 238 of /etc/httpd/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp3.so into server: >/usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 Not sure about this but perhaps you compiled PHP with a newer libc? Or some other library that apache and PHP share? --Adam
do you have the apxs perl script in your http bin dir? Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 2 May 2000, Adam McKenna wrote: > On Tue, May 02, 2000 at 03:31:50PM +0200, Jeroen ten Berge wrote: > > Has anyone treid the web mail howto from Ying Zhang ? > > Well, I have, first i've done the web database step by step howto, which went >perfect, I had database activity on apache using php 3.0.16; > > Now in order to use IMAP i had to recompile php to include IMAP support : > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/etc/httpd \ > > --with-mysql \ > > --with-pgsql \ > > --with-xml \ > > --with-gd \ > > --with-imap \ > > --with-zlib \ > > --with-system-regex > > make > > make install > > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the following >error : > > Syntax error on line 238 of /etc/httpd/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp3.so into server: >/usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > Not sure about this but perhaps you compiled PHP with a newer libc? Or some > other library that apache and PHP share? > > --Adam >
/usr/local/apache/bin -----Original Message----- From: Paul Farber [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 5:58 PM To: Adam McKenna Cc: [EMAIL PROTECTED] Subject: Re: PHP do you have the apxs perl script in your http bin dir? Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 2 May 2000, Adam McKenna wrote: > On Tue, May 02, 2000 at 03:31:50PM +0200, Jeroen ten Berge wrote: > > Has anyone treid the web mail howto from Ying Zhang ? > > Well, I have, first i've done the web database step by step howto, which went >perfect, I had database activity on apache using php 3.0.16; > > Now in order to use IMAP i had to recompile php to include IMAP support : > > ./configure --with-apxs=/usr/local/apache/bin/apxs \ > > --with-config-file-path=/etc/httpd \ > > --with-mysql \ > > --with-pgsql \ > > --with-xml \ > > --with-gd \ > > --with-imap \ > > --with-zlib \ > > --with-system-regex > > make > > make install > > Now when i do an /etc/rc.d/init.d/httpd configtest it exits with the following >error : > > Syntax error on line 238 of /etc/httpd/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp3.so into server: >/usr/local/apache/libexec/libphp3.so: undefined symbol: gss_mech_krb5 > > Not sure about this but perhaps you compiled PHP with a newer libc? Or some > other library that apache and PHP share? > > --Adam >
Mike Flynn <[EMAIL PROTECTED]> wrote: >Q01. Is it true that I can get an enormous increase in the number > of messages I could mail per hour using qmail? Possibly. If your current set-up is limited by your hardware (disk I/O) or network bandwidth, you could see anything from modest improvement to significant degradation. If you have ample bandwidth, sufficient CPU, and good disk I/O, you should see a good improvement. I don't know about "enormous" improvement, though. The best way to achieve huge improvements is to carefully analyze your work flow and adjust your processes and the underlying system (hardware, network, OS, MTA, DNS, etc) for maximum performance. We don't know nearly enough about your environment to tell whether qmail would be a good fit for you. If I were you, I'd hire a competent consultant to evaluate your needs and make a recommendation. >Q02. Is qmail free? (I will be using it in a "commercial" product). Yes. >Q03. Does my environment sound like a "simple" use of qmail or > is there hidden aspects I'm not aware of? Your environment is simple in the sense that chess is a simple game. An out-of-the-box qmail will do what you need, but achieving the best performance from it (or any other MTA) is not trivial. >Q04. Can I keep the portion of the product that processes returned mail > the same (i.e. using sendmail) and still use qmail to do the >mailing? That depends upon how that code works. It'll probably require minor tweaking to work with qmail's bounce message format, but since since that format was designed to be easy-to-parse, this is a simple job. However, you would be foolish not to consider taking advantage of qmail's VERP's to automate bounce handling. -Dave
bob <[EMAIL PROTECTED]> wrote: >I have no problems fetching my mail with fetchmail but the only way I seem >to be able to get my mail is if I put a .qmail-default file in ~alias/. Any >other filename I use eg .qmail-netnet or .qmail-nobhead or .qmail-bobski >... don't work whether I put them in my home directory or in ~alias/. The >.qmail-default file seems to be the only one that allows me to get my mail >to ~/Maildir. Look at the Delivered-To headers of these messages to see where fetchmail is sending them. Consider configuring fetchmail to deliver them all to your local username. >I also cannot send out any mail using qmailsmtpd. Sorry to hear that. I wonder why not. -Dave
Dave Sill wrote: > bob <[EMAIL PROTECTED]> wrote: > > >I have no problems fetching my mail with fetchmail but the only way I seem > >to be able to get my mail is if I put a .qmail-default file in ~alias/. Any > >other filename I use eg .qmail-netnet or .qmail-nobhead or .qmail-bobski > >... don't work whether I put them in my home directory or in ~alias/. The > >.qmail-default file seems to be the only one that allows me to get my mail > >to ~/Maildir. > > Look at the Delivered-To headers of these messages to see where > fetchmail is sending them. Consider configuring fetchmail to deliver > them all to your local username. > > >I also cannot send out any mail using qmailsmtpd. > > Sorry to hear that. I wonder why not. > I deserved that! qmail-send / qmail-remote? I still don't know why I can't send mail. Everything gets delivered locally and it isn't bounced. > > -Dave
Dave Sill wrote: > bob <[EMAIL PROTECTED]> wrote: > > >I have no problems fetching my mail with fetchmail but the only way I seem > >to be able to get my mail is if I put a .qmail-default file in ~alias/. Any > >other filename I use eg .qmail-netnet or .qmail-nobhead or .qmail-bobski > >... don't work whether I put them in my home directory or in ~alias/. The > >.qmail-default file seems to be the only one that allows me to get my mail > >to ~/Maildir. > > Look at the Delivered-To headers of these messages to see where > fetchmail is sending them. Consider configuring fetchmail to deliver > them all to your local username. > > >I also cannot send out any mail using qmailsmtpd. > > Sorry to hear that. I wonder why not. > What I really mean is I can't send out mail remotely... say to my mother-in-law for instance. > > -Dave
[EMAIL PROTECTED] wrote: >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a >quad 333MZ SPARC system?? > >How can it be out of memory!!! Easy: 1.5 GB is not infinite. >Please can anyone explain??? Use the tools your OS provides to see what's using memory. Until you've identified the problem, it's not qmail. -Dave
Dave Sill wrote: > > [EMAIL PROTECTED] wrote: > > >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > >quad 333MZ SPARC system?? > > > >How can it be out of memory!!! > > Easy: 1.5 GB is not infinite. > > >Please can anyone explain??? > > Use the tools your OS provides to see what's using memory. Until > you've identified the problem, it's not qmail. > > -Dave Hi, YES - but in top - qmail-send is using 534MB of the ram??? It leads me to believe that it may be a problem with qmail-send??? Tonino
[EMAIL PROTECTED] wrote: >Dave Sill wrote: >> >> [EMAIL PROTECTED] wrote: >> >> >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a >> >quad 333MZ SPARC system?? >> > >> >How can it be out of memory!!! >> >> Easy: 1.5 GB is not infinite. >> >> >Please can anyone explain??? >> >> Use the tools your OS provides to see what's using memory. Until >> you've identified the problem, it's not qmail. >YES - but in top - qmail-send is using 534MB of the ram??? You didn't say that in your first message. >It leads me to believe that it may be a problem with qmail-send??? Me too. I suspect there's a memory leak in one of the patches you installed. -Dave
Sounds like a memory leak ... -----Original Message----- From: TAG [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 4:33 PM To: Dave Sill; qmail Subject: Re: Out of memory error?? Dave Sill wrote: > > [EMAIL PROTECTED] wrote: > > >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > >quad 333MZ SPARC system?? > > > >How can it be out of memory!!! > > Easy: 1.5 GB is not infinite. > > >Please can anyone explain??? > > Use the tools your OS provides to see what's using memory. Until > you've identified the problem, it's not qmail. > > -Dave Hi, YES - but in top - qmail-send is using 534MB of the ram??? It leads me to believe that it may be a problem with qmail-send??? Tonino
man top Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 2 May 2000, Dave Sill wrote: > [EMAIL PROTECTED] wrote: > > >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > >quad 333MZ SPARC system?? > > > >How can it be out of memory!!! > > Easy: 1.5 GB is not infinite. > > >Please can anyone explain??? > > Use the tools your OS provides to see what's using memory. Until > you've identified the problem, it's not qmail. > > -Dave >
On May 02 2000, TAG wrote: (...) > I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > quad 333MZ SPARC system?? > > How can it be out of memory!!! > Please can anyone explain??? Are you running a patched qmail? Are you running with resource limits reduced somehow (ulimit)? These might be some possible causes of this error, even if you have loads of memory free. []s, Roger... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito wrote: > > On May 02 2000, TAG wrote: > (...) > > I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > > quad 333MZ SPARC system?? > > > > How can it be out of memory!!! > > Please can anyone explain??? > > Are you running a patched qmail? Are you running with resource > limits reduced somehow (ulimit)? These might be some possible > causes of this error, even if you have loads of memory free. > > []s, Roger... > > -- > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/ > Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/ > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Hi, YES - I am running a patched qmail - the mysql patch from Iain Patterson .. The qmail-send part of qmail is using all the memory and I get the following in syslog: May 3 07:23:06 xsimail qmail: 957345786.929962 alert: out of memory, sleeping... ulimit - reports unlimited!!! Thanks Tonino
Jeroen ten Berge wrote: > > Sounds like a memory leak ... > > -----Original Message----- > From: TAG [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 4:33 PM > To: Dave Sill; qmail > Subject: Re: Out of memory error?? > > Dave Sill wrote: > > > > [EMAIL PROTECTED] wrote: > > > > >I have 512MB of memory and 1GB SWAP on a solaris 7 system running on a > > >quad 333MZ SPARC system?? > > > > > >How can it be out of memory!!! > > > > Easy: 1.5 GB is not infinite. > > > > >Please can anyone explain??? > > > > Use the tools your OS provides to see what's using memory. Until > > you've identified the problem, it's not qmail. > > > > -Dave > > Hi, > > YES - but in top - qmail-send is using 534MB of the ram??? > > It leads me to believe that it may be a problem with qmail-send??? > > Tonino > > ------------------------------------------------------------------------ > > Part 1.2 Type: application/ms-tnef > Encoding: base64 Hi ALL, I realise that it is a memory leak - but how can it be fixed??? As I said before I have installed the Iain Patterson mysql patch - and after that thefollowing is reported in syslog: May 3 07:23:06 xsimail qmail: 957345786.929962 alert: out of memory, sleeping... Thanks ALL - ! Tonino
Title: POP or SMTPHi to all,
My branch offices have slow links about 24.4 kbit. So i have to use lots effective their net link. i will install mail server on brach office to communicate main office and internet. I have already mail server on main office. which method more effective, more easy manageable to get a mail does a POP program use like fetchmail,getmail or forwards SMTP by main office's mail server to branch offices's mail server? what is your suggestion?
Thanks..
Ilker G.
Title: RE: POP or SMTP"Is there anybody out there?" --Pink Floyd
Perhaps, you couldn't understand my bad English! :( but it isn't my native language...you may ask "what do you mean?" at least?
Thanks.
Ilker G.>-----Original Message-----
>From: R.Ilker Gokhan
>Sent: Tuesday, May 02, 2000 6:33 PM
>To: [EMAIL PROTECTED]
>Subject: POP or SMTP
>
>
>Hi to all,
>My branch offices have slow links about 24.4 kbit. So i have
>to use lots effective their net link. i will install mail
>server on brach office to establish communication with the main
>office and with internet. I have already mail server on main
>office. which method more effective, more easy manageable to
>get a mail?
>---does a POP program use like fetchmail,getmail or
>---forwards using SMTP by main office's mail server to branch
>offices's mail server? what is your suggestion?
>
>
>Thanks..
>Ilker G.
>
On Tue, May 02, 2000 at 06:32:58PM +0300, R.Ilker Gokhan wrote: > My branch offices have slow links about 24.4 kbit. clear. > So i have to use lots effective their net link. You mean "i have to use the bandwidth efficiently"? > i will install mail server on brach office to communicate main > office and internet. I have already mail server on main > office. which method more effective, it depends, unfortunately. Having an own email server per branch is quite useful if there is a lot of email traffic inside a branch. > more easy manageable the central server, typically. > to get a mail does > a POP program use like fetchmail,getmail or forwards SMTP by main office's > mail server to branch offices's mail server? what is your suggestion? Sorry, i don't understand that sentence. Regards, Uwe
Title: RE: POP or SMTP
>
>> So i have to use lots effective their net link.
>
>You mean "i have to use the bandwidth efficiently"?
>
>
>> i will install mail server on brach office to communicate main
>it depends, unfortunately.
>Having an own email server per branch is quite useful if there
>is a lot of email traffic inside a branch.
>
>> more easy manageable
>
>the central server, typically.
>
>> to get a mail does
>> a POP program use like fetchmail,getmail or forwards SMTP by
>main office's
>> mail server to branch offices's mail server? what is your suggestion?
>
>Sorry, i don't understand that sentence.
>
>Regards, Uwe
>
First,
Thanks for replies.
which protocol should i use to establish communication between branch office and the main office so that using the bandwith becomes more effectively?Best regards,
Ilker G.
Hi!First, is this correct, I mean should it be SUID?-rwsr-sr-x 1 root root 9.4k Oct 2 1999 /var/qmail/bin/sendmail
Second, can you point me to the options list of that program.man sendmail on my system reveals the real sendmail man page as it seems.Regards!--jmr
On Tue, May 02, 2000 at 05:41:22PM +0200, J.M. Roth wrote: > Hi! > First, is this correct, I mean should it be SUID? > -rwsr-sr-x 1 root root 9.4k Oct 2 1999 /var/qmail/bin/sendmail Nope. That looks very much like the permissions of the original sendmail. How did these permissions get set. Clearly something has done this after the qmail install. > Second, can you point me to the options list of that program. > man sendmail on my system reveals the real sendmail man page as it seems. You need to arrange for your man command to look in /var/qmail/man man man is a good place to start.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2 May 00, at 17:41, J.M. Roth wrote: > Hi! > First, is this correct, I mean should it be SUID? > -rwsr-sr-x 1 root root 9.4k Oct 2 1999 > /var/qmail/bin/sendmail Not at all. qmail-queue is SUID qmailq, and that's all you need to lift privileges to inject messages. /var/qmail/bin/sendmail should be 755, as should qmail-inject/ > Second, can you point me to the options list > of that program. man sendmail on my system reveals the real sendmail > man page as it seems. I don't think there's a documentation for that wrapper. I think it's there just for the programs who need to talk to sendmail, and it tries to mimic sendmail's injection parameters as closely as possible. -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOQ7pYFMwP8g7qbw/EQJMKACgyUtBBcrq562bMfbTbijsFXeaskIAn0N6 c6FyKZIYjcOjaAZJRKu41RV7 =Iuul -----END PGP SIGNATURE----- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
I've seen this happen on a RedHat Linux box -- a user (root) ran linuxconf and apparently looked at (changed?) some of the network configuration. Linuxconf is braindead and as part of its setup it will change the permissions on /usr/lib/sendmail, even if you don't have sendmail installed. In particular, /usr/lib/linuxconf/redhat/perm/mail has: /usr/sbin/sendmail root root f 6755 This was on a RedHat 6.0 system (an Alpha) -- I don't know if this has been fixed in newer versions of RedHat (I suspect not -- it looks like it is in 6.2 on a i386). Generally I recommend staying away from linuxconf. Jim On Tue, May 02, 2000 at 05:41:22PM +0200, J.M. Roth wrote: > Hi! > First, is this correct, I mean should it be SUID? > -rwsr-sr-x 1 root root 9.4k Oct 2 1999 /var/qmail/bin/sendmail > Second, can you point me to the options list of that program. > man sendmail on my system reveals the real sendmail man page as it seems. > > Regards! > > --jmr
On Tue, May 02, 2000 at 11:55:22AM -0400, Jim Simmons wrote: > In particular, /usr/lib/linuxconf/redhat/perm/mail has: > > /usr/sbin/sendmail root root f 6755 > > This was on a RedHat 6.0 system (an Alpha) -- I don't know if this has been > fixed in newer versions of RedHat (I suspect not -- it looks like it is in > 6.2 on a i386). > > Generally I recommend staying away from linuxconf. Or at least fixing the above file to remove the permissions changes. -- Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
Ok well, what do you mean with "mimic sendmail". A customer asked me to point out to him all the options of our mail sending tool for use in his cgi progs. I'm not sure what to say... --jmr ----- Original Message ----- From: "Petr Novotny" <[EMAIL PROTECTED]> To: "'qmail list'" <[EMAIL PROTECTED]> Sent: Tuesday, May 02, 2000 5:42 PM Subject: Re: qmail's sendmail > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2 May 00, at 17:41, J.M. Roth wrote: > > > Hi! > > First, is this correct, I mean should it be SUID? > > -rwsr-sr-x 1 root root 9.4k Oct 2 1999 > > /var/qmail/bin/sendmail > > Not at all. qmail-queue is SUID qmailq, and that's all you need to > lift privileges to inject messages. /var/qmail/bin/sendmail should be > 755, as should qmail-inject/ > > > Second, can you point me to the options list > > of that program. man sendmail on my system reveals the real sendmail > > man page as it seems. > > I don't think there's a documentation for that wrapper. I think it's > there just for the programs who need to talk to sendmail, and it > tries to mimic sendmail's injection parameters as closely as > possible. > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.0.2 -- QDPGP 2.60 > Comment: http://community.wow.net/grt/qdpgp.html > > iQA/AwUBOQ7pYFMwP8g7qbw/EQJMKACgyUtBBcrq562bMfbTbijsFXeaskIAn0N6 > c6FyKZIYjcOjaAZJRKu41RV7 > =Iuul > -----END PGP SIGNATURE----- > -- > Petr Novotny, ANTEK CS > [EMAIL PROTECTED] > http://www.antek.cz > PGP key ID: 0x3BA9BC3F > -- Don't you know there ain't no devil there's just God when he's drunk. > [Tom Waits] >
On Tue, May 02, 2000 at 11:13:28PM +0200, J.M. Roth iip" wrote: > Ok well, what do you mean with "mimic sendmail". > A customer asked me to point out to him all the options of our mail sending > tool for use in his cgi progs. > I'm not sure what to say... You could point him at the proper program, qmail-inject, and then the man page for that, rather than using a wrapper which supports an interface that qmail has no control over. That way your customer gets the full power of the injection program, full documentation and an interface that he can rely on. Regards. > > --jmr > > > ----- Original Message ----- > From: "Petr Novotny" <[EMAIL PROTECTED]> > To: "'qmail list'" <[EMAIL PROTECTED]> > Sent: Tuesday, May 02, 2000 5:42 PM > Subject: Re: qmail's sendmail > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 2 May 00, at 17:41, J.M. Roth wrote: > > > > > Hi! > > > First, is this correct, I mean should it be SUID? > > > -rwsr-sr-x 1 root root 9.4k Oct 2 1999 > > > /var/qmail/bin/sendmail > > > > Not at all. qmail-queue is SUID qmailq, and that's all you need to > > lift privileges to inject messages. /var/qmail/bin/sendmail should be > > 755, as should qmail-inject/ > > > > > Second, can you point me to the options list > > > of that program. man sendmail on my system reveals the real sendmail > > > man page as it seems. > > > > I don't think there's a documentation for that wrapper. I think it's > > there just for the programs who need to talk to sendmail, and it > > tries to mimic sendmail's injection parameters as closely as > > possible. > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 6.0.2 -- QDPGP 2.60 > > Comment: http://community.wow.net/grt/qdpgp.html > > > > iQA/AwUBOQ7pYFMwP8g7qbw/EQJMKACgyUtBBcrq562bMfbTbijsFXeaskIAn0N6 > > c6FyKZIYjcOjaAZJRKu41RV7 > > =Iuul > > -----END PGP SIGNATURE----- > > -- > > Petr Novotny, ANTEK CS > > [EMAIL PROTECTED] > > http://www.antek.cz > > PGP key ID: 0x3BA9BC3F > > -- Don't you know there ain't no devil there's just God when he's drunk. > > [Tom Waits] > > >
Hello, Someone just asked a very interesting question but has not received a definitive answer: Is there a web based front-end (read "Can Isend receive mail for mail accounts") for qmail? Thanks
On Tue, May 02, 2000 at 09:01:23AM -0700, [EMAIL PROTECTED] wrote: > > > > Hello, > > Someone just asked a very interesting question but has not received a > definitive answer: > > Is there a web based front-end (read "Can Isend receive mail for mail accounts") > for qmail? > > Thanks Do you mean an interface like sqWebMail (http://www.inter7.com/sqwebmail) or a web based _administrative_ tool like webmin (http://www.webmin.com) which has a qmail administration module ? What the original poster wanted was, amongst others, a way to remove messages for other users (i.e. customers) if their mailbox was over it's size limit... That's, IMHO, a completely different question than the one you're asking now ;-) Greetz, Steffan -- http://therookie.dyndns.org
[EMAIL PROTECTED] wrote: > Someone just asked a very interesting question but has not received a >definitive answer: > >Is there a web based front-end (read "Can Isend receive mail for mail >accounts") for qmail? That's not the question they asked, which tacked on "that doesn't require password authentication". The answer to your question is yes: sqwebmail. Actually, qmail can be made to work with any web front-end that works with sendmail--if you don't mind mbox mailboxes in a central spool directory. -Dave
I stand corrected. Dave Sill also pointed out that any web front end tool, like sqwebmail, requires the use of mbox format in a central spool directory which is not too desirable to me. If anyone has any information on a more robust web front end tool, I would love to get it. Thanks, Tim |--------+-----------------------------> | | Steffan Hoeke | | | <[EMAIL PROTECTED]| | | yndns.org> | | | | | | 05/02/2000 09:15 AM| | | | |--------+-----------------------------> >----------------------------------------------------------------------------| | | | To: Tim Clifton/LA/Candle@Candle | | cc: qmail list <[EMAIL PROTECTED]> | | Subject: Re: Web front-end to mail service | >----------------------------------------------------------------------------| On Tue, May 02, 2000 at 09:01:23AM -0700, [EMAIL PROTECTED] wrote: > > > > Hello, > > Someone just asked a very interesting question but has not received a > definitive answer: > > Is there a web based front-end (read "Can Isend receive mail for mail accounts") > for qmail? > > Thanks Do you mean an interface like sqWebMail (http://www.inter7.com/sqwebmail) or a web based _administrative_ tool like webmin (http://www.webmin.com) which has a qmail administration module ? What the original poster wanted was, amongst others, a way to remove messages for other users (i.e. customers) if their mailbox was over it's size limit... That's, IMHO, a completely different question than the one you're asking now ;-) Greetz, Steffan -- http://therookie.dyndns.org
What ? I use sqwebmail with qmail and Maildir. I don't have any "central spool directory". Matt Soffen Web Intranet Developer http://www.iso-ne.com/ ============================================== Boss - "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss - "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - ============================================== > -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, May 02, 2000 12:54 PM > To: Steffan Hoeke > Cc: [EMAIL PROTECTED] > Subject: Re: Web front-end to mail service > > > > > I stand corrected. Dave Sill also pointed out that any web front end > tool, like > sqwebmail, requires the use of mbox format in a central spool directory > which is > not too desirable to me. If anyone has any information on a more robust > web > front end tool, I would love to get it. > > Thanks, > Tim > > > > > |--------+-----------------------------> > | | Steffan Hoeke | > | | <[EMAIL PROTECTED]| > | | yndns.org> | > | | | > | | 05/02/2000 09:15 AM| > | | | > |--------+-----------------------------> > > >------------------------------------------------------------------------- > ---| > | > | > | To: Tim Clifton/LA/Candle@Candle > | > | cc: qmail list <[EMAIL PROTECTED]> > | > | Subject: Re: Web front-end to mail service > | > > >------------------------------------------------------------------------- > ---| > > > > > > > On Tue, May 02, 2000 at 09:01:23AM -0700, [EMAIL PROTECTED] wrote: > > > > > > > > Hello, > > > > Someone just asked a very interesting question but has not received > a > > definitive answer: > > > > Is there a web based front-end (read "Can Isend receive mail for mail > accounts") > > for qmail? > > > > Thanks > Do you mean an interface like sqWebMail (http://www.inter7.com/sqwebmail) > or a > web based _administrative_ tool like webmin (http://www.webmin.com) which > has a > qmail administration module ? > > What the original poster wanted was, amongst others, a way to remove > messages > for other users (i.e. customers) if their mailbox was over it's size > limit... > That's, IMHO, a completely different question than the one you're asking > now ;-) > > Greetz, > Steffan > > -- > http://therookie.dyndns.org > > >
Hello Tim, Tuesday, May 02, 2000, 6:53:44 PM, you wrote: > I stand corrected. Dave Sill also pointed out that any web front end tool, like > sqwebmail, requires the use of mbox format in a central spool directory which is > not too desirable to me. If anyone has any information on a more robust web That's wrong. sqwebmail works (only, AFAIK) with maildir!
Please excuse my quoting down below, the message i am replying to is pretty munged, so i'm not sure who said what. Regardless, let me try and help out... On Tue, 2 May 2000 [EMAIL PROTECTED] wrote: >I stand corrected. Dave Sill also pointed out that any web front end tool, like >sqwebmail, requires the use of mbox format in a central spool directory which is >not too desirable to me. If anyone has any information on a more robust web >front end tool, I would love to get it. > >Thanks, > Tim We use a program here called qdpop. Written in perl, it can contact any normal POP server. It doesnt care what format your mailbox is in since it doesnt deal directly with the mbox. It goes through the POP server on that machine. The version we are running is pretty old, and doesnt have very many features, but it is simple and it works. There is no address book function, or even attachments. Just read/delete/reply/new message. The only downside that we've discovered is that the machine RUNNING the actual qdpop cgi/script will MAX out the load on the machine without tweaking when someone 'checks' their mail. >What the original poster wanted was, amongst others, a way to remove messages >for other users (i.e. customers) if their mailbox was over it's size limit... >That's, IMHO, a completely different question than the one you're asking now ;-) > >Greetz, > Steffan If all you want to do is to delete users messages, you can always 'telnet' to the pop server and do it by hand. It's quick, there is no need to download each message, just do a list and dele the proper files. _ __ _____ __ _________ ______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech __ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC! _ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052 /_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com [---------------------------------------------[system info]-----------] 11:10am up 98 days, 18:07, 6 users, load average: 0.06, 0.09, 0.09
[EMAIL PROTECTED] wrote: >Dave Sill also pointed out that any web front end tool, like >sqwebmail, requires the use of mbox format in a central spool >directory No, I said qmail could also work with sendmail-oriented web interfaces that use mboxes in a central spool. -Dave
Hello everyone ... I have the following scenario: I have one Internet IP address .. which I use for my firewall behind the firewall I have several internal servers... The problem is that each server will be a different web and mail server... eg. mailserver1.domain.com mailserver2.domain.com ... etc Each mail server with it's own users... Can this be done? Thanks for all the help Guillermo Villasana
Guillermo Villasana Cardoza <[EMAIL PROTECTED]> wrote: >I have one Internet IP address .. which I use for my firewall behind the >firewall I have several internal servers... The problem is that each >server will be a different web and mail server... > >eg. >mailserver1.domain.com >mailserver2.domain.com >... >etc > >Each mail server with it's own users... > >Can this be done? Sure. You'll need to: 1) list mailserver1.domain.com, mailserver2.domain.com, etc in control/rcpthosts, 2) add entries like: mailserver1.domain.com:[IP of mailserver1] to control/smtproutes, and 3) set up MX records for mailserver1, mailserver2, ... pointing to the firewall. -Dave
Yes, it sure can. Set up qmail on your firewall and qmail on each of your internal mail servers. On the qmail on the firewall, configure smtproutes to point to each of your internal servers. Make MX records in your DNS zone file for each of your mail servers and have them all point to your gateway (firewall). Smtproutes is a file you can create in /var/qmail/control. On the gateway, it should say something like: mailserver1.domain.com:internalservername.int and on each of the internal boxes, it should look like: :gateway.yourdomain.int look at the man pages for rewriting the name in the from of your internal servers. You will need to create a defaulthost and defaultdomain files in /var/qmail/control/ also, on the gate, put your internal servers in the rcpthosts file, but not in the locals file. I hope this helps you, Jennifer Tippens On Tue, 02 May 2000 Guillermo Villasana Cardoza wrote: > Hello everyone ... I have the following scenario: > > I have one Internet IP address .. which I use for my firewall behind the > firewall I have several internal servers... The problem is that each > server will be a different web and mail server... > > eg. > mailserver1.domain.com > mailserver2.domain.com > ... > etc > > Each mail server with it's own users... > > Can this be done? > Thanks for all the help > Guillermo Villasana >
Thanks a lot for all the help... I will try and see how it works :) Dave Sill wrote: > Guillermo Villasana Cardoza <[EMAIL PROTECTED]> wrote: > > >I have one Internet IP address .. which I use for my firewall behind the > >firewall I have several internal servers... The problem is that each > >server will be a different web and mail server... > > > >eg. > >mailserver1.domain.com > >mailserver2.domain.com > >... > >etc > > > >Each mail server with it's own users... > > > >Can this be done? > > Sure. You'll need to: > > 1) list mailserver1.domain.com, mailserver2.domain.com, etc in > control/rcpthosts, > > 2) add entries like: > mailserver1.domain.com:[IP of mailserver1] > to control/smtproutes, and > > 3) set up MX records for mailserver1, mailserver2, ... pointing to > the firewall. > > -Dave
On Fri, 28 Apr 2000, Dave Kitabjian wrote: We had a situation with a customer who was consulting for a college. So every few days, she had to send a 10MB PowerPoint file to about 50 recipients at that college. Under qmail, a separate thread was opened up for each qmail-remote. You are observing a rare corner of the time/space continuum for email. The DJB solution (see archives), which of course make perfect sense, is for someone at the college to run a local exploder to which your customer sends a single message. -- Jeff Hayward
Just looking for any news on qmail 2.0. Thanks -jeremy
Hello people! We've been running qmail more then 6 months and have a lot of logs. Now I want them analyze with qmailanalog, but matchup doesn't like timestamps in logs because we do accustamp on logs and the tailocal it. So, what we have is: 1999-11-24 17:43:07.542160 status: local 0/10 remote 0/20 but matchup needs: 957284032.988038 status: local 0/10 remote 0/20 Is it correct? I think so cuz zoverall (or other bins from qmailanalog) doesn't work with first logs. So, the question is how would one use qmailanalog in that situation? I want to analyze existing logs, and I don't want to remove tailocal from qmail startup script because we like the ability to look at the logs w/o qmailanalog. Any help/points to info would be very appreciated! Thanks. -- Kins Orekhov Outlook Technologies, Inc. E-mail: [EMAIL PROTECTED] Phone: 773-775-2099, ext. 226 http://swoop.outlook.net
[EMAIL PROTECTED] wrote: >So, what we have is: > >1999-11-24 17:43:07.542160 status: local 0/10 remote 0/20 > >but matchup needs: > >957284032.988038 status: local 0/10 remote 0/20 > >Is it correct? Yes. >So, the question is how would one use qmailanalog in that situation? Convert the local time back to TAI. I don't know of a "localtai", so you might have to write your own. >I want to analyze existing logs, and I don't want to remove tailocal from >qmail startup script because we like the ability to look at the logs w/o >qmailanalog. Sounds like you want to have your cake and eat it, too. -Dave
to view my logs I just wrote a simple wrapper to do something like tail /var/log/qmail/current -f | tail64nlocal simple and it doesnt actually screw with my logs -----Original Message----- From: Dave Sill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 02, 2000 3:18 PM To: [EMAIL PROTECTED] Subject: Re: accustamp|tailocal|matchup [EMAIL PROTECTED] wrote: >So, what we have is: > >1999-11-24 17:43:07.542160 status: local 0/10 remote 0/20 > >but matchup needs: > >957284032.988038 status: local 0/10 remote 0/20 > >Is it correct? Yes. >So, the question is how would one use qmailanalog in that situation? Convert the local time back to TAI. I don't know of a "localtai", so you might have to write your own. >I want to analyze existing logs, and I don't want to remove tailocal from >qmail startup script because we like the ability to look at the logs w/o >qmailanalog. Sounds like you want to have your cake and eat it, too. -Dave
On Tue, 2 May 2000, Kins Orekhov wrote: > > Hello people! > > We've been running qmail more then 6 months and have a lot of logs. > Now I want them analyze with qmailanalog, but matchup doesn't like > timestamps in logs because we do accustamp on logs and the tailocal it. > > So, what we have is: > > 1999-11-24 17:43:07.542160 status: local 0/10 remote 0/20 > > but matchup needs: > > 957284032.988038 status: local 0/10 remote 0/20 > > Is it correct? I think so cuz zoverall (or other bins from > qmailanalog) doesn't work with first logs. > > So, the question is how would one use qmailanalog in that situation? I have a patch for deamontools-0.70 that creates a new executable called tai64nunix. It takes TAI64 timestamps and converts them to unix epaoch time, suitable for qmailanalog. Russ Allebury has a similar patch. Patch follows *** FILES.orig Mon Mar 6 16:21:09 2000 --- FILES Fri Mar 24 19:46:34 2000 *************** *** 15,20 **** --- 15,21 ---- multilog.c tai64n.c tai64nlocal.c + tai64nunix.c softlimit.c setuidgid.c envuidgid.c *** Makefile.orig Mon Mar 6 16:21:09 2000 --- Makefile Fri Mar 24 19:26:57 2000 *************** *** 336,342 **** prog: \ svscan supervise svc svok svstat fghack multilog tai64n tai64nlocal \ ! softlimit setuidgid envuidgid envdir setlock rts matchtest prot.o: \ compile prot.c hasshsgr.h prot.h --- 336,342 ---- prog: \ svscan supervise svc svok svstat fghack multilog tai64n tai64nlocal \ ! tai64nunix softlimit setuidgid envuidgid envdir setlock rts matchtest prot.o: \ compile prot.c hasshsgr.h prot.h *************** *** 534,539 **** --- 534,547 ---- tai64nlocal.o: \ compile tai64nlocal.c buffer.h exit.h fmt.h ./compile tai64nlocal.c + + tai64nunix: \ + load tai64nunix.o unix.a byte.a + ./load tai64nunix unix.a byte.a + + tai64nunix.o: \ + compile tai64nunix.c buffer.h exit.h fmt.h + ./compile tai64nunix.c tai_now.o: \ compile tai_now.c tai.h uint64.h *** TARGETS.orig Mon Mar 6 16:21:09 2000 --- TARGETS Fri Mar 24 19:49:20 2000 *************** *** 109,114 **** --- 109,116 ---- tai64n tai64nlocal.o tai64nlocal + tai64nunix.o + tai64nunix softlimit.o softlimit setuidgid.o *** hier.c.orig Mon Mar 6 16:21:09 2000 --- hier.c Fri Mar 24 19:55:44 2000 *************** *** 15,20 **** --- 15,21 ---- c(auto_home,"bin","multilog",-1,-1,0755); c(auto_home,"bin","tai64n",-1,-1,0755); c(auto_home,"bin","tai64nlocal",-1,-1,0755); + c(auto_home,"bin","tai64nunix",-1,-1,0755); c(auto_home,"bin","softlimit",-1,-1,0755); c(auto_home,"bin","setuidgid",-1,-1,0700); c(auto_home,"bin","envuidgid",-1,-1,0755); Regards Peter ---------- Peter Samuel [EMAIL PROTECTED] Technical Consultant or at present: eServ. Pty Ltd [EMAIL PROTECTED] Phone: +61 2 9206 3410 Fax: +61 2 9281 1301 "If you kill all your unhappy customers, you'll only have happy ones left"
"Peter Samuel" <[EMAIL PROTECTED]> writes: > On Tue, 2 May 2000, Kins Orekhov wrote: > > ... > > So, what we have is: > > > > 1999-11-24 17:43:07.542160 status: local 0/10 remote 0/20 > > > > but matchup needs: > > > > 957284032.988038 status: local 0/10 remote 0/20 > > ... > I have a patch for deamontools-0.70 that creates a new executable > called tai64nunix. It takes TAI64 timestamps and converts them to unix > epaoch time, suitable for qmailanalog. Russ Allebury has a similar > patch. Here is another variation on the theme. It is designed to run on raw (possibly gzipped) daemontools-0.70 logs, so it is not directly applicable for Kins. The script should be run once a day by cron. It mails the results of 'zoverall' to the user 'admin'. ---------------------------------------------------------------- #!/usr/bin/perl -w use strict; my $logdir = '/var/log/qmail-send'; chdir $logdir or die "Can't chdir to $logdir: $!\n"; open(OUT, "|matchup 5>.pending.n|zoverall|/var/qmail/bin/mailsubj 'Mail statistics' admin") or die("Can't pipe to matchup: $!\n"); opendir(D, '.') or die "Can't open $logdir: $!\n"; my @logs = sort grep /^(?:@|current)/, readdir(D); closedir(D); my $tai64n_yesterday = sprintf "\@40000000%08x00000000", $^T - 86400; while (@logs > 1) { last if $logs[1] gt $tai64n_yesterday; shift @logs; } unshift @logs, '.pending' if -r '.pending'; foreach my $f (@logs) { $f =~ s/(.*\.gz)$/gzip -cdq 2>\/dev\/null $1|/; open(IN, $f) or die "Can't read $f: $!\n"; while (<IN>) { next unless s/^(\@[0-9a-f]+)// and $1 ge $tai64n_yesterday; printf OUT "%.6f%s", tai64n($1), $_; } close(IN); } close(OUT); rename '.pending.n', '.pending'; # Simplistic tai64n converter. Returns float time_t value or undef. sub tai64n { my(@x) = map { unpack "N", pack "H8", $_ } $_[0] =~ /^\@?([0-9a-f]{8})([0-9a-f]{8})([0-9a-f]{8})/; return unless @x == 3 and $x[0] == 0x40000000; $x[1]+$x[2]/1_000_000_000; } __END__ -- Frank Cringle, [EMAIL PROTECTED] voice: (+49 2304) 467101; fax: 943357
Hello list (sorry if this is already out, I thought I already posted it, but my mailclient isn't able to find it), I've got a little problem with my qmail installation on my new FreeBSD 4 Stable box: everything is working really well, but during shutdown, supervise (or svscan, whatever is responsible) doesn't remove it's lockfiles in /var/qmail/supervise/qmail-send/log/supervise /var/qmail/supervise/qmail-send/supervise /var/qmail/supervise/qmail-smtpd/log/supervise /var/qmail/supervise/qmail-smtpd/supervise and during the following reboot svscan does complain that the lockfiles are already there. While it would be easy to hack Dave's startup script to first delete the lockfiles and then going on with the start of qmail I'd prefer to have a clean solution here as this system is going to be cloned several times in the next few weeks. Any ideas? Best regards, Gabriel
On Sun, Apr 02, 2000 at 09:24:07PM +0200, Gabriel Ambuehl wrote: > While it would be easy to hack Dave's > startup script to first delete the lockfiles and then going on with > the start of qmail I'd prefer to have a clean solution here as this > system is going to be cloned several times in the next few weeks. Any > ideas? No hacking needed - the init.d script in LWQ includes two "svc -dx" commands to cleanly stop supervise in the 'stop' block. Are they in the script you are using? [ http://Web.InfoAve.Net/~dsill/lwq.html#start-qmail ] Regards, james -- James Raftery (JBR54) - Programmer Hostmaster - IE TLD Hostmaster IE Domain Registry - www.domainregistry.ie - (+353 1) 706 2375 "Managing 4000 customer domains with BIND has been a lot like herding cats." - Mike Batchelor, on [EMAIL PROTECTED]
Hi... I am having trouble understanding how the aliases work. If I have a user named pvera and he would like to receive email being sent to paul_vera all I have to do is touch .qmail-paul_vera in /home/pvera??? This does not sound right. In the FAQ I saw: How do I create aliases with dots? I tried setting up ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase is converted to lowercase. but that just confused me even more... thanks, Marcelo *********************************************** ICQ 22921676 MSM Interactive. El Bosque Norte 0134, Las Condes, Chile. Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 Email: [EMAIL PROTECTED] http://www.msm.cl *******************************************
no, touch a file called .qmail-paul_vera in /var/qmail/alias. edit it to contain pvera on one line and that's it. reload qmail and you are all set. -Jennifer On Tue, 02 May 2000 Marcelo J. Iturbe wrote: > Hi... > I am having trouble understanding how the aliases work. > If I have a user named pvera and he would like to receive email being sent > to paul_vera all I have to do is touch .qmail-paul_vera in /home/pvera??? > This does not sound right. > In the FAQ I saw: > How do I create aliases with dots? I tried setting up > ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. > Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase > is converted to lowercase. > > but that just confused me even more... > > thanks, > Marcelo > > > *********************************************** > ICQ 22921676 > MSM Interactive. > El Bosque Norte 0134, Las Condes, Chile. > Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 > Email: [EMAIL PROTECTED] http://www.msm.cl > ******************************************* >
On Tue, May 02, 2000 at 09:48:31PM +0000, Jennifer Tippens wrote: > no, touch a file called .qmail-paul_vera in /var/qmail/alias. edit it to contain >pvera on one line and that's it. reload qmail and you are all set. Excepting that there is no need to "reload" qmail - whatever that means. Aliases are evaluated as part of local delivery and as such are totally re-evaluated each time. It's not knowledge that qmail retains in anyway. Regards. > > -Jennifer > > On Tue, 02 May 2000 Marcelo J. Iturbe wrote: > > Hi... > > I am having trouble understanding how the aliases work. > > If I have a user named pvera and he would like to receive email being sent > > to paul_vera all I have to do is touch .qmail-paul_vera in /home/pvera??? > > This does not sound right. > > In the FAQ I saw: > > How do I create aliases with dots? I tried setting up > > ~alias/.qmail-P.D.Q.Bach, but it doesn't do anything. > > Answer: Use .qmail-p:d:q:bach. Dots are converted to colons, and uppercase > > is converted to lowercase. > > > > but that just confused me even more... > > > > thanks, > > Marcelo > > > > > > *********************************************** > > ICQ 22921676 > > MSM Interactive. > > El Bosque Norte 0134, Las Condes, Chile. > > Phone: (56-2) 234-9852 Fax: (56-2) 233-8912 > > Email: [EMAIL PROTECTED] http://www.msm.cl > > ******************************************* > > > > > >
Is it possible to run multiple instances of qmail on a single machine - each instance bound to a separate IP interface. If so, could you describe (in general) how to configure this and any limitations (eg max instances/server) etc. Thanks, Reece
On Tue, May 02, 2000 at 03:23:44PM -0700, Reece Markowsky wrote: > Is it possible to run multiple instances of qmail on a single machine - > each instance bound to a separate IP interface. If so, could you No problems at all. > describe (in general) how to configure this and any limitations (eg max > instances/server) etc. Depends very much on what you want to do, but if they are completely separate universes, you'll need to re-compile qmail with a different /var/qmail for each instance (/var/qmail1, /var/qmail2 comes to mind). Binding is of course done with tcpserver invoking the relevant qmail-smtpd from the respective /var/qmail* hierarchy. Merged universes are more interesting. Do you want a common alias user? The limitations in doing this are based on your OS, not qmail. Ie, how many interfaces you can have, how much disk space, how many processes. Regards.
Hello, I was wondering if any of the subscribers to this list know of any internal IBM organizations using qmail. Thanks... Mike
Could anybody help me with this error message?... I DONT know what the problem is.. :( May 3 03:05:56 svr1 qmail: 957315956.028582 new msg 205816 May 3 03:05:56 svr1 qmail: 957315956.061896 info msg 205816: bytes 7612 from <a [EMAIL PROTECTED]> qp 2314 uid 501 May 3 03:05:56 svr1 qmail: 957315956.103540 warning: unable to create remote/12 /205816 Thanks e-Mail : [EMAIL PROTECTED]
Hi, (1) I often have 20 or 30 email addresses in the CC field to the same domain. For example, CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ... I noticed that qmail send to those addresses one by one. Can I instruct qmail to send the message all at once? If I have 20 addresses in CC field, this would increase the spead by ~20, right? (2) Also, how can limit the number of addresses a use can put in the CC and BCC field? (3) How can I delete the messages waiting in the quene? Thank you for your help. Sincerely, Peter
From: "Yuan P Li" <[EMAIL PROTECTED]> Date: Tue, 2 May 2000 18:38:41 -0400 Hi, (1) I often have 20 or 30 email addresses in the CC field to the same domain. For example, CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ... I noticed that qmail send to those addresses one by one. Can I instruct qmail to send the message all at once? No. If I have 20 addresses in CC field, this would increase the spead by ~20, right? Not necessarily. See the thread titled '"Multi-RCPT vs. Single RCPT delivery" - logic error?' that started 28 April. (2) Also, how can limit the number of addresses a use can put in the CC and BCC field? There is no parameter to control this, since it would be trivial to defeat. A user who wants to override the limits can send a message with X recipients, then change the headers to resend it to a different X recipients, then change them again . . . (3) How can I delete the messages waiting in the quene? Use "touch" -- see http://cr.yp.to/qmail/faq/admin.html#rejuvenate for the complementary problem. Thank you for your help. Sincerely, Peter -- Bob Rogers
This patch adds control of queue lifetimes to qmail. This patch permits user control of the length of time a message will live in the queue before being bounced. For example, a very urgent message might be sent with a queue lifetime of 1 hour. If it is not sent in that time, it will be bounced, and the user will know to try some other means. This is only a part of the problem of handling urgent e-mail, since the queue lifetime is not passed on to the next host. But a partial solution can still be helpful in some circumstances. This patch also permits the queue lifetime of a bounce message to be controlled separately from that of ordinary messages. Bounce messages which are not delivered quickly are often the result of spam to bogus local addresses or otherwise have undeliverable sender addresses. There is often no reason to let them sit in the mail queue for a long time before double bouncing. With this patch, you can set the environment variable QMAILQUEUELIFETIME when calling qmail-inject. It should be set to a decimal string: the number of seconds the mail message should live in the queue. If a delivery of the mail message fails after that many seconds have passed, any temporary error will be treated as a permanent error, and the mail message will be bounced to the sender. This patch adds two new control files: bouncequeuelifetime: the number of seconds that a bounce message should remain in the queue before it is double bounced. The default is 604800 (1 week). maxqueuelifetime: the maximum number of seconds that QMAILQUEUELIFETIME may be set to. This also controls queuelifetime and bouncequeuelifetime. The default is 1209600 (2 weeks). It would be possible to add another control file to specify the queue lifetime of a mail message being relayed for a remote system, as opposed to one that is injected locally, but I did not implement that. DJB, please consider implementing similar functionality in the next release of qmail. Thanks. Ian diff -u qmail-1.03/INTERNALS qmail-1.03-lifetime/INTERNALS --- qmail-1.03/INTERNALS Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/INTERNALS Tue May 2 14:28:42 2000 @@ -140,11 +140,12 @@ 7. Further notes -Currently info/457 serves two purposes: first, it records the envelope +Currently info/457 serves three purposes: first, it records the envelope sender; second, its modification time is used to decide when a message -has been in the queue too long. In the future info/457 may store more -information. Any non-backwards-compatible changes will be identified by -version numbers. +has been in the queue too long; third, it optionally records the +lifetime of the message in the queue. In the future info/457 may store +more information. Any non-backwards-compatible changes will be +identified by version numbers. When qmail-queue has successfully placed a message into the queue, it pulls a trigger offered by qmail-send. Here is the current triggering diff -u qmail-1.03/Makefile qmail-1.03-lifetime/Makefile --- qmail-1.03/Makefile Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/Makefile Thu Apr 27 10:01:28 2000 @@ -1639,10 +1639,10 @@ qreceipt: \ load qreceipt.o headerbody.o hfield.o quote.o token822.o qmail.o \ getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a substdio.a error.a \ -str.a auto_qmail.o +str.a fs.a auto_qmail.o ./load qreceipt headerbody.o hfield.o quote.o token822.o \ qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a \ - substdio.a error.a str.a auto_qmail.o + substdio.a error.a str.a fs.a auto_qmail.o qreceipt.0: \ qreceipt.1 diff -u qmail-1.03/condredirect.c qmail-1.03-lifetime/condredirect.c --- qmail-1.03/condredirect.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/condredirect.c Thu Apr 27 09:36:23 2000 @@ -77,7 +77,7 @@ num[fmt_ulong(num,qmail_qp(&qqt))] = 0; - qmail_from(&qqt,sender); + qmail_from(&qqt,sender,0); qmail_to(&qqt,argv[1]); qqx = qmail_close(&qqt); if (*qqx) strerr_die2x(*qqx == 'D' ? 100 : 111,FATAL,qqx + 1); diff -u qmail-1.03/forward.c qmail-1.03-lifetime/forward.c --- qmail-1.03/forward.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/forward.c Thu Apr 27 09:36:24 2000 @@ -52,7 +52,7 @@ num[fmt_ulong(num,qmail_qp(&qqt))] = 0; - qmail_from(&qqt,sender); + qmail_from(&qqt,sender,0); while (*++argv) qmail_to(&qqt,*argv); qqx = qmail_close(&qqt); if (*qqx) strerr_die2x(*qqx == 'D' ? 100 : 111,FATAL,qqx + 1); diff -u qmail-1.03/qmail-control.9 qmail-1.03-lifetime/qmail-control.9 --- qmail-1.03/qmail-control.9 Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-control.9 Tue May 2 14:24:32 2000 @@ -43,6 +43,7 @@ .I badmailfrom \fR(none) \fRqmail-smtpd .I bouncefrom \fRMAILER-DAEMON \fRqmail-send .I bouncehost \fIme \fRqmail-send +.I bouncequeuelifetime \fR604800 \fRqmail-send .I concurrencylocal \fR10 \fRqmail-send .I concurrencyremote \fR20 \fRqmail-send .I defaultdomain \fIme \fRqmail-inject @@ -55,6 +56,7 @@ .I idhost \fIme \fRqmail-inject .I localiphost \fIme \fRqmail-smtpd .I locals \fIme \fRqmail-send +.I maxqueuelifetime \fR1209600 \fRqmail-send .I morercpthosts \fR(none) \fRqmail-smtpd .I percenthack \fR(none) \fRqmail-send .I plusdomain \fIme \fRqmail-inject diff -u qmail-1.03/qmail-inject.8 qmail-1.03-lifetime/qmail-inject.8 --- qmail-1.03/qmail-inject.8 Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-inject.8 Tue May 2 09:11:12 2000 @@ -91,6 +91,11 @@ does not add Mail-Followup-To to a message that already has one. +If +.B QMAILQUEUELIFETIME +is set, it sets the maximum number of seconds the mail message will +spend in the mail queue before being bounced back to the sender. + The .B QMAILINJECT environment variable diff -u qmail-1.03/qmail-inject.c qmail-1.03-lifetime/qmail-inject.c --- qmail-1.03/qmail-inject.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-inject.c Thu Apr 27 09:57:22 2000 @@ -7,6 +7,7 @@ #include "alloc.h" #include "str.h" #include "fmt.h" +#include "scan.h" #include "hfield.h" #include "token822.h" #include "control.h" @@ -39,6 +40,7 @@ int mailusertokentype; char *mailrhost; char *mailruser; +int lifetime = 0; stralloc control_idhost = {0}; stralloc control_defaultdomain = {0}; @@ -99,7 +101,7 @@ int i; if (!stralloc_0(&sender)) die_nomem(); - qmail_from(&qqt,sender.s); + qmail_from(&qqt,sender.s,lifetime); for (i = 0;i < reciplist.len;++i) { @@ -689,6 +691,7 @@ int i; int opt; int recipstrategy; + char *envlifetime; sig_pipeignore(); @@ -721,6 +724,14 @@ if (quote_need(mailuser,str_len(mailuser))) mailusertokentype = TOKEN822_QUOTE; mailruser = env_get("QMAILSUSER"); if (!mailruser) mailruser = mailuser; + + envlifetime = env_get("QMAILQUEUELIFETIME"); + if (envlifetime) + { + unsigned long ult; + scan_ulong(envlifetime,&ult); + lifetime = ult; + } for (i = 0;i < H_NUM;++i) htypeseen[i] = 0; diff -u qmail-1.03/qmail-local.c qmail-1.03-lifetime/qmail-local.c --- qmail-1.03/qmail-local.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-local.c Thu Apr 27 09:36:28 2000 @@ -282,7 +282,7 @@ qmail_put(&qqt,messline.s,messline.len); } while (match); - qmail_from(&qqt,ueo.s); + qmail_from(&qqt,ueo.s,0); while (*recips) qmail_to(&qqt,*recips++); qqx = qmail_close(&qqt); if (!*qqx) return; diff -u qmail-1.03/qmail-qmqpd.c qmail-1.03-lifetime/qmail-qmqpd.c --- qmail-1.03/qmail-qmqpd.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-qmqpd.c Thu Apr 27 09:36:31 2000 @@ -133,9 +133,9 @@ getcomma(); if (getbuf()) - qmail_from(&qq,buf); + qmail_from(&qq,buf,0); else { - qmail_from(&qq,""); + qmail_from(&qq,"",0); qmail_fail(&qq); flagok = 0; } diff -u qmail-1.03/qmail-qmtpd.c qmail-1.03-lifetime/qmail-qmtpd.c --- qmail-1.03/qmail-qmtpd.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-qmtpd.c Thu Apr 27 09:36:33 2000 @@ -180,7 +180,7 @@ getcomma(); flagbother = 0; - qmail_from(&qq,buf); + qmail_from(&qq,buf,0); if (!flagsenderok) qmail_fail(&qq); biglen = getlen(); diff -u qmail-1.03/qmail-qread.c qmail-1.03-lifetime/qmail-qread.c --- qmail-1.03/qmail-qread.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-qread.c Tue May 2 08:44:53 2000 @@ -50,6 +50,7 @@ char inbuf[1024]; stralloc sender = {0}; +stralloc lifetime = {0}; unsigned long id; datetime_sec qtime; @@ -73,6 +74,11 @@ i = fmt_str(s," <"); len += i; if (s) s += i; i = fmt_str(s,sender.s + 1); len += i; if (s) s += i; i = fmt_str(s,"> "); len += i; if (s) s += i; + if (lifetime.len) + { + i = fmt_str(s," lifetime "); len += i; if (s) s += i; + i = fmt_str(s,lifetime.s + 1); len += i; if (s) s += i; + } if (flagbounce) { i = fmt_str(s," bouncing"); len += i; if (s) s += i; @@ -135,6 +141,11 @@ if (fd == -1) { err(id); continue; } substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); if (getln(&ss,&sender,&match,0) == -1) die_nomem(); + if (sender.s[0] == 'L') + { + stralloc_copy(&lifetime,&sender); + if (getln(&ss,&sender,&match,0) == -1) die_nomem(); + } if (fstat(fd,&st) == -1) { close(fd); err(id); continue; } close(fd); qtime = st.st_mtime; diff -u qmail-1.03/qmail-queue.8 qmail-1.03-lifetime/qmail-queue.8 --- qmail-1.03/qmail-queue.8 Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-queue.8 Tue May 2 09:13:37 2000 @@ -12,8 +12,12 @@ .BR qmail-send . The envelope information is +an optional lifetime +followed by an envelope sender address followed by a list of envelope recipient addresses. +The optional lifetime is a decimal string, preceded by the letter L +and terminated by a 0 byte. The sender address is preceded by the letter F and terminated by a 0 byte. Each recipient address is preceded by the letter T @@ -67,7 +71,7 @@ indicate permanent errors: .TP 5 .B 11 -Address too long. +Address or lifetime string too long. .TP .B 31 Mail server permanently refuses to send the message to any recipients. diff -u qmail-1.03/qmail-queue.c qmail-1.03-lifetime/qmail-queue.c --- qmail-1.03/qmail-queue.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-queue.c Thu Apr 27 09:39:34 2000 @@ -217,6 +217,18 @@ if (substdio_bput(&ssout,"",1) == -1) die_write(); if (substdio_get(&ssin,&ch,1) < 1) die_read(); + if (ch == 'L') + { + if (substdio_bput(&ssout,&ch,1) == -1) die_write(); + for (len = 0;len < FMT_ULONG+1;++len) + { + if (substdio_get(&ssin,&ch,1) < 1) die_read(); + if (substdio_put(&ssout,&ch,1) == -1) die_write(); + if (!ch) break; + } + if (len >= FMT_ULONG+1) die(11); + if (substdio_get(&ssin,&ch,1) < 1) die_read(); + } if (ch != 'F') die(91); if (substdio_bput(&ssout,&ch,1) == -1) die_write(); for (len = 0;len < ADDR;++len) diff -u qmail-1.03/qmail-send.9 qmail-1.03-lifetime/qmail-send.9 --- qmail-1.03/qmail-send.9 Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-send.9 Tue May 2 14:23:22 2000 @@ -77,6 +77,10 @@ .B From: \fIbouncefrom\fB@\fIbouncehost\fR, although its envelope sender is empty. .TP 5 +.I bouncequeuelifetime +The number of seconds a bounce message will stay in the queue before +it is double-bounced. +.TP 5 .I concurrencylocal Maximum number of simultaneous local delivery attempts. Default: 10. @@ -147,6 +151,11 @@ is listed in .IR locals . .TP 5 +.I maxqueuelifetime +The maximum number of seconds a message can stay in the queue. This +sets a limit to the use of QMAILQUEUELIFETIME in +.BR qmail-inject . +.TP 5 .I percenthack List of domain names where the percent hack is applied. If @@ -242,5 +251,6 @@ qmail-log(5), qmail-queue(8), qmail-clean(8), +qmail-inject(8), qmail-lspawn(8), qmail-rspawn(8) diff -u qmail-1.03/qmail-send.c qmail-1.03-lifetime/qmail-send.c --- qmail-1.03/qmail-send.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-send.c Thu Apr 27 09:53:31 2000 @@ -43,6 +43,8 @@ #define OSSIFIED 129600 /* 36 hours; _must_ exceed q-q's DEATH (24 hours) */ int lifetime = 604800; +int maxlifetime = 1209600; +int bouncelifetime = 604800; stralloc percenthack = {0}; struct constmap mappercenthack; @@ -195,9 +197,10 @@ /* this file is too long ---------------------------------------------- INFO */ -int getinfo(sa,dt,id) +int getinfo(sa,dt,lt,id) stralloc *sa; datetime_sec *dt; +int *lt; unsigned long id; { int fdinfo; @@ -213,6 +216,16 @@ if (fstat(fdinfo,&st) == -1) { close(fdinfo); return 0; } substdio_fdbuf(&ss,read,fdinfo,buf,sizeof(buf)); if (getln(&ss,&line,&match,'\0') == -1) { close(fdinfo); return 0; } + if (!match) { close(fdinfo); return 0; } + *lt = lifetime; + if (line.s[0] == 'L') + { + unsigned long ult; + scan_ulong(line.s+1,&ult); + if (ult > maxlifetime) ult = maxlifetime; + *lt = ult; + if (getln(&ss,&line,&match,'\0') == -1) { close(fdinfo); return 0; } + } close(fdinfo); if (!match) return 0; if (line.s[0] != 'F') return 0; @@ -660,9 +673,10 @@ static stralloc sender = {0}; static stralloc quoted = {0}; datetime_sec birth; + int lt; unsigned long qp; - if (!getinfo(&sender,&birth,id)) return 0; /* XXX: print warning */ + if (!getinfo(&sender,&birth,<,id)) return 0; /* XXX: print warning */ /* owner-@host-@[] -> owner-@host */ if (sender.len >= 5) @@ -748,7 +762,7 @@ qmail_fail(&qqt); } - qmail_from(&qqt,bouncesender); + qmail_from(&qqt,bouncesender,bouncelifetime); qmail_to(&qqt,bouncerecip); if (*qmail_close(&qqt)) { log1("warning: trouble injecting bounce message, will try later\n"); return 0; } @@ -1057,6 +1071,7 @@ int c; { datetime_sec birth; + int lt; struct prioq_elt pe; static stralloc line = {0}; int match; @@ -1074,12 +1089,12 @@ pass[c].mpos = 0; pass[c].fd = open_read(fn.s); if (pass[c].fd == -1) goto trouble; - if (!getinfo(&line,&birth,pe.id)) { close(pass[c].fd); goto trouble; } + if (!getinfo(&line,&birth,<,pe.id)) { close(pass[c].fd); goto trouble; } pass[c].id = pe.id; substdio_fdbuf(&pass[c].ss,read,pass[c].fd,pass[c].buf,sizeof(pass[c].buf)); pass[c].j = job_open(pe.id,c); jo[pass[c].j].retry = nextretry(birth,c); - jo[pass[c].j].flagdying = (recent > birth + lifetime); + jo[pass[c].j].flagdying = (recent > birth + lt); while (!stralloc_copy(&jo[pass[c].j].sender,&line)) nomem(); } @@ -1346,6 +1361,13 @@ case 'p': scan_ulong(todoline.s + 1,&pid); break; + case 'L': + if (substdio_putflush(&ssinfo,todoline.s,todoline.len) == -1) + { + fnmake_info(id); + log3("warning: trouble writing to ",fn.s,"\n"); goto fail; + } + break; case 'F': if (substdio_putflush(&ssinfo,todoline.s,todoline.len) == -1) { @@ -1443,6 +1465,10 @@ int getcontrols() { if (control_init() == -1) return 0; if (control_readint(&lifetime,"control/queuelifetime") == -1) return 0; + if (control_readint(&maxlifetime,"control/maxqueuelifetime") == -1) return 0; + if (control_readint(&bouncelifetime,"control/bouncequeuelifetime") == -1) return 0; + if (lifetime > maxlifetime) lifetime = maxlifetime; + if (bouncelifetime > maxlifetime) bouncelifetime = maxlifetime; if (control_readint(&concurrency[0],"control/concurrencylocal") == -1) return 0; if (control_readint(&concurrency[1],"control/concurrencyremote") == -1) return 0; if (control_rldef(&envnoathost,"control/envnoathost",1,"envnoathost") != 1) return 0; diff -u qmail-1.03/qmail-smtpd.c qmail-1.03-lifetime/qmail-smtpd.c --- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail-smtpd.c Thu Apr 27 09:36:38 2000 @@ -382,7 +382,7 @@ blast(&hops); hops = (hops >= MAXHOPS); if (hops) qmail_fail(&qqt); - qmail_from(&qqt,mailfrom.s); + qmail_from(&qqt,mailfrom.s,0); qmail_put(&qqt,rcptto.s,rcptto.len); qqx = qmail_close(&qqt); diff -u qmail-1.03/qmail.c qmail-1.03-lifetime/qmail.c --- qmail-1.03/qmail.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qmail.c Thu Apr 27 09:37:31 2000 @@ -4,6 +4,7 @@ #include "exit.h" #include "fork.h" #include "fd.h" +#include "fmt.h" #include "qmail.h" #include "auto_qmail.h" @@ -60,11 +61,19 @@ if (!qq->flagerr) if (substdio_puts(&qq->ss,s) == -1) qq->flagerr = 1; } -void qmail_from(qq,s) struct qmail *qq; char *s; +void qmail_from(qq,s,lt) struct qmail *qq; char *s; int lt; { if (substdio_flush(&qq->ss) == -1) qq->flagerr = 1; close(qq->fdm); substdio_fdbuf(&qq->ss,write,qq->fde,qq->buf,sizeof(qq->buf)); + if (lt) + { + char strnum[FMT_ULONG]; + qmail_put(qq,"L",1); + strnum[fmt_ulong(strnum,(unsigned long) lt)] = 0; + qmail_puts(qq,strnum); + qmail_put(qq,"",1); + } qmail_put(qq,"F",1); qmail_puts(qq,s); qmail_put(qq,"",1); diff -u qmail-1.03/qreceipt.c qmail-1.03-lifetime/qreceipt.c --- qmail-1.03/qreceipt.c Mon Jun 15 03:53:16 1998 +++ qmail-1.03-lifetime/qreceipt.c Thu Apr 27 09:36:44 2000 @@ -88,7 +88,7 @@ qmail_put(&qqt,messageid.s,messageid.len); } - qmail_from(&qqt,""); + qmail_from(&qqt,"",0); qmail_to(&qqt,returnpath); qqx = qmail_close(&qqt);
On Tue, May 02, 2000 at 09:28:42AM -0500, [EMAIL PROTECTED] wrote: > I think this has to do with having more then one instance of mutt open. > Editing a message, closing out this instance of mutt, and going to the > parent, or first instance and accessing the same message or mailbox. That's wat i thought the first time i saw the message ;-) I checked with ps if there were more instances active, which wasn't the case .... > However, I am not sure. I have seen this in all instances of mutt, and > not just 1.1.12i. > > On Tue, May 02, 2000 at 11:36:58PM +0200, Steffan Hoeke uttered: > | Hi, > | > | After an upgrade to 1.1.12i I get the strange behaviour that every now and then I >get the message > | "Mailbox externally modified, flags may be wrong" > | I don't know what's modifying my Maildir :-( > | The only change AFAIK is the mentioned upgrade ... > | > | TIA, > | Steffan > | -- > | http://therookie.dyndns.org > -- http://therookie.dyndns.org
Hi Guys I have an interesting scenerion, whereby I send mail to user and the mail is not in the user's mailbox, what do U think could be the problem, and also when I check in the maillog I see an error msg saying : Yikes!Could_create_but_cant_delete_temperory_file!!/ENOENT:path_doesnot_exist What could be the prob. Eric
On Wed, May 03, 2000 at 11:57:11AM +0300, Mulindwa Eric wrote: > I have an interesting scenerion, whereby I send mail to user and the mail > is not in the user's mailbox, what do U think could be the problem, and > also when I check in the maillog I see an error msg saying : > Yikes!Could_create_but_cant_delete_temperory_file!!/ENOENT:path_doesnot_exist > What could be the prob. The problem is that you still not tell any details. For example: what default delivery methode you use, or the contents of any .qmail involved. Regards, Uwe