qmailanalog and current daemontools
qmailanalog wants seconds and fractional seconds (since start of epoch, I suppose, although I don't think it actually matters since I believe all of its calculations are relative). Dan, were you planning on releasing a new version of qmailanalog sometime at or after qmail 2.0? Is the logging format going to change sufficiently that I shouldn't put a lot of time into approving log analysis for 1.03? Attached is a small program based on tai64nlocal that will convert from tai64n format to what qmailanalog expects. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/> /* $Id$ Convert external TAI64N timestamps to fractional seconds since epoch. Written by Russ Allbery <[EMAIL PROTECTED]> This work is in the public domain. Usage: tai64nfrac < input > output Expects the input stream to be a sequence of lines beginning with @, a timestamp in external TAI64N format, and a space. Replaces the @ and the timestamp with fractional seconds since epoch (1970-01-01 00:00:00 UTC). The input time format is the format written by tai64n and multilog. The output time format is expected by qmailanalog. */ #include /* Read a TAI64N external format timestamp from stdin and write fractional seconds since epoch (TAI, not UTC) to stdout. Return the character after the timestamp. */ int decode(void) { int c; unsigned long u; unsigned long seconds = 0; unsigned long nanoseconds = 0; while ((c = getchar()) != EOF) { u = c - '0'; if (u >= 10) { u = c - 'a'; if (u >= 6) break; u += 10; } seconds <<= 4; seconds += nanoseconds >> 28; nanoseconds &= 0xfff; nanoseconds <<= 4; nanoseconds += u; } seconds -= 4611686018427387914ULL; printf("%lu.%lu ", seconds, nanoseconds); return c; } int main(void) { int c; unsigned long seconds; unsigned long nanoseconds; while ((c = getchar()) != EOF) { if (c == '@') c = decode(); while (c != EOF) { putchar(c); if (c == '\n') break; c = getchar(); } } }
RE: retrying time by qmail-send
I think this is in the docs somewhere. There is a table in life with qmail: http://web.infoave.net/~dsill/lwq.html#sending-messages Wilson -- From: Md. Sifat Ullah Patwary[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 17:59 To: [EMAIL PROTECTED] Subject:retrying time by qmail-send Hi all, What is the time interval taken by qmail-send to retry to send its quied mail. Can it be controled? We can tell qmail-send to retry to send its quied mail by issueing the signal ALRM. Can it be made auto without using crond? Sifat.
RE: Sending to an IP address
BRILLIANT ! that's it. So a summary. All I needed to do is put mclachlan.com.au in localiphost. qmail replaces the ip with the FQDN & then we go onto rcpthosts etc. Thankyou everyone for your contributions I really appreciate it. Wilson Fletcher -- From: Anand Buddhdev[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 17:40 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:Re: Sending to an IP address On Wed, Feb 02, 2000 at 04:42:55PM +1100, Wilson Fletcher wrote: > OK added [203.26.11.154] to both control/locals & control/rcpthosts > still not luck (yes I restarted qmail) That's because it's the wrong way of doing things. Read the qmail-smtpd man page, and see the section about the control file "localiphost". -- See complete headers for more info
retrying time by qmail-send
Hi all, What is the time interval taken by qmail-send to retry to send its quied mail. Can it be controled? We can tell qmail-send to retry to send its quied mail by issueing the signal ALRM. Can it be made auto without using crond? Sifat.
Re: Sending to an IP address
On Wed, Feb 02, 2000 at 04:42:55PM +1100, Wilson Fletcher wrote: > OK added [203.26.11.154] to both control/locals & control/rcpthosts > still not luck (yes I restarted qmail) That's because it's the wrong way of doing things. Read the qmail-smtpd man page, and see the section about the control file "localiphost". -- See complete headers for more info
Re: A newbie's question: qfilelog and multilog
On Wed, Feb 02, 2000 at 10:54:07AM +0900, Wang-hua Li, Mack wrote: > Hi there, > > I am having qmail-1.03 with daemontools-0.61 running and > would like to have my logs rotated on a daily base. I learned from > the Qmail Mailing List Archive that qfilelog could do just > what I am expecting but all the messages there > seem to be about older version of daemontools (cyclog). > I wonder if anyone out there had got it running > with daemontool-0.61 (multilog). How do I set my 'run script' > to have them work together ? This is the tricky bit. daemontools-0.61 introduced the concept of an svscan pipe between a process and its logger. The reason was because shell pipes are unreliable. In order to use qfilelog, you would have to do something like: qmail-start ./Maildir/ tai64n | qfilelog somefile In you want to run this under daemontools-0.61, your run script would be: qmail-start ./Maildir/ And your log/run script would be: tai64n | qfilelog somefile This is where the problem is: You're back to using shell pipes and there's a possibility of loss of logs if one of the components of the pipeline dies unexpectedly. While there are convoluted ways of achieving time-based rotation with multilog, I really wish it was a built-in feature. -- See complete headers for more info
Re: Problem with rcpthosts
Well, the purpose of rcpthosts is to specify what domains mail will be recieved for. If it doesn't exist, you are an open relay. If you're sending from a certain subnet or IP, you can simply specify what IPs are exceptions to rctphosts. Or, there are methods of smtp after pop or straight smtp authentication if you're using a new Netscape or Outlook Express. Here's a good site: http://www.sfu.ca/~yzhang/linux/qmail/chap2.html HOT, Jacob Joseph - Original Message - From: "Md. Sifat Ullah Patwary" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 01, 2000 10:21 PM Subject: Problem with rcpthosts > Hi all, > I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it > in rcpthosts. > > #cat rcpthosts > abc.spnetctg.com > > Now when I try to send mail to any e-mail address except abc.spnetctg.com > domain qmail reject it. But If there is not rcpthosts it works nice. Here > is my smtproutes: > > #cat smtproutes > abc.spnetctg.com:localhost > :mail.spnetctg.com > > How can I use rcpthosts and is it necessary to use? > > Sifat. >
Problem with rcpthosts
Hi all, I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it in rcpthosts. #cat rcpthosts abc.spnetctg.com Now when I try to send mail to any e-mail address except abc.spnetctg.com domain qmail reject it. But If there is not rcpthosts it works nice. Here is my smtproutes: #cat smtproutes abc.spnetctg.com:localhost :mail.spnetctg.com How can I use rcpthosts and is it necessary to use? Sifat.
Re: Sending to an IP address
On Wed, Feb 02, 2000 at 05:01:02PM +1100, Wilson Fletcher wrote: > hmmm no square brackets I might try removing them. All this bracket talk is nonsense. And you don't have to restart anything after making a change to rcpthosts--it's reread for every incoming smtp connection. If the bracketed IP address in the e-mail address is one of the computer's IP addresses, then the contents of control/localiphost (which defaults to control/me) is the domain that's checked for in control/rcpthosts. So whatever's in control/me (or control/localiphost if you have it) needs to be in control/rcpthosts in order for this to work for you. Chris
Re: Problem with rcpthosts
On Wed, Feb 02, 2000 at 12:21:23PM +0600, Md. Sifat Ullah Patwary wrote: > Hi all, > I got a problem with rcpthosts. my domain is abc.spnetctg.com and I put it > in rcpthosts. > > #cat rcpthosts > abc.spnetctg.com > > Now when I try to send mail to any e-mail address except abc.spnetctg.com > domain qmail reject it. Do you think it might be helpful to tell us *how* it was rejected? Or are we meant to guess? What did your logs show? Did you get a bounce? If so, what was it? Regards.
Re: Bandwidth
On Tue, Feb 01, 2000 at 11:14:50PM -0500, Russell P. Sutherland wrote: > * Marek Narkiewicz ([EMAIL PROTECTED]) [ 1 Feb 2000 23:02]: > > > I hate to ask such a general question, but hat sort of bandwidth is needed to >accomodate up to 1 home > > dialup users for smtp and pop3 services? I just need some sort o rough estimate as >I have a budget to > > overcompensate somewhat. > > I help with an ISP that has a base of ~ 1500 users and 150 dialup > lines. We connect to the Internet with a full T1 line (1.5 Mbps). > The line gets close to saturation most evenings. And I'll bet that 80% of that traffic was not email. Regards.
Re: Bandwidth
On Tue, Feb 01, 2000 at 04:03:51AM +, Marek Narkiewicz wrote: > I hate to ask such a general question, but hat sort of bandwidth is needed to >accomodate up to 1 home > dialup users for smtp and pop3 services? I just need some sort o rough estimate as I >have a budget to > overcompensate somewhat. You have a budget and you don't know what you need to buy yet? Nice work if you can get it :> But what quality of service are you wanting to provide? And what is the anticipated traffic profile? Are they corporate users or general public? Are you talking about internet bandwidth, internal bandwidth or bandwidth to your customer connections? What speed dialups are these? 56K? Less? ISDN? How many concurrent connections? Oh, and, er, can these users do web browsing? If so, you'd best hang out in a web-traffic list as that will dominate your bandwidth requirements. Regards.
Re: Sending to an IP address
hmmm... I'm pretty sure you have to kill qmail-send. killproc is a handy tool if you have it around. you can just do a: killproc -HUP `which qmail-send` (assuming qmail-send is in your path; else give it the path to qmail-send) - Original Message - From: "Wilson Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 02 February 2000, Wednesday 00:59 Subject: RE: Sending to an IP address | I did this: | | # Stop qmail. | set $(/bin/ps aux | /bin/grep qmail-lspawn) | PID=$2 | echo -n "Killing qmail process: " | echo $PID | kill -9 $PID | rm -f /var/lock/subsys/qmail | echo "done" | ;; | | | -- | From: Keith Warno[SMTP:[EMAIL PROTECTED]] | Sent: Wednesday, 2 February 2000 17:01 | To: [EMAIL PROTECTED] | Subject: Re: Sending to an IP address | | I tried sending a message to wilson@[203.26.11.154]. | | The response I received is: | | Hi. This is the qmail-send program at mailbox.muao-inc.net. | I'm afraid I wasn't able to deliver your message to the following addresses. | This is a permanent error; I've given up. Sorry it didn't work out. | | : | 203.26.11.154 does not like recipient. | Remote host said: 553 sorry, that domain isn't in my list of allowed | rcpthosts ( | Giving up on 203.26.11.154. | | | hmmm did you just kill -HUP `pidof qmail-send` or did you shut down and | restart qmail completely? If you didn't do the latter, try it. | | - Original Message - | From: "Wilson Fletcher" <[EMAIL PROTECTED]> | To: <[EMAIL PROTECTED]> | Sent: 02 February 2000, Wednesday 00:42 | Subject: RE: Sending to an IP address | | | | | | OK added [203.26.11.154] to both control/locals & control/rcpthosts still | not luck (yes I restarted qmail) | |
RE: Sending to an IP address
hmmm no square brackets I might try removing them. -- From: Tim Hunter[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 16:55 To: [EMAIL PROTECTED] Subject:RE: Sending to an IP address I just tested this with my qmail config with my ip in rcpthosts and locals I received mail sent to my ip from an outside SMTP server [root@mail control]# cat rcpthosts mail.cimx.com cimx.com 206.112.223.188 [root@mail control]# cat locals mail.cimx.com cimx.com 206.112.223.188 [root@mail control]# Mail delivers like normal. here are my headers Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 24970 invoked by uid 500); 2 Feb 2000 05:47:06 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 24966 invoked from network); 2 Feb 2000 05:47:05 - Received: from fe2.rdc-kc.rr.com (HELO mail2.cinci.rr.com) (24.94.163.49) by mail.cimx.com with SMTP; 2 Feb 2000 05:47:05 - Received: from alcatraz ([24.29.20.43]) by mail2.cinci.rr.com with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 1 Feb 2000 23:48:03 -0600 Message-Id: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Wed, 02 Feb 2000 00:51:01 -0500 To: [EMAIL PROTECTED] From: Tim Hunter <[EMAIL PROTECTED]> Subject: test Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Return-Path: [EMAIL PROTECTED] X-UID: 113 I suggest you do a little more research before spitting off at the wrong people At 04:28 PM 2/2/00 +1100, you wrote: >hmmm. I don't think so. Here is my rcpthosts file: > > mclachlan.com.au > mclachlanlister.com.au > 203.26.11.154
RE: Sending to an IP address
I did this: # Stop qmail. set $(/bin/ps aux | /bin/grep qmail-lspawn) PID=$2 echo -n "Killing qmail process: " echo $PID kill -9 $PID rm -f /var/lock/subsys/qmail echo "done" ;; -- From: Keith Warno[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 17:01 To: [EMAIL PROTECTED] Subject:Re: Sending to an IP address I tried sending a message to wilson@[203.26.11.154]. The response I received is: Hi. This is the qmail-send program at mailbox.muao-inc.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : 203.26.11.154 does not like recipient. Remote host said: 553 sorry, that domain isn't in my list of allowed rcpthosts ( Giving up on 203.26.11.154. hmmm did you just kill -HUP `pidof qmail-send` or did you shut down and restart qmail completely? If you didn't do the latter, try it. - Original Message - From: "Wilson Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 02 February 2000, Wednesday 00:42 Subject: RE: Sending to an IP address | | OK added [203.26.11.154] to both control/locals & control/rcpthosts still not luck (yes I restarted qmail)
RE: Sending to an IP address
I just tested this with my qmail config with my ip in rcpthosts and locals I received mail sent to my ip from an outside SMTP server [root@mail control]# cat rcpthosts mail.cimx.com cimx.com 206.112.223.188 [root@mail control]# cat locals mail.cimx.com cimx.com 206.112.223.188 [root@mail control]# Mail delivers like normal. here are my headers Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 24970 invoked by uid 500); 2 Feb 2000 05:47:06 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 24966 invoked from network); 2 Feb 2000 05:47:05 - Received: from fe2.rdc-kc.rr.com (HELO mail2.cinci.rr.com) (24.94.163.49) by mail.cimx.com with SMTP; 2 Feb 2000 05:47:05 - Received: from alcatraz ([24.29.20.43]) by mail2.cinci.rr.com with Microsoft SMTPSVC(5.5.1877.197.19); Tue, 1 Feb 2000 23:48:03 -0600 Message-Id: <[EMAIL PROTECTED]> X-Sender: [EMAIL PROTECTED] X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Wed, 02 Feb 2000 00:51:01 -0500 To: [EMAIL PROTECTED] From: Tim Hunter <[EMAIL PROTECTED]> Subject: test Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Return-Path: [EMAIL PROTECTED] X-UID: 113 I suggest you do a little more research before spitting off at the wrong people At 04:28 PM 2/2/00 +1100, you wrote: >hmmm. I don't think so. Here is my rcpthosts file: > > mclachlan.com.au > mclachlanlister.com.au > 203.26.11.154
RE: Sending to an IP address
OK added [203.26.11.154] to both control/locals & control/rcpthosts still not luck (yes I restarted qmail) -- From: Keith Warno[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 16:47 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:Re: Sending to an IP address To be a little more verbose: [www.xxx.yyy.zzz] (_with_ the brackets) must appear in control/rcpthosts and, if mail to said address is to be delivered locally, it must also appear (with the brackets) in control/locals. - Original Message - From: "Wilson Fletcher" <[EMAIL PROTECTED]> To: "'Tim Hunter'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 02 February 2000, Wednesday 00:28 Subject: RE: Sending to an IP address | hmmm. I don't think so. Here is my rcpthosts file: | | mclachlan.com.au | mclachlanlister.com.au | 203.26.11.154 | | As i said ... it works internally but not from my ISPs server. | | -- | From: Tim Hunter[SMTP:[EMAIL PROTECTED]] | Sent: Wednesday, 2 February 2000 15:59 | To: [EMAIL PROTECTED] | Subject: RE: Sending to an IP address | | your reply is your answer | Remote host said: 553 sorry, that domain isn't in my list of allowed | rcpthosts (#5.7.1) | | put 203.26.11.154 in rcpthosts if you want to receive mail for that host | read Life with qmail for more information | | | At 03:50 PM 2/2/00 +1100, you wrote: | >Well if you try mailing to it you will see. It is returned by the smtp | >server I use to send email which incidentally is also qmail. Here is the | >bounce message: | > | >Hi. This is the qmail-send program at gidora.zeta.org.au. | >I'm afraid I wasn't able to deliver your message to the following | >addresses. | >This is a permanent error; I've given up. Sorry it didn't work out. | > | >: | >203.26.11.154 does not like recipient. | >Remote host said: 553 sorry, that domain isn't in my list of allowed | >rcpthosts (#5.7.1) | >Giving up. | > | >--- Below this line is a copy of the message. | > | >Return-Path: <[EMAIL PROTECTED]> | >Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - | >Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) | >(203.26.11.145) | > by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - | >Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 | >Message-ID: <[EMAIL PROTECTED]> | >From: Wilson Fletcher <[EMAIL PROTECTED]> | >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> | >To: "'wilson@[203.26.11.154]'" | >Subject: Test | >Date: Wed, 2 Feb 2000 15:34:44 +1100 | >X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 | >MIME-Version: 1.0 | >Content-Type: text/plain; charset="us-ascii" | >Content-Transfer-Encoding: 7bit | > | >Test | > | > | > | >-- | >From: Chris Johnson[SMTP:[EMAIL PROTECTED]] | >Sent: Wednesday, 2 February 2000 15:32 | >To: [EMAIL PROTECTED] | >Cc: '[EMAIL PROTECTED]' | >Subject:Re: Sending to an IP address | > | >On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: | > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell | >me | > > why ? | > | >I doubt it, unless you provide a detail or two. In what way did it fail? | > | >Chris | |
Re: Sending to an IP address
To be a little more verbose: [www.xxx.yyy.zzz] (_with_ the brackets) must appear in control/rcpthosts and, if mail to said address is to be delivered locally, it must also appear (with the brackets) in control/locals. - Original Message - From: "Wilson Fletcher" <[EMAIL PROTECTED]> To: "'Tim Hunter'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 02 February 2000, Wednesday 00:28 Subject: RE: Sending to an IP address | hmmm. I don't think so. Here is my rcpthosts file: | | mclachlan.com.au | mclachlanlister.com.au | 203.26.11.154 | | As i said ... it works internally but not from my ISPs server. | | -- | From: Tim Hunter[SMTP:[EMAIL PROTECTED]] | Sent: Wednesday, 2 February 2000 15:59 | To: [EMAIL PROTECTED] | Subject: RE: Sending to an IP address | | your reply is your answer | Remote host said: 553 sorry, that domain isn't in my list of allowed | rcpthosts (#5.7.1) | | put 203.26.11.154 in rcpthosts if you want to receive mail for that host | read Life with qmail for more information | | | At 03:50 PM 2/2/00 +1100, you wrote: | >Well if you try mailing to it you will see. It is returned by the smtp | >server I use to send email which incidentally is also qmail. Here is the | >bounce message: | > | >Hi. This is the qmail-send program at gidora.zeta.org.au. | >I'm afraid I wasn't able to deliver your message to the following | >addresses. | >This is a permanent error; I've given up. Sorry it didn't work out. | > | >: | >203.26.11.154 does not like recipient. | >Remote host said: 553 sorry, that domain isn't in my list of allowed | >rcpthosts (#5.7.1) | >Giving up. | > | >--- Below this line is a copy of the message. | > | >Return-Path: <[EMAIL PROTECTED]> | >Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - | >Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) | >(203.26.11.145) | > by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - | >Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 | >Message-ID: <[EMAIL PROTECTED]> | >From: Wilson Fletcher <[EMAIL PROTECTED]> | >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> | >To: "'wilson@[203.26.11.154]'" | >Subject: Test | >Date: Wed, 2 Feb 2000 15:34:44 +1100 | >X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 | >MIME-Version: 1.0 | >Content-Type: text/plain; charset="us-ascii" | >Content-Transfer-Encoding: 7bit | > | >Test | > | > | > | >-- | >From: Chris Johnson[SMTP:[EMAIL PROTECTED]] | >Sent: Wednesday, 2 February 2000 15:32 | >To: [EMAIL PROTECTED] | >Cc: '[EMAIL PROTECTED]' | >Subject:Re: Sending to an IP address | > | >On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: | > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell | >me | > > why ? | > | >I doubt it, unless you provide a detail or two. In what way did it fail? | > | >Chris | |
RE: Sending to an IP address
hmmm. I don't think so. Here is my rcpthosts file: mclachlan.com.au mclachlanlister.com.au 203.26.11.154 As i said ... it works internally but not from my ISPs server. -- From: Tim Hunter[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 15:59 To: [EMAIL PROTECTED] Subject:RE: Sending to an IP address your reply is your answer Remote host said: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) put 203.26.11.154 in rcpthosts if you want to receive mail for that host read Life with qmail for more information At 03:50 PM 2/2/00 +1100, you wrote: >Well if you try mailing to it you will see. It is returned by the smtp >server I use to send email which incidentally is also qmail. Here is the >bounce message: > >Hi. This is the qmail-send program at gidora.zeta.org.au. >I'm afraid I wasn't able to deliver your message to the following >addresses. >This is a permanent error; I've given up. Sorry it didn't work out. > >: >203.26.11.154 does not like recipient. >Remote host said: 553 sorry, that domain isn't in my list of allowed >rcpthosts (#5.7.1) >Giving up. > >--- Below this line is a copy of the message. > >Return-Path: <[EMAIL PROTECTED]> >Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - >Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) >(203.26.11.145) > by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - >Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 >Message-ID: <[EMAIL PROTECTED]> >From: Wilson Fletcher <[EMAIL PROTECTED]> >Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >To: "'wilson@[203.26.11.154]'" >Subject: Test >Date: Wed, 2 Feb 2000 15:34:44 +1100 >X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 >MIME-Version: 1.0 >Content-Type: text/plain; charset="us-ascii" >Content-Transfer-Encoding: 7bit > >Test > > > >-- >From: Chris Johnson[SMTP:[EMAIL PROTECTED]] >Sent: Wednesday, 2 February 2000 15:32 >To: [EMAIL PROTECTED] >Cc: '[EMAIL PROTECTED]' >Subject:Re: Sending to an IP address > >On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell >me > > why ? > >I doubt it, unless you provide a detail or two. In what way did it fail? > >Chris
Re: Sending to an IP address
The brackets are required. >From qmail-remote(8): The remote host is qmail-remote's first argument, host. qmail-remote sends the message to host, or to a mail exchanger for host listed in the Domain Name System, via the Simple Mail Transfer Protocol (SMTP). host can be either a fully-qualified domain name: silverton.berkeley.edu or an IP address enclosed in brackets: [128.32.183.163] If the mail is to be delivered locally to IP www.xxx.yyy.zzz, [www.xxx.yyy.zzz] must appear in control/locals and control/rcpthosts. - Original Message - From: "Roman Volf-RealShell Admin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 01 February 2000, Tuesday 23:56 Subject: RE: Sending to an IP address | Get rid of the brackets. | | | | | Roman Volf | [EMAIL PROTECTED] | Realshell Internet Services | http://www.realshell.com | "We are all unique, just like everyone else" | | On Wed, 2 Feb 2000, Wilson Fletcher wrote: | | > Well if you try mailing to it you will see. It is returned by the smtp | > server I use to send email which incidentally is also qmail. Here is the | > bounce message: | > | > Hi. This is the qmail-send program at gidora.zeta.org.au. | > I'm afraid I wasn't able to deliver your message to the following | > addresses. | > This is a permanent error; I've given up. Sorry it didn't work out. | > | > : | > 203.26.11.154 does not like recipient. | > Remote host said: 553 sorry, that domain isn't in my list of allowed | > rcpthosts (#5.7.1) | > Giving up. | > | > --- Below this line is a copy of the message. | > | > Return-Path: <[EMAIL PROTECTED]> | > Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - | > Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) | > (203.26.11.145) | > by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - | > Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 | > Message-ID: <[EMAIL PROTECTED]> | > From: Wilson Fletcher <[EMAIL PROTECTED]> | > Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> | > To: "'wilson@[203.26.11.154]'" | > Subject: Test | > Date: Wed, 2 Feb 2000 15:34:44 +1100 | > X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 | > MIME-Version: 1.0 | > Content-Type: text/plain; charset="us-ascii" | > Content-Transfer-Encoding: 7bit | > | > Test | > | > | > | > -- | > From: Chris Johnson[SMTP:[EMAIL PROTECTED]] | > Sent: Wednesday, 2 February 2000 15:32 | > To: [EMAIL PROTECTED] | > Cc: '[EMAIL PROTECTED]' | > Subject: Re: Sending to an IP address | > | > On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: | > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell | > me | > > why ? | > | > I doubt it, unless you provide a detail or two. In what way did it fail? | > | > Chris | > | > | |
RE: Sending to an IP address
Get rid of the brackets. Roman Volf [EMAIL PROTECTED] Realshell Internet Services http://www.realshell.com "We are all unique, just like everyone else" On Wed, 2 Feb 2000, Wilson Fletcher wrote: > Well if you try mailing to it you will see. It is returned by the smtp > server I use to send email which incidentally is also qmail. Here is the > bounce message: > > Hi. This is the qmail-send program at gidora.zeta.org.au. > I'm afraid I wasn't able to deliver your message to the following > addresses. > This is a permanent error; I've given up. Sorry it didn't work out. > > : > 203.26.11.154 does not like recipient. > Remote host said: 553 sorry, that domain isn't in my list of allowed > rcpthosts (#5.7.1) > Giving up. > > --- Below this line is a copy of the message. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - > Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) > (203.26.11.145) > by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - > Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 > Message-ID: <[EMAIL PROTECTED]> > From: Wilson Fletcher <[EMAIL PROTECTED]> > Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > To: "'wilson@[203.26.11.154]'" > Subject: Test > Date: Wed, 2 Feb 2000 15:34:44 +1100 > X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 > MIME-Version: 1.0 > Content-Type: text/plain; charset="us-ascii" > Content-Transfer-Encoding: 7bit > > Test > > > > -- > From: Chris Johnson[SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, 2 February 2000 15:32 > To: [EMAIL PROTECTED] > Cc: '[EMAIL PROTECTED]' > Subject: Re: Sending to an IP address > > On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: > > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell > me > > why ? > > I doubt it, unless you provide a detail or two. In what way did it fail? > > Chris > >
RE: Sending to an IP address
Someone told me to use square brackets and put the number in rcpthosts so I did. It works on our internal LAN but if I'm dialled into my ISP and try to email to it then it gets bounced. Wilson -- From: Spiro Harvey[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 15:50 To: [EMAIL PROTECTED] Subject:Re: Sending to an IP address >> I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell me >> why ? >I doubt it, unless you provide a detail or two. In what way did it fail? qmail should accept it if you have the IP address in the rcpthosts file. of course, this is purely speculation on may part based on how qmail appears to work to me, and should not be construed as technically correct or even slightly worth listening to. btw - those square brackets make me wonder about various things too... -- Spiro Harvey Linux Systems Engineer A.Net Communications - http://www.anet.co.nz --- This message was sent with the demo version of Postmaster, a BeOS mail client. For more information, please visit http://kennyc.com/postmaster
RE: Sending to an IP address
Well if you try mailing to it you will see. It is returned by the smtp server I use to send email which incidentally is also qmail. Here is the bounce message: Hi. This is the qmail-send program at gidora.zeta.org.au. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : 203.26.11.154 does not like recipient. Remote host said: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) Giving up. --- Below this line is a copy of the message. Return-Path: <[EMAIL PROTECTED]> Received: (qmail 27215 invoked from network); 2 Feb 2000 04:36:16 - Received: from gw.mclachlan.com.au (HELO wraith.mclachlan.com.au) (203.26.11.145) by gidora.zeta.org.au with SMTP; 2 Feb 2000 04:36:16 - Received: by localhost with Microsoft MAPI; Wed, 2 Feb 2000 15:34:45 +1100 Message-ID: <[EMAIL PROTECTED]> From: Wilson Fletcher <[EMAIL PROTECTED]> Reply-To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: "'wilson@[203.26.11.154]'" Subject: Test Date: Wed, 2 Feb 2000 15:34:44 +1100 X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Test -- From: Chris Johnson[SMTP:[EMAIL PROTECTED]] Sent: Wednesday, 2 February 2000 15:32 To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject:Re: Sending to an IP address On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell me > why ? I doubt it, unless you provide a detail or two. In what way did it fail? Chris
Re: Sending to an IP address
>> I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell me >> why ? >I doubt it, unless you provide a detail or two. In what way did it fail? qmail should accept it if you have the IP address in the rcpthosts file. of course, this is purely speculation on may part based on how qmail appears to work to me, and should not be construed as technically correct or even slightly worth listening to. btw - those square brackets make me wonder about various things too... -- Spiro Harvey Linux Systems Engineer A.Net Communications - http://www.anet.co.nz --- This message was sent with the demo version of Postmaster, a BeOS mail client. For more information, please visit http://kennyc.com/postmaster
Re: Sending to an IP address
On Wed, Feb 02, 2000 at 03:25:58PM +1100, Wilson Fletcher wrote: > I tried to send to wilson@[203.26.11.154] but it failed. Can someone tell me > why ? I doubt it, unless you provide a detail or two. In what way did it fail? Chris
Sending to an IP address
I ried to send to wilson@[203.26.11.154] but it failed. Can someone tell me why ? Thanks Wilson
Re: Bandwidth
* Marek Narkiewicz ([EMAIL PROTECTED]) [ 1 Feb 2000 23:02]: > I hate to ask such a general question, but hat sort of bandwidth is needed to >accomodate up to 1 home > dialup users for smtp and pop3 services? I just need some sort o rough estimate as I >have a budget to > overcompensate somewhat. I help with an ISP that has a base of ~ 1500 users and 150 dialup lines. We connect to the Internet with a full T1 line (1.5 Mbps). The line gets close to saturation most evenings. -- Quist ConsultingEmail: [EMAIL PROTECTED] 219 Donlea DriveVoice: +1.416.696.7600 Toronto ON M4G 2N1 Fax: +1.416.978.6620 CANADA WWW: http://www.quist.on.ca
Bandwidth
I hate to ask such a general question, but hat sort of bandwidth is needed to accomodate up to 1 home dialup users for smtp and pop3 services? I just need some sort o rough estimate as I have a budget to overcompensate somewhat. Thanks for any help, -- Marek Narkiewicz, Systems Director WelshDragon ltd [EMAIL PROTECTED] 02/01/2000 at 04:03:50
Red Hat sysV init rc.d script for qmail?
Does anyone have a URL for a Red Hat SysV init rc.d script for qmail? Thanks, John -- John Conover[EMAIL PROTECTED] http://www.inow.com/ 631 Lamont Ct. Tel. 408.370.2688 http://www.inow.com/ntropix/ Campbell, CA 95008 Fax. 408.379.9602 http://www.inow.com/nformatix/
A newbie's question: qfilelog and multilog
Hi there, I am having qmail-1.03 with daemontools-0.61 running and would like to have my logs rotated on a daily base. I learned from the Qmail Mailing List Archive that qfilelog could do just what I am expecting but all the messages there seem to be about older version of daemontools (cyclog). I wonder if anyone out there had got it running with daemontool-0.61 (multilog). How do I set my 'run script' to have them work together ? Thanks in advance ! -- Wang-hua Li
Re: Two smtpd/databytes?
Chris Johnson wrote: > > On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote: > > Is it possible to run two versions of qmail-smtpd (say, on different port > > #s), with different control/databytes files? Boss is asking whether we can > > set a limit on the size of incoming mail (easy, use databytes) but have no > > limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate > > machines, but would it be possible to this up on only one machine? > > That's way too hard. If your network is the 1.2.3 class C, stick something like > this in your rules file: > > 1.2.3.:allow,RELAYCLIENT="",DATABYTES="0" > > That'll set DATABYTES to zero (meaning there's no limit) for your internal > clients. Everyone else is subject to /var/qmail/control/databytes. Chris, This is great! It'll try it out. Thanks! Brian -- [EMAIL PROTECTED] http://www.baquiran.com US Fax: (603) 908-0727 AIM: bbaquiran
Re: Two smtpd/databytes?
On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote: > Is it possible to run two versions of qmail-smtpd (say, on different port > #s), with different control/databytes files? Boss is asking whether we can > set a limit on the size of incoming mail (easy, use databytes) but have no > limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate > machines, but would it be possible to this up on only one machine? That's way too hard. If your network is the 1.2.3 class C, stick something like this in your rules file: 1.2.3.:allow,RELAYCLIENT="",DATABYTES="0" That'll set DATABYTES to zero (meaning there's no limit) for your internal clients. Everyone else is subject to /var/qmail/control/databytes. Chris
Re: Two smtpd/databytes?
Sure. Just run two instances of qmail. In fact, why not mutlihome your system (or alias depending on which term you prefer) and have them both on port 25. One listens to your internally advertised address and one listens to your MX address. You can also control how many resources go to which service then, all on the one machine. Regards. On Tue, Feb 01, 2000 at 09:30:44AM +0800, Brian Baquiran wrote: > Is it possible to run two versions of qmail-smtpd (say, on different port #s), > with different control/databytes files? Boss is asking whether we can set a > limit on the size of incoming mail (easy, use databytes) but have no limit on > the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines, > but would it be possible to this up on only one machine? > > I am running qmail-smtpd under tcpserver, if that is any help. > > TIA, > Brian > -- > [EMAIL PROTECTED] > http://www.baquiran.com > US Fax: (603) 908-0727 > AIM: bbaquiran
Two smtpd/databytes?
Is it possible to run two versions of qmail-smtpd (say, on different port #s), with different control/databytes files? Boss is asking whether we can set a limit on the size of incoming mail (easy, use databytes) but have no limit on the outgoing mail. Easiest way is to have 2 SMTP servers on separate machines, but would it be possible to this up on only one machine? I am running qmail-smtpd under tcpserver, if that is any help. TIA, Brian -- [EMAIL PROTECTED] http://www.baquiran.com US Fax: (603) 908-0727 AIM: bbaquiran
Re: AW: AW: AW: php3 and qmail
What does the qmail file look like? The message file? Do you have the http server set to record at debug level? Most are preconfigured to use warn. Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 1 Feb 2000, Andreas Altenburg wrote: > the http_access file shows "GET index.php 200 ..." Nothing unusual. The > http_error show nothing... > >
Re: mail to all@domain.com password protected
Marco Leeflang <[EMAIL PROTECTED]> writes: > is it possible to secure mail to [EMAIL PROTECTED] with a password so only > people who knows the user/password or just the password could mail to > this emailaddress. .qmail-all will hold all users within this domain. One way we've solved this problem in the past when we didn't need to support user forwarding addresses was to just write a script to deliver directly to their inboxes. That's much faster than anything that goes through the mail system, although you have to be careful to do the right locking. But that way, security is pretty straightforward; the only person who would be able to run the script is root on the mail server. -- Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/>
pop3 start
i read "life with qmail" and set ip my server correctly. i did not find the part how to start the pop3d automatically. so i entered the lines of the doc ("tcpserver..." to my boot script of qmail. Now each transaction is logged to the console. Does anybody have I working startup script for qmail-send, qmail-smtpd and qmail-pop3???
Re: IMAP command
[EMAIL PROTECTED] writes: > I am looking for references of IMAP comand line, so I can try > it via telnet to port 143 , where I could find it? RFC 2060. -- Sam
Re: AW: AW: php3 and qmail
On Tue, Feb 01, 2000 at 11:23:33PM +0100, Andreas Altenburg wrote: > the http_access file shows "GET index.php 200 ..." Nothing unusual. The > http_error show nothing... It sounds like you need to do a *LOT* more homework before hitting the list with non-information like this. If you administer a system then you'll know how important it is to state all relevant information exactly. Paraphrasing a log file is *NOT* stating any information exactly. Do you get frustrated when people using your computer systems come to you with little more than "it doesn't work!". Well, that's about what you've done here. You should be attempting to debug this yourself. What efforts have you made to do this? Have you put any tracing or logging information into the php script? If you have done so, what did you discover? Have you tried to run the script outside of the web server? What did it show? If you're on an OS that has a system call trace facility, what does that show? Did you try making a wrapper for index.php to check the parameters and return status of the real index.php? If so, what do those parameters look like? Did you try making a wrapper around the relevant qmail program to see if it's getting invoked and with what arguments? If so, did you invoke it manually with the same parameters to see what happens? If you haven't done any of this, what efforts do you expect people on this list to make on your behalf? Apart from training in clairvoyancy that is? Regards.
AW: AW: AW: php3 and qmail
the http_access file shows "GET index.php 200 ..." Nothing unusual. The http_error show nothing...
Re: default to mailing list
Ok, then try putting a forwarder inside a .qmail-default file and try the mess ;) I want my default delivery to go to a mailing list. If I simply put a forwarder instead of vdelivermail. inside .qmail-default all mail (to any account, even if it exists) is forwarded twice, or something like this. Tried it a few days ago and it resulted in chaos. -- jmr - Original Message - From: "Dave Sill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 31, 2000 7:11 PM Subject: Re: default to mailing list > "J.M. Roth \(iip\)" <[EMAIL PROTECTED]> wrote: > > >but what if there is a mailing list that's already defined, like: > >[EMAIL PROTECTED] > >Now, [EMAIL PROTECTED] should go to the mailing list. I don't wanna copy > >the whole thing. > >If I simply put &[EMAIL PROTECTED] into .qmail-default the whole directory > >seems messed up because mails are returned and say that users that DO exist > >didn't exist, which simply is not true. > > Putting "&[EMAIL PROTECTED]" in a .qmail file is exactly what you should > do. If that doesn't work right, you'll need to provide more details if > you want help figuring out why. > > -Dave >
Re: AW: AW: php3 and qmail
what is the log file recording? Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 1 Feb 2000, Andreas Altenburg wrote: > phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of > this mail is not delivered. The host is allowed as well. Sendmail is killed > totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion > of php... > >
Re: what makes ezmlm fast?
Like the master himself says, "Profile - don't speculate." In this case, look at the way qmail and ezmlm work. By "parallel SMTP processes" I'm assuming you're referring to the way qmail handles deliveries, which is to spawn one qmail-remote process for each recipient address. That all happens after the mail is injected by ezmlm into the qmail queue. shag - Original Message - From: Jeremy Hansen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tue 1 Feb 2000 13.39 Subject: Re: what makes ezmlm fast? I understand that qmail is the MTA, but there is also functionality in ezmlm which takes advantage of qmail in a way which makes things much faster. Something about parallel smtp processes or something like that. There's more to it then just qmail itself. -jeremy > On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote: > > > > Can someone explain to me what exactly makes ezmlm fast? I > > would like to try to adapt some of its functionality and speed > > to a customized list processor. Thanks for any input. > > One word: qmail. > > Greetz, Peter. > -- > Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder > | > | 'C makes it easy to shoot yourself in the foot; > | C++ makes it harder, but when you do it blows your whole leg off.' > | Bjarne Stroustrup, Inventor of C++ > http://www.xxedgexx.com | [EMAIL PROTECTED] -
AW: AW: php3 and qmail
phpinfo() showed me /var/qmail/bin/sendmail as sendmail path. In spite of this mail is not delivered. The host is allowed as well. Sendmail is killed totally, other mails are sent. Where is my mistake. Perhaps it is a quetsion of php...
Linux kernel turning for mail performance?
Is there any kernel sysctl or otherwise parameters suggested for performance using qmail on Linux? Open file handle limits, share memory, whatever? I have a goal to send at least 1 million emails in a 24 hour period from a single machine. Also, has anyone done any experimentation using 2.3.x kernels and qmail? Any feedback on experiences with 2.3.x? Thanks -jeremy
RE: AW: php3 and qmail
you should ask this in the php3 mailling-list ;) anyway the correct file name is: php.ini and you can override it's default location with a ./configure option ./configure --help to list the options! don't forget to restart apache after making changes to the php.ini file also: in a file by itself will give info about php options (call it with you browser, afterwards) bye bye, ratao On 01-Feb-2000 Andreas Altenburg wrote: > i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail > > In spite of this, the mail is not send. In the http-error-log there is a > line /usr/sbin/sendmail -no such directory or file. But i do not find the > line in my php3.ini-dist file. Where can it be??? -- E-Mail: RaTao von J <[EMAIL PROTECTED]> Date: 01-Feb-2000 Time: 21:46:32 This message was sent by XFMail --
Re: AW: php3 and qmail
on 2/1/00 12:27 PM, Andreas Altenburg had the thought: > i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail > > In spite of this, the mail is not send. In the http-error-log there is a > line /usr/sbin/sendmail -no such directory or file. But i do not find the > line in my php3.ini-dist file. Where can it be??? > > >From Life with Qmail http://web.infoave.net/~dsill/lwq.html kill PID-of-sendmail mv /usr/lib/sendmail /usr/lib/sendmail.old # may not be needed mv /usr/sbin/sendmail /usr/sbin/sendmail.old # may not be needed chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old ln -s /var/qmail/bin/sendmail /usr/lib ln -s /var/qmail/bin/sendmail /usr/sbin This will make sure that qmail will handle you mail. Pat -- Freestyle Interactive | http://www.freestyleinteractive.com | 415.778.0610
Re: what makes ezmlm fast?
I understand that qmail is the MTA, but there is also functionality in ezmlm which takes advantage of qmail in a way which makes things much faster. Something about parallel smtp processes or something like that. There's more to it then just qmail itself. -jeremy > On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote: > > > > Can someone explain to me what exactly makes ezmlm fast? I > > would like to try to adapt some of its functionality and speed > > to a customized list processor. Thanks for any input. > > One word: qmail. > > Greetz, Peter. > -- > Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder > | > | 'C makes it easy to shoot yourself in the foot; > | C++ makes it harder, but when you do it blows your whole leg off.' > | Bjarne Stroustrup, Inventor of C++ > http://www.xxedgexx.com | [EMAIL PROTECTED] -
Re: Logging information about each email.
On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote: > Hi Folks, > > I'm wondering the best place/way to log details about each email to a > database of some sort. > Specifically I need to log, from address, to address, and email size. > > Any hints on where to start? Your maillogs. They contain all this information. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: Logging information about each email.
On Tue, Feb 01, 2000 at 12:44:30PM -0800, Qmail wrote: > Hi Folks, > > I'm wondering the best place/way to log details about each email to a > database of some sort. > Specifically I need to log, from address, to address, and email size. > > Any hints on where to start? Hint #1: log qmail-send with cyclog or multilog. Hint #2: take a look on qmail-analog. Specifically matchup. /magnus -- http://x42.com/
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 03:36:50PM -0500, Adam McKenna wrote: > On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote: > > On 01-Feb-2000, Adam McKenna wrote: > > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > > > If mail from <> is bouncing that means the admin of that site has chosen to > > > enable that setting. (It might be the default, but I'm pretty sure it's > > > not.) > > > > But if <> is valid, what is the reason to make this behaviour > > user-configurable in the first place? In other words, when is <> not > > valid? > > That's not the point. Giving the user an option to break the RFC is not the > same as breaking the RFC. Indeed. What IMail does wrong is allowing the user to do so with one click of the mouse. qmail can be configured to break lots of RFCs, that's not even hard. But nothing that can happen 'incidentally'. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: "<>" bogus mail from??
Thus spake Ronny Haryanto ([EMAIL PROTECTED]): > On 01-Feb-2000, Timothy L. Mayo wrote: > > On Tue, 1 Feb 2000, Ronny Haryanto wrote: > > > On 01-Feb-2000, Adam McKenna wrote: > > > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > > > But if <> is valid, what is the reason to make this behaviour > > > user-configurable in the first place? In other words, when is <> not > > > valid? > > > > It is being blocked because some SPAMers took advantage of the fact that > > the RFCs require bounce messages to use the <> envelope sender for error > > messages. It should NEVER be blocked, period. If a spammer is sending > > email with an <> envelope sender, block their IP. > > So it _IS_ an IMail problem because it allows rejecting <>. Only so far as rm has a problem in that it allows you to type rm -rf / as root. Robbie
Logging information about each email.
Hi Folks, I'm wondering the best place/way to log details about each email to a database of some sort. Specifically I need to log, from address, to address, and email size. Any hints on where to start? Thanks, Lance
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote: > On 01-Feb-2000, Timothy L. Mayo wrote: > > On Tue, 1 Feb 2000, Ronny Haryanto wrote: > > > On 01-Feb-2000, Adam McKenna wrote: > > > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > > > But if <> is valid, what is the reason to make this behaviour > > > user-configurable in the first place? In other words, when is <> not > > > valid? > > > > It is being blocked because some SPAMers took advantage of the fact that > > the RFCs require bounce messages to use the <> envelope sender for error > > messages. It should NEVER be blocked, period. If a spammer is sending > > email with an <> envelope sender, block their IP. > > So it _IS_ an IMail problem because it allows rejecting <>. Not really. It's possible to set up any mailer to block <>. IMail just makes it easier. --Adam
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote: > On 01-Feb-2000, Adam McKenna wrote: > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > If mail from <> is bouncing that means the admin of that site has chosen to > > enable that setting. (It might be the default, but I'm pretty sure it's > > not.) > > But if <> is valid, what is the reason to make this behaviour > user-configurable in the first place? In other words, when is <> not > valid? That's not the point. Giving the user an option to break the RFC is not the same as breaking the RFC. --Adam > > -- > Ronny Haryanto >
Re: what makes ezmlm fast?
On Tue, Feb 01, 2000 at 03:03:22PM -0500, Jeremy Hansen wrote: > > Can someone explain to me what exactly makes ezmlm fast? I > would like to try to adapt some of its functionality and speed > to a customized list processor. Thanks for any input. One word: qmail. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: mail to all@domain.com password protected
On Tue, Feb 01, 2000 at 07:58:03PM +, Ricardo Cerqueira wrote: > > i don't want everyone to send mail to [EMAIL PROTECTED], just selected people. > > mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain. > > so thats why > > Instead of searching for far-fetched solutions, why don't you just install a >mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as >a moderated/limited list? That is what I was going to suggest indeed, when I understood his problem :) Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 02:28:56PM -0600, Ronny Haryanto wrote: > On 01-Feb-2000, Timothy L. Mayo wrote: > > On Tue, 1 Feb 2000, Ronny Haryanto wrote: > > > On 01-Feb-2000, Adam McKenna wrote: > > > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > > > But if <> is valid, what is the reason to make this behaviour > > > user-configurable in the first place? In other words, when is <> not > > > valid? > > > > It is being blocked because some SPAMers took advantage of the fact that > > the RFCs require bounce messages to use the <> envelope sender for error > > messages. It should NEVER be blocked, period. If a spammer is sending > > email with an <> envelope sender, block their IP. > > So it _IS_ an IMail problem because it allows rejecting <>. The program is not foolproof, and those people are fools. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: "<>" bogus mail from??
On 01-Feb-2000, Timothy L. Mayo wrote: > On Tue, 1 Feb 2000, Ronny Haryanto wrote: > > On 01-Feb-2000, Adam McKenna wrote: > > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > But if <> is valid, what is the reason to make this behaviour > > user-configurable in the first place? In other words, when is <> not > > valid? > > It is being blocked because some SPAMers took advantage of the fact that > the RFCs require bounce messages to use the <> envelope sender for error > messages. It should NEVER be blocked, period. If a spammer is sending > email with an <> envelope sender, block their IP. So it _IS_ an IMail problem because it allows rejecting <>. -- Ronny Haryanto
AW: php3 and qmail
i changes the line in the php3.ini-dist to /var/qmail/bin/sendmail In spite of this, the mail is not send. In the http-error-log there is a line /usr/sbin/sendmail -no such directory or file. But i do not find the line in my php3.ini-dist file. Where can it be???
Re: Special pop accounts
Thus spake Director tecnico del Nodo Nicarao -- Juan Navas ([EMAIL PROTECTED]): > Te documentation told me to run the program qmail-newu to rebuild the > database (cdb). When I do dat it respond with: > > # qmail-newu > qmail-newu: fatal: bad format in users/assign > > I'm trying to find now documentation about the format that I should use on > the "assign" file. Actually I have: > > =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid::: Make sure the last line of the assign file is a period by itself. Robbie
Re: Special pop accounts
Director tecnico del Nodo Nicarao -- Juan Navas wrote: > I trying to configure a pop mail account without using a system account: > > . > . > Single-UID based POP3 box HOWTO.By Paul Gregg , > 1998Copyright Paul Gregg,1998 > . > . > > Te documentation told me to run the program qmail-newu to rebuild the > database (cdb). When I do dat it respond with: > > . > . > # qmail-newu > qmail-newu: fatal: bad format in users/assign > . > . > > I'm trying to find now documentation about the format that I should use on > the "assign" file. Actually I have: > > . > . > =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid::: > . > . > On the last line ther must be a single. see FAQ > > I don't see anything wrong.What do you thing may the problem be? > > Does any have any experience making pop accounts without using system > accounts? marco leeflang
Re: yet another question about Virtual domains
> > I plan to have a directory structure in place such as: > > /home/domain1/mail/user1 > > /home/domain1/mail/user2 > > etc > > This looks like you're planning on setting up home directories for virtual > mail users -- why? Do they need shell/ftp/other access? If so, they're > not really virtual mail users. A virtual mail user doesn't need an account > of their own -- they just need a POP mailbox (or IMAP, etc). The directory structure will be used for web/ftp hosting as well... for example: /home/domain1/public_html/ /home/domain1/anon_ftp/ /home/domain1/mail/ Shell access is still up in the air with regards to security issues. But that's not for this list to discuss... Thanks for any other ideas. Ken sent me a link for Inter7 which seems to be what I need for the virtual mail hosting. Many thanks. Ian
Special pop accounts
I trying to configure a pop mail account without using a system account: . . Single-UID based POP3 box HOWTO.By Paul Gregg , 1998Copyright Paul Gregg,1998 . . Te documentation told me to run the program qmail-newu to rebuild the database (cdb). When I do dat it respond with: . . # qmail-newu qmail-newu: fatal: bad format in users/assign . . I'm trying to find now documentation about the format that I should use on the "assign" file. Actually I have: . . =domain-com-ni-testid:popuser:888:888:/var/qmail/popboxes/domain-com-ni/testid::: . . I don't see anything wrong.What do you thing may the problem be? Does any have any experience making pop accounts without using system accounts?
Re: yet another question about Virtual domains
Ian Douglas <[EMAIL PROTECTED]> wrote: > > However, my dilemma is that I'm going to be running multiple virtual domains on > one server, web, mail, ftp, etc. and am curious to know what steps exactly I > should follow to get the setup completed with qmail. As far as qmail is concerned, this is not a problem, although you probably want to use a virtual user manager of some sort -- there's several to pick from. > What I'm looking for here is a way to set up my server to accept mail for > domain1.com, domain2.com and domain3.com ... etc, to domainn.com. Virtual domain support is simple and documented in Life with qmail, etc. Essentially you create one user account for each virtual domain, although this varies between manager systems. > Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT > [EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail > to see (easily) addressed from what I've read so far. It's not a problem for virtual mail users, _but_ ... > I plan to have a directory structure in place such as: > /home/domain1/mail/user1 > /home/domain1/mail/user2 > etc This looks like you're planning on setting up home directories for virtual mail users -- why? Do they need shell/ftp/other access? If so, they're not really virtual mail users. A virtual mail user doesn't need an account of their own -- they just need a POP mailbox (or IMAP, etc). > for each of the domains so that each user can login using POP/IMAP to retrieve > their mail. I'd also like an way to handle Email aliasing so that > [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it > to go. Yet here you say you only need POP/IMAP access for them. Forget about giving virtual users individual home directories. > I'm not new to Linux, but I'm new to the idea of setting up multiple domains on > a single host, so any hand-holding would be appreciated. More details will get you more detailed responses, providing you go read "Life with qmail", mentioned almost every day in this list. Also read everything on www.qmail.org, especially concerning virtual mail user management systems. Charles -- Charles Cazabon <[EMAIL PROTECTED]> Any opinions expressed are just that -- my opinions.
what makes ezmlm fast?
Can someone explain to me what exactly makes ezmlm fast? I would like to try to adapt some of its functionality and speed to a customized list processor. Thanks for any input. -jeremy
Re: yet another question about Virtual domains
For a little more information, I'm getting into virtual web hosting which I can set up and maintain quite well ... but everyone's looking for Email to go with it. So each domain I host is going to have their own webmaster@, sales@, info@ address, etc. I would like all root@, sysadmin@, and postmaster@ Email to be filtered into one POP box for myself. Again, I appreciate any helpful responses. --- Ian Douglas, System Administration [EMAIL PROTECTED]
Re: php3 and qmail
On Tue, 1 Feb 2000, Chris Johnson wrote: > On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote: > > in php there is a function called "mail()". In the docs it is described how > > to use it with sendmail. Does anybody know how to use this with qmail?? > > Probably the same way, as long as you've linked /usr/sbin/sendmail to > /var/qmail/bin/sendmail. > This is what we do and it works great. Julie
Re: mail to all@domain.com password protected
> i don't want everyone to send mail to [EMAIL PROTECTED], just selected people. > mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain. > so thats why > Instead of searching for far-fetched solutions, why don't you just install a mailing-list manager (like ezmlm, http://www.ezmlm.org/) and set up [EMAIL PROTECTED] as a moderated/limited list? Regards; Ricardo -- +--- | Ricardo Cerqueira - [EMAIL PROTECTED] | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | FCCN/RCTS - Fundacao para a Computacao Cientifica Nacional | Av. Brasil, 101 / 1700-066 Lisboa / Portugal *** Tel: (+351) 218440100
Re: "<>" bogus mail from??
On Tue, 1 Feb 2000, Ronny Haryanto wrote: > On 01-Feb-2000, Adam McKenna wrote: > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > If mail from <> is bouncing that means the admin of that site has chosen to > > enable that setting. (It might be the default, but I'm pretty sure it's > > not.) > > But if <> is valid, what is the reason to make this behaviour > user-configurable in the first place? In other words, when is <> not > valid? It is being blocked because some SPAMers took advantage of the fact that the RFCs require bounce messages to use the <> envelope sender for error messages. It should NEVER be blocked, period. If a spammer is sending email with an <> envelope sender, block their IP. > > -- > Ronny Haryanto > - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
RE: mail to all@domain.com password protected
Then couldn't an ezmlm list with specific people able to "post" work for a situation like this ? Matt Soffen Applications 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: Marco Leeflang [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, February 01, 2000 2:50 PM > Cc: qmail maillist > Subject: Re: mail to [EMAIL PROTECTED] password protected > > [EMAIL PROTECTED] wrote: > > > On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote: > > > First a pop validation and then mail to this account. > > > > First of all: don't Cc me, I'm on the list. > > ok. > > > > > > > Second: http://leerquoten.nijntje.net/ (Dutch). > > > > just read it. > > > > > And then, to quote djb: 'What problem are you trying to solve?' > > > > i don't want everyone to send mail to [EMAIL PROTECTED], just selected > people. > mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain. > so thats why > > > > > Greetz, Peter. > > marco leeflang
Re: Local users connecting from home.
Gaziz Nugmanov <[EMAIL PROTECTED]> wrote: > > Let me ask you how can I configure qmail in order to relay > for local users (based on "mail from" field). You don't want to relay based on the SMTP envelope sender, as this is easily spoofed by spammers. You want to relay based on IP address. This is easy for customers with static IPs. Using tcpserver, set the RELAYCLIENT variable to "" when a user connects from one of the static IPs you wish to allow relaying from, and don't set RELAYCLIENT to anything for everyone else. For dhcp'd/mobile clients, use a SMTP-after-POP solution. There are several, listed on qmail.org and other places. Have you checked Life with qmail? This is one of the most common FAQs there is. Charles -- Charles Cazabon <[EMAIL PROTECTED]> Any opinions expressed are just that -- my opinions.
yet another question about Virtual domains
I know this is a tense subject on the mailing list, but please bear with me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it on my RedHat 6.1 box than the stock sendmail that's full of holes. However, my dilemma is that I'm going to be running multiple virtual domains on one server, web, mail, ftp, etc. and am curious to know what steps exactly I should follow to get the setup completed with qmail. Before you start ranting about "RTFM", I have read through the FAQ's and found them a little confusing. I also searched through the mailing list archives and am even more confused. What I'm looking for here is a way to set up my server to accept mail for domain1.com, domain2.com and domain3.com ... etc, to domainn.com. Each domain should have its own unique users. That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED] Is this going to be a problem? This is the issue that I fail to see (easily) addressed from what I've read so far. I plan to have a directory structure in place such as: /home/domain1/mail/user1 /home/domain1/mail/user2 etc for each of the domains so that each user can login using POP/IMAP to retrieve their mail. I'd also like an way to handle Email aliasing so that [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need it to go. I'm not new to Linux, but I'm new to the idea of setting up multiple domains on a single host, so any hand-holding would be appreciated. Thanks much, --- Ian Douglas, System Administration [EMAIL PROTECTED]
Re: mail to all@domain.com password protected
[EMAIL PROTECTED] wrote: > On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote: > > First a pop validation and then mail to this account. > > First of all: don't Cc me, I'm on the list. ok. > > > Second: http://leerquoten.nijntje.net/ (Dutch). > just read it. > > And then, to quote djb: 'What problem are you trying to solve?' > i don't want everyone to send mail to [EMAIL PROTECTED], just selected people. mail to [EMAIL PROTECTED] will be delivered to all popboxen in this domain. so thats why > > Greetz, Peter. marco leeflang
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 01:47:22PM -0600, Ronny Haryanto wrote: > On 01-Feb-2000, Adam McKenna wrote: > > This is _not_ an IMail problem. This is a user-configurable setting. > > > > If mail from <> is bouncing that means the admin of that site has chosen to > > enable that setting. (It might be the default, but I'm pretty sure it's > > not.) > > But if <> is valid, what is the reason to make this behaviour > user-configurable in the first place? In other words, when is <> not > valid? Never. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: "<>" bogus mail from??
On 01-Feb-2000, Adam McKenna wrote: > This is _not_ an IMail problem. This is a user-configurable setting. > > If mail from <> is bouncing that means the admin of that site has chosen to > enable that setting. (It might be the default, but I'm pretty sure it's > not.) But if <> is valid, what is the reason to make this behaviour user-configurable in the first place? In other words, when is <> not valid? -- Ronny Haryanto
Re: "<>" bogus mail from??
On Tue, Feb 01, 2000 at 12:25:01PM -0600, Ronny Haryanto wrote: > Hi, > > I'm just wondering if > > MAIL FROM: <> > > in SMTP session is valid or not? From what I understand is that qmail Yes it's valid, it's actually even the required sender of a bounce. > uses that to send bounce messages. However some sites (particulary > ones using IMail v5) rejects that sender saying "501 bogus mail from". They suck. > I don't care if the sender doesn't receive the bounce back, heck I > tried to send bounce message but they rejects it. It's just annoying, > especially if this is valid, not bogus. It is valid, and required, to prevent bounces bouncing :) > I have contacted a rep from IMail, but no response. Here's the > website: http://www.ipswitch.com/products/IMail_Server/index.asp It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot pole (no don't start a holy war on me now :) Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: php3 and qmail
use the sendmail wrapper that comes with qmail? Paul Farber Farber Technology [EMAIL PROTECTED] Ph 570-628-5303 Fax 570-628-5545 On Tue, 1 Feb 2000, Andreas Altenburg wrote: > in php there is a function called "mail()". In the docs it is described how > to use it with sendmail. Does anybody know how to use this with qmail?? >
Re: mail to all@domain.com password protected
On Tue, Feb 01, 2000 at 08:33:38PM +0100, Marco Leeflang wrote: > First a pop validation and then mail to this account. First of all: don't Cc me, I'm on the list. Second: http://leerquoten.nijntje.net/ (Dutch). And then, to quote djb: 'What problem are you trying to solve?' Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: Blocking Spam in qmail?
On Tue, Feb 01, 2000 at 09:40:45AM -0800, Bill Parker wrote: > Hello All, > > I have the following addresses which generate some periodic > spam to my system: > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > How does one go about dealing with this mess, as much as I would love > to block the aol.com domain 8^), I can't do it cause we have customers > who use AOL to get to our website..:( Put 'm in /var/qmail/control/badmailfrom > p.s. - Where is the qmail book? (hint, hint) I went looking for it at ora.com yesterday, all I could find was 'second half of next year' in a message from 1998.. the book is late, therefore.. Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Blocking Spam in qmail?
Hello All, I have the following addresses which generate some periodic spam to my system: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] How does one go about dealing with this mess, as much as I would love to block the aol.com domain 8^), I can't do it cause we have customers who use AOL to get to our website..:( Any ideas? -Bill p.s. - Where is the qmail book? (hint, hint)
Re: "<>" bogus mail from??
This is _not_ an IMail problem. This is a user-configurable setting. If mail from <> is bouncing that means the admin of that site has chosen to enable that setting. (It might be the default, but I'm pretty sure it's not.) --Adam On Tue, Feb 01, 2000 at 12:41:10PM -0600, Ronny Haryanto wrote: > On 01-Feb-2000, [EMAIL PROTECTED] wrote: > > > I'm just wondering if > > > > > > MAIL FROM: <> > > > > > > in SMTP session is valid or not? From what I understand is that qmail > > > > Yes it's valid, it's actually even the required sender of a bounce. > > Hi Peter, thanks for your response. I thought I saw an RFC about this, > but I can't recall which. > > > > I have contacted a rep from IMail, but no response. Here's the > > > website: http://www.ipswitch.com/products/IMail_Server/index.asp > > > > It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot > > pole (no don't start a holy war on me now :) > > Hmm. Apparently they fixed it(?) in their new version of IMail: > > [~]$ host -t mx ipswitch.com > ipswitch.com mail is handled (pri=10) by imail.ipswitch.com > ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com > [~]$ telnet imail.ipswitch.com 25 > Trying 156.21.1.5... > Connected to imail.ipswitch.com. > Escape character is '^]'. > 220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1) > helo blah > 250 hello imail.ipswitch.com > mail from: <> > 250 ok > quit > 221 Goodbye > Connection closed by foreign host. > > Oh well.. *shrug*.. > > -- > Ronny Haryanto >
"<>" bogus mail from??
Hi, I'm just wondering if MAIL FROM: <> in SMTP session is valid or not? From what I understand is that qmail uses that to send bounce messages. However some sites (particulary ones using IMail v5) rejects that sender saying "501 bogus mail from". I don't care if the sender doesn't receive the bounce back, heck I tried to send bounce message but they rejects it. It's just annoying, especially if this is valid, not bogus. I have contacted a rep from IMail, but no response. Here's the website: http://www.ipswitch.com/products/IMail_Server/index.asp -- Ronny Haryanto
Re: mail to all@domain.com password protected
First a pop validation and then mail to this account. marco leeflang [EMAIL PROTECTED] wrote: > On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote: > > is it possible to secure mail to [EMAIL PROTECTED] with a password so only > > people who knows the user/password or just the password could mail to > > this emailaddress. > > .qmail-all will hold all users within this domain. > > i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works > > ok with plain text, but i also want send attachements to everyone. > > Where do you intend to put the password-check dialog? > > Greetz, Peter. > -- > Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder > | > | 'C makes it easy to shoot yourself in the foot; > | C++ makes it harder, but when you do it blows your whole leg off.' > | Bjarne Stroustrup, Inventor of C++
Re: Notice-Requested-Upon-Delivery-To
On Tue, Feb 01, 2000 at 08:19:49PM +0100, Andrés wrote: > Hello. > > I've seen in the documentation of qmail that it has qreceipt, to use if a mail comes >with the header: > Notice-Requested-Upon-Delivery-To Correct. > Can it be used if the header has this other option?: > Return-Receipt-To Not as far as the manpage can tell me. > Anyway, they both doesn't work on my server because they say: > 502 unimplemented (#5.5.1) qmail-smtpd will _never_ report _anything_ about headers. qmail-smtpd is strictly RFC821 and does not deal with any content-matters. You're probably trying the wrong thing :) Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
Re: "<>" bogus mail from??
On 01-Feb-2000, [EMAIL PROTECTED] wrote: > > I'm just wondering if > > > > MAIL FROM: <> > > > > in SMTP session is valid or not? From what I understand is that qmail > > Yes it's valid, it's actually even the required sender of a bounce. Hi Peter, thanks for your response. I thought I saw an RFC about this, but I can't recall which. > > I have contacted a rep from IMail, but no response. Here's the > > website: http://www.ipswitch.com/products/IMail_Server/index.asp > > It's ipswitch. It ends with .asp. I'm not touching that with a forty-foot > pole (no don't start a holy war on me now :) Hmm. Apparently they fixed it(?) in their new version of IMail: [~]$ host -t mx ipswitch.com ipswitch.com mail is handled (pri=10) by imail.ipswitch.com ipswitch.com mail is handled (pri=50) by alpha.ipswitch.com [~]$ telnet imail.ipswitch.com 25 Trying 156.21.1.5... Connected to imail.ipswitch.com. Escape character is '^]'. 220 X1 NT-ESMTP Server imail.ipswitch.com (IMail 6.00 124210-1) helo blah 250 hello imail.ipswitch.com mail from: <> 250 ok quit 221 Goodbye Connection closed by foreign host. Oh well.. *shrug*.. -- Ronny Haryanto
Notice-Requested-Upon-Delivery-To
Hello. I've seen in the documentation of qmail that it has qreceipt, to use if a mail comes with the header: Notice-Requested-Upon-Delivery-To Can it be used if the header has this other option?: Return-Receipt-To Anyway, they both doesn't work on my server because they say: 502 unimplemented (#5.5.1) I suppose I have to recomplie qmail with some option, but which one? Thanks.
Re: mail to all@domain.com password protected
On Tue, Feb 01, 2000 at 08:19:20PM +0100, Marco Leeflang wrote: > is it possible to secure mail to [EMAIL PROTECTED] with a password so only > people who knows the user/password or just the password could mail to > this emailaddress. > .qmail-all will hold all users within this domain. > i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works > ok with plain text, but i also want send attachements to everyone. Where do you intend to put the password-check dialog? Greetz, Peter. -- Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder | | 'C makes it easy to shoot yourself in the foot; | C++ makes it harder, but when you do it blows your whole leg off.' | Bjarne Stroustrup, Inventor of C++
init script svc issue
At LWQ 2.8.5, I ran into a problem where I couldn't get sv to do anythign useful with QMail. I'm certain this is a pretty boneheaded mistake, but for some reason, svc won't recognize the run scripts. For example, this is what I get. I include the first entry in the interest of being thorough. # svc -d /var/qmail/supervise/qmail-smtpd svc: warning: unable to control /var/qmail/supervise/qmail-smtpd: file does not exist # svc -d /var/qmail/supervise/qmail-smtpd/run svc: warning: unable to chdir to /var/qmail/supervise/qmail-smtpd/run: not a directory # ls /var/qmail/supervise/qmail-smtpd/ log run # ls -l /var/qmail/supervise/qmail-smtpd/ total 2 drwxrwxr-x 2 root root 1024 Feb 1 10:08 log -rwxr-xr-x 1 root root 238 Feb 1 10:06 run Tips, clues, advice, welcome. THanks. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-: Aodhan of Mountainview Internet Guy Ad Astra Per Aspera "A Rough Road Leads To The Stars" =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-:
mail to all@domain.com password protected
is it possible to secure mail to [EMAIL PROTECTED] with a password so only people who knows the user/password or just the password could mail to this emailaddress. .qmail-all will hold all users within this domain. i use vchkpwd/vpopmail with qmailadmin. i can use vpopbull , which works ok with plain text, but i also want send attachements to everyone. marco leeflang
Can it be done ?
Is it possible to get a copy of messages a certain user sends and receives ? Many thanks
IMAP command
I am looking for references of IMAP comand line, so I can try it via telnet to port 143 , where I could find it? I am testing imapd with maildir support from IMP WebMail , ( IMAP list command ? ) shows only the Maildir folders . copy, rename , move works fine >From Outlook , ( IMAP list again? ) now shows the mailbox format folders , but cannot open any mail on the folder how can it happen ? regards, Andhy Setiyo Nugroho - Imol Sarana Global Gejayan Mrican 33 Yogyakarta ph 0274-545694 -- This mail sent through Imol Webmail: http://www.imols.net/
Local users connecting from home.
Hello qmail fans, Let me ask you how can I configure qmail in order to relay for local users (based on "mail from" field). --- Best regards, Gaziz Nugmanov
RE: cgi
-Original Message- From: Andreas Altenburg [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 01, 2000 10:22 AM To: qmail Liste Subject: cgi does anybody know a perl script that supports form handling with the use of qmail??? Any perl script (such as formmail (http://www.scriptarchive.com)) supports sendmail supports qmail. Qmail installs a Sendmail frontend for you that mimicks the functionality of /usr/lib/sendmail
Re: cgi
> does anybody know a perl script that supports form handling with the use of > qmail??? Most any of the scripts will work with a properly set-up Qmail installation, as Qmail provides a clone for sendmail. steve
Re: php3 and qmail
On Tue, Feb 01, 2000 at 04:52:12PM +0100, Andreas Altenburg wrote: > in php there is a function called "mail()". In the docs it is described how > to use it with sendmail. Does anybody know how to use this with qmail?? Probably the same way, as long as you've linked /usr/sbin/sendmail to /var/qmail/bin/sendmail. Chris
php3 and qmail
in php there is a function called "mail()". In the docs it is described how to use it with sendmail. Does anybody know how to use this with qmail??
Enforcing a min. delay between POP3-polling
Hi, I was wondering if anybody on this list has a solution to enforce a minimum delay a user has to wait for polling his pop3 box. A lot of users on my POP3-Server are polling it every 30secs while being online 24/7. This produces unnecassary load on the pop3 machine. Does anybody have scripts/a patch to make qpop3d print an error message and deny the pop3-access for a certain time (like 1minute) if the user is "hammering" the pop3 Server ? I think this could be implemented just like a smtp-after-pop3 solution with the only difference that it is "the other way round" (you lock out users for a certain time window instead of giving them access to a service for a certain time). Thanks in advance, Jochen
cgi
does anybody know a perl script that supports form handling with the use of qmail???
Re: where is the mistake
At 11:54 AM +0100 2/1/00, Vincent Schonau wrote: >From your emails to the list it seems that you're attempting to use >qmail using serveral different approaches. You should probably start >over, and follow the instructions at >http://web.infoave.net/~dsill/lwq.html#installation> *exactly*. Actually, I was helping a guy get qmail running on Yellow Dog Linux (runs on PPC's, i.e. Macs), and it was failing precisely *because* he was following the instructions exactly. The problem turned out to be this >exec /usr/local/bin/softlimit -m 200 \ > /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ > -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd >2>&1 The memory limit was too small for tcpserver (takes about 1.5 M) to load a copy of glibc (about 1M), so getservbyname was failing, so no smtp service could be found. Dave, you should make clear that 200 may need adjusting. This would likely have failed on my new Sun Ultra 5's as well, although I use my own scripts there, so I've never actually tried it. -- Paul J. Schinder NASA Goddard Space Flight Center Code 693 [EMAIL PROTECTED]