qmail Digest 24 Feb 1999 11:00:01 -0000 Issue 561
Topics (messages 22318 through 22400):
Mail receipt upon delivery.
22318 by: "������� ������������" <[EMAIL PROTECTED]>
22320 by: Mark Delany <[EMAIL PROTECTED]>
22321 by: Bo Fussing <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
22319 by: Mark Delany <[EMAIL PROTECTED]>
.qmail files
22322 by: Victor Regner <[EMAIL PROTECTED]>
22328 by: Mate Wierdl <[EMAIL PROTECTED]>
22331 by: Victor Regner <[EMAIL PROTECTED]>
22333 by: Mate Wierdl <[EMAIL PROTECTED]>
Wilcards in badmailfrom
22323 by: Dimitri SZAJMAN <[EMAIL PROTECTED]>
22325 by: [EMAIL PROTECTED] (Chris Naden)
22327 by: Peter Green <[EMAIL PROTECTED]>
SOLVED AGAIN HELP: NOT SOLVED ! ! looks like a SYN attack
22324 by: Russell Nelson <[EMAIL PROTECTED]>
22330 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
Pine, Qmail, and time zones
22326 by: Chuck Milam <[EMAIL PROTECTED]>
virtuslhost [Q]
22329 by: [EMAIL PROTECTED]
22344 by: "Luca Olivetti" <[EMAIL PROTECTED]>
tcpserver and logging
22332 by: Chris Johnson <[EMAIL PROTECTED]>
22340 by: Bruce Guenter <[EMAIL PROTECTED]>
ETRN with Qmail
22334 by: Dimitri SZAJMAN <[EMAIL PROTECTED]>
22389 by: Anand Buddhdev <[EMAIL PROTECTED]>
22398 by: Dimitri SZAJMAN <[EMAIL PROTECTED]>
limiting number of recipients in email
22335 by: Marlon Anthony Abao <[EMAIL PROTECTED]>
22336 by: xs <[EMAIL PROTECTED]>
22339 by: Chris Johnson <[EMAIL PROTECTED]>
Keeping a copy of sent messages
22337 by: "Patrick Kirk" <[EMAIL PROTECTED]>
Virtual Domains and User Routing
22338 by: Sebastian Knoop-Troullier <[EMAIL PROTECTED]>
22390 by: Anand Buddhdev <[EMAIL PROTECTED]>
Limiting Usage of SMTP server
22341 by: MountaiNet Tech Support <[EMAIL PROTECTED]>
22342 by: Abel Lucano <[EMAIL PROTECTED]>
22345 by: MountaiNet Tech Support <[EMAIL PROTECTED]>
22349 by: Abel Lucano <[EMAIL PROTECTED]>
22361 by: Mark Delany <[EMAIL PROTECTED]>
need some spam/relay help
22343 by: Bruce Guenter <[EMAIL PROTECTED]>
badmailfrom question
22346 by: [EMAIL PROTECTED]
22347 by: Chris Johnson <[EMAIL PROTECTED]>
22348 by: "Richard Shetron" <[EMAIL PROTECTED]>
22352 by: Chris Johnson <[EMAIL PROTECTED]>
22356 by: Mate Wierdl <[EMAIL PROTECTED]>
22358 by: Mate Wierdl <[EMAIL PROTECTED]>
22359 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
22362 by: Mate Wierdl <[EMAIL PROTECTED]>
22363 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
22368 by: "Sam" <[EMAIL PROTECTED]>
Moving mail
22350 by: MountaiNet Tech Support <[EMAIL PROTECTED]>
22351 by: Chris Johnson <[EMAIL PROTECTED]>
22353 by: Jaye Mathisen <[EMAIL PROTECTED]>
22357 by: Mate Wierdl <[EMAIL PROTECTED]>
Virtual Domains Setup
22354 by: "Robert Wojciechowski Jr." <[EMAIL PROTECTED]>
22355 by: Stefan Paletta <[EMAIL PROTECTED]>
22376 by: "Robert Wojciechowski Jr." <[EMAIL PROTECTED]>
Timestamps and message arrival times
22360 by: Eric Dahnke <[EMAIL PROTECTED]>
22367 by: Harald Hanche-Olsen <[EMAIL PROTECTED]>
22369 by: "Sam" <[EMAIL PROTECTED]>
Now running qmail on all our servers! Hoorah!
22364 by: R Aldridge <[EMAIL PROTECTED]>
22365 by: Mark Delany <[EMAIL PROTECTED]>
Ezmlm with alias user on virtual domains?
22366 by: "Robert Wojciechowski Jr." <[EMAIL PROTECTED]>
Denial of service process table attacks
22370 by: Russ Allbery <[EMAIL PROTECTED]>
Filtering outgoing mail
22371 by: "Martin Green" <[EMAIL PROTECTED]>
22387 by: Mate Wierdl <[EMAIL PROTECTED]>
Aliases
22372 by: MountaiNet Tech Support <[EMAIL PROTECTED]>
22377 by: Mate Wierdl <[EMAIL PROTECTED]>
qmHandle, SSI's, and permissions
22373 by: Tillman <[EMAIL PROTECTED]>
[[EMAIL PROTECTED]: failure notice]
22374 by: Mate Wierdl <[EMAIL PROTECTED]>
22375 by: Roger Merchberger <[EMAIL PROTECTED]>
22382 by: Scott Schwartz <[EMAIL PROTECTED]>
22384 by: "Adam D. McKenna" <[EMAIL PROTECTED]>
22388 by: Russell Nelson <[EMAIL PROTECTED]>
22399 by: "Thorsten Wasmann" <[EMAIL PROTECTED]>
non-resolving domain name patch
22378 by: Justin Bell <[EMAIL PROTECTED]>
22380 by: [EMAIL PROTECTED] (John R. Levine)
22381 by: Justin Bell <[EMAIL PROTECTED]>
22385 by: "Sam" <[EMAIL PROTECTED]>
UNSUBSCRIBE !!!!
22379 by: KMJJKT <[EMAIL PROTECTED]>
22383 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
qmail employment in SF, CA
22386 by: Russell Nelson <[EMAIL PROTECTED]>
hotmail and qmail
22391 by: Van Liedekerke Franky <[EMAIL PROTECTED]>
22394 by: Mark Delany <[EMAIL PROTECTED]>
22396 by: Anand Buddhdev <[EMAIL PROTECTED]>
queue summary
22392 by: Van Liedekerke Franky <[EMAIL PROTECTED]>
statistics inconsistency
22393 by: Franky Van Liedekerke <[EMAIL PROTECTED]>
22395 by: Anand Buddhdev <[EMAIL PROTECTED]>
:O)
22397 by: <[EMAIL PROTECTED]>
Killing mail according to certain header line
22400 by: [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]
----------------------------------------------------------------------
Dear all,
Is it possible for qmail to send acks back to the sender upon reception of
the mail message? I have heard something about qreceipt but I can't find any
pointers leading to that.
Kind regards,
George Koulogiannis
At 02:01 PM 2/23/99 +0200, ������� ������������3O3t5/I= wrote:
>Dear all,
>
>
>Is it possible for qmail to send acks back to the sender upon reception of
>the mail message? I have heard something about qreceipt but I can't find any
>pointers leading to that.
Do you mean above and beyond "man qreceipt"?
Regards.
> Is it possible for qmail to send acks back to the sender upon reception of
> the mail message? I have heard something about qreceipt but I can't find any
> pointers leading to that.
Read the man page on qreceipt - the two lines below should be fine in your
.qmail file (assuming you use Maildir format).
/Maildir/
|/var/qmail/bin/qreceipt [EMAIL PROTECTED]
Bo
-----------------------------------------------------------------
Bo Fussing <[EMAIL PROTECTED]> Gateway Internet Ltd. <Hong Kong>
Tel +852 2963-7173 Fax +852 2963-7353 URL http://www.gateway.net.hk
PGP fingerprint = D7 9F ED 1D E5 B9 62 4F 77 BC D1 33 5B 4E 95 81
For PGP ID & Signature mail empty message to [EMAIL PROTECTED]
At 11:04 AM 2/23/99 +0100, Rask Ingemann Lambertsen wrote:
>On 22-Feb-99 17:13:13, das wrote something about "[EMAIL PROTECTED]". I just couldn't
>help replying to it, thus:
>> I'm running qmail on my little Linux box with a couple of folks using it
>[cut]
>
> And it is in the ORBS list:
><URL:http://www.orbs.org/verify.cgi?address=204.117.27.42>
>
>
> Dan, please change qmail so that if control/rcpthosts is missing, qmail
>will not relay at all. Perhaps qmail(-[qs]mtpd) should even refuse to run. The
>only people who benefit from the current behaviour are the spammers.
I have to 'fess up to that error myself only the other day. I get so blase`
about qmail installs that I happened to occasionally forget about rcpthosts.
Naturally within a couple of days it dawned on me (at dawn strangely enough)
and I fixed it before a scanner spammer noticed. But a less conscientious
person may not have bothered.
My point is not who is conscientious and who is not, rather it's to concur
with Rask in that maybe it's time to change the default behaviour.
Regards.
I wanna make a one way mailing list. Do I have to install majordomo or
exmlm or can I just put a line in the .qmail file so that I am the only
one that can send mail to it?
Victor
begin:vcard
n:Regner;Victor
tel;pager:0740-132878
tel;cell:070-4920505
tel;fax:08-6948119
tel;work:08-7023158
x-mozilla-html:FALSE
org:1trappaupp Internet Byr�
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Tekniker
fn:Victor Regner
end:vcard
On Tue, Feb 23, 1999 at 01:22:27PM +0100, Victor Regner wrote:
> I wanna make a one way mailing list. Do I have to install majordomo or
> exmlm or can I just put a line in the .qmail file so that I am the only
> one that can send mail to it?
Put
|bouncesaying "You cannot post to this lis" [ "$SENDER"="[EMAIL PROTECTED]" ]
as the first line in the .qmail file, and then list the names you want the
messages sent to.
--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
|bouncesaying "You cannot post to this list" [ "$SENDER"="[EMAIL PROTECTED]"
]
&user1
&user2
etc...
my .qmail-users
looks like this but I cant mail to the list i just says You cannot post to this
list which is prob what it's supposed to say when you're not allowed to send to
the list.
Any clue what I shall do?
Mate Wierdl wrote:
> On Tue, Feb 23, 1999 at 01:22:27PM +0100, Victor Regner wrote:
> > I wanna make a one way mailing list. Do I have to install majordomo or
> > exmlm or can I just put a line in the .qmail file so that I am the only
> > one that can send mail to it?
>
> Put
> |bouncesaying "You cannot post to this lis" [ "$SENDER"="[EMAIL PROTECTED]" ]
>
> as the first line in the .qmail file, and then list the names you want the
> messages sent to.
>
> --
> ---
> Mate Wierdl | Dept. of Math. Sciences | University of Memphis
begin:vcard
n:Regner;Victor
tel;pager:0740-132878
tel;cell:070-4920505
tel;fax:08-6948119
tel;work:08-7023158
x-mozilla-html:FALSE
org:1trappaupp Internet Byr�
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Tekniker
fn:Victor Regner
end:vcard
On Tue, Feb 23, 1999 at 04:37:02PM +0100, Victor Regner wrote:
> |bouncesaying "You cannot post to this list" [ "$SENDER"="[EMAIL PROTECTED]"
> ]
> &user1
> &user2
> etc...
>
> my .qmail-users
>
The problem is that qmail checks the envelope sender, and that is $SENDER.
In your case, the envelope sender is [EMAIL PROTECTED], as I can see it in
>From [EMAIL PROTECTED] Tue Feb 23 15:45:19 1999
Return-Path: <[EMAIL PROTECTED]>
Mate
Hi !
Is it possible to put wilcards in controls/badmailfrom ?
Like *free*@* ?
I don't think so, but there is maybe a solution.
Thank you !
________________________________
Dimitri SZAJMAN - [EMAIL PROTECTED]
http://www.Xon-Xoff.fr
At 02:23 PM 2/23/99 +0100, you wrote:
>Hi !
>
>Is it possible to put wilcards in controls/badmailfrom ?
>
>Like *free*@* ?
>
>I don't think so, but there is maybe a solution.
>Thank you !
>
<AOL>!<AOL>!<AOL>!
If it were possible to do that I'd be supremely grateful.
cHris
On Tue, 23 Feb 1999, Chris Naden wrote:
> At 02:23 PM 2/23/99 +0100, you wrote:
> >Hi !
> >
> >Is it possible to put wilcards in controls/badmailfrom ?
> If it were possible to do that I'd be supremely grateful.
It *is* possible with the jbuce patch. Along with a number of other
changes... http://jonathan.nrgup.com/jbuce.diff
/pg
--
Peter Green
Gospel Communications Network, SysAdmin
[EMAIL PROTECTED]
John Conover writes:
> While were on the subject, does tcpserver have capabilities of dealing
> effectively with SYN attacks?
It's the kernel which is being attacked in a SYN attack. Therefore,
Dan's syncookies fix must be implemented in every kernel of interest.
http://pobox.com/~djb/proto/syncookies.html
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
From: Russell Nelson <[EMAIL PROTECTED]>
:John Conover writes:
: > While were on the subject, does tcpserver have capabilities of dealing
: > effectively with SYN attacks?
:
:It's the kernel which is being attacked in a SYN attack. Therefore,
:Dan's syncookies fix must be implemented in every kernel of interest.
:http://pobox.com/~djb/proto/syncookies.html
The Linux kernel has syn cookies, but they are not enabled by default in
2.2. It's a config option.
--Adam
On Mon, 22 Feb 1999, Fred Lindberg wrote:
> It may be configuration problem. Look at where /etc/localtime links.
/etc/localtime -> ../usr/share/zoneinfo/US/Central
> I use UTC on the computer and pine puts .. +0000 ( ). Mutt doesn't do
> the "( )" thing. Maybe changing MUAs would help?
That may be an option for me, but not for my users. *Sigh*
Here's something interesting: I have TWO date lines in my mail messages,
it seems. (Maybe this is normal?):
Date: Tue, 23 Feb 1999 07:51:14 -0600
Date: Tue, 23 Feb 1999 07:51:14 -0600 (EST) <-- Where does this come from?
Well, I'm off again in further search of the answer...
----------------------------------------------------------
Chuck Milam I.T. Division - Academic Computing
[EMAIL PROTECTED] University of Wisconsin at Oshkosh
Hi,
If an ISP will set me a virtualhost up using qmail, ie all mail for that vh will
go right to 1 account at ISP`s server,
I will be fetching the mail via ppp - the [Q] is: were do I read
about how do I set up my local qmail for it to deliver mail to different
users in my localhost (there are 60 of them)?
Any pointers are welcome.
thank you in advance.
--
Pashah
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Hi,
> If an ISP will set me a virtualhost up using qmail, ie all mail for that vh will
> go right to 1 account at ISP`s server,
> I will be fetching the mail via ppp - the [Q] is: were do I read
> about how do I set up my local qmail for it to deliver mail to different
> users in my localhost (there are 60 of them)?
It has nothing to do with your local qmail: as long as your ISP is using qmail
and your local qmail is configured to receive mail for your domain (i.e: it
has to be in rcpthosts and in locals) you can use fetchmail to get your mail
and deliver it to the correct user.
I use a .fetchmailrc like this:
poll your.pop.server.com pop3 aka your.own.domain.com no dns
envelope "Delivered-To:"
qvirtual "login-"
user "login" password "pass"
to * here fetchall forcecr
Bye
- --
Luca Olivetti http://www.luca.ddns.org
Telefonica es un freno para el desarrollo del pa�s
Telefonica is a restrain on the development of the country
- ------------------[ http://www.internautas.org ]---------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE20u4hCQPXTRx9NmQRAq1gAKCXoA1UirZxYhHpNW5fHgmzZvqYYQCfRef9
gV0rbnj66o/KGk2XlicfiRg=
=PiMG
-----END PGP SIGNATURE-----
On Tue, Feb 23, 1999 at 08:55:43AM -0000, John Conover wrote:
>
> There was a message earlier today concerning the machine resources
> required for log files when using tcpserver//var/qmail/bin/splogger.
>
> Shouldn't it be possible for tcpserver to use individual logs per
> service, through another logging mechanism. Something like:
>
> tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \
> myservice /wherever/myprogram 2>&1 | mylogger > mylogfile &
>
> where mylogger is like cat(1), but with a better permissions/ownership
> structure? (Or, maybe, ... 2>&1 > mylogfile & would work, too. Anyone
> tried it?)
DJB's daemontools package has just such an animal, called cyclog. I use it for
all of my qmail logging.
ftp://koobera.math.uic.edu/www/software/daemontools-0.53.tar.gz
Chris
On Tue, Feb 23, 1999 at 08:55:43AM -0000, John Conover wrote:
> There was a message earlier today concerning the machine resources
> required for log files when using tcpserver//var/qmail/bin/splogger.
>
> Shouldn't it be possible for tcpserver to use individual logs per
> service, through another logging mechanism. Something like:
>
> tcpserver -R -v -x tcp.cdb -u 123 -g 456 0 \
> myservice /wherever/myprogram 2>&1 | mylogger > mylogfile &
>
> where mylogger is like cat(1), but with a better permissions/ownership
> structure? (Or, maybe, ... 2>&1 > mylogfile & would work, too. Anyone
> tried it?)
Somebody else has already suggested cyclog from the daemontools package
from DJB. For the cases where you want to send all the output to a
single file, I wrote qfilelog, available at:
http://www.qcc.sk.ca/~bguenter/distrib/qlogtools/
It has the additional feature of closing and re-opening its output file
when sent a HUP, for doing periodic log rotation.
--
Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED]
Phone: (306)249-0220 WWW: http://www.qcc.sk.ca/~bguenter/
Hi.
Does Qmail supports ETRN ? Do you have any link ?
Thank you for your answer and your experiences.
On Tue, Feb 23, 1999 at 06:00:22PM +0100, Dimitri SZAJMAN wrote:
> Hi.
>
> Does Qmail supports ETRN ? Do you have any link ?
>
> Thank you for your answer and your experiences.
No, but if you install the serialmail package by DJB, you can use AUTOTURN.
Get serialmail from:
ftp://koobera.math.uic.edu/pub/software/serialmail-0.75.tar.gz
--
Anand
System Administrator
Africa Online Ltd
http://www.anand.org
Hi.
Does Qmail supports ETRN ? Do you have any link ?
Thank you for your answer and your experiences.
hello,
am sure that this has been discussed here a gadzillion times, an i hope
one more time would not be so bad :)
how does one go about limiting the number of recipients in the 'CC:" /
"BCC:" fields? i don't want any of my subscribers to spam to the outside
world.
at least this way, they would at least be discouraged to do so.
-marlon
may i even sugest that a good idea would be a log monitor (such as swatch)
that can watch for a message ID and see how many remote addresses it is
being sent to, and alert the admin if it is over $MAXwhatever rcpt's.
i know i have found MANY MANY spammers from just switching VC's to see
tons of remote email for one message, the cool part is finding their
modem, pulling it, and waiting for them to call too.
anyway, just a thought.
later
end
\\ Greg Albrecht ([EMAIL PROTECTED]) \\
\\ Safari Internet (www.safari.net) \\
\\ 1-888-537-9550 ([EMAIL PROTECTED]) \\
On Wed, 24 Feb 1999, Marlon Anthony Abao wrote:
> hello,
> am sure that this has been discussed here a gadzillion times, an i hope
> one more time would not be so bad :)
>
> how does one go about limiting the number of recipients in the 'CC:" /
> "BCC:" fields? i don't want any of my subscribers to spam to the outside
> world.
> at least this way, they would at least be discouraged to do so.
>
> -marlon
>
On Wed, Feb 24, 1999 at 12:25:24AM +0800, Marlon Anthony Abao wrote:
> hello,
> am sure that this has been discussed here a gadzillion times, an i hope
> one more time would not be so bad :)
>
> how does one go about limiting the number of recipients in the 'CC:" /
> "BCC:" fields? i don't want any of my subscribers to spam to the outside
> world.
> at least this way, they would at least be discouraged to do so.
You can try patching qmail-smtpd to support tarpitting. This lets you insert a
delay after each recipient that the sender supplies after some set number of
recipients. If you insert, say, a five-second delay for each recipient after
the fiftieth, one of your users would have a hard time sending a message to
10,000 recipients. (This assumes that these messages are being injected by
SMTP.)
See http://www.palomine.net/qmail/tarpit.html
Chris
Forgive me if this seems a basic question.
We have a Linux server and use Outlook clients.
>From time to time, it is important to nbe able to telnet in and use PINE to
read mail.
Is there a way for messages that have been sent from the Outlook clients to
have copies kept on the server? That way, if telnetting in, we can see what
we have sent in the last few weeks as well as what we have recieved.
All help appreciated.
Patrick Kirk of Enterprise HR
Tel: 0044 118 939 1122 Web: http://www.enterprise-hr.com
I have the following setup :
A basic virtual domain. Everything goes to
the .qmail-default apart from a few .qmail-users
that redirects the mail to another server.
I am receiving tons of spam on one of those
.qmail-users. Is there any way to delete messages
that are sent to .qmail-user ???
-S
On Tue, Feb 23, 1999 at 09:35:24AM -0800, Sebastian Knoop-Troullier wrote:
> A basic virtual domain. Everything goes to
> the .qmail-default apart from a few .qmail-users
> that redirects the mail to another server.
> I am receiving tons of spam on one of those
> .qmail-users. Is there any way to delete messages
> that are sent to .qmail-user ???
Put in a single # in the .qmail-users file, and mail to that address will be
blackholed.
--
Anand
System Administrator
Africa Online Ltd
http://www.anand.org
I just finished setting up Qmail for our POP3 and SMTP servers. How can I
set it up so that only people who are dialed up to us can use us for an
SMTP server? We have had some problems with people on competitors using us
for an anonymous relay system. I want it so only people with our IP
address can use this server. I've heard some stuff about denying direct
telnet access to 25.....is this possible?
On Tue, 23 Feb 1999, MountaiNet Tech Support wrote:
> I just finished setting up Qmail for our POP3 and SMTP servers. How can I
> set it up so that only people who are dialed up to us can use us for an
> SMTP server? We have had some problems with people on competitors using us
> for an anonymous relay system. I want it so only people with our IP
> address can use this server. I've heard some stuff about denying direct
> telnet access to 25.....is this possible?
>
Michael Samuel's
http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
regards
-Abel Lucano
[EMAIL PROTECTED]
>Michael Samuel's
>http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
I followed his instructions on Configuring Qmail to be a Selective Relay
but had problems with one step. The command is:
# sed 's/:.*//' < virtualdomains | cat - locals | sort > rcpthosts
But when I run it, I get:
bash: virtualdomains: No such file or directory
Any ideas?
On Tue, 23 Feb 1999, MountaiNet Tech Support wrote:
>
> I followed his instructions on Configuring Qmail to be a Selective Relay
> but had problems with one step. The command is:
> # sed 's/:.*//' < virtualdomains | cat - locals | sort > rcpthosts
> But when I run it, I get:
> bash: virtualdomains: No such file or directory
> Any ideas?
>
don't you use virtualdomains?
just define your rcpthosts file (domains that your mailserver accept mails
for - your choice-) and continue with the instructions
regards
-Abel Lucano
[EMAIL PROTECTED]
At 04:04 PM 2/23/99 +0000, Abel Lucano wrote:
>On Tue, 23 Feb 1999, MountaiNet Tech Support wrote:
>
>>
>> I followed his instructions on Configuring Qmail to be a Selective Relay
>> but had problems with one step. The command is:
>> # sed 's/:.*//' < virtualdomains | cat - locals | sort > rcpthosts
>> But when I run it, I get:
>> bash: virtualdomains: No such file or directory
>> Any ideas?
>>
>don't you use virtualdomains?
And did you cd to /var/qmail/control first? (I don't believe I'm asking that
question).
Regards.
On Tue, Feb 23, 1999 at 01:15:21AM -0800, Russell Evans wrote:
> Is it possible to use Bruce Guenter's QMAILQUEUE to hold sent mail in a
> queue until the user authenticated him or herself via pop. I was thinking a
> program could be called to dump the mail in the queue and send back a
> notification to the sender on authorization failure.
It is certainly possible, if not somewhat difficult, to do this. The
biggest problem that I've encountered in implementing things like this
is that the envelope information is sent *after* the message is
completed instead of *before*. What you would need to do is:
- send the message to a temporary file
- read the sender address from the envelope
- determine if that sender has been authenticated
- if so, send the message to qmail-queue, followed by the envelope
- otherwise, send the envelope to a temporary file as well
- when the user authenticates with POP, check for temporary files that
would be caused by that user and deliver them to qmail-queue
There are several obvious holes in this, though. What if the user never
authenticates, or sends piles of mail before authenticating? This could
become a big DOS attack. Ownership also becomes sticky, as the files
delivered through the QMAILQUEUE mechanism would be owned by whatever
user executes qmail-smtpd (which should not be root), while the program
that would feed off the authentication would run as that user, making
the files unreadable. How and where do you create secure temporary
files?
--
Bruce Guenter, QCC Communications Corp. EMail: [EMAIL PROTECTED]
Phone: (306)249-0220 WWW: http://www.qcc.sk.ca/~bguenter/
are the messages from the addresses in /var/qmail/control/badmailfrom
automatically bounced or do they just go to /dev/null?
I'm not aware where all those spam go.
TIA
--
k e c h i e
"It's now safe to turn off your computer" means computing was unsafe
before it appeared. -- m e
On Wed, Feb 24, 1999 at 02:57:19AM +0800, [EMAIL PROTECTED] wrote:
> are the messages from the addresses in /var/qmail/control/badmailfrom
> automatically bounced or do they just go to /dev/null?
The sender is rejected at the SMTP level. The sender says:
MAIL FROM:<[EMAIL PROTECTED]>
and qmail-smtpd responds:
553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
End of story.
Chris
> On Wed, Feb 24, 1999 at 02:57:19AM +0800, [EMAIL PROTECTED] wrote:
> > are the messages from the addresses in /var/qmail/control/badmailfrom
> > automatically bounced or do they just go to /dev/null?
>
> The sender is rejected at the SMTP level. The sender says:
>
> MAIL FROM:<[EMAIL PROTECTED]>
>
> and qmail-smtpd responds:
>
> 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
>
> End of story.
Is there anyway to have qmail use badmailfrom on the from line in the
header? The spammers are forging the envelopes so the envelopes are
pretty useless these days for filtering.
(I've always referred to the "From " line as the envelope sender and
called the "From:" line in the header the header from line.)
--
Richard Shetron [EMAIL PROTECTED] [EMAIL PROTECTED]
What is the Meaning of Life?
There is no meaning,
It's just a consequence of complex carbon based chemistry; don't worry about it
The Super 76, "Free Aspirin and Tender Sympathy", Las Vegas Strip.
On Tue, Feb 23, 1999 at 02:02:35PM -0500, Richard Shetron wrote:
> > On Wed, Feb 24, 1999 at 02:57:19AM +0800, [EMAIL PROTECTED] wrote:
> > > are the messages from the addresses in /var/qmail/control/badmailfrom
> > > automatically bounced or do they just go to /dev/null?
> >
> > The sender is rejected at the SMTP level. The sender says:
> >
> > MAIL FROM:<[EMAIL PROTECTED]>
> >
> > and qmail-smtpd responds:
> >
> > 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
> >
> > End of story.
>
> Is there anyway to have qmail use badmailfrom on the from line in the
> header? The spammers are forging the envelopes so the envelopes are
> pretty useless these days for filtering.
Nope. qmail-smtpd doesn't look at the address headers.
For this task you'll probably need a mail delivery agent with filtering like
maildrop or procmail.
Chris
>
> MAIL FROM:<[EMAIL PROTECTED]>
>
Is there anyway to have qmail use badmailfrom on the from line in the
header? The spammers are forging the envelopes so the envelopes are
pretty useless these days for filtering.
The From line *is* the envelope sender, which is coming from the MAIL
FROM during the smtp conversation. It is not the From: header.
Mate
>
> Is there anyway to have qmail use badmailfrom on the from line in the
> header? The spammers are forging the envelopes so the envelopes are
> pretty useless these days for filtering.
Nope. qmail-smtpd doesn't look at the address headers.
For this task you'll probably need a mail delivery agent with filtering like
maildrop or procmail.
What the original post said does not make much sense: the From line
*is* the envelope sender's address.
Mate
From: Mate Wierdl <[EMAIL PROTECTED]>
:What the original post said does not make much sense: the From line
:*is* the envelope sender's address.
No it's not. If I put [EMAIL PROTECTED] in my badmailfrom, I
will still get messages that you send to the qmail list. But those messages
will still say:
From: Mate Wierdl <[EMAIL PROTECTED]>
The envelope sender will be:
[EMAIL PROTECTED]
--Adam
From: Mate Wierdl <[EMAIL PROTECTED]>
:What the original post said does not make much sense: the From line
:*is* the envelope sender's address.
No it's not. If I put [EMAIL PROTECTED] in my badmailfrom, I
will still get messages that you send to the qmail list. But those messages
will still say:
From: Mate Wierdl <[EMAIL PROTECTED]>
The envelope sender will be:
[EMAIL PROTECTED]
I do not understand what you are talking about: I am talking about
>From line, not From: header.
Mate
From: Mate Wierdl <[EMAIL PROTECTED]>
:I do not understand what you are talking about: I am talking about
:From line, not From: header.
The other guy wants badmailfrom to work on the From: line. Not the From:
header (i.e. the From: line in the body of the message) At least that's how
I understood his question. Basically the answer is that qmail doesn't do
that. I am pretty sure maildrop does though.
:Mate
--Adam
Richard Shetron writes:
> Is there anyway to have qmail use badmailfrom on the from line in the
> header?
Yes. Write the code to do it. As a guideline, use my patch,
http://www.geocities.com/SiliconValley/Peaks/5799/qmail-uce.html
> The spammers are forging the envelopes so the envelopes are
> pretty useless these days for filtering.
The From: header is equally forged, so you won't gain much, unless you
perform an overall syntax check on the header - i.e. bounce if the From:
header is missing, or doesn't appear to have anything that can ever be
possibly valid in any kind of a situation whatsoever.
--
Sam
Our existing mail server user /var/spool/mail/username for mail storage. I
just installed qmail and use Maildir for delivery. I need a way to move
all of the mail on the existing server to the new one. The current mail
server seperates mail by a From header like this:
>From [EMAIL PROTECTED] Tue Feb 23 17:24:52 1999
The new server uses Maildir storage so each message is listed as a seperate
file in the user's Maildir. Does anyone have a script that would read each
box in /usr/var/spool/mail/ on the old server and re-mail them to the
user's account on the new server? Does this make since?
On Tue, Feb 23, 1999 at 02:01:54PM -0500, MountaiNet Tech Support wrote:
> Our existing mail server user /var/spool/mail/username for mail storage. I
> just installed qmail and use Maildir for delivery. I need a way to move
> all of the mail on the existing server to the new one. The current mail
> server seperates mail by a From header like this:
> >From [EMAIL PROTECTED] Tue Feb 23 17:24:52 1999
> The new server uses Maildir storage so each message is listed as a seperate
> file in the user's Maildir. Does anyone have a script that would read each
> box in /usr/var/spool/mail/ on the old server and re-mail them to the
> user's account on the new server? Does this make since?
Check the Maildir department on http://www.qmail.org. There are a couple of
perl scripts there that do what you want.
Chris
www.qmail.org, read, and becoming informed on the myriad of ways to make
this transition, simply and painlessly.
On Tue, 23 Feb 1999, MountaiNet Tech Support wrote:
> Our existing mail server user /var/spool/mail/username for mail storage. I
> just installed qmail and use Maildir for delivery. I need a way to move
> all of the mail on the existing server to the new one. The current mail
> server seperates mail by a From header like this:
> >From [EMAIL PROTECTED] Tue Feb 23 17:24:52 1999
> The new server uses Maildir storage so each message is listed as a seperate
> file in the user's Maildir. Does anyone have a script that would read each
> box in /usr/var/spool/mail/ on the old server and re-mail them to the
> user's account on the new server? Does this make since?
>
Our existing mail server user /var/spool/mail/username for mail storage. I
just installed qmail and use Maildir for delivery. I need a way to move
all of the mail on the existing server to the new one. The current mail
server seperates mail by a From header like this:
>>From [EMAIL PROTECTED] Tue Feb 23 17:24:52 1999
The new server uses Maildir storage so each message is listed as a seperate
file in the user's Maildir. Does anyone have a script that would read each
box in /usr/var/spool/mail/ on the old server and re-mail them to the
user's account on the new server? Does this make since?
Instead, you might want to use Russell Nelson's convert and create
script from www.qmail.org. Mount temporarily the dir containing the
new Maildirs via nfs .
Mate
Hello,
I want to have the following setup: I have a server that I want to not to
have any e-mail setup by default. I just want e-mail for the virtual
domains. In other words, I don't want the users and accounts on my box to
have e-mail by default, only if I allow them to via a virtual domain (all
others will bounce).
I have the setup almost up, by putting:
- control/defaultdomain
127.0.0.1
- control/locals
localhost
127.0.0.1
- control/me
127.0.0.1
Then I have all my domains in control/rcpthosts and control/virtualdomains.
I had to make it 127.0.0.1 instead of localhost because qmail detects if
there is no dot in an e-mail, and appends default domain (resulting in
localhost.localhost).
When I send mail to just "robertw", it appends 127.0.0.1, and mail
processes. When I send mail to [EMAIL PROTECTED], it forwards it to
[EMAIL PROTECTED] because of the qmail file. So all seems well there.
The problem is when you look at the SMTP greeting, it says 127.0.0.1. I
changed that with the control/smtpgreeting. But now when a bounce message
is sent, it says it came from 127.0.0.1... which is not what I want. This
happens elsewhere too.
Anyways, I am even on the right path to getting this set up correctly? I
want a dummy server, that is not really a host in and of itself.
Thanks,
Robert S. Wojciechowski Jr.
[EMAIL PROTECTED]
Robert Wojciechowski Jr. wrote/schrieb/scribsit:
> - control/defaultdomain
> 127.0.0.1
>
> - control/locals
> localhost
> 127.0.0.1
>
> - control/me
> 127.0.0.1
> Anyways, I am even on the right path to getting this set up correctly?
> I want a dummy server, that is not really a host in and of itself.
The box _must_ have a hostname after all. Stick it into me, delete
any other config files apart from virtualdomains and rcpthosts and you're
set.
Stefan
Ok, I have it working well now, just one quirk (dunno if it's a bug).
I have my main mail server name in control/me, and no other files except
virtualhosts and rcpthosts.
I have the following .qmail files:
.qmail-domain-root // for domain.com
.qmail-anotherdom-root // for anotherdom.com
domain.com is the name of the mail server (mail.domain.com located in
control/me)
Ok, mail to [EMAIL PROTECTED] works as expected. But mail to
[EMAIL PROTECTED] bounces! Why? I have it handled here I thought. It must
have something to do with the fact that my control/me file says
"mail.domain.com".
Thanks.
Robert S. Wojciechowski Jr.
[EMAIL PROTECTED]
-----Original Message-----
From: Stefan Paletta [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 23, 1999 3:15 PM
To: Robert Wojciechowski Jr.
Cc: [EMAIL PROTECTED]
Subject: RE: Virtual Domains Setup
Robert Wojciechowski Jr. wrote/schrieb/scribsit:
> - control/defaultdomain
> 127.0.0.1
>
> - control/locals
> localhost
> 127.0.0.1
>
> - control/me
> 127.0.0.1
> Anyways, I am even on the right path to getting this set up correctly?
> I want a dummy server, that is not really a host in and of itself.
The box _must_ have a hostname after all. Stick it into me, delete
any other config files apart from virtualdomains and rcpthosts and you're
set.
Stefan
Hi,
I'm trying to figure out how the time stamping mechanism works for
messages which propogate the internet. I have been looking for a
tutorial but found none. The archives provided help, and man datetime
did not. I'm in one timezone and my mailserver in another, so have been
able to do some testing. Here are conclusions I've made based on the
results of my testing.
- The sending e-mail client sets the definitive time stamp in the
message header (Date:)
- The receiving e-mail client uses the Date: field for minutes and
seconds, but adjusts the hour according to the timezone changes
associated with the server hops recorded in the header?
Ok have your laugh, but how the hell else is the minute field conserved
(per what the sending client entered), yet the message arrives with the
correct local hour.
- I changed the localtime setting on the mailserver (in the other
timezone), but it didn't effect the arrival time shown within my mail
client? That is because qmail always lives in GMT, no?
And what if you have mail users who pop your server from different
timezones?
Cheers - eric
- Eric Dahnke <[EMAIL PROTECTED]>:
| I'm trying to figure out how the time stamping mechanism works for
| messages which propogate the internet. [...]
|
| - The sending e-mail client sets the definitive time stamp in the
| message header (Date:)
Note that a correctly formatted Date: field contains the time zone, so
any program can convert it to UTC (GMT) or their own local time zone.
Also, note that most machines through which the message passes add a
Received: field with a time stamp (same rules).
| - The receiving e-mail client uses the Date: field for minutes and
| seconds, but adjusts the hour according to the timezone changes
| associated with the server hops recorded in the header?
No, if the client and its host are set up correctly, they know what
time zone you're in, so it adjusts the time shown accordingly.
| - I changed the localtime setting on the mailserver (in the other
| timezone), but it didn't effect the arrival time shown within my mail
| client? That is because qmail always lives in GMT, no?
It's that time zone indication in the Date: field again.
| And what if you have mail users who pop your server from different
| timezones?
Not a problem at all, as long as all the software operates properly.
This is not really a qmail issue - it applies to all kinds of mail
software. So this list is not really the place for any lengthy
discussion of these issues, methinks.
- Harald
Eric Dahnke writes:
> Ok have your laugh, but how the hell else is the minute field conserved
> (per what the sending client entered), yet the message arrives with the
> correct local hour.
The Date: header includes the timezone of the sender. The client that
reads the message can use it to calculate the equivalent local time.
P.S. There are some timezones which are off by :30, and for those odd
messages you'll see the time being correctly adjusted by the half hour (in
addition to the whole hour increment/decrement).
> - I changed the localtime setting on the mailserver (in the other
> timezone), but it didn't effect the arrival time shown within my mail
> client? That is because qmail always lives in GMT, no?
No. Probably because your mail client might be buggy, or fixed for a
specific time zone only.
> And what if you have mail users who pop your server from different
> timezones?
The responsibility for any time zone corrections rest with whatever E-mail
client the user is running. It is the one that displays the date.
Of course, it is possible to have an MTA read the Date: header and convert
it to a local time too.
--
Sam
Finally, we are running qmaiil on all our mail servers, so thanks to
everyone here who has helped me figure stuff out. It's mostly going ok,
and there were no major customer hassles after the switchover. We have
noticed that performance has increased dramatically. We are using
inhouse LDAP patches to do our user/password lookups, so I will post our
patches when our site has been cleaned up (They are nothing on the scale
of Andres though, but they may be useful to someone), and we are over
any teething problems.
We did have one issue by the way, and I'm curious if anyone else has
experienced this. We are running the main mail server on Linux. When we
tried to upgrade before, I found that qmail-popup sessions were not
timing out. This time around I found (with strace) that the select call
in timeoutread and timeoutwrite was counting down to zero, but then it
was resettting to the original timeout value somehow. So, it would never
exit! At the moment I have made a hack to fix this, but I really need to
know if there is a "proper" solution to this issue. I can post more
details if anyone wants.
Regards,
Richard Aldridge,
Internet Systems Engineer,
Cable Internet.
>timing out. This time around I found (with strace) that the select call
>in timeoutread and timeoutwrite was counting down to zero, but then it
>was resettting to the original timeout value somehow. So, it would never
>exit! At the moment I have made a hack to fix this, but I really need to
>know if there is a "proper" solution to this issue. I can post more
>details if anyone wants.
It might be worth posting the relevant strace output.
Regards.
Has anyone done this? I have a line such as:
Mydomain.com:alias-mydomain
In my virtualusers... then in the ~/alias directory, I have normal
.qmail-mydomain* files. Now I want to setup ezmlm on that domain. Do I
have to make a controlling user besides alias for ezmlm? What I need I
suppose is a way to forward all mail to alias-mydomain to user-mydomain
preserving the extension! So:
alias-user -list-blah will be forwarded to user-list-blah.
Is there a special forward type that will rewrite and forward for .qmail
files?
I need this because one person does not control a virtual domain here, and I
want each user to be able to make their own lists.
Robert S. Wojciechowski Jr.
[EMAIL PROTECTED]
Justin M Streiner <[EMAIL PROTECTED]> writes:
> On Tue, 23 Feb 1999, Mark Delany wrote:
>> Correct. As long as you run all of your services via tcpserver.
> Too bad similar protection isn't currently available for udp and RPC
> services :-)
Most UDP services run from inetd run with the "wait" option, which means
that as long as new requests are coming in, the one forked daemon handles
them all.
--
Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>
Hi,
I've
just installed qmail on RH 5.2.. new to linux, bit of a struggle,
but it
all
seems to work now.
My
real problem is as follows. I'm a freelance consultant
who
be part of a friend's company.
I
already have mail forwarded to me from a sendmail system
that handles
[EMAIL PROTECTED]
The
problem is that when I reply, the reply address that is attached by
Outlook (don't start!) is [EMAIL PROTECTED] And if I
send a new
message to that contact, the same problem
occurs.
So, I
would like to create an outgoing mail filter in Qmail that looks up
remote destination host domains in a small list, and rewrites
any
Is
this possible? How?
Thanks
for any help
Regards
Martin
Green
Why not set up, for each domain an alias, and then do the filtering in
the alias file. This would mean though that even if you reply to a
message, you would need to send the message to the alias.
Here is what I mean. For the domain dom.com, (for which you want to
appear as [EMAIL PROTECTED]), create the file
~martin/.qmail-dom-default
with (all on one line)
|reformail -I"From: [EMAIL PROTECTED]"
-I"Reply-To: [EMAIL PROTECTED]" |
forward $[EMAIL PROTECTED]
This would make sure that if you address a message to martin-dom-joe,
then it will be forwarded to [EMAIL PROTECTED] with the From: and the Reply-To:
appropriately rewritten.
If it is a concern, you can always rewrite the To: header as well
adding
-I"To: $[EMAIL PROTECTED]"
This is not perfect, since maybe you are cc-ing a message to
[EMAIL PROTECTED]
reformail is part of the maildrop package.
Mate
I have a few users who I was using /etc/aliases for under sendmail and need
to know how to do those on my qmail system. I seen that I could use my
existing /etc/aliases, but I really didnt wanna do that, wanted to know how
qmail did this by default.....thanks again!
On Tue, Feb 23, 1999 at 07:33:07PM -0500, MountaiNet Tech Support wrote:
> I have a few users who I was using /etc/aliases for under sendmail and need
> to know how to do those on my qmail system. I seen that I could use my
> existing /etc/aliases, but I really didnt wanna do that, wanted to know how
> qmail did this by default.....thanks again!
Need to read the docs; man dot-qmail, in particular.
--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Howdy!
I'm running qmail 1.03 on a RedHat 5.1 (2.0.34 kernel, glibc) system,
with the vchkpw single-uid package to handle our virtual domains. The
package and qmail are working wonderfully :-)
I'd like to set up a web page to monitor common mail stat's, essentially
"qmHandle -l" and "qmHandle -s" with the idea to eventually set up a
CGI-based qmHandle queue-handling facility.
qmHandle works, when run as root as intended. Off course, Apache runs
as nobody, as when qhHandle is run as nobody, line 16 of the perl
script:
@dirlist = split (/\n/, `ls -1 -R ${queue}remote`);
Generates:
[nobody@vmail bin]$ qmHandle -l
ls: /var/qmail/queue/remote: Permission denied
ls: /var/qmail/queue/local: Permission denied
Naturally, this is because "nobody" does not have permissions on the
queue.
Any idea's on how to (safely) allow an SSI like "<!--#exec
cmd="/var/qmail/bin/qmHandle -l" -->" to run as nobody?
-Tillman Hodgson
I got four messages like these. Can anybody tell me what is going on?
Mate
----- Forwarded message from [EMAIL PROTECTED] -----
Delivered-To: [EMAIL PROTECTED]
Date: 23 Feb 1999 23:06:46 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Hi. This is the qmail-send program at muncher.math.uic.edu.
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]>:
ezmlm-send: fatal: this message is looping: it already has my Delivered-To line
(#5.4.6)
--- Below this line is a copy of the message.
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 131 invoked from network); 23 Feb 1999 23:06:45 -0000
Received: from relay1.pair.com (HELO relay.pair.com) (209.68.1.20)
by muncher.math.uic.edu with SMTP; 23 Feb 1999 23:06:45 -0000
Received: from dragonware.de ([EMAIL PROTECTED] [149.228.132.183])
by relay.pair.com (8.8.7/8.8.5) with SMTP id SAA15985
for <[EMAIL PROTECTED]>; Tue, 23 Feb 1999 18:05:03 -0500 (EST)
Received: (qmail 4652 invoked by uid 0); 23 Feb 1999 22:50:58 -0000
Received: from muncher.math.uic.edu (muncher.math.uic.edu [131.193.178.181]) by
harma.pair.com (8.9.1/8.6.12) with SMTP id QAA14634 for
<[EMAIL PROTECTED]>; Tue, 23 Feb 1999 16:02:20 -0500 (EST)
X-Envelope-To: <[EMAIL PROTECTED]>
Received: (qmail 11024 invoked by uid 1002); 23 Feb 1999 21:01:19 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 23448 invoked from network); 23 Feb 1999 21:01:18 -0000
Received: from wierdlmpc.msci.memphis.edu ([EMAIL PROTECTED])
by muncher.math.uic.edu with SMTP; 23 Feb 1999 21:01:18 -0000
Received: (qmail 19350 invoked by uid 500); 23 Feb 1999 21:10:10 -0000
Message-ID: <[EMAIL PROTECTED]>
Mail-Followup-To: [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: MountaiNet Tech Support <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Moving mail
In-Reply-To: Message from MountaiNet Tech Support <[EMAIL PROTECTED]>
of "Tue, 23 Feb 1999 14:01:54 EST." <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Date: Tue, 23 Feb 1999 15:10:09 -0600
From: Mate Wierdl <[EMAIL PROTECTED]>
X-UIDL: f0eb5a8c99d61bf6379a3a2ffba98dac
Our existing mail server user /var/spool/mail/username for mail storage. I
just installed qmail and use Maildir for delivery. I need a way to move
all of the mail on the existing server to the new one. The current mail
server seperates mail by a From header like this:
>>From [EMAIL PROTECTED] Tue Feb 23 17:24:52 1999
The new server uses Maildir storage so each message is listed as a seperate
file in the user's Maildir. Does anyone have a script that would read each
box in /usr/var/spool/mail/ on the old server and re-mail them to the
user's account on the new server? Does this make since?
Instead, you might want to use Russell Nelson's convert and create
script from www.qmail.org. Mount temporarily the dir containing the
new Maildirs via nfs .
Mate
----- End forwarded message -----
--
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Once upon a midnight dreary, Mate Wierdl had spoken clearly:
>I got four messages like these. Can anybody tell me what is going on?
[snip]
>Hi. This is the qmail-send program at muncher.math.uic.edu.
>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]>:
>ezmlm-send: fatal: this message is looping: it already has my Delivered-To
line (#5.4.6)
Any chance that someone, somehow, subscribed [EMAIL PROTECTED] to the
qmail mailing list???
Just a thought...
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.
Mate Wierdl <[EMAIL PROTECTED]> writes:
| I got four messages like these. Can anybody tell me what is going on?
It looks like Thorsten Wasmann has a very broken forwarding program
installed. It sees messages addressed to you and to the qmail list
(which is where he got them in the first place), and apparently
forwards them to you in addition to whatever else it should be doing.
I got a bunch of them too, until I finally blocked relay1.pair.com
(DATABYTES=1, since qmail-smtpd doesn't have a way to bounce a message
cleanly.)
what it looks like is that he has his .qmail file pointing back to
[EMAIL PROTECTED]
When messages come in for him, they get sent right back to the list, w/o any
of the headers changing... So the qmail list thinks it came from the person
who posted it..
--Adam
Scott Schwartz writes:
> I got a bunch of them too, until I finally blocked relay1.pair.com
> (DATABYTES=1, since qmail-smtpd doesn't have a way to bounce a message
> cleanly.)
Cute. I like it. Only, the message the user gets back is confusing.
If you add the following four lines to qmail-smtpd, you can then put a
message into the RCPT TO: response by setting BOUNCEMAIL="553 Go Away".
-russ
diff -u qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c
--- qmail-1.03.orig/qmail-smtpd.c Mon Jun 15 05:53:16 1998
+++ qmail-1.03/qmail-smtpd.c Wed Jul 22 20:50:21 1998
@@ -51,6 +51,7 @@
void err_bmf() { out("553 sorry, your envelope sender is in my badmailfrom list
(#5.7.1)\r\n"); }
void err_nogateway() { out("553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)\r\n"); }
+void err_maps(char *m) { out(m);out("\r\n"); }
void err_unimpl() { out("502 unimplemented (#5.5.1)\r\n"); }
void err_syntax() { out("555 syntax error (#5.5.4)\r\n"); }
void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
@@ -81,6 +82,7 @@
char *remoteinfo;
char *local;
char *relayclient;
+char *bouncemail;
stralloc helohost = {0};
char *fakehelo; /* pointer into helohost, or 0 */
@@ -131,6 +133,7 @@
if (!remotehost) remotehost = "unknown";
remoteinfo = env_get("TCPREMOTEINFO");
relayclient = env_get("RELAYCLIENT");
+ bouncemail = env_get("BOUNCEMAIL");
dohelo(remotehost);
}
@@ -251,6 +254,7 @@
if (!seenmail) { err_wantmail(); return; }
if (!addrparse(arg)) { err_syntax(); return; }
if (flagbarf) { err_bmf(); return; }
+ if (bouncemail) { err_maps(bouncemail); return; }
if (relayclient) {
--addr.len;
if (!stralloc_cats(&addr,relayclient)) die_nomem();
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
Hi Guys!
Read all your Messages...
Thanks for your analysis and help... ;-(( (Best thing i read was to Patch
qmail-smtpd....)
Like:
From: "Scott Schwartz" <[EMAIL PROTECTED]
>Mate Wierdl <[EMAIL PROTECTED]> writes:
>| I got four messages like these. Can anybody tell me what is going on?
>It looks like Thorsten Wasmann has a very broken forwarding program
NO!!!!!! I have not! Its qmail-inject invoked by fetchmail 4.7.7
>installed. It sees messages addressed to you and to the qmail list
>(which is where he got them in the first place), and apparently
>forwards them to you in addition to whatever else it should be doing.
>I got a bunch of them too, until I finally blocked relay1.pair.com
>(DATABYTES=1, since qmail-smtpd doesn't have a way to bounce a message
>cleanly.)
OR:
>From: "Adam D. McKenna" <[EMAIL PROTECTED]>
snip..
>what it looks like is that he has his .qmail file pointing back to
>[EMAIL PROTECTED]
NO! It points to a local ./Maildir
>When messages come in for him, they get sent right back to the list, w/o
any
>of the headers changing... So the qmail list thinks it came from the
person
>who posted it..
Sure ?
>--Adam
th.
I just searched thorugh the archive looking for the
----
>Has anyone written a patch for Qmail 1.0.3 to reject mail if envelope sender
>domain can't be resolved?
Funny you should ask, not 15 minutes ago I upgraded to 1.0.3 using
such a patch. You want the patches from Jonathan Bradshaw mentioned
on www.qmail.org.
---
I cant seem to find this patch on the site... anyone?
--
/- [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/ ----------/
>>Has anyone written a patch for Qmail 1.0.3 to reject mail if envelope sender
>>domain can't be resolved?
>
>Funny you should ask, not 15 minutes ago I upgraded to 1.0.3 using
>such a patch. You want the patches from Jonathan Bradshaw mentioned
>on www.qmail.org.
I've been using them, and they work pretty well.
One bug I've found is that it doesn't properly handle domains with
a trailing dot. That is, this is rejected:
MAIL FROM:<[EMAIL PROTECTED]>
It looks easy enough to fix, but before I patch the patch, has
anyone already done it?
--
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl,
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail
On Tue, Feb 23, 1999 at 10:48:26PM -0500, John R. Levine wrote:
# >>Has anyone written a patch for Qmail 1.0.3 to reject mail if envelope sender
# >>domain can't be resolved?
# >
# >Funny you should ask, not 15 minutes ago I upgraded to 1.0.3 using
# >such a patch. You want the patches from Jonathan Bradshaw mentioned
# >on www.qmail.org.
#
# I've been using them, and they work pretty well.
#
I want to investigate them, but for the life of me cannot fine where ther
are!
--
/- [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/ ----------/
John R. Levine writes:
> I've been using them, and they work pretty well.
>
> One bug I've found is that it doesn't properly handle domains with
> a trailing dot. That is, this is rejected:
>
> MAIL FROM:<[EMAIL PROTECTED]>
>
> It looks easy enough to fix, but before I patch the patch, has
> anyone already done it?
example.com has no MX or A records.
For whatever it's worth, my code appears to accept a MAIL
FROM:<[EMAIL PROTECTED]> without too much difficulty. My code is based
on Lionel Widdifield's patch.
--
Sam
UNSUBSCRIBE !!!!!!
-----BEGIN PGP SIGNED MESSAGE-----
On Wed, 24 Feb 1999, KMJJKT wrote:
> UNSUBSCRIBE !!!!!!
To unsubscribe, send a message to:
[EMAIL PROTECTED]
( ______
)) .-- "There's always time for a good cup of coffee." --. >===<--.
C|~~| (>-- Jay D. Dyson -- [EMAIL PROTECTED] --<) | = |-'
`--' `-- As a matter of fact, I *am* a rocket scientist. --' `-----'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBNtN5Wbl5qZylQQm1AQEIFAP/YympxsEuTN85ERuJMwbzj2SUlk5srEv1
symkRnsSIt8ILCbDgjZ/JILMWOnRy7oOHTLOgvQaT/AGzAnYc1P3i9SBk/XnfI4M
1SU9IGYfQTuDZUEjBbb8NIc4iBKm5u4ZzmDvkbtuULvNUfRzoYDFtLpu7d8VkQDz
zJYjfs5u0P4=
=M3dk
-----END PGP SIGNATURE-----
Critical Path, which has 7 million mailboxes (last I knew) under qmail
control, is recruiting people with qmail experience. Contact Jerry for
more information.
-russ
p.s. I usually find recruiters to be a pain in the butt. But since
Jerry was so honest and up-front, I thought I'd give him the benefit
of the doubt.
Jerry Bires writes:
> Mr. Nelson,
>
> I'm Jerry Bires, a recruiter for TechSearch in Sausalito, California. I was
> doing research for a new client of mine in San Francisco which is an email
> outsourcing company and, as a result, requires of its software engineers, a
> knowledge of mail transfer agents especially Qmail.
>
> I don't know if I can be of service to you...or if I'm more of an annoyance,
> but you're a player in this technology sector and you may know of
> colleagues who might be interested in working thru me. As a former
> Youngstown, Ohio, resident who now lives in the Bay Area, I know many find
> this a desirable area to live. I guess if my client were in Omaha, I'd not
> have contacted you.
>
> The firm for whom I'm working is Critical Path (www.cpnet.com). Clearly
> anyone can bypass me, but I would rather be upfront about whom I'm speaking
> since I am sending an unsolicited message to you and hope that integrity
> wins out.
>
> Best,
> Jerry Bires
> 415-289-3962
>
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice | that freedom is the
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | cause of world peace.
Hotmail is using qmail, aren't they? They seem to be in great trouble
because all email for hotmail.com remains stuck in my queue. Or is it only
here, maybe a resolver problem?
hotmail use qmail for outbound only. I don't recall what they use for
inbound - which is where you're having problems.
Regards.
At 07:27 24/02/99 +0100, Van Liedekerke Franky wrote:
>Hotmail is using qmail, aren't they? They seem to be in great trouble
>because all email for hotmail.com remains stuck in my queue. Or is it only
>here, maybe a resolver problem?
>
>
On Wed, Feb 24, 1999 at 06:24:45PM +1100, Mark Delany wrote:
If I remember right, they were using zmailer for inbound. These days they
seem to have a second MX, which is stupid:
[/home/arb] % telnet mail2.hotmail.com 25
Trying 209.185.130.252...
Connected to mail2.hotmail.com.
Escape character is '^]'.
220-HotMail (NO UCE) ESMTP server ready at Tue Feb 23 23:48:36 1999
220 ESMTP spoken here
ehlo pasha.anand.org
500 Syntax error, command unrecognized
quit
221 Service closing transmission channel
Connection closed by foreign host.
An ESMTP server that doesn't understand EHLO !!
> hotmail use qmail for outbound only. I don't recall what they use for
> inbound - which is where you're having problems.
>
> Regards.
>
> At 07:27 24/02/99 +0100, Van Liedekerke Franky wrote:
> >Hotmail is using qmail, aren't they? They seem to be in great trouble
> >because all email for hotmail.com remains stuck in my queue. Or is it only
> >here, maybe a resolver problem?
--
Anand
System Administrator
Africa Online Ltd
http://www.anand.org
Hi,
is there a tool available to give a summary of what's in the queue?
Something like:
x mails queued for first.domain
xx mails queued for second.domain
yy mails deferred for third.domain
If not, I'll write one myself (using perl of course)
Franky
Hi,
I know there are several ways to check the queue:
1) use qmail-qstat
2) use qmHandle
3) use qmail-qread and do a "|grep remote|grep -v done" (less accurate,
perhaps?)
Now the strange thing is, all three give back different results (see
below). And now I wonder why.
And it's not that the difference is delivered mail, because I know
that's not the problem. I also know that qmail-qstat and qmHandle use a
different way of checking the queue, but they should give back the same
result.
hercules(root)/var/log/qmail> /var/qmail/bin/qmail-qread >/tmp/ttt
hercules(root)/var/log/qmail> grep remote /tmp/ttt|grep -v done|wc -l
248
hercules(root)/var/log/qmail> /var/qmail/bin/qmail-qstat
messages in queue: 228
messages in queue but not yet preprocessed: 0
hercules(root)/var/log/qmail> ~/qmHandle/qmHandle -s
Messages in local queue: 0
Messages in remote queue: 216
hercules(root)/var/log/qmail>
On Wed, Feb 24, 1999 at 07:56:09AM +0100, Franky Van Liedekerke wrote:
> Now the strange thing is, all three give back different results (see
> below). And now I wonder why.
> And it's not that the difference is delivered mail, because I know
> that's not the problem. I also know that qmail-qstat and qmHandle use a
> different way of checking the queue, but they should give back the same
> result.
>
> hercules(root)/var/log/qmail> /var/qmail/bin/qmail-qread >/tmp/ttt
> hercules(root)/var/log/qmail> grep remote /tmp/ttt|grep -v done|wc -l
> 248
This method has a flaw: The lines containing the sender will be
retained by the grep filter, if the sender has the word "remote" in them.
> hercules(root)/var/log/qmail> /var/qmail/bin/qmail-qstat
> messages in queue: 228
> messages in queue but not yet preprocessed: 0
This shows the number of messages in the queue, not how many remote and
local recipients each message has.
> hercules(root)/var/log/qmail> ~/qmHandle/qmHandle -s
> Messages in local queue: 0
> Messages in remote queue: 216
> hercules(root)/var/log/qmail>
I haven't used qmHandle, but I'm assuming it counts the numbers of
*recipients* waiting to be delivered to. So you may have 228 messages, but
some may have multiple recipients, and some of those may have been
delivered-to. qmHandle is reporting the number of pending deliveries, which
could be more or less than the number reported by qmail-qstat.
All this of course assuming that qmail-send is not running, otherwise your
results will change between queue checks as deliveries are completed.
--
Anand
System Administrator
Africa Online Ltd
http://www.anand.org
***Timing Is Everything***
Do you sit at home cruising the Net saying "This is a Gold Mine"?
Have You figured out how to mine the net yet?
Do you Really want to?
Are you Ready?
We are!,
We Have,
We Love it,
and we're willing to teach you!
The Internet is the wave of the future. To some worth Billions,
to others it will just be enough to pay their bills.
Some of us will get up and Do something. Others will watch.
If....and Only If,You are A Do'er,and ready to learn,
Reply with name.address,area code,phone number and the BEST time
to chat with you on the phone.
And a Little of why you are ready.
P.S ..This is Legal and NON Multi-Level, also it's NOT a Pyramid,
and it's NOT a scam...Its just SIMPLE common sense.
And What have you got to lose? A 20 min phone call...I pay for
that.
NO RESPONSE of any kind = REMOVAL.
Have A Great Day! :?)
Hi,
Is it possible to make qmail send mail, containing certain header line to
/dev/null?
I am espessialy intrested in killing mail containing 'X-Spanska: Yes'
Usually this mail contains only one file infected with the Backorifice stuff.
Um asking that because I want to make it globaly for the whole host.
I`ve read through the man pages for tcpserver, it seems that it can not do
that.
any pointers are welcome.
Pashah
--
http://www.spb.sitek.net/~pashah/public-key-0x97739141.pgp