qmail Digest 25 Dec 1999 11:00:01 -0000 Issue 860
Topics (messages 34782 through 34793):
Re: Problem with Amavis
34782 by: Chris L. Mason
Bounce messages to sender, not me
34783 by: Joel Shellman
34784 by: Charles Cazabon
34785 by: Charles Cazabon
34786 by: Joel Shellman
34787 by: Claus F�rber
Re: Qmail site down..
34788 by: Rogerio Brito
Corel Linux ships with qmail installed, but not running
34789 by: Russell Nelson
34790 by: Chris L. Mason
How to give a greeting message
34791 by: Irwan Hadi
34793 by: petervd.vuurwerk.nl
Happy holidays!
34792 by: Peter Cavender
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]
----------------------------------------------------------------------
On Thu, Dec 23, 1999 at 12:47:24PM +0100, Carsten Witt wrote:
> Hello Rainer,
>
> I did it but, but it is the same!
>
Hi Carsten,
I've posted a new version on my site (www.unixzone.com/virus). There were
a number of issues with qmail-local in the previous version. Please give
this a try.
Chris
A client on my server has a cgi script that sends email (I think via
SMTP through localhost). Well, the bounces come back to me instead of
going to the person in the from header. I think I understand why--
(someone could forge the from header and be a big nuisance), but for
legitimate users (nearly always in this case), I want the bounces to go
to the user who initiated them so they can know it didn't work.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 14156 invoked by uid 99); 24 Dec 1999 14:08:56 -0000
Date: 24 Dec 1999 14:08:56 -0000
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]
X-Mailer: Perl Powered Socket Mailer
Subject: A Special Card is Waiting For You!
Those are the headers in a sample message. What can I do about these
bounces?
Can I automatically forward them to the from header? Can I automatically
execute a script/program when they come in?
I've seen scripts and the like in the .qmail files but don't know where
the documentation is for that stuff.
Thanks,
--
Joel Shellman
The enSurge(TM) Network
http://www.enSurge.com/
Joel Shellman <[EMAIL PROTECTED]> wrote:
> A client on my server has a cgi script that sends email (I think via
> SMTP through localhost). Well, the bounces come back to me instead of
> going to the person in the from header.
[...]
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 14156 invoked by uid 99); 24 Dec 1999 14:08:56 -0000
> Date: 24 Dec 1999 14:08:56 -0000
> Message-ID: <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> Reply-to: [EMAIL PROTECTED]
> X-Mailer: Perl Powered Socket Mailer
> Subject: A Special Card is Waiting For You!
Bounces always go the the envelope sender (the Return-Path: header above),
not the user in the From: header.
The problem here is the CGI script they are using is setting the user
part of the envelope sender to 'anonymous' (I'm assuming the host part,
'enSurge.com' is correct -- you anonymized the rest of the headers, so
we can't tell -- another reason not to do this in help requests).
Perhaps the CGI script can be modified, or the web page which calls it.
> Can I automatically forward them to the from header? Can I automatically
> execute a script/program when they come in?
Can probably be done, but is not a great idea. The return-to-envelope-sender
is standard practice, as it (theoretically) should always reach the
person who sent the mail, while From: and Reply-to: headers can be
legitimately set to other values for many reasons.
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]> wrote:
> Joel Shellman <[EMAIL PROTECTED]> wrote:
> > A client on my server has a cgi script that sends email (I think via
> > SMTP through localhost). Well, the bounces come back to me instead of
> > going to the person in the from header.
> [...]
> > Return-Path: <[EMAIL PROTECTED]>
> > Received: (qmail 14156 invoked by uid 99); 24 Dec 1999 14:08:56 -0000
> > Date: 24 Dec 1999 14:08:56 -0000
> > Message-ID: <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED]
> > Reply-to: [EMAIL PROTECTED]
> > X-Mailer: Perl Powered Socket Mailer
> > Subject: A Special Card is Waiting For You!
>
> Bounces always go the the envelope sender (the Return-Path: header above),
> not the user in the From: header.
A further followup on myself: I meant to say that you're probably getting
a double-bounce, because user 'anonymous' doesn't exist. The original bounce
is sent to [EMAIL PROTECTED], which then bounces -- and the double bounce
ends up in the postmaster's mailbox.
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------
Charles Cazabon wrote:
>
> Joel Shellman <[EMAIL PROTECTED]> wrote:
> > A client on my server has a cgi script that sends email (I think via
> > SMTP through localhost). Well, the bounces come back to me instead of
> > going to the person in the from header.
> [...]
> > Return-Path: <[EMAIL PROTECTED]>
> > Received: (qmail 14156 invoked by uid 99); 24 Dec 1999 14:08:56 -0000
> > Date: 24 Dec 1999 14:08:56 -0000
> > Message-ID: <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED]
> > Reply-to: [EMAIL PROTECTED]
> > X-Mailer: Perl Powered Socket Mailer
> > Subject: A Special Card is Waiting For You!
>
> Bounces always go the the envelope sender (the Return-Path: header above),
> not the user in the From: header.
>
> The problem here is the CGI script they are using is setting the user
> part of the envelope sender to 'anonymous' (I'm assuming the host part,
> 'enSurge.com' is correct -- you anonymized the rest of the headers, so
> we can't tell -- another reason not to do this in help requests).
>
> Perhaps the CGI script can be modified, or the web page which calls it.
How can I do that? Actually, I did not anonymize anything except the to,
from, and reply-to headers. All the other info is exactly as it appeared
in the bounce I received.
How do I set the "user part of the envelope sender" in the CGI script?
Is that what I should do? The sender will most likely not be an account
on the machine (as it is someone filling out a form on the web).
--
Joel Shellman
The enSurge(TM) Network
http://www.enSurge.com/
Joel Shellman <[EMAIL PROTECTED]> schrieb/wrote:
> How do I set the "user part of the envelope sender" in the CGI script?
man qmail-inject
--
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
On Dec 21 1999, Russell Nelson wrote:
> Yes, I finally tracked the problem down to a dead CPU fan. You get
> the oddest symptoms when your machine has a brain fever.
Oddest indeed. Like Emacs dumping core! :-o
[]s, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Well, the Corel Linux CD that one can download does indeed have qmail
installed, however it is not configured nor does it start running by
default.
CorelLinux:/var/qmail/control# ls
CorelLinux:/var/qmail/control#
--
-russ nelson <[EMAIL PROTECTED]> http://russnelson.com
Crynwr sells support for free software | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
On Fri, Dec 24, 1999 at 04:39:34PM -0500, Russell Nelson wrote:
> Well, the Corel Linux CD that one can download does indeed have qmail
> installed, however it is not configured nor does it start running by
> default.
>
Perhaps they are planning to use it in future versions and it just wasn't
ready for 1.0? I've been waiting awhile for a Linux distribution to come
out that uses qmail as the default MTA (or at least offers the choice of
using it over sendmail in the installation.)
Chris
I want to know, how to give a greeting message to a person when s/he
connect to port 25 , and not just ESMTP .
For example, Welcome to xxx, mm/dd/yy,hh:mm:ss , this mailserver is using
QMAIL version 1.03
-------
AFLHI 058009990407128029/089802---(102598//991024)
On Sat, Dec 25, 1999 at 11:21:59AM -0700, Irwan Hadi wrote:
> I want to know, how to give a greeting message to a person when s/he
> connect to port 25 , and not just ESMTP .
> For example, Welcome to xxx, mm/dd/yy,hh:mm:ss , this mailserver is using
> QMAIL version 1.03
(I protest to writing qmail in capitals, so this one includes my version :)
The date-part is not possible, by the way.
What might help you is:
echo 'Welcome to blah' > /var/qmail/control/smtpgreeting
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++
And thank you, everyone, for all the good information. May we all be
forgiven for our flames and flame bait!
Pete