qmail Digest 7 Apr 2000 10:00:01 -0000 Issue 964
Topics (messages 39645 through 39712):
Re: Still logging by syslog ?
39645 by: Irwan Hadi
Patching pine 4.20
39646 by: Jozef Hitzinger
Re: qmail-smtpd logging
39647 by: Will Harris
Increate the size of log from multilog
39648 by: Irwan Hadi
39652 by: Pieckiel, Kevin A
39664 by: Ronny Haryanto
Relay allow
39649 by: Daniel Carlos
39650 by: Ricardo Cerqueira
Newbie:qmail-install
39651 by: devrim baris acar
39681 by: Dave Sill
Subs Pager Service for Qmail Users
39653 by: Martin Paulucci
39656 by: Charles Cazabon
39663 by: Chris Hardie
Re: Help with Qanalog
39654 by: Petr Danecek
queue backup
39655 by: Jay Moore
39658 by: Charles Cazabon
39659 by: Greg Owen
Re: more virtual domains
39657 by: Irwan Hadi
Understanding "To" and "From"
39660 by: Dave Kitabjian
39662 by: Charles Cazabon
39712 by: Claus F�rber
qmail-smtpd/message parsing
39661 by: Daniluk, Cristopher
more qmail-remote
39665 by: octave klaba
39666 by: Charles Cazabon
qmailqueue patch?
39667 by: Jennifer Tippens
39684 by: Dave Sill
DaemonTools Advice Needed
39668 by: Mike Perks
39669 by: Chad Day
Re: network connection dies randomly? <-- system hacked, its not QMAIL!
39670 by: rogers-qmail.h0050da615e79.ne.mediaone.net
39672 by: John W. Lemons III
Re: AOL rejecting sender?
39671 by: Ondrej Sury
39673 by: Magnus Bodin
Re: Is qmail suitable for a home user?
39674 by: rogers-qmail.h0050da615e79.ne.mediaone.net
39688 by: Dave Sill
funny
39675 by: Mate Wierdl
39676 by: Dave Sill
39677 by: Vince Vielhaber
39678 by: Charles Cazabon
39683 by: Mate Wierdl
39685 by: Mate Wierdl
39689 by: Ronny Haryanto
Re: QMQPD question
39679 by: Dave Sill
39698 by: Benjamin de los Angeles Jr.
39701 by: markd.bushwire.net
39705 by: Benjamin de los Angeles Jr.
39706 by: markd.bushwire.net
39707 by: Benjamin de los Angeles Jr.
Re: slow mail
39680 by: Dave Sill
VPOPMAIL
39682 by: Bill Moller
Re: slow mail (sends when qmail restarted)
39686 by: Steve Wolfe
39687 by: Steve Wolfe
39690 by: Markus Stumpf
39692 by: Uwe Ohse
39693 by: Markus Stumpf
39694 by: Steve Wolfe
39696 by: Vaz, Len
AUTORESPONDER
39691 by: Bill Moller
39711 by: Frank Tegtmeyer
Looking for Qmail Admin Tech
39695 by: Agreencash.aol.com
qmail-remote don't lunch
39697 by: Ricardo D. Albano
domain name with dash
39699 by: kapusta
39708 by: Magnus Bodin
39709 by: kapusta
39710 by: Magnus Bodin
POP checking with Qmail + LDAP
39700 by: Le Dinh Long
39704 by: Le Dinh Long
Re: Problem: 552 max. message size exceeded
39702 by: Jeremy Hansen
HELO in
39703 by: A. Yahya Sjarifuddin
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]
----------------------------------------------------------------------
At 12:42 05/04/2000 -0400, Dave Sill wrote:
>Irwan Hadi <[EMAIL PROTECTED]> wrote:
>Well, you can either figure out where you botched the LWQ
>installation, or you can switch from splogger to multilog manually.
After just copy and paste directly from your page, then it work now (I can
see qmail-rspawn and qmail-lspawn running in my system).
Maybe yesterday I forgot to give " or ' , since I wrote the line directly.
Anyway , thanks for your help.
-------
AFLHI 058009990407128029/089802---(102598//991024)
Sorry! The patches didn't work. My fault, should be fixed now:
ftp://158.195.33.220/pub/pine/pine-4.20-maildir_2.patch
ftp://158.195.33.220/pub/pine/pine-4.20-maildir_2.howto
It is _not_ inclusive (as I said before), just plain Maildir patch.
Works fine for me.
--
jozef :-)
At 10:35 6.04.2000, Jan Stifter wrote:
>hello all,
>i start qmail-smtpd with
>
>*** beg of qmail-smtpd
># /sbin/init.d/qmail-smtpd
># symbolic links in
># /sbin/rc2.d
>export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
>
>case "$1" in
> start)
> echo "Starting qmail-smtpd."
> supervise /var/lock/svc/qmail-smtpd tcpserver -q
>-x/etc/tcp.smtp.cdb\
> -u101 -g101 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 | \
> setuser qmaill accustamp | \
> setuser qmaill tailocal >> /var/log/qmail.log &
> ;;
> stop)
> echo -n "Stopping qmail-smtpd..."
> svc -dx /var/lock/svc/qmail-smtpd
> echo "ok"
> ;;
> *)
> echo "Usage: $0 {start|stop}"
> exit 1
> ;;
>esac
>
>exit 0
>*** end of qmail-smtpd
>
>1. the logging with >> is not very nice and i am looking for a nice
>and simple other possibility.
I think I am using a newer version of the daemontools than you, but here's
what I do.
I have an /etc/init.d/qmail file which has the following lines:
/usr/local/bin/supervise /var/qmail/supervise/tcpserver \
| /usr/local/bin/multilog t s1677741 n30 /usr/qmail/log/tcpserver &
The supervise/tcpserver/run file has the following:
exec /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb \
-v -u 65536 -g 7025 0 smtp \
/var/qmail/ifi-bin/mailserver.sh 2>&1
The mailserver.sh file then runs ofmipd or qmail-smtpd depending on where
the connection is coming from. All logged output is then put in
/usr/qmail/log/tcpserver
>2. the file qmail.log is always 0 (no logging) even though i telnet to
>port 25 and send myself succesfully a mail.
As far as I know, qmail-smtpd doesn't generate any logging output - other
elements of the qmail program log disposition of mail. In order to get
logging from tcpserver you need to supply the -v flag.
>3. this machine is a secondary MX receiver, so i would like to know,
>how much emails qmail-smtpd received, but qmail-send did not already
>send them to the main MX mail-server. the mails are in the queue, but
>how can i get the number of mails there?
If you log tcpserver activity, you can see how many machines connected to
your host. The other normal qmail logs should show you how many mails were
delivered, and where.
regards,
Will
__________________________________________________________________________
"I was going to be a Neo-Deconstructivist, but Mom wouldn't let me..."
multimedia laboratorium [EMAIL PROTECTED]
institut fuer informatik (pgp id) F703D035
der universitaet zuerich (office) +41 1 635 4346
winterthurerstr. 190 (fax) +41 1 635 6809
ch-8057 zuerich (mobile) +41 76 372 0913
switzerland www.ifi.unizh.ch/~harris
__________________________________________________________________________
How can I increase the size of log from multilog, it seems that it only log
until 98 K, and then restart a new log
i want it to log for example until 500 K
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:27 @4000000038eb5b7e34
6b6d0c.s*
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:28
@4000000038eb5b9228
da07dc.s*
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:28
@4000000038eb5ba61b
5425ac.s*
-------
AFLHI 058009990407128029/089802---(102598//991024)
I believe you add the 's' parameter, like this:
multilog s500000
hth
-----Original Message-----
From: Irwan Hadi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2000 3:19 AM
To: [EMAIL PROTECTED]
Subject: Increate the size of log from multilog
How can I increase the size of log from multilog, it seems that it only log
until 98 K, and then restart a new log
i want it to log for example until 500 K
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:27
@4000000038eb5b7e34
6b6d0c.s*
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:28
@4000000038eb5b9228
da07dc.s*
97 -rwxr--r-- 1 qmaill nofiles 98010 Apr 5 22:28
@4000000038eb5ba61b
5425ac.s*
-------
AFLHI 058009990407128029/089802---(102598//991024)
On 04-Apr-2000, Irwan Hadi wrote:
> How can I increase the size of log from multilog, it seems that it only log
> until 98 K, and then restart a new log
First of, have you read multilog's manual?
I think this depends on how you start the daemons. I'm using Bruce
Guenter's supervise-scripts RPMs and I added this line to
/var/qmail/control/logger
multilog t n50 s1000000 /var/log/{}
to keep the last 50 files of ~1MB logs.
Ronny
|
Hi,
My email server (qmail 1.03) is accepting a message for
relay internally.
Here is the test made for abuse.net.
The Ip 200.XXX.XX.XX is my e-mail server.
How solve this?
Relay test 6 >>> MAIL
FROM:<spamtest@[200.XXX.XX.XX]> <<< 250 ok >>>
RCPT TO:<relaytest%mail-abuse.org@[200.XXX.XX.XX]> <<< 250
ok Relay test result Uh oh, host appeared to accept a message for
relay. The host may reject this message internally, however
Daniel Carlos
|
> The host may reject this message internally, however
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It will, no relaying will occur.
Regards;
Ricardo
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia / Rede T�cnica
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166730/00 (24h/dia) - Fax: +351 21 3166701
Hi,
I have recently set-up qmail on my redhat 6.1 system. I can send mail from
local-to-local.
I can send mail from local-to-remote.
But local users can not receive mail.
It seems that port 25 does not work.
Here is a sample session:
------------------------
[root: log]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.
[root: log]#
I have changed /etc/inetd.conf as Stated in INSTALL eg.
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env
tcp-env /var/qmail/bin/qmail-smtpd
The qmail processes are running.
I get no error messages on maillog.
What is the problem?
Any advice?
Thanks in advance.
Devrim Baris Acar
<[EMAIL PROTECTED]> wrote:
>[root: log]# telnet 127.0.0.1 25
>Trying 127.0.0.1...
>Connected to 127.0.0.1.
>Escape character is '^]'.
>Connection closed by foreign host.
>[root: log]#
>
>I have changed /etc/inetd.conf as Stated in INSTALL eg.
>smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env
>tcp-env /var/qmail/bin/qmail-smtpd
Did you "killall -HUP inetd" after modifying inetd.conf? If so, did
you check the syslogs at the time to see if inetd complained about
that entry?
Try removing the second "tcp-env".
-Dave
Hi all,
I was required to add a service to Qmail, a subscription service (over the web) that
could forward the user the From,Date, Subject of the message to his cell phone/pager.
Here in Argentina, the cell phones and pagers have email addresses to I would just
have to mail them that info.
Any idea how to tell Qmail to do the forward, but only those 3 fields of the
message?.
Should I have to add a .qmail file somewhere? (I need to let the message get delivered
in the account too)
Anybody did this before?
Thanks!
Martin Paulucci <[EMAIL PROTECTED]> wrote:
>
> I was required to add a service to Qmail, a subscription service (over the web) that
>could forward the user the From,Date, Subject of the message to his cell phone/pager.
> Here in Argentina, the cell phones and pagers have email addresses to I would just
>have to mail them that info.
> Any idea how to tell Qmail to do the forward, but only those 3 fields of the
>message?.
> Should I have to add a .qmail file somewhere? (I need to let the message get
>delivered in the account too)
You could try a .qmail file which delivers to a script which calls Dan's
msg822 package to extract the three headers you want. Or failing that,
it would be dirt-simple to do in Python with the rfc822 standard module.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
The qpage (QuickPage) package, which can do text and/or alphanumeric
paging, knows how to only send the From/Date/Subject lines in its page.
I've been using it reliably for almost a year now.
http://www.qpage.org/
Chris
On Thu, 6 Apr 2000, Martin Paulucci wrote:
> Hi all,
>
> I was required to add a service to Qmail, a subscription service (over the web) that
>could forward the user the From,Date, Subject of the message to his cell phone/pager.
> Here in Argentina, the cell phones and pagers have email addresses to I would just
>have to mail them that info.
> Any idea how to tell Qmail to do the forward, but only those 3 fields of the
>message?.
> Should I have to add a .qmail file somewhere? (I need to let the message get
>delivered in the account too)
>
> Anybody did this before?
>
> Thanks!
>
-- Chris Hardie -----------------------------
----- mailto:[EMAIL PROTECTED] ----------
-------- http://www.summersault.com/chris/ --
Do you mean qmailanalog? If that is the case, look into the MATCHUP file
that comes with the distribution.
Petr
On Wed, 5 Apr 2000, Cedric Revest wrote:
> Hi there,
>
> Can anyone give me a good url for some help on how to use qanalog ??
>
> Thank you in advance
>
> Regards
>
> Cedric
>
I have qmail/ezmlm-idx. We are serving over 100 mailing lists with a
total of about 50,000 subscribers. The output from qmail-qstat is:
messages in queue: 2293
messages in queue but not yet preprocessed: 0
My first question is how to I purge the queue.
The second question is what causes the queue to hold these messages.
The queue size seems to continue grow it never comes down. We are not
having any complaints from our subscribers at all.
Thanx,
Jay
Jay Moore <[EMAIL PROTECTED]> wrote:
>
> messages in queue: 2293
> messages in queue but not yet preprocessed: 0
>
> My first question is how to I purge the queue.
Why do you want to? And what do you mean by purge? Just throw them away?
> The second question is what causes the queue to hold these messages.
Deferrals, generally. Messages which could not be delivered immediately,
but which did not generate fatal/permanent errors. They will be retried
up until 'queuelifetime' seconds have passed, then will get one final
delivery attempt, and then will bounce.
> The queue size seems to continue grow it never comes down. We are not
> having any complaints from our subscribers at all.
Then what are you worried about?
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
> I have qmail/ezmlm-idx. We are serving over 100 mailing lists with a
> total of about 50,000 subscribers. The output from qmail-qstat is:
>
> messages in queue: 2293
> messages in queue but not yet preprocessed: 0
>
> My first question is how to I purge the queue.
Sending a SIGALRM to the qmail-send process will cause it to try and
clear the queue, but unless you figure out why these messages are stuck in
the queue and fix it, that will do nothing for you except slow your system
down.
> The second question is what causes the queue to hold these messages.
This is a better first question ;>.
First, look for a pattern in the messages that are hanging. Use
qmail-qread to see what's in the queue. Are all the recipients not marked
"done" from the same place (e.g, yahoo.com or hotmail.com?)
Second, look at your logs. Find out why these messages aren't
getting through. Use the info from qmail-qread to look for the last
delivery attempt on one of these messages, and see what error message came
back from the server. If step #1 showed you that it was mostly one place
deferring messages, then this is straightforward; if step #1 showed many
places deferring, try to look at a few messages to see why they were
deferred.
Thirdly, if you don't see a pattern on any of this, check your
trigger file (as described in LWQ).
Most likely, mail is queueing up for some single place, and you can
either let the mail sit in the queue (that's what a queue is for, after all)
or try to expire it early and cause it to bounce.
--
gowen -- Greg Owen -- [EMAIL PROTECTED]
At 19:59 05/04/2000 -0700, [EMAIL PROTECTED] wrote:
>
> now I am getting this
why don't give us the result of your ./qmail-showctl too ?
>
> <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
>
> Denis
-------
AFLHI 058009990407128029/089802---(102598//991024)
Hi, folks.
It's time for me to understand this stuff clearly once and for all,
partly so that I can handle spam intelligently and properly.
I'm unclear on the exact relationships between the following:
-------------------
1) MUA: "From", "To", "Bcc", "Reply Address" fields
2) SMTP: "MAIL FROM:" and "RCPT TO:"
3) Delivered Message: "To:", "From:", "Reply-To:", "Return-Path:"
headers. Also, the terms "envelope sender" and "envelope recipient".
4)Bounced Message: "To:" header
-------------------
>From what I currently understand, the MUA fields are (obviously)
completed by the sender. (Let's assume a common client like Eudora or
Outlook Express rather than qmail-inject for this discussion).
When connecting to the SMTP server to send the message, the "From" and
"To" fields are copied by the MUA to become the "From:" and "To:"
headers of the message. The "From" field is also used in the SMTP
conversation as the "MAIL FROM:". Then, all addresses in the "To",
("Cc",) and "Bcc" fields are used as SMTP "RCPT TO:" entries.
-> Question: Are "Bcc" recipients not stored anywhere in the headers, or
are they stored in the headers until the message is ready to be
delivered into the recipients box, and then stripped off? (If they are
NOT stored in the headers, where does qmail store them?)
The "Reply-To" header is created by the MUA from either the "Reply
Address" field, if present, or else the "From" field. The "Return-Path:"
header is added by the SMTP server based on the "Reply-To" or "From"
header (?)
-> Question: So, now what do we look at to determine the "envelope
sender" and "envelope recipient"? Secondly, which of these terms/headers
is used to determine whom qmail delivers the message to?
Okay, now the message bounces because because it's an evil spam message.
-> Question: Where does MAILER-DAEMON send the bounce message? To the
"From:" person? "Reply-To:"?
If I could understand THIS much, I'd be very happy.
Dave
___________________
p.s. fyi, here's what started all this today. I got the following
message. It seems some spammer sent the below message with an SMTP MAIL
FROM of "x" and tried to deliver it to "[EMAIL PROTECTED]" (via Bcc, I
guess), which does NOT exist. Then it looks like MAILER-DAEMON tried to
bounce it to "x" (right?). But how it the world did this *other* guy get
the bounce??
___________
I get *ALOT* of theese bounces to postmaster.
And it really starts to get boring now, please take action...
<Name Withheld; but he's from some domain that has nothing to do with
us>
Offending message including original headers:
Received: (qmail 31029 invoked from network); 5 Apr 2000 17:38:27 -0000
Received: from bsdpop.netcarrier.net (209.140.173.251)
by butler.informatik.gu.se with SMTP; 5 Apr 2000 17:38:27 -0000
Received: (qmail 64117 invoked for bounce); 5 Apr 2000 17:42:44 -0000
Date: 5 Apr 2000 17:42:44 -0000
From: [EMAIL PROTECTED]
To: x
Subject: failure notice
Hi. This is the qmail-send program at bsdpop.netcarrier.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.
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <x>
Received: (qmail 64105 invoked from network); 5 Apr 2000 17:42:44 -0000
Received: from unknown (HELO mail.celtis.fr) (195.115.137.1)
by bsdpop.netcarrier.net with SMTP; 5 Apr 2000 17:42:44 -0000
Received: from K5eK2fb75 (ppp-59.tnt-1.hou.smartworld.net [64.38.18.59])
by mail.celtis.fr with SMTP (Microsoft Exchange
Internet Mail Service Version 5.5.1960.3)
id 22YZPQ74; Wed, 5 Apr 2000 19:34:26 +0200
DATE: 05 Apr 00 12:41:55 PM
FROM: x
Message-ID: <14738Fj1e6>
SUBJECT: lose 2-14 inches in one hour! 100% guarantee
Did you know that there's a way to lose 2 to 14 inches of
fat PERMANENTLY and SAFELY in only 1 HOUR?! . . .
100% Guaranteed!
Did you know that this has been CLINICALLY PROVEN?!
<balance of seriously annoying spam deleted>
Dave Kitabjian <[EMAIL PROTECTED]> wrote:
>
> It's time for me to understand this stuff clearly once and for all,
> partly so that I can handle spam intelligently and properly.
>
> I'm unclear on the exact relationships between the following:
>
> -------------------
> 1) MUA: "From", "To", "Bcc", "Reply Address" fields
>
> 2) SMTP: "MAIL FROM:" and "RCPT TO:"
>
> 3) Delivered Message: "To:", "From:", "Reply-To:", "Return-Path:"
> headers. Also, the terms "envelope sender" and "envelope recipient".
SMTP "MAIL FROM:" is the envelope sender, and "RCPT TO:" is the
envelope recipient. These are the only things that matter to an MTA;
it doesn't care what addresses are listed in the From: and To: headers in
the message itself.
> From what I currently understand, the MUA fields are (obviously)
> completed by the sender. (Let's assume a common client like Eudora or
> Outlook Express rather than qmail-inject for this discussion).
They are all effectively completed by the sender. MS-Windows mail clients
may automatically use the contents of the From: header as the envelope
sender, but with many mail programs the user can set the envelope addresses
to whatever he likes.
> When connecting to the SMTP server to send the message, the "From" and
> "To" fields are copied by the MUA to become the "From:" and "To:"
> headers of the message. The "From" field is also used in the SMTP
> conversation as the "MAIL FROM:".
Not necessarily. For example, if the user has QMAILUSER/QMAILHOST set in
their environment, qmail will construct the envelope sender address from those
if injected locally.
> The "Reply-To" header is created by the MUA from either the "Reply
> Address" field, if present, or else the "From" field. The "Return-Path:"
> header is added by the SMTP server based on the "Reply-To" or "From"
> header (?)
Reply-To: is not necessarily, unless you want replies to go to an address
different from the From: address.
> -> Question: So, now what do we look at to determine the "envelope
> sender" and "envelope recipient"? Secondly, which of these terms/headers
> is used to determine whom qmail delivers the message to?
With qmail, the envelope sender is preserved in the Return-path: header.
The envelope recipient is preserved in the Delivered-To: header.
> Okay, now the message bounces because because it's an evil spam message.
>
> -> Question: Where does MAILER-DAEMON send the bounce message? To the
> "From:" person? "Reply-To:"?
The Return-Path: header, which is a copy of the envelope sender address.
But since it's spam, it will be one of:
-Empty <>
-Fake/nonexistent <[EMAIL PROTECTED]>
-Real, but an innocent bystander's address <[EMAIL PROTECTED]>
And the bounce will either bounce or be delivered to the innocent bystander.
> If I could understand THIS much, I'd be very happy.
Happy?
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
Dave Kitabjian <[EMAIL PROTECTED]> schrieb/wrote:
> When connecting to the SMTP server to send the message, the "From" and
> "To" fields are copied by the MUA to become the "From:" and "To:"
> headers of the message.
The "fields" are the "headers" -- the term used in email is "header
fields" for a "single header" and "header" for the complete list of
header fields.
Besides these header fields, there is an envelope, consisting of an
envelope sender (aka return path) and one or more envelope recipients.
The envelope is completly separate from the header fields and can
contain different addresses.
With SMTP, the envelope is transmitted with the MAIL FROM and RCPT TO
commands. With UUCP, it's the argument to rmail and "From " lines added
to the start of a messages[1]. QMTP uses a binary format.
For message delivery and bouncing, only the envelope is used.
When a user agent hands over a message to the message transfer agent
(injects it), it must already have prepared the envelope and the message
(which consists of headers and body). From that point, there's no
relation between envelope and message header.
User agents usually ask the user to give information for the header
fields and prepare the envelope out of that information, but that is not
necessarily true. BTW, qmail-inject is more or less part of the user
agent -- or can be used directly by users.[2]
> The "From" field is also used in the SMTP conversation as the "MAIL
> FROM:".
Not necessarily, see above.
> Then, all addresses in the "To",
> ("Cc",) and "Bcc" fields are used as SMTP "RCPT TO:" entries.
Not necessarily, see above.
> -> Question: Are "Bcc" recipients not stored anywhere in the headers, or
> are they stored in the headers until the message is ready to be
> delivered into the recipients box, and then stripped off?
Depending on the user agent, the Bcc recipients might be stored in the
header until the user agent prepares the message for submission. At this
moment, it creates the envelope and (hopefully) strips out the Bcc
header.
Note that the other possibility would be very stupid as noone can
guarantee that it will be stripped out by a non-trusted receiving
message delivery agent.
> (If they are NOT stored in the headers, where does qmail store them?)
As in any other MTA that deserves that name, the envelope addresses are
stored separatly.
> The "Reply-To" header is created by the MUA from either the "Reply
> Address" field, if present, or else the "From" field.
No. The "Reply Address" field is more or less the Reply-To header. If
you don't give one, there simply is no Reply-To header field either.
> The "Return-Path:" header is added by the SMTP server based on the
> "Reply-To" or "From" header (?)
No. The Return-Path header is added by _some_ agents that finally store
a message in a mailbox/maildir (delivery agents) It is a copy from the
envelope sender, which would otherwise be lost at this moment.
Also, _some_ delivery agents write a Delivered-To header to save the
very envelope recipient address used for this copy of the message. It
would otherwise be lost too.
> -> Question: So, now what do we look at to determine the "envelope
> sender" and "envelope recipient"?
At the envelope, which is stored separatly from the message headers and
body.
> Secondly, which of these terms/headers
> is used to determine whom qmail delivers the message to?
qmail sends the message to the envelope recipients of course. No sane
message transfer agent would look at the headers.
> Okay, now the message bounces because because it's an evil spam message.
>
> -> Question: Where does MAILER-DAEMON send the bounce message? To the
> "From:" person? "Reply-To:"?
To the envelope sender of course (as said above). And not that bounce
message have a envelope sender address of <> (ie empty), not <MAILER-
DAEMON@host>, which is only the From header.
___________
[1] Which is quite different from the "From:" header field.
[2] Although it comes with qmail, it does part of the UA's job of
preparing a message. You could also see it as the interface between the
UA and the MTA.
--
Claus Andre Faerber <http://www.faerber.muc.de>
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E 25 56 69 A5 C6 A0 C9 DC
Is it possible to have qmail-smtpd dump mail into a place where it can be
preprocessed by some spawned script? We need to intercept and parse/validate
all incoming mail before it hits qmail-send. Would it be more productive to
use some other SMTP server for receiving or does qmail-smtpd have built in
support for this?
Thanks,
Cris Daniluk
Hi,
I want to run more qmail-remote process. At the moment
it is only 10 and it is slow :(
where can I setup it to 30 or 50 ?
thanks !
Octave
--
Amicalement,
Octave
>>>>> no swap allowed <<<<<
octave klaba <[EMAIL PROTECTED]> wrote:
> I want to run more qmail-remote process. At the moment
> it is only 10 and it is slow :(
>
> where can I setup it to 30 or 50 ?
man qmail-send
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
Hello,
I'm having difficulty with the qmailqueue patch
(http://www.qmail.org/qmailqueue-patch) I'm not sure if I'm doing it correctly, as I
have not had to patch anything before. I copied the patch part of the text to a file
on my box and called it qmailqueue-patch and put it into a newly untarred qmail-1.03
source. Then I just did: patch <qmailqueue-patch and it came back with:
patching file `Makefile'
Hunk #1 FAILED at 1483.
1 out of 1 hunk FAILED -- saving rejects to Makefile.rej
patching file `qmail.c'
And so, the make fails, of course.
What am I doing wrong? I'd like to use the patch so that I can use scan4virus (sales
department got an email virus today).
Thanks for any help you can give,
-Jen
[EMAIL PROTECTED] wrote:
>I'm having difficulty with the qmailqueue patch
>(http://www.qmail.org/qmailqueue-patch) I'm not sure if I'm doing it
>correctly, as I have not had to patch anything before. I copied the
>patch part of the text to a file on my box and called it
>qmailqueue-patch and put it into a newly untarred qmail-1.03 source.
>Then I just did: patch <qmailqueue-patch and it came back with:
>
>patching file `Makefile'
>Hunk #1 FAILED at 1483.
>1 out of 1 hunk FAILED -- saving rejects to Makefile.rej
>patching file `qmail.c'
>
>And so, the make fails, of course.
>What am I doing wrong?
Maybe nothing. If you've installed any other patches that changed
Makefile, patch might not be able to figure out how to apply this
patch. Look at Makefile.rej and see if you can figure out how to make
the changes manually.
Did the patch to qmail.c succeed?
-Dave
Hello,
I am currrently running version .61 of daemontools. would like to upgrade to
lastest versions but need help on how & what file commands need to be
changed.
Please just point me to current web resourses or if a simple task just
explain.. :)
Thanks in advance
Mike Perks
http://www.vanislenet.net
Searching google for "upgrading daemontools", I found this:
http://cr.yp.to/daemontools/upgrade.html
Dunno how much that will help you, but good luck. :)
Chad
-----Original Message-----
From: Mike Perks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 06, 2000 11:57 AM
To: Qmail Mail List
Subject: DaemonTools Advice Needed
Hello,
I am currrently running version .61 of daemontools. would like to upgrade to
lastest versions but need help on how & what file commands need to be
changed.
Please just point me to current web resourses or if a simple task just
explain.. :)
Thanks in advance
Mike Perks
http://www.vanislenet.net
From: "John W. Lemons III" <[EMAIL PROTECTED]>
Date: Wed, 5 Apr 2000 15:02:57 -0500
>Also, if you're running Red Hat, you might want to use rpm to verify all
>packages against the installation CD.
I did that, and very little asside from a large chunk of /etc came up
different. But isn't this also prone to problems if rpm was hacked? I
guess I could re-install rpm and then do it, but I think that all things
considered, I'll just wipe and re-install. I'll sleep better.
Thanks for the help,
John
If you want to continue to sleep well, I recommend you install & use
tripwire before plugging the machine back in to the net.
-- Bob Rogers
hehehehe... funny this should come up right now. I am reading the tripwire
2.2.1 documentation right now.
Any other suggestions? I am trying to decide how to leverage my CDRW drive
on another machine to create information that can be read-only for the
server. Maybe the tripwire database or some such. Hard for a hacker to
change physically read-only data. Seems like it may be too much trouble
though... Any thoughts?
Thanks,
John
>If you want to continue to sleep well, I recommend you install & use
>tripwire before plugging the machine back in to the net.
Peter van Dijk wrote:
>
> On Thu, Apr 06, 2000 at 12:31:07AM -0500, Ben Beuchler wrote:
> [snip]
> > Trying 205.188.156.162...
> > Connected to 205.188.156.162.
> > Escape character is '^]'.
> > 220-rly-yd02.mx.aol.com ESMTP relay_in.8; Thu, 06 Apr 2000 01:19:52 -0400
> > 220-America Online (AOL) and its affiliated companies do not
> > 220- authorize the use of its proprietary computers and computer
> > 220- networks to accept, transmit, or distribute unsolicited bulk
> > 220 e-mail sent from the internet.
> > helo marvin.squad51.net
> > 250 rly-yd02.mx.aol.com OK
> > mail from: [EMAIL PROTECTED]
>
> Try 'mail from:<[EMAIL PROTECTED]>'. I tried, it accepted me nicely.
>
> > 501 SYNTAX ERROR IN PARAMETERS OR ARGUMENTS
>
> And I do get this error when I omit the < >.
>
> Why qmail is triggering this behaviour is beyond me, unfortunately.
Well,
something is wrong with AOL servers:
QUIT
500 SYNTAX ERROR, COMMAND UNRECOGNIZED
EXIT
500 SYNTAX ERROR, COMMAND UNRECOGNIZED
Or maybe I am wrong and this command don't exist in RFC?
--
Ondrej Sury <[EMAIL PROTECTED]> Globe Internet s.r.o. http://globe.cz/
Tel: +420235365000 Fax: +420235365009 Planickova 1, 162 00 Praha 6
Mob: +420602667702 ICQ: 24944126 Mapa: http://globe.namape.cz/
NAJDI.TO http://najdi.to/ PRESS.CZ http://press.cz/
On Thu, Apr 06, 2000 at 06:09:54PM +0200, Ondrej Sury wrote:
> Peter van Dijk wrote:
> >
> > On Thu, Apr 06, 2000 at 12:31:07AM -0500, Ben Beuchler wrote:
> > [snip]
> > > Trying 205.188.156.162...
> > > Connected to 205.188.156.162.
> > > Escape character is '^]'.
> > > 220-rly-yd02.mx.aol.com ESMTP relay_in.8; Thu, 06 Apr 2000 01:19:52 -0400
> > > 220-America Online (AOL) and its affiliated companies do not
> > > 220- authorize the use of its proprietary computers and computer
> > > 220- networks to accept, transmit, or distribute unsolicited bulk
> > > 220 e-mail sent from the internet.
> > > helo marvin.squad51.net
> > > 250 rly-yd02.mx.aol.com OK
> > > mail from: [EMAIL PROTECTED]
> >
> > Try 'mail from:<[EMAIL PROTECTED]>'. I tried, it accepted me nicely.
> >
> > > 501 SYNTAX ERROR IN PARAMETERS OR ARGUMENTS
> >
> > And I do get this error when I omit the < >.
> >
> > Why qmail is triggering this behaviour is beyond me, unfortunately.
>
> Well,
> something is wrong with AOL servers:
> QUIT
> 500 SYNTAX ERROR, COMMAND UNRECOGNIZED
> EXIT
> 500 SYNTAX ERROR, COMMAND UNRECOGNIZED
>
> Or maybe I am wrong and this command don't exist in RFC?
You must send something els, or be in some strange state,
sample session (real)
HELO test.example.com
250 rly-yd02.mx.aol.com OK
mail from:[EMAIL PROTECTED]
500 SYNTAX ERROR, COMMAND UNRECOGNIZED
QUIT
221 SERVICE CLOSING CHANNEL
worked fine.
/magnus
From: Dave Sill <[EMAIL PROTECTED]>
Date: Wed, 5 Apr 2000 08:32:31 -0400 (EDT)
I connect via a 28.8K modem and don't have a static IP address. My
local network uses the "sill" domain, e.g., sparge.sill, which is my
mailhub. I use the free dynamic DNS service at http://www.dyndns.org
to assign the FQDN sill.dyndns.org to my dynamic IP address. Outgoing
mail comes from either sill.dyndns.org or sill.org, never from a
*.sill domain.
OK, thanks; I doubted that would work when I set up qmail, so I never
tried it.
The dyndns.org service has been very reliable for me, but if you want
to pay for the service, there are commercial providers like dyndns.com
(which I've never tried and can't vouch for).
-Dave
Thanks for the info (and also to S. P. Hoeke, who replied privately),
but I've already signed up for rgrjr.com from Hiway Technologies
(http://www.hiway.com/), based on a recommendation from a friend. I
still haven't figured out how to get it to forward mail to me in a way
that doesn't lose the envelope address, though, so I answered based on
my current working-but-suboptimal configuration.
-- Bob
[EMAIL PROTECTED] wrote:
>Thanks for the info (and also to S. P. Hoeke, who replied privately),
>but I've already signed up for rgrjr.com from Hiway Technologies
>(http://www.hiway.com/), based on a recommendation from a friend. I
>still haven't figured out how to get it to forward mail to me in a way
>that doesn't lose the envelope address, though, so I answered based on
>my current working-but-suboptimal configuration.
What is the "it" that's forwarding mail to you? Hiway? If so, there
probably *is* no way to preserve the envelope address unless they're
particularly saavy.
If you use a dynamic DNS service, your e-mail can come directly to
your box with the envelope addresses you specify.
E.g., I have sill.org registered and handled by an ISP. They give me N
addresses that I can redirect anywhere I want. That's great, as far as
it goes, but it doesn't let me take advantage of qmail's extension
addresses or manage my local namespace beyond the N addresses they
allow. That's why I use dyndns.org to register sill.dyndns.org
directly to *my* qmail system. I have complete control over the
*@sill.dynsdns.org namespace and I can use all the extension addresses
I want.
-Dave
I find it interesting that the postfix email archive is at egroups
running qmail for incoming mail.
Hence it is amusing to read while at egroups what VW writes:
Nobody uses qmail or ezmlm. A few more people use Postfix nowadays.
Adding ezmlm support won't make any difference to the
fate of email and the universe. There are more useful
thing to spend what little time we have on.
The postfix list is full of bitter x qmail users, who write stuff
like (originally the person wanted postfix to support ezmlm):
I take back my previous comments in favour of looking at supporting
this abomination.
So those who think the qmail list is sometimes rough---we are not different.
I also see stuff like:
I run qmail on one system here for just that reason. I'd like to
switch to Postfix (as I have on most other systems),
but I really want to keep ezmlm.
Mate
Mate Wierdl <[EMAIL PROTECTED]> wrote:
>I find it interesting that the postfix email archive is at egroups
>running qmail for incoming mail.
I don't think that's an "official" archive.
>So those who think the qmail list is sometimes rough---we are not different.
And people who think DJB is rude but WZV is all warm and fuzzy haven't
seen him at times like this, when responding to a newbie:
] You are asking a lot of very elementary questions on this list.
] Perhaps you should read up a bit on UNIX system administration,
] TCP/IP, and so on. This list is not a substitute for using your
] own grey cells.
]
] In particular, the internet service name is "smtp" because that
] name serves as lookup key for the file /etc/services, or whatever
] your local equivalent is called. You can specify a different name
] in /etc/postfix/master.cf and see why it does not work.
]
] Recommended books:
]
] Evi Nemeth and others: UNIX system administration.
] Richard Stevens: TCP/IP Illustrated.
]
] That's by no means a complete list, but it will keep you quiet
] for a while.
Or this, to someone who questioned Postfix's build configuration:
] NO. Do not ever mention autoconf in my presence.
]
] ...
]
] I have been maintaining freeware and non-freeware since 1986 for
] dozens of UNIX and non-UNIX variants. I will not be told how to
] write portable and maintainable software.
He was right in both cases, of course, but wasn't more polite than DJB
would have been. He's also told several people to "learn to read", or
words to that effect, which made me wonder if anyone's ever seen DJB
and WZV in the same room. :-)
-Dave
On Thu, 6 Apr 2000, Dave Sill wrote:
> He was right in both cases, of course, but wasn't more polite than DJB
> would have been. He's also told several people to "learn to read", or
> words to that effect, which made me wonder if anyone's ever seen DJB
> and WZV in the same room. :-)
Nope, ticket prices were high, the event sold out in the first hour
and it wasn't offered on PPV :)
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Dave Sill <[EMAIL PROTECTED]> wrote:
>
> He was right in both cases, of course, but wasn't more polite than DJB
> would have been. He's also told several people to "learn to read", or
> words to that effect, which made me wonder if anyone's ever seen DJB
> and WZV in the same room. :-)
No, because they both would have vanished in a flash of elementary particles.
:)
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
On Thu, Apr 06, 2000 at 02:40:13PM -0400, Dave Sill wrote:
> Mate Wierdl <[EMAIL PROTECTED]> wrote:
>
> >I find it interesting that the postfix email archive is at egroups
> >running qmail for incoming mail.
>
> I don't think that's an "official" archive.
>
It is the archive mentioned first at
http://www.porcupine.org/postfix-mirror/lists.html
Mate
On Thu, Apr 06, 2000 at 02:40:13PM -0400, Dave Sill wrote:
> Mate Wierdl <[EMAIL PROTECTED]> wrote:
>
> >I find it interesting that the postfix email archive is at egroups
> >running qmail for incoming mail.
>
> I don't think that's an "official" archive.
Just another remark: the other archive mentioned at the postfix
webasite is at SecurePoint.com---also running qmail:
telnet smtp1.SecurePoint.com 25
Trying 209.122.47.75...
Connected to smtp1.SecurePoint.com.
Escape character is '^]'.
220 securepoint.com ESMTP
helo wierdlmpc.msci.memphis.edu
250 securepoint.com
mail from: [EMAIL PROTECTED]
250 ok
rcpt to: [EMAIL PROTECTED]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Mate
On 06-Apr-2000, Mate Wierdl wrote:
> Just another remark: the other archive mentioned at the postfix
> webasite is at SecurePoint.com---also running qmail:
So, a male bra-salesperson is not allowed? Who cares? Maybe there's no
free archiver that uses postfix yet. Why don't we take the best of
both worlds?
This thread is silly and doesn't give any valuable knowledge.
Both software are good and have their own +/-. Please let us keep this
list objective and use it to discuss qmail. I would hate to see this
becomes another flame war, I've seen it in postfix-users list, it's
not good.
Ronny
"Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
>Is Qmqpd known to consume a lot CPU?
No. Try tracing it to see what it's doing.
-Dave
How would you do that in a production server?
On Thu, 6 Apr 2000, Dave Sill wrote:
> "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
>
> >Is Qmqpd known to consume a lot CPU?
>
> No. Try tracing it to see what it's doing.
>
> -Dave
>
On Fri, Apr 07, 2000 at 09:12:26AM +0800, Benjamin de los Angeles Jr. wrote:
>
> How would you do that in a production server?
If you want to trace the system calls, on something like Solaris you
go truss -p. That may cause additional load to the CPU, but it doesn't impact
functionality. Similar possibilities exist on other Unixen.
>
> On Thu, 6 Apr 2000, Dave Sill wrote:
>
> > "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
> >
> > >Is Qmqpd known to consume a lot CPU?
> >
> > No. Try tracing it to see what it's doing.
> >
> > -Dave
> >
>
I'm using Linux, what's the equivalent of truss for this platform?
On Thu, Apr 06, 2000 at 07:59:31PM -0700, [EMAIL PROTECTED] wrote:
> On Fri, Apr 07, 2000 at 09:12:26AM +0800, Benjamin de los Angeles Jr. wrote:
> >
> > How would you do that in a production server?
>
>
> If you want to trace the system calls, on something like Solaris you
> go truss -p. That may cause additional load to the CPU, but it doesn't impact
> functionality. Similar possibilities exist on other Unixen.
>
>
> >
> > On Thu, 6 Apr 2000, Dave Sill wrote:
> >
> > > "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
> > >
> > > >Is Qmqpd known to consume a lot CPU?
> > >
> > > No. Try tracing it to see what it's doing.
> > >
> > > -Dave
> > >
> >
--
=--------------------------------
_/ Benjamin M. de los Angeles Jr. (632) 753-3217 _/
_/ Surf Shop Inc., System Administrator UG1 Herrera Tower, Makati PH _/
-------------------------------=
"Love your enemies: they'll go crazy trying to figure out what you're up to."
On Fri, Apr 07, 2000 at 12:42:05PM +0800, Benjamin de los Angeles Jr . wrote:
> I'm using Linux, what's the equivalent of truss for this platform?
As a System Administrator, did you bother searching the man pages first?
Or are you asking us to search the man pages for you?
Try man -k trace
>
> On Thu, Apr 06, 2000 at 07:59:31PM -0700, [EMAIL PROTECTED] wrote:
> > On Fri, Apr 07, 2000 at 09:12:26AM +0800, Benjamin de los Angeles Jr. wrote:
> > >
> > > How would you do that in a production server?
> >
> >
> > If you want to trace the system calls, on something like Solaris you
> > go truss -p. That may cause additional load to the CPU, but it doesn't impact
> > functionality. Similar possibilities exist on other Unixen.
> >
> >
> > >
> > > On Thu, 6 Apr 2000, Dave Sill wrote:
> > >
> > > > "Benjamin de los Angeles Jr." <[EMAIL PROTECTED]> wrote:
> > > >
> > > > >Is Qmqpd known to consume a lot CPU?
> > > >
> > > > No. Try tracing it to see what it's doing.
> > > >
> > > > -Dave
> > > >
> > >
>
> --
> =--------------------------------
> _/ Benjamin M. de los Angeles Jr. (632) 753-3217 _/
> _/ Surf Shop Inc., System Administrator UG1 Herrera Tower, Makati PH _/
> -------------------------------=
> "Love your enemies: they'll go crazy trying to figure out what you're up to."
What I didn't mention is that 'truss' seems to me, a command-line utility,
unlike ptrace which is a C function. Is there a command-line equivalent
for ptrace? I would not ask anyone to search for man pages for this,
but if you know anything that is equivalent, _offhand_ is definitely ok.
Besides, I'm saving this problem later, since I'm busy with another
development project now.
On Thu, Apr 06, 2000 at 09:56:13PM -0700, [EMAIL PROTECTED] wrote:
> On Fri, Apr 07, 2000 at 12:42:05PM +0800, Benjamin de los Angeles Jr . wrote:
> > I'm using Linux, what's the equivalent of truss for this platform?
>
> As a System Administrator, did you bother searching the man pages first?
> Or are you asking us to search the man pages for you?
>
> Try man -k trace
>
"Vaz, Len" <[EMAIL PROTECTED]> wrote:
>Situation: Mail is being delivered very slowly on one of the
>mailservers running qmail. It speeds up when I do a HUP on qmail-send
>and kill -ALRM on qmail-send. Seems like it is not triggering
>before I do mess with qmail-send. The lock/trigger file seems
>to have the proper permissions. Any idea of what might be
>happening and why mail starts rolling only when I mess with qmail-send.
What Do The Logs Say? (tm)
-Dave
Hi,
I've setup vpopmail in my RH6.2 box. Do I have to make any changes in
inetd.conf file as well. How do I check that it's working? Also could
anyone suggest me a good manual page site for VPOPMAIL.
Thanks
Regards
Bill
> >Situation: Mail is being delivered very slowly on one of the
> >mailservers running qmail. It speeds up when I do a HUP on qmail-send
> >and kill -ALRM on qmail-send. Seems like it is not triggering
> >before I do mess with qmail-send. The lock/trigger file seems
> >to have the proper permissions. Any idea of what might be
> >happening and why mail starts rolling only when I mess with qmail-send.
>
> What Do The Logs Say? (tm)
This is very, very similar to what is happening to us today. QMail is
being *very* slow, mostly stopped on both of our servers. When either
server is restarted, then qmail will hurry up and send *a few* messages
quickly, then just stops doing anything.
Looking in the logs, there were a few deferrals to yahoo, checking
ps -aef | grep yahoo gives me 5 entries. So, I set concurrencyremote and
concurrency local to 100 on both machines and restarted qmail. No luck.
Each time I restart qmail, a *few* messages go through, the rest don't.
Any clues?
steve
> > What Do The Logs Say? (tm)
>
> This is very, very similar to what is happening to us today. QMail is
> being *very* slow, mostly stopped on both of our servers. When either
> server is restarted, then qmail will hurry up and send *a few* messages
> quickly, then just stops doing anything.
>
> Looking in the logs, there were a few deferrals to yahoo, checking
> ps -aef | grep yahoo gives me 5 entries. So, I set concurrencyremote and
> concurrency local to 100 on both machines and restarted qmail. No luck.
> Each time I restart qmail, a *few* messages go through, the rest don't.
Yes, I forgot to mention what the logs say: Nothing abnormal. I restart
qmail, get the "exiting" message, the "running" message, 10 or so
successful deliveries, no warnings, no deferrals, then nothing.
steve
On Thu, Apr 06, 2000 at 01:47:51PM -0600, Steve Wolfe wrote:
> > Looking in the logs, there were a few deferrals to yahoo, checking
> > ps -aef | grep yahoo gives me 5 entries. So, I set concurrencyremote and
> > concurrency local to 100 on both machines and restarted qmail. No luck.
> > Each time I restart qmail, a *few* messages go through, the rest don't.
What does qmail-qstat say?
For quick queue inspection I use:
------------------------------------------------------------------------
#!/bin/sh
qmail-qread \
| grep -v done \
| grep -E '(remote|local)' \
| awk -F@ '{print $2}' \
| tr '[A-Z]' '[a-z]' \
| sort -t@ +1 \
| uniq -c \
| sort -nr
------------------------------------------------------------------------
This cummulates and counts the emails in the queue for each domain.
You may want to check the IPs of the MX for these domains against
qmail-tcpto.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
On Thu, Apr 06, 2000 at 10:12:19PM +0200, Markus Stumpf wrote:
> For quick queue inspection I use:
> ------------------------------------------------------------------------
> #!/bin/sh
>
> qmail-qread \
> | grep -v done \
add -w
> | grep -E '(remote|local)' \
add -w
Regards, Uwe
On Thu, Apr 06, 2000 at 10:12:19PM +0200, Markus Stumpf wrote:
> For quick queue inspection I use:
> [ ... ]
Thanks for all the input to enhance my poor little script ;-)
Here's a more GNU awk'ish Version, that eliminates everything but the last
sort.
------------------------------------------------------------------------
#!/bin/sh
qmail-qread |\
awk -F@ '/^ done\t/ {next} /\tremote\t/ || /\tlocal\t/ {q[tolower($2)]++} END {for
(host in q) printf("%5d %s\n", q[host], host)}' \
| sort -nr
------------------------------------------------------------------------
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
> What does qmail-qstat say?
> For quick queue inspection I use:
I got 1 message waiting to go to yahoo, nothing else. BUT... for fun, I
ran "queue-fix", and it fixed ownership/permissions on the lockfile, and
wa-la... it works. Thanks for the help.
steve
Thanks to all. Ran 'make check' and voila :-) Yea, to Dave Sill's page....
-----Original Message-----
From: Markus Stumpf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 06, 2000 5:15 PM
To: Qmail List
Subject: Re: slow mail (sends when qmail restarted)
On Thu, Apr 06, 2000 at 10:12:19PM +0200, Markus Stumpf wrote:
> For quick queue inspection I use:
> [ ... ]
Thanks for all the input to enhance my poor little script ;-)
Here's a more GNU awk'ish Version, that eliminates everything but the last
sort.
------------------------------------------------------------------------
#!/bin/sh
qmail-qread |\
awk -F@ '/^ done\t/ {next} /\tremote\t/ || /\tlocal\t/ {q[tolower($2)]++}
END {for (host in q) printf("%5d %s\n", q[host], host)}' \
| sort -nr
------------------------------------------------------------------------
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you
wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Any good autoresponder anyone can suggest
Thanks
Bill
> Any good autoresponder anyone can suggest
There is a rate limited autoresponder made by Eric Huss. It's at
http://www.netmeridian.com/e-huss/autorespond.tar.gz
Please be careful: this autoresponder was written to be used for automated
accounts where no processing aufter the autoresponder is needed.
If you use it the way that you want to save the message after responding
to it, you have to change most of the return values of autorespond.
If you don't know how, I can send you the changed file.
Regards, Frank
If anyone is interested in helping us get our Qmail working properly please
email me ASAP.
[EMAIL PROTECTED]
Some times my mail server don't delivery mails, qmail-remote not run and my
queue grow up. What can cause this ? I these cases the solution is kill all
qmail-xxxxx and run the init script again (/var/qmail/rc).
RDA.-
|
I am trying put domain name in virtualdomains file
but it has dash
ex:
do-main.com:user
when I create /home/user/.qmail-do-main
it just does not work it it tells me user does not
exist
i tried to use "?" in .qmail-do?main does not
work
i tried to put in virtualdomains
do?main.com:user
message is looping
Is there a way making this work
Thank you
Denis
|
On Thu, Apr 06, 2000 at 06:54:48PM -0700, kapusta wrote:
>
> I am trying put domain name in virtualdomains file but it has dash
> ex: do-main.com:user
> when I create /home/user/.qmail-do-main
> it just does not work it it tells me user does not exist
> i tried to use "?" in .qmail-do?main does not work
> i tried to put in virtualdomains do?main.com:user
> message is looping
> Is there a way making this work
It works exactly like like other virtualdomains.
Be sure that you DON'T have the domain in locals too. It should only be in
virtualdomains and rcpthosts.
As you just put "user" after the : in virtualdomains, then all mail is
delivered to ~user/.qmail-default. No "do-main" is needed in that filename.
If you do "do-main.com:user-do-main", then you have to rename it to
"~user/.qmail-do-main-default".
(For further info, see http://cr.yp.to/qmail/faq/incominghost.html#virtual)
/magnus
--
http://x42.com/
I am getting conflicting responses from different people
everybody is agreing on whatever you have in virtualdomains
can not have in locals. I am good checked it many times ( More than I
wanted ).
~user/.qmail-default is getting confusing I got response that I need to have
~user/.qmail-domain to be able to get e-mail and .qmail-default is like
whild card
and it worked until I started create more users for this domain
does anybody wrote something that make sense about virtual domains and
aliases
----- Original Message -----
From: "Magnus Bodin" <[EMAIL PROTECTED]>
To: "kapusta" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 06, 2000 10:37 PM
Subject: Re: domain name with dash
> On Thu, Apr 06, 2000 at 06:54:48PM -0700, kapusta wrote:
> >
> > I am trying put domain name in virtualdomains file but it has dash
> > ex: do-main.com:user
> > when I create /home/user/.qmail-do-main
> > it just does not work it it tells me user does not exist
> > i tried to use "?" in .qmail-do?main does not work
> > i tried to put in virtualdomains do?main.com:user
> > message is looping
> > Is there a way making this work
>
> It works exactly like like other virtualdomains.
> Be sure that you DON'T have the domain in locals too. It should only be in
> virtualdomains and rcpthosts.
>
> As you just put "user" after the : in virtualdomains, then all mail is
> delivered to ~user/.qmail-default. No "do-main" is needed in that
filename.
> If you do "do-main.com:user-do-main", then you have to rename it to
> "~user/.qmail-do-main-default".
>
> (For further info, see
http://cr.yp.to/qmail/faq/incominghost.html#virtual)
>
> /magnus
>
> --
> http://x42.com/
>
On Thu, Apr 06, 2000 at 11:12:07PM -0700, kapusta wrote:
> I am getting conflicting responses from different people
> everybody is agreing on whatever you have in virtualdomains
> can not have in locals. I am good checked it many times ( More than I
> wanted ).
> ~user/.qmail-default is getting confusing I got response that I need to have
> ~user/.qmail-domain to be able to get e-mail and .qmail-default is like
> whild card
> and it worked until I started create more users for this domain
> does anybody wrote something that make sense about virtual domains and
> aliases
I tested my example with a domain with dashes.
check out my examples here too:
http://x42.com/qmail/cookbook/domains/
All the virtualdomain examples apply with domains including dashes.
The dash is not any magical.
/magnus
--
http://x42.com
Can anybody had experiences with qmail+LDAP figure out POP checking flow ?
Assume there are two real POP3 mail servers: foo.domain.com and
bar.domain.com, LDAP server ldap.domain.com, SMTP server smtp.domain.com.
How to configure the POP mail clients to work with this schema ? How does
they work ?
Thanks and forgive 4 bad English -:)
Can anybody had experiences with qmail+LDAP figure out POP checking flow ?
Assume there are two real POP3 mail servers: foo.domain.com and
bar.domain.com, LDAP server ldap.domain.com, SMTP server smtp.domain.com.
How to configure the POP mail clients to work with this schema ? How does
they work ?
Thanks and forgive 4 bad English -:)
This is true, yet I don't understand why Wietse claims so many more people
are using Postfix. I don't have the link to the thread off hand, but I
remember reading something along the lines of "No one uses qmail, a few
people are using Postfix" which boggled my mind because all the places
I've visited in the past month or so in the Silicon Valley, about 10 - 15
companies all use qmail, none use Postfix. So where is he getting his
information?
-jeremy
> Toni Mueller writes:
> > Or is qmail dead due to Postfix success?
>
> qmail's share of *.com mail servers has grown past 5%, behind only
> sendmail at 56%, Imail at 7.6%, and Exchange at 5.5%. Next are
> Post.Office at 4.5% and Exim at 1.8%.
>
> There are eight servers around 1%, including Netscape's server, Eudora's
> MacOS server, the NT version of sendmail, and Postfix.
>
> The total number of servers that have ever run Postfix is smaller than
> the number of qmail servers added in the past six months.
>
> ---Dan
>
--
http://www.xxedgexx.com | [EMAIL PROTECTED]
---------------------------------------------
Dear All,
Is there any incomptability with Lotus or just wrong
setting?
Thanks for any help.
Thanks
Ayip,-
>> Hi. This is the qmail-send program at smtp-a.cbn.net.id.
>> 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]>:
>> Connected to 202.103.147.133 but sender was rejected.
>> Remote host said: 500 Session already established. The domain name
>[smtp-a.cbn.net.id] passed in with HELO will be ignored. The current domain
>name of sending SMTP is [www.wtwh.com.cn].
>>
>> --- Below this line is a copy of the message.
>>
>> Return-Path: <[EMAIL PROTECTED]>
>> Received: (qmail 60383 invoked from network); 5 Apr 2000 16:12:29 +0700
>> Received: from unknown (HELO pentium) (202.158.24.195)
>> by smtp-a.cbn.net.id with SMTP; 5 Apr 2000 16:12:29 +0700
>> Message-ID: <001501bf9edf$cf163d20$[EMAIL PROTECTED]>
>> From: "kingsmen" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> References: <[EMAIL PROTECTED]>
>> Subject: Re: Hello from ZTE Corporation
>> Date: Wed, 5 Apr 2000 15:54:42 +0700
>> MIME-Version: 1.0
>> Content-Type: text/plain;
>> charset="iso-8859-1"
>> Content-Transfer-Encoding: 7bit
>> X-Priority: 3
>> X-MSMail-Priority: Normal
>> X-Mailer: Microsoft Outlook Express 5.00.2615.200
>> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200