qmail Digest 11 Jun 1999 10:00:01 -0000 Issue 668
Topics (messages 26514 through 26547):
test delivery
26514 by: "Jan Stanik" <[EMAIL PROTECTED]>
26515 by: Jeff Hayward <[EMAIL PROTECTED]>
26516 by: Fred Backman <[EMAIL PROTECTED]>
26525 by: Dave Sill <[EMAIL PROTECTED]>
Bare LF problem
26517 by: Justin Bell <[EMAIL PROTECTED]>
26518 by:
26519 by: Justin Bell <[EMAIL PROTECTED]>
26547 by: "A.Y. Sjarifuddin" <[EMAIL PROTECTED]>
error 551 help
26520 by: David McCall <[EMAIL PROTECTED]>
Queue Restriktion.
26521 by: "Daniel V. Pedersen" <[EMAIL PROTECTED]>
26540 by: Rogerio Brito <[EMAIL PROTECTED]>
Ok.. now what?
26522 by: Robbie Walker <[EMAIL PROTECTED]>
Modify bounce text
26523 by: Jonathan W Herbert <[EMAIL PROTECTED]>
26524 by: Dave Sill <[EMAIL PROTECTED]>
26531 by: Jonathan W Herbert <[EMAIL PROTECTED]>
26533 by: Roger Merchberger <[EMAIL PROTECTED]>
26535 by: �ukasz Michalski <[EMAIL PROTECTED]>
Virutal Domain Aliasing Ignorance
26526 by: Dave Sill <[EMAIL PROTECTED]>
Qmail (Almost)
26527 by: Dave Sill <[EMAIL PROTECTED]>
SMTP Connections
26528 by: Dave Sill <[EMAIL PROTECTED]>
Use both /etc/passwd and alias
26529 by: Dave Sill <[EMAIL PROTECTED]>
Checking stuffs...
26530 by: Dave Sill <[EMAIL PROTECTED]>
cron complaing about qmail [was Re: Completely off topic: supervise cron?]
26532 by: "Chris Garrigues" <[EMAIL PROTECTED]>
reply-to ?
26534 by: �ukasz Michalski <[EMAIL PROTECTED]>
26536 by: Kai MacTane <[EMAIL PROTECTED]>
26539 by: Vince Vielhaber <[EMAIL PROTECTED]>
ETRN ?
26537 by: [EMAIL PROTECTED]
26543 by: Anand Buddhdev <[EMAIL PROTECTED]>
Setting up smtproutes + DNS + firewall
26538 by: Albert Hopkins <[EMAIL PROTECTED]>
26541 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
Automatic MDN denials
26542 by: "Chris Garrigues" <[EMAIL PROTECTED]>
Message-ID and bounces
26544 by: Mark Carroll <[EMAIL PROTECTED]>
Addresses of the form host!user@domain
26545 by: " " <[EMAIL PROTECTED]>
bouncemessage behaviour
26546 by: "Andreas Schulze" <[EMAIL PROTECTED]>
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
Hi!
This must be really stupid question..., but I found no solution, how
to test mail delivery without disturbing people with a test message.
Please, would You like to tell me how to do it?
Thank you very much
Jano
> Hi all!
>
> Is it possible to test delivery without sending real mail?
> (something like sendmail -bv).
--
Jan Stanik
[EMAIL PROTECTED]
Telenor Internet,s.r.o
On Thu, 10 Jun 1999, Jan Stanik wrote:
This must be really stupid question..., but I found no solution, how
to test mail delivery without disturbing people with a test message.
Please, would You like to tell me how to do it?
Thank you very much
The closest thing I know of is the -n option to qmail-local, to test
.qmail files.
-- Jeff Hayward
I personally use several local and external accounts (of mine) with
Pmail.net, Hotmail, Usa.Net etc. to test stuff. But also, if you want to
do serious testing I suggest you set up another mail server on another
machine (or even more servers than that!) and hack a couple of program
that automatically sends emails in and out, to simulating real life
scenarios.
Oh and don't worry - no question can be stupid. Only the answers ;-)
Jeff Hayward wrote:
> On Thu, 10 Jun 1999, Jan Stanik wrote:
>
> This must be really stupid question..., but I found no solution, how
> to test mail delivery without disturbing people with a test message.
> Please, would You like to tell me how to do it?
> Thank you very much
>
> The closest thing I know of is the -n option to qmail-local, to test
> .qmail files.
>
> -- Jeff Hayward
"Jan Stanik" <[EMAIL PROTECTED]> wrote:
>
>This must be really stupid question..., but I found no solution, how
>to test mail delivery without disturbing people with a test message.
There really isn't any way to do that with qmail. See:
http://Web.InfoAve.Net/~dsill/lwq.html#modular
for an explanation of why it can't (easily) be done.
-Dave
On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote:
# Eric S . wrote/schrieb/scribsit:
# > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:
# >
# > > tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
# > > ... I think. Just replace "qmail-smtpd" with "'fixcr|qmail-smtpd'".
# >
# > That didn't work. Any other suggestions?
#
# Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'.
#
does anyone else have problems with that no closing the connection?
"Error","TID=1","06/10/99","10:33:28","Error occurred while attempting to
close connection. - [PT_ERROR] General error (Timed out while waiting for
SMTP command to complete) - "
"Error","TID=1","06/10/99","10:34:29","Error occurred while attempting to
close connection. - [PT_ERROR] General error (Timed out while waiting for
SMTP command to complete) - "
--
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell NIC:JB3084| Time and rules are changing. |
|Pearson | Attention span is quickening. |
|Developer | Welcome to the Information Age. |
\-------- http://www.superlibrary.com/people/justin/ ----------/
Yes! I've observed ColdFusion erroring this way whether relaying
through qmail or sendmail, though. I think this is a ColdFusion
problem. Search of the Cold Fusion archives mentions this problem, but
not the cause (Well, it's an SMTP error.) or solution.
-----Original Message-----
From: Justin Bell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 10, 1999 10:36 AM
To: Qmail Mailing List
Subject: Re: Bare LF problem
On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote:
# Eric S . wrote/schrieb/scribsit:
# > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:
# >
# > > tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
# > > ... I think. Just replace "qmail-smtpd" with
"'fixcr|qmail-smtpd'".
# >
# > That didn't work. Any other suggestions?
#
# Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'.
#
does anyone else have problems with that no closing the connection?
"Error","TID=1","06/10/99","10:33:28","Error occurred while attempting
to
close connection. - [PT_ERROR] General error (Timed out while waiting
for
SMTP command to complete) - "
"Error","TID=1","06/10/99","10:34:29","Error occurred while attempting
to
close connection. - [PT_ERROR] General error (Timed out while waiting
for
SMTP command to complete) - "
--
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell NIC:JB3084| Time and rules are changing. |
|Pearson | Attention span is quickening. |
|Developer | Welcome to the Information Age. |
\-------- http://www.superlibrary.com/people/justin/ ----------/
On Thu, Jun 10, 1999 at 10:58:08AM -0500, wrote:
# Yes! I've observed ColdFusion erroring this way whether relaying
# through qmail or sendmail, though. I think this is a ColdFusion
# problem. Search of the Cold Fusion archives mentions this problem, but
# not the cause (Well, it's an SMTP error.) or solution.
#
# -----Original Message-----
# From: Justin Bell [mailto:[EMAIL PROTECTED]]
# Sent: Thursday, June 10, 1999 10:36 AM
# To: Qmail Mailing List
# Subject: Re: Bare LF problem
#
#
# On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote:
# # Eric S . wrote/schrieb/scribsit:
# # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:
# # >
# # > > tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
# # > > ... I think. Just replace "qmail-smtpd" with
# "'fixcr|qmail-smtpd'".
# # >
# # > That didn't work. Any other suggestions?
# #
# # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'.
# #
#
# does anyone else have problems with that no closing the connection?
# "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting
# to
# close connection. - [PT_ERROR] General error (Timed out while waiting
# for
# SMTP command to complete) - "
# "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting
# to
# close connection. - [PT_ERROR] General error (Timed out while waiting
# for
# SMTP command to complete) - "
when I telnet to port 25 it also does NOT close the connection after I hit
quit
--
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell NIC:JB3084| Time and rules are changing. |
|Pearson | Attention span is quickening. |
|Developer | Welcome to the Information Age. |
\-------- http://www.superlibrary.com/people/justin/ ----------/
Justin Bell wrote:
>
> On Thu, Jun 10, 1999 at 10:58:08AM -0500, wrote:
> # Yes! I've observed ColdFusion erroring this way whether relaying
> # through qmail or sendmail, though. I think this is a ColdFusion
> # problem. Search of the Cold Fusion archives mentions this problem, but
> # not the cause (Well, it's an SMTP error.) or solution.
> #
> # -----Original Message-----
> # From: Justin Bell [mailto:[EMAIL PROTECTED]]
> # Sent: Thursday, June 10, 1999 10:36 AM
> # To: Qmail Mailing List
> # Subject: Re: Bare LF problem
> #
> #
> # On Thu, Jun 10, 1999 at 11:50:21AM +0200, Stefan Paletta wrote:
> # # Eric S . wrote/schrieb/scribsit:
> # # > > On Wed, 9 Jun 1999, A.Y. Sjarifuddin wrote:
> # # >
> # # > > tcpserver <params> 'fixcr|qmail-smtpd' 2&>1 | cyclog...
> # # > > ... I think. Just replace "qmail-smtpd" with
> # "'fixcr|qmail-smtpd'".
> # # >
> # # > That didn't work. Any other suggestions?
> # #
> # # Replace 'qmail-smtpd' with 'sh -c "fixcr|qmail-smtpd"'.
> # #
> #
> # does anyone else have problems with that no closing the connection?
> # "Error","TID=1","06/10/99","10:33:28","Error occurred while attempting
> # to
> # close connection. - [PT_ERROR] General error (Timed out while waiting
> # for
> # SMTP command to complete) - "
> # "Error","TID=1","06/10/99","10:34:29","Error occurred while attempting
> # to
> # close connection. - [PT_ERROR] General error (Timed out while waiting
> # for
> # SMTP command to complete) - "
>
> when I telnet to port 25 it also does NOT close the connection after I hit
> quit
I change this $COMMAND with sh -c "fixcr|qmail-smtpd"
but I have to type quit twice while I telnet to port 25.
Any other idea to overcome this qualcomm eudora's problem?
tcpserver -R -H $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT $RBL
-t 2 $COMMAND \
Thanks
Ayip.
--
He knew the tavernes well in every toun.
-- Geoffrey Chaucer
looks like outgoing mail isn't getting the full domain attached just the
host name......
so the remote systems won't accept the mail without the domain name
attached....
wonder where this is happeneing? see below
Date: Tue, 18 May 1999 23:34:30 -0700
From: Mailer-Daemon (Mail Delivery Subsystem)
Subject: Returned mail: Remote protocol error
Message-Id: <199905190634.XAA06479@nbcls.>
To: search
The original message was received at Tue, 18 May 1999 23:31:02 -0700
from search@localhost
----- The following addresses had delivery problems -----
[EMAIL PROTECTED] (unrecoverable error)
----- Transcript of session follows -----
... while talking to thomas.cps.com.au.:
>>> MAIL From:<search@nbcls>
<<< 551 <search@nbcls>... invalid host name nbcls,check your
configuration.
... while talking to mippet.ci.com.au.:
>>> MAIL From:<search@nbcls>
<<< 551 invalid host name nbcls,check your configuration.
554 [EMAIL PROTECTED] Remote protocol error
Does anyone know to to restric a qmail queue to aprox. 4-500 mails?
thanks,
daniel.
On Jun 10 1999, Daniel V. Pedersen wrote:
> Does anyone know to to restric a qmail queue to aprox. 4-500 mails?
Perhaps enabling inode quota for the qmailq user in your file
system that holds the qmail queue?
[]s, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
(still an) Ugrad. Comp. Science student - "Windows? Linux and X!"
Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
James in order of your asking...
I would use mutt to send and receive mail from the command line.. if you
are using X, I would use Netscape Mail, but you have to have the server
configured properly for SMTP and POP (or IMAP) first. I'd stick with mutt
to start.
Assuming you are using RedHat Linux (we really don't know do we?) you
should look in
/var/log/messages for the syslog and /var/log/maillog for the mail logs.
type tail /var/log/maillog to see the last entries in the maillog, or
type tail -f /var/log/maillog to continuously update log list in a virtual
terminal
James, you may not want to hear this, but here goes:
You need to spend MANY hours reading documentation.
look in /usr/doc/HOWTO and /usr/doc/HOWTO/mini and read everything there.
Also look at http://metalab.unc.edu/mdw/mirrors.html for a mirror to the
Linux documentation project.
Administering a mail server is a complex task. It is not something that
most people can learn to do in a few hours... it takes time. On top of
that, administering ANY unix box is also complex and all of the
documentation for various mail systems assumes at least a minimal amount of
knowlege about basic system administration. I've only been doing this stuff
for a few years and I learn stuff everyday. That's why I subscribe to (and
read) these mailing lists.
Take a look at Dave Sill's "Living With Qmail"
http://web.infoave.net/~dsill/lwq.htm
Something that may or may not be obvious is the fact that ~ is interepreted
by the system as home directory. For instance ~robbie on my box means
/home/robbie , but ~root stands for /root
because the home directories are different. You should also read (and try
to understand) all the man pages that come with qmail.
Good luck, Qmail is a MUCH better system than sendmail, but it (just like
sendmail) requires a lot of doc reading (and understanding) to work
effectively. If you don't believe me, jog down to the local Barnes & Noble
and take a look at the O'Reilly & Assoc. Sendmail book... it's over 1000
pages. This "ain't rocket science" but it's not baking cookies either! :)
At 11:37 PM 6/9/99 , you wrote:
>I know this is going to seem incredibly dumb.. but now that I have
>installed qmail, is there some kind of interface I can use to send and
>receive email? Would I be wanting to use pine? What mail clients are
>there for qmail that I might want to look into?
>
>One other thing, in the TEST.deliver file, it suggests I look for a
>specific line in the "syslog".. where is the syslog? Also, it suggests I
>send a mail to myself, then check for it in my mailbox.. where IS the
>mailbox? Does it mean in Pine? Thanks again.
>
>james
>
- ----------------------------------------------
NovaMetrix Development
Robbie Walker, head muckety-muck
P.O. Box 635 or 910-653-4006
106-B S. Main St 800-773-5647
Tabor City, NC 28463 910-653-2052 FAX
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.5.2
iQA/AwUBN1/sWjrJV5JQYcnnEQKd4wCgxrW94zjvrDzGnZ9EQgLW9USsOw8AoIRw
hYdZgCn8WH6750p2aWttMy9v
=JnYD
-----END PGP SIGNATURE-----
Hi,
A general complaint I've been getting a lot lately since our migration
to
qmail has been, for some reason, the bounce text.
I like the bounce text (Hi, this is the qmail-send program...), but for
the average user the pervading anthropomorphic text of this message
goes largely misunderstood.
A recent example showed a user replying to the mailer-daemon,
trying to thank it for trying so hard to deliver his message before
finally deciding to give up.
Is there a simple way to drop in a new text for these types of
failure notices, without modifying qmail-send.c ?
--
Jonathan W. Herbert
Systems Administrator
--------------------------------------------
Tortus Tek, Inc.
1789 Northampton Street Phone:(413)535-5080
Holyoke, Ma. 01040 URL: tortus-tek.com
--------------------------------------------
Tortus Tek: A-head of Art, A-head of Science
Jonathan W Herbert <[EMAIL PROTECTED]> wrote:
>
>A recent example showed a user replying to the mailer-daemon,
>trying to thank it for trying so hard to deliver his message before
>finally deciding to give up.
And you think that's bad? It would be better if it "looked" like an
error message?
>Is there a simple way to drop in a new text for these types of
>failure notices, without modifying qmail-send.c ?
No.
-Dave
Dave Sill wrote:
> And you think that's bad? It would be better if it "looked" like an
> error message?
Well, in a way, yes. I like qmail, i couldn't care less about the bounce
text either, but your average joe user seems to have a hard time
operating
under the pretense that their ISP's mail server occasionally tries to
hold
a conversation with them.
> >Is there a simple way to drop in a new text for these types of
> >failure notices, without modifying qmail-send.c ?
>
> No.
Sigh. Oh well =)
--
Jonathan W. Herbert
Systems Administrator
--------------------------------------------
Tortus Tek, Inc.
1789 Northampton Street Phone:(413)535-5080
Holyoke, Ma. 01040 URL: tortus-tek.com
--------------------------------------------
Tortus Tek: A-head of Art, A-head of Science
Rumor has it that Jonathan W Herbert may have mentioned these words:
>Dave Sill wrote:
>> And you think that's bad? It would be better if it "looked" like an
>> error message?
>
>Well, in a way, yes. I like qmail, i couldn't care less about the bounce
>
>text either, but your average joe user seems to have a hard time
>operating
>under the pretense that their ISP's mail server occasionally tries to
>hold
>a conversation with them.
Some of the cutest email replies I've seen are from people responding to
those -- and when they find out it's actually the computer responding to
them, they seem rather tickled.
My vote: Just enjoy it! ;-)
>> >Is there a simple way to drop in a new text for these types of
>> >failure notices, without modifying qmail-send.c ?
>>
>> No.
>Sigh. Oh well =)
Is it that you're deathly afraid / unknowledgeable of C programming? To
modify qmail-send.c to change the input from immediate (within the program)
to a file in /var/qmail/control shouldn't be hard at all -- even I could do
it and I'm no wizard in C, by any means.
What would take the longest (for me) is quadruple-checking my work to make
sure that it doesn't open up any security holes... I wouldn't want to make
the most secure MTA available any less so due to a screw-up on my part.
However, opening a file every time there's a bounce would slow down qmail
some -- if you generate quite a few bounces this could mean a bit of a
performance hit.
Let me know if you need my help in making the change!
Hope this helps,
Roger "Merch" Merchberger
--
Roger "Merch" Merchberger --- sysadmin, Iceberg Computers
Recycling is good, right??? Ok, so I'll recycle an old .sig.
If at first you don't succeed, nuclear warhead
disarmament should *not* be your first career choice.
Roger Merchberger wrote:
>
>
> However, opening a file every time there's a bounce would slow down qmail
> some -- if you generate quite a few bounces this could mean a bit of a
> performance hit.
>
I don't think so. First time it will read it from disk, next time it
will find it in cache.
--
�ukasz Michalski mailto:[EMAIL PROTECTED] -------
tel/sms: mailto:[EMAIL PROTECTED]
"Jeffrey D. Gordon" <[EMAIL PROTECTED]> wrote:
>
> I'm having a bit of difficulty with qmail ignoring the
> virtualdomains file in /var/qmail/control
>
> I've got the domain (and MX record) set accordingly to point to
> the box, however when I send mail to (example)
> [EMAIL PROTECTED] I get a no such mailbox error. However
> I can send mail to [EMAIL PROTECTED] and it
> succeeds.
I strongly discourage the use of examples when trying to debug
configurations. If you just cut'n'paste config files and error
messages, there's no chance of losing potentially valuable
information.
What *exactly* does your virtualdomains contain, in its entirety?
Better yet, was does qmail-showctl say?
What *exactly* is in "~alias/.qmail-testingdomain-testing"?
What *exactly* do your log files say when you conduct a test?
-Dave
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
>I've just loaded Qmail on my RH 5.2 box. I setup the tcpserver line to load
>in rc.local. Is this the correct
>file to load tcpserver in?
If it works, it's correct. :-) I usually prefer to have a separate
"qmail" startup script, but that's not the only right way to do it. It
just makes it easier to work with qmail without diddling everything
else that happens to be in rc.local.
>When I do a "ps waux|grep qmail" I get splogger
>qmail, qmail-clean,qmail-rspawn,qmail-send,qmail-lspawn |preline procmail.
>Do I need to remove procmail?
No, you've configured procmail to be your MDA (mail delivery
agent). If you remove it, lots of mail could bounce.
See also:
http://Web.InfoAve.Net/~dsill/lwq.html#procmail
>Should I have removed this RPM along with sendmail?
Nope.
>I want to install Qmail Pop3d next, but I don't think I know
>enough about what I am doing quite yet.... I need to install Maildirs too
>don't I?
Users who want to retrieve mail with qmail-pop3d need to deliver to
maildirs. That may or may not mean that you should make ~/Maildir the
default delivery instruction.
See also:
http://Web.InfoAve.Net/~dsill/lwq.html#qmail-pop3d
>When I am setup can I test Qmail with Pine (local)?
Are you asking if pine is a POP client? It is.
-Dave
Thomas Balle <[EMAIL PROTECTED]> wrote:
>
>Lately I have had many SMTP connections from 2 different danish ISPs, one
>of them has 4 mailservers which keeps on making connections like the one below:
>
>Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445214 tcpserver: end 29731 status 256
>Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445660 tcpserver: status: 0/20
>Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.445905 tcpserver: status: 1/20
>Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.446159 tcpserver: pid 29734 from
>195.41.46.139
>Jun 9 22:51:07 mpfgw1 smtpd3: 928961467.446453 tcpserver: ok 29734
>mail.relay1.webben.dk:195.41.48.111:25 fep4.post.tele.dk:195.41.46.139::57953
>
>Is it their servers that are broken or is it mine ?
What exactly do you think is abnormal about that?
>Its a bit annoying as they tie up lots of smtp connections which sometimes
>causes my smtp server to timeout to other "good" connections.
Nothing in that log snippet demonstrates a client that's hogging an
SMTP connection. That might be the case, but that snippet doesn't show
it.
-Dave
Kohei Akao <[EMAIL PROTECTED]> wrote:
>
>I'd like to use both /etc/passwd user and alias name.
>How to configure?
You don't need qmail-users to do that. Just create aliases via .qmail
files in ~alias.
See http://Web.InfoAve.Net/~dsill/lwq.html#aliases
If you prefer to use qmail-users, the best way to do what you want is
to use qmail-pw2u. Put the "special" assignments in users/append, run
qmail-pw2u, then qmail-newu.
See also:
http://Web.InfoAve.Net/~dsill/lwq.html#qmail-users
-Dave
Rafael Pirolla <[EMAIL PROTECTED]>
>
> Hello Sirs...
Hi.
> First, thanks to the ones who helped me out to solve the relaying
>problem. It is almost solved... The problem that remains is that I
>wanted all, really ALL, the messages that comes with the
>'virualdomain.com.br' as domain (including root, etc...) to go directly
>to the specified IP...
> It is happening that messages to '[EMAIL PROTECTED]' are
>beeing delievered localy to the local root...
How are you redirecting virtualdomain.com.br? Are you using an
smtproutes entry or a virtual domain? What does qmail-showctl say? Are
you using qmail-users (anything in /var/qmail/control/users?)?
> Other things... I wanted to do some deliveries testings. I wanted to
>do as I used to do with the mailx's Sendmail program in the Solaris
>OS... Something for me to see the hole header of the message, where it
>comes, to where it goes, that kind of things...
"cat" will show you all the headers. What am I missing?
> What is the equivalent to 'mailq' in the Qmail program? (sorry to
>ask that... I had to...)
qmail-stat and qmail-qread, which must be run as root.
> Last: I can find some history of this Mailing List somewhere?!
See:
http://Web.InfoAve.Net/~dsill/lwq.html#list-archives
(You didn't think I was going to miss an opportunity to plug "Life
with qmail", did you? :-)
-Dave
> From: "Chris Garrigues" <[EMAIL PROTECTED]>
> Date: Wed, 09 Jun 1999 09:26:11 -0500
>
> I've got a system on which cron keeps dying.
>
> Would it work to run cron under supervise?
As I worked on tracking this problem down, I found that the last log entries for
vixie-cron were:
root (06/06-00:00:15-15757) MAIL (mailed 11060 bytes of output but got status 0x006f
)
root (06/06-00:00:15-30191) MAIL (mailed 11839 bytes of output but got status 0x006f
)
root (06/06-00:00:15-17528) MAIL (mailed 7360 bytes of output but got status 0x006f
)
root (06/06-00:00:15-4607) MAIL (mailed 13738 bytes of output but got status 0x006f
)
and Vixie asked me why qmail was sending a non-zero error code.
here's the qmail log from that time (run through tailocal):
1999-06-06 00:00:15.087851 new msg 4386
1999-06-06 00:00:15.087860 info msg 4386: bytes 2004 from <[EMAIL PROTECTED]> qp 23495
uid 0
1999-06-06 00:00:15.091695 starting delivery 6975: msg 4386 to local
[EMAIL PROTECTED]
1999-06-06 00:00:15.091713 status: local 1/10 remote 0/20
1999-06-06 00:00:15.547616 new msg 4387
1999-06-06 00:00:15.547625 info msg 4387: bytes 2117 from <[EMAIL PROTECTED]> qp 23501
uid 7790
1999-06-06 00:00:15.577459 starting delivery 6976: msg 4387 to local
[EMAIL PROTECTED]
1999-06-06 00:00:15.577476 status: local 2/10 remote 0/20
1999-06-06 00:00:15.577487 delivery 6975: success:
[EMAIL PROTECTED]/forward:_qp_23501/did_0+0+1/
1999-06-06 00:00:15.577510 status: local 1/10 remote 0/20
1999-06-06 00:00:15.577521 end msg 4386
1999-06-06 00:00:16.077629 new msg 4386
1999-06-06 00:00:16.077638 info msg 4386: bytes 2226 from <[EMAIL PROTECTED]> qp 23504
uid 7790
1999-06-06 00:00:16.127659 starting delivery 6977: msg 4386 to local
[EMAIL PROTECTED]
1999-06-06 00:00:16.127677 status: local 2/10 remote 0/20
1999-06-06 00:00:16.127688 starting delivery 6978: msg 4386 to remote
[EMAIL PROTECTED]
1999-06-06 00:00:16.127705 status: local 2/10 remote 1/20
1999-06-06 00:00:16.127716 delivery 6976: success: did_0+4+0/qp_23504/
1999-06-06 00:00:16.127728 status: local 1/10 remote 1/20
1999-06-06 00:00:16.127739 starting delivery 6979: msg 4386 to local
[EMAIL PROTECTED]
1999-06-06 00:00:16.127756 status: local 2/10 remote 1/20
1999-06-06 00:00:16.127767 end msg 4387
1999-06-06 00:00:16.128615 starting delivery 6980: msg 4386 to local
[EMAIL PROTECTED]
1999-06-06 00:00:16.128633 status: local 3/10 remote 1/20
1999-06-06 00:00:16.450693 delivery 6978: success:
10.1.1.1_accepted_message./Remote_host_said:_250_ok_928645216_qp_24445/
1999-06-06 00:00:16.450716 status: local 3/10 remote 0/20
1999-06-06 00:00:16.910468 new msg 4389
1999-06-06 00:00:16.910478 info msg 4389: bytes 2341 from <[EMAIL PROTECTED]> qp 23522
uid 7790
1999-06-06 00:00:16.912152 starting delivery 6981: msg 4389 to remote
[EMAIL PROTECTED]
1999-06-06 00:00:16.912170 status: local 3/10 remote 1/20
1999-06-06 00:00:16.914047 delivery 6977: success:
[EMAIL PROTECTED]/forward:_qp_23522/did_0+0+1/
1999-06-06 00:00:16.914072 status: local 2/10 remote 1/20
1999-06-06 00:00:16.917547 new msg 4387
1999-06-06 00:00:16.917555 info msg 4387: bytes 2339 from <[EMAIL PROTECTED]> qp 23521
uid 7790
1999-06-06 00:00:16.919209 starting delivery 6982: msg 4387 to remote
[EMAIL PROTECTED]
1999-06-06 00:00:16.919227 status: local 2/10 remote 2/20
1999-06-06 00:00:16.919747 delivery 6979: success:
[EMAIL PROTECTED]/forward:_qp_23521/did_0+0+1/
1999-06-06 00:00:16.919771 status: local 1/10 remote 2/20
--
Chris Garrigues virCIO
+1 512 432 4046 4314 Avenue C O-
http://www.DeepEddy.Com/~cwg/ Austin, TX 78751-3709
+1 512 374 0500
My email address is an experiment in SPAM elimination. For an
explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
Nobody ever got fired for buying Microsoft,
but they could get fired for relying on Microsoft.
PGP signature
Why this list doesn't have set reply-to to it's own address?
--
�ukasz Michalski mailto:[EMAIL PROTECTED] -------
tel/sms: mailto:[EMAIL PROTECTED]
Text written by �ukasz Michalski at 11:04 PM 6/10/99 +0200:
>
>Why this list doesn't have set reply-to to it's own address?
Some people think that's a bad idea. Others, of course, think it's a good
idea, but the administrator of this list apparently falls into the first
category.
-----------------------------------------------------------------
Kai MacTane
System Administrator
Online Partners.com, Inc.
-----------------------------------------------------------------
>From the Jargon File: (v4.0.0, 25 Jul 1996)
cough and die /v./
Syn. barf. Connotes that the program is throwing its hands up by
design rather than because of a bug or oversight. "The parser saw a
control-A in its input where it was looking for a printable, so it
coughed and died." Compare die, die horribly, scream and die.
On 10-Jun-99 Kai MacTane wrote:
> Text written by �ukasz Michalski at 11:04 PM 6/10/99 +0200:
>>
>>Why this list doesn't have set reply-to to it's own address?
>
> Some people think that's a bad idea. Others, of course, think it's a good
> idea, but the administrator of this list apparently falls into the first
> category.
Beside that, you don't have to be a subscriber of this list to post to
it. Many people coming here for help wouldn't get an answer if they
weren't and the replies went here by default.
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
I'm planning to convert to qmail when the new data center gets built
with the new network. In the mean time a customer is asking to set
up e-mail for him so that his MS Exchange Server can pick up his mail
for his entire domain via the ETRN feature of SMTP. Should I tell
this customer "yes" or "no"?
On Thu, Jun 10, 1999 at 05:25:01PM -0500, [EMAIL PROTECTED] wrote:
Say "yes". For more info, see the AUTOTURN feature of serialmail, available
from:
ftp://koobera.math.uic.edu/pub/software/serialmail-0.75.tar.gz
> I'm planning to convert to qmail when the new data center gets built
> with the new network. In the mean time a customer is asking to set
> up e-mail for him so that his MS Exchange Server can pick up his mail
> for his entire domain via the ETRN feature of SMTP. Should I tell
> this customer "yes" or "no"?
--
Anand
We have a qmail server sitting on a dmz behind a firewall. We wish this
to be the main smtp server and have all incoming mail sent to it. So say
we are domain.com, then our MX record for domain.com points to
mail.domain.com. This works fine.
Recently one of our divisions decided it wanted to use it's own (exchange)
server. They want to be able to receive mail for <user>@sub.domain.com.
This machine (sub.domain.com) is behind the firewall. I would like for
our main mail server, mail.domain.com to recieve all messages for
*.domain.com and relay it to wherever it needs to go. I believe the
terminology is mail hub.
Anyway, the smtproutes file on mail.domain.com reads:
sub.domain.com:[10.2.11.12]
Sending email to [EMAIL PROTECTED] from anywhere internally works fine.
It gets to mail.domain.com and is then routed to sub. However, when
sending email to [EMAIL PROTECTED] from the outside, messages bounce
back with the error "sub.domain.com: host not found" or similiar. My
understanding about email routing is that the MTA is supposed to look up
the MX record for domain.com and send the message there.
Or is it that I need to have an MX record for sub.domain.com? Either way
I sub.domain.com does not resolve to anything currently.
I guess my question is if I need to do something to the DNS server or is
there a way to avoid this?
Add a DNS record for sub.domain.com pointing to mail.domain.com.
sub.domain.com IN MX 10 mail.domain.com.
Add sub.domain.com to rcpthosts on mail.domain.com.
Add the following to smtproutes on mail.domain.com.
sub.domain.com:[10.2.11.12]
Things should now work as you intend from both inside and outside the
firewall. :)
You have to add the MX record for sub.domain.com into the DNS. There are
no other options if you want people to be able to route the mail
correctly. (Wildcard MX might work, I've never used them.)
On Thu, 10 Jun 1999, Albert Hopkins wrote:
>
> We have a qmail server sitting on a dmz behind a firewall. We wish this
> to be the main smtp server and have all incoming mail sent to it. So say
> we are domain.com, then our MX record for domain.com points to
> mail.domain.com. This works fine.
>
> Recently one of our divisions decided it wanted to use it's own (exchange)
> server. They want to be able to receive mail for <user>@sub.domain.com.
> This machine (sub.domain.com) is behind the firewall. I would like for
> our main mail server, mail.domain.com to recieve all messages for
> *.domain.com and relay it to wherever it needs to go. I believe the
> terminology is mail hub.
>
> Anyway, the smtproutes file on mail.domain.com reads:
>
> sub.domain.com:[10.2.11.12]
>
> Sending email to [EMAIL PROTECTED] from anywhere internally works fine.
> It gets to mail.domain.com and is then routed to sub. However, when
> sending email to [EMAIL PROTECTED] from the outside, messages bounce
> back with the error "sub.domain.com: host not found" or similiar. My
> understanding about email routing is that the MTA is supposed to look up
> the MX record for domain.com and send the message there.
>
> Or is it that I need to have an MX record for sub.domain.com? Either way
> I sub.domain.com does not resolve to anything currently.
>
> I guess my question is if I need to do something to the DNS server or is
> there a way to avoid this?
>
>
>
---------------------------------
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-8888 Phone
(412) 810-8886 Fax
Having just learned how MDNs work I was wondering if anybody had written a
script to automatically issue denials on any MDN request that it sees.
I don't so much mind people knowing how fast my mail system can send them a
denial, but I certainly have no interest in them knowing that I've actually
looked at their message.
Chris
--
Chris Garrigues virCIO
+1 512 432 4046 4314 Avenue C O-
http://www.DeepEddy.Com/~cwg/ Austin, TX 78751-3709
+1 512 374 0500
My email address is an experiment in SPAM elimination. For an
explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
Nobody ever got fired for buying Microsoft,
but they could get fired for relying on Microsoft.
PGP signature
On Tue, 8 Jun 1999, Peter Haworth wrote:
> Mark Carroll wrote:
> > The sysadmin of one of the machines I receive mail on will soon be
> > rejecting messages that have no Message-ID, as apparently virtually all
(snip)
> Can't you get this sysadmin to relax the rule for bounce messages? It's not
> like messages with <> as the sender are hard to spot, especially as he's going
> to the trouble of finding a Message-Id.
Against his better judgment, he has now agreed to relax this particular
policy. (-: Thanks for all the responses!
-- Mark
Not sure if this is a solaris or qmail specific
question, any help appreciated nonetheless.
OS: Solaris 2.6, MTA: qmail 1.03
Two wkstns, "host1" and "host2"; the
host2 with local printer known as "lw" on both hosts.
A "user" on host1 submits a printjob
which is subsequently cancelled.
The lpsched daemon on host2 now trys
to send a message (appearing to come from
anonymous@domainname) informing them of this.
However the address it trys to use is
host1!user@domainname
and this results in a double bounce.
If however the job were submitted from host2
and then cancelled the message correctly
goes to user@domainname.
Any ideas how I get this mail addressed
to user@domain rather than host1!user@domain?
As far as I'm aware this didn't happen with sendmail.
Here's an example message to the postmaster:-
I tried to deliver ... but the bounce bounced!
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below ...
Return-Path: <>
Received: (qmail 1280 invoked for bounce); 10 Jun 1999 15:12:35 +0100
Date: 10 Jun 1999 15:12:35 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below ...
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 1602 invoked from network); 10 Jun 1999 15:12:35 +0100
Received: from host2.strath.ac.uk (130.160.242.76)
by mailhost.strath.ac.uk with QMQP; 10 Jun 1999 15:12:35 +0100
Date: 10 Jun 1999 15:12:35 +0100
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;
MBOX-Line: From lp Thu Jun 10 15:12 BST 1999
Subject: Status of lp request lw-619
Content-Type: text
Message Text ...
hello,
I' currently switching my MTA to qmail with virtualdomains and have 2
questions:
1)
if qmail receives a message which it can't deliver, qmail replies with a
bounce message to the envelope sender. Only if this bouncemessage bounce, i
will be delivered to the postmaster.
My old MTA send also a single bounce to the postmaster. Is this possible
with qmail too ???
2)
In my qmailsetup I have one unixaccount (called mail) who handles ALL
virtual domains.
I send a message to [EMAIL PROTECTED] where "user" not exist.
The bouncemessage comes from [EMAIL PROTECTED]
(mailgw.domain.de is the hostname)
I would expect an bouncemessage from [EMAIL PROTECTED]
Thanks
Andreas Schulze