qmail Digest 5 Jun 2000 10:00:00 -0000 Issue 1023
Topics (messages 42648 through 42667):
Re: Does someone knows what is this about?
42648 by: Russell Nelson
mail.log; syslog
42649 by: Attila Csosz
Re: smtp relay setup (faq 5.4)
42650 by: John Stile
42651 by: John Stile
SMTP Size/RFC 1870
42652 by: Einar Bordewich
fastfwd & dot-fordward problem
42653 by: buqtraq list
42654 by: Chris Johnson
42655 by: buqtraq list
42656 by: Chris Johnson
errors for all new email being sent to [EMAIL PROTECTED]
42657 by: Deya Motawie
Re: Scanning outgoing attachments
42658 by: Ricardo D. Albano
Re: Reject mail by Subject field contents
42659 by: Ricardo D. Albano
Re: Syslog is Evil to me!
42660 by: Ricardo D. Albano
qmail lspawn hassels??
42661 by: TAG
No log??
42662 by: Goran Blazic
42665 by: Eric Cox
Sorry, no mailbox ...
42663 by: Goran Blazic
qmail+maildrop+amavis
42664 by: Nuno Ferreira
42666 by: Eric Cox
patch for authenticate SMTP services
42667 by: Nguyen Hong Son
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]
----------------------------------------------------------------------
Rodrigo Severo writes:
> I was looking at ORBS page about MTAs vulnerabilities and found this
> about qmail:
>
> ---------------------------------------------------------
> Qmail admins: Qmail's current version is insecure by default. Most
> admins know enough to follow the instructions for securing it before
> putting qmail into service, however it usually drops ORBS test messages
> checking for UUCP pathing vulnerabilities - "! pathing" - into the admin
> mailbox. As ! is a standard network addressing indicator, this should be
> regarded as a Qmail bug.
> ---------------------------------------------------------
More evidence that the person running ORBS is incompetent.
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | do for you..." -Perry M.
How to set up qmail or syslog to create entries only in mail.log?
I've entries both mail.log and syslog. I want entries only in mail.log.
Thanks
Attila
--
----------------------------------------------------------------------
- Mail: [EMAIL PROTECTED]; Debian 2.2 Linux / 2.2.13 / qmail -
- Get my PGP key: gpg --keyserver keys.pgp.com --recv-key 0x2cc33acb -
With your line in place, I can still recieve mail after the change (so the
extra "tcp-env" was breakign the deamon).
I added the line to my /etd/hosts.allow:
tcp-env: 10.1.4.10: setenv = RELAYCLIENT
When I try to send mail from 10.1.4.10, I get the message:
"An error occured while sending mail.
The mail server responded:
sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Please check the message recipients and try again."
Eric Cox wrote:
> John Stile wrote:
> >
> > I'm running linux, redhat6.2, with qmail pop3d and smtp
> > I can receive mail on the server and from a remote netscape client.
> > I can only send mail when logged into the server.
> >
> > Following FAQ 5.4 steps for relay rules, I was was unsuccessful, but
> > tcpd is not where the faq says it will be, so could that be the problem?
> >
> > I found that the only occurrence of tcpd is in /usr/sbin/tcpd, not
> > /usr/local/bin/tcpd.
> > Taking this into account, I added the single line to my /etc/inetd.conf:
> >
> > smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> > tcp-env /var/qmail/bin/qmail-smtpd
>
> Mine is almost exactly the same, except there is only one tcp-env
> (all one line):
>
> smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> /var/qmail/bin/qmail-smtpd
>
> What happens when you telnet to the POP server? Like this:
>
> eric@dream:~ > telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
>
> Eric
So stupid. Dude, that worked. I had added 10.1.4.10 to /etc/hosts.allow,
and but my client is 192.168.0.10,
so when I changed it, it all works.
Sorry for wasting more space on the mail server.
FAQ's rock!
Eric Cox wrote:
> John Stile wrote:
> >
> > I'm running linux, redhat6.2, with qmail pop3d and smtp
> > I can receive mail on the server and from a remote netscape client.
> > I can only send mail when logged into the server.
> >
> > Following FAQ 5.4 steps for relay rules, I was was unsuccessful, but
> > tcpd is not where the faq says it will be, so could that be the problem?
> >
> > I found that the only occurrence of tcpd is in /usr/sbin/tcpd, not
> > /usr/local/bin/tcpd.
> > Taking this into account, I added the single line to my /etc/inetd.conf:
> >
> > smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> > tcp-env /var/qmail/bin/qmail-smtpd
>
> Mine is almost exactly the same, except there is only one tcp-env
> (all one line):
>
> smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
> /var/qmail/bin/qmail-smtpd
>
> What happens when you telnet to the POP server? Like this:
>
> eric@dream:~ > telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
>
> Eric
Now when qmail is RFC 1870 compliant on the server side, how about support
this also on the client side when sending with qmail-remote ;-)
--
--------------------------------------------
IDG New Media Einar Bordewich
Technical Manager Phone: +47 2336 1420
E-Mail: [EMAIL PROTECTED]
--------------------------------------------
Hello everyone,
I would like to have discussion about my QMAIL problem with fastfwd and
dot-fordward.
I have an account called 'webmaster' on my computer.
Now one of my customers wants [EMAIL PROTECTED] as alias.
Well I did that alias(/etc/aliases): [EMAIL PROTECTED]: custom_01 and
added it to files: locals, rcpthosts and virtualdomains at /var/qmail/control and then
executed command `newaliases`.
After that I tried to send mail to [EMAIL PROTECTED], but it
fordwarded the message to user webmaster on my computer, not to pop3 box
called custom_01.
And dotfwd & fastfwd seems to work. I made also [EMAIL PROTECTED], and
it fordwarded to pop3 box custom_01
Notice: example.com is not real ;)
Does qmail support `duplicates mailboxes`?
On Sun, Jun 04, 2000 at 09:12:50PM +0300, buqtraq list wrote:
> I would like to have discussion about my QMAIL problem with fastfwd and
> dot-fordward.
> I have an account called 'webmaster' on my computer.
> Now one of my customers wants [EMAIL PROTECTED] as alias.
>
> Well I did that alias(/etc/aliases): [EMAIL PROTECTED]: custom_01 and
> added it to files: locals, rcpthosts and virtualdomains at /var/qmail/control and
>then
> executed command `newaliases`.
You should never put a domain in locals and virtualdomains. In this case it
should be in virtualdomains only. Also, you must send qmail-send a SIGHUP after
changing locals or virtualdomains.
What exactly did you put in virtualdomains?
> After that I tried to send mail to [EMAIL PROTECTED], but it
> fordwarded the message to user webmaster on my computer, not to pop3 box
> called custom_01.
That's because you put the domains in locals.
Chris
On Sun, 4 Jun 2000, Chris Johnson wrote:
> On Sun, Jun 04, 2000 at 09:12:50PM +0300, buqtraq list wrote:
> > I would like to have discussion about my QMAIL problem with fastfwd and
> > dot-fordward.
> > I have an account called 'webmaster' on my computer.
> > Now one of my customers wants [EMAIL PROTECTED] as alias.
> >
> > Well I did that alias(/etc/aliases): [EMAIL PROTECTED]: custom_01 and
> > added it to files: locals, rcpthosts and virtualdomains at /var/qmail/control and
>then
> > executed command `newaliases`.
>
> You should never put a domain in locals and virtualdomains. In this case it
> should be in virtualdomains only. Also, you must send qmail-send a SIGHUP after
> changing locals or virtualdomains.
Yeah I did it always when I changed the files.
>
> What exactly did you put in virtualdomains?
>
> > After that I tried to send mail to [EMAIL PROTECTED], but it
> > fordwarded the message to user webmaster on my computer, not to pop3 box
> > called custom_01.
>
> That's because you put the domains in locals.
>
> Chris
>
Well I removed it from locals.. now it says no such box on the system.
this one is on /etc/aliases:
[EMAIL PROTECTED]: js
This one on virtualdomains:
fastshells.de:fastshells.de
Now it says this, when I removed it from locals:
Hi. This is the qmail-send program at pegasus.nuvo.fi.
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.
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
On Sun, Jun 04, 2000 at 10:43:32PM +0300, buqtraq list wrote:
> this one is on /etc/aliases:
>
> [EMAIL PROTECTED]: js
>
> This one on virtualdomains:
>
> fastshells.de:fastshells.de
Is there a user account on your machine called fastshells.de? If so, you'll
need this in ~fastshells.de/.qmail-default:
| fastforward -d /etc/aliases.cdb
If there is no such account (and I suspect that there isn't), you'll need to
put the above in ~alias/.qmail-fastshells:de-default.
> Now it says this, when I removed it from locals:
>
> Hi. This is the qmail-send program at pegasus.nuvo.fi.
> 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.
>
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
Chris
Hi all,
I recompiled qmail to support saving logs of the messages in a file.
Then, I started to get a copy of every message sent to [EMAIL PROTECTED] ?
I checked everywhere for this alias , but couldn't find any. So I added
a new alias in the alias file in etc, and tested it, but still it sends
all message to [EMAIL PROTECTED] Then it fails when it can't resolve the
address.
Any help is appreciated,
Thanks,
Deya
Details:
Hi. This is the qmail-send program at citg.com.
I tried to deliver a bounce message to this address, but the bounce
bounced!
<[EMAIL PROTECTED]>:
This message is looping: it already has my Delivered-To line. (#5.4.6)
<forward [EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 9717 invoked by alias); 4 Jun 2000 19:30:28 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 9713 invoked for bounce); 4 Jun 2000 19:30:28 -0000
Date: 4 Jun 2000 19:30:28 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. This is the qmail-send program at citg.com.
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.
<[EMAIL PROTECTED]>:
This message is looping: it already has my Delivered-To line. (#5.4.6)
<forward [EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
I think the best choice is to write a qmail-remote wrapper.
Tell me if you solve the problem.
Bye.
RDA.-
-----Original Message-----
From: Jean-Baptiste Jacquemard <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, May 30, 2000 7:37 AM
Subject: Scanning outgoing attachments
>Hello,
>I would like to scan all outgoing traffic and log the attachments file
>names, and accessory, the size of the attached file.
>Please help me, I don't know how to do that.
>
>--
>Jean-Baptiste Jacquemard
>========================
>J. POLLAK & Cie SNC
>4, rue de la Bourse
>75002 PARIS
>
Here is a script in Python, originaly is for filtering mails containing the
text "ILOVEYOU" in the subject, but is very easy to modify it.
-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Friday, June 02, 2000 6:28 AM
Subject: Reject mail by Subject field contents
>
>I have downloaded the 'qtools' from the QMAIL pages. I want to reject
>mail whose "Subject:" field contains the word "*Insurance*", "*sex*", and
>others.
>Does anybody have an example of the scripts to modify?
>
>
> Thanks
>
>
qmail-filter.py
I'm using multilog and syslog-ng, my system is a high trafic
inbound/outbound relay and works as well.
syslogd is a pig.
RDA.-
-----Original Message-----
From: Henrik �hman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, June 01, 2000 2:39 PM
Subject: Re: Syslog is Evil to me!
>Solution: Don't use syslog.
>
>The FAQ actually has a section about this which suggests you to use
>multilog in the daemontools-package instead.
>
>I'm using syslog-ng, but I'm not under so much load that I could compare
>that with other alternatives. Does anyone have experiences with syslog-ng?
>Is it as bad as the original syslog?
>
>Henrik.
>
>At 07:15 PM 6/1/2000 +0200, you wrote:
>>My mailserver runs an RedHat Linux based "homemade dist" OS.
>>It's a pII 233 MHZ, and it's got 96 MB memory (+256mb swap).
>>When qmail starts delivering, the syslogd daemon spikes to around 86% CPU,
>>and it's nearly all taken by the system, not in userspace.
>>
>>My maillogs get around 25MB a week (maybe one can trim down that size a
bit,
>>by logging only errors in the "long" format ??).
>>But when i tail -f /var/log/maillog i don't really think that it's logging
>>that fast (even after a -ALRM signal to qmail-send with ~800 mails in the
>>queue).
>>So if i take like 25/7days/24 hours i get around 150KB logging per hour.
>>That does not justify a 80% load of my system on syslogd's behalf...
>>
>>Does anyone recognize this, or even better have a solution?
>>
>>Any tip at all is super-welcome :)
>>
>>
>>/Magnus Naeslund
>
Hi ALL,
I have the qmail-mysql (Iain Pattersen patch) running and I get the
following errors:
960186398.488070 delivery 40431: deferral:
Temporary_failure_in_qmail-lspawn./
I get them every minute or so - the local queue has grown considerably
since - ...
Can anyone please shed some light as to why qmail-lspawn would fail??
Many thanks
Tonino
Hi...
This problem might not be directly qmail related, but it is somehow
connected...
After installing qmail on my system, suddenly there was no logging activity
anymore... Nothing new gets written into /var/log/messages anymore?!!?
Does anyone have any ideas?
Goran
Friends are those who, when you must inconvenience them, are less bothered
by it than you.
Goran Blazic wrote:
>
> Hi...
>
> After installing qmail on my system, suddenly there was no logging activity
> anymore... Nothing new gets written into /var/log/messages anymore?!!?
>
> Does anyone have any ideas?
What have you checked so far? Is syslogd still running?
> Friends are those who, when you must inconvenience them, are less bothered
> by it than you.
Friends will help you move; real friends will help you move a body.
Eric
Ups, another problem... forgot about it before...
I have a few virtual domain on my system, and now I want to use the mail
address [EMAIL PROTECTED] (the same address on different
domains)...
There was no way to do this, so I somehow tracked it to the fact, that I had
a alias for info in the primary domain on the system
(/var/qmail/alias/.qmail-info). I tried to remove this alias, but the
addresses (info@*) still do not exist?
Any ideas?
Goran
Friends are those who, when you must inconvenience them, are less bothered
by it than you.
Hi,
Two questions.
Seems my ~/.qmail never gets executed by Qmail, so I am not able to have a
functional maildrop or procmail. BTW, is ~/.qmail a script that gets
executed by QMail or is it a file that is read by it to know how to perform
to specific users.
Also I can't seem to get any info on getting amavis working with Qmail. All
the their document says it's ''... integrated due to contribution ...
remains untested"
TIA
----------------------------------------------------------------
Nuno Ferreira
Departamento de Inform�tica da APCMC
Tel: 22 5074212
Fax: 22 5074219
[EMAIL PROTECTED]
-----------------------------------------------------------------
Nuno Ferreira wrote:
>
> Hi,
>
> Two questions.
> Seems my ~/.qmail never gets executed by Qmail, so I am not able to have a
> functional maildrop or procmail. BTW, is ~/.qmail a script that gets
> executed by QMail or is it a file that is read by it to know how to perform
> to specific users.
Nope, ~/.qmail isn't a script...
There are copious numbers of man pages that come with the default
installation. The one you want is 'man dot-qmail'.
Hope that helps,
Eric
Dear All
Does someone show me a patch for authentication to SMTP services in qmail ?
Thanks a lot
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com