qmail Digest 21 Jun 2000 10:00:01 -0000 Issue 1039
Topics (messages 43312 through 43366):
Hotmail 554 transaction failed
43312 by: Neil Chan
43315 by: Magnus Bodin
43332 by: Ben Beuchler
43334 by: Magnus Bodin
43360 by: Neil Chan
Re: queue notices
43313 by: wightman.acm.org
Maildir and pop3
43314 by: Sylwester S. Biernacki
Strange sender address rewriting...
43316 by: Sebastiaan van Erk
Qmail setup under high load: seeking advice
43317 by: Alex Povolotsky
43319 by: Magnus Bodin
43349 by: Irwan Hadi
Qmail on Irix 6.5.7
43318 by: Eric Davis
users dir are owned by root until mounted
43320 by: Henrik Hellerstedt
Re: virtual domain does not receive mails
43321 by: Luca Zancan
vmailmgr - listing users/aliases per domain,...
43322 by: Martin Langhoff
strange loop
43323 by: Yuliy Minchev
Re: Maildir..Reheated
43324 by: Dave Sill
Re: Bouncing Mail ?
43325 by: Dave Sill
43327 by: Jonathan Maier
43329 by: Charles Cazabon
43330 by: Magnus Bodin
43342 by: John White
Re: Need Help restarting qmail
43326 by: Dave Sill
43328 by: Brian Sweeney
43331 by: Hand, Brian C.
Trouble Starting qmail
43333 by: Tony Campisi
43337 by: Dave Kelly
43338 by: Tony Campisi
43340 by: Dave Kelly
Re: Migrating From NT/Imail to Qmail
43335 by: Chris Brick
43344 by: Andy Grimberg
New Qmail & Unix admin needs help
43336 by: Abdul Rehman Gani
43343 by: John White
virtualdomain
43339 by: Vladimir Horak
Re: delivery strangeness
43341 by: Tetsu Ushijima
dirmaker
43345 by: Ricardo D. Albano
qmail-smtpd and fetchmail
43346 by: crond
43354 by: Mikko H�nninen
SMTP port 25
43347 by: David Benfell
43348 by: Charles Cazabon
43350 by: David Benfell
43351 by: Irwan Hadi
43352 by: Chris Garrigues
43353 by: Charles Cazabon
mail received and lost; was SMTP port 25
43355 by: David Benfell
43359 by: clemensF
Never mind... Re: mail received and lost; was SMTP port 25
43356 by: David Benfell
43365 by: Vince
Blocking VB scripts from getting through qmail
43357 by: Martin Searancke
43362 by: Magnus Bodin
43364 by: Noel Mistula
Re: Debian GNU/Linux (potato) Packages: var-qmail
43358 by: Adam McKenna
For Qmail List Owner
43361 by: System Administrator
Re: Prefix on list mail (was: For Qmail List Owner)
43363 by: Magnus Bodin
urgent help required
43366 by: reach_prashant.zeenext.com
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]
----------------------------------------------------------------------
Hi,
I am getting strange qmail logs relating to hotmail. The MTA of hotmail
keep our mail accasionally with the following logs. The logs show that
our qmail mta failed with reason, "my_name_was_rejected",
"after_I_sent_the_message", "on_DATA_command" etc. Do anyone have idea?
Jun 20 08:49:48 qmailmta qmail: 961462188.481847 delivery 380: deferral:
Conn
ected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
Jun 20 11:17:11 qmailmta qmail: 961471031.714408 delivery 792: failure:
Connected_to_216.32.243.136_but_sender_was_rejected./Remote_host_said:_554_Transaction_failed/
Jun 20 11:29:19 qmailmta qmail: 961471759.354873 delivery 865:
failure:216.33.151.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
Jun 20 11:37:18 qmailmta qmail: 961472238.216237 delivery 970:
deferral:Connected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
Jun 20 12:29:52 qmailmta qmail: 961475392.224472 delivery 1143:
failure:216.32.243.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
Jun 20 14:13:08 gatekeepery qmail: 961481588.564355 delivery
1342:failure:
216.32.243.136_failed_on_DATA_command./Remote_host_said:_554_Transaction_failed/
Regards,
Neil
On Tue, Jun 20, 2000 at 06:17:15PM +0800, Neil Chan wrote:
> Hi,
>
> I am getting strange qmail logs relating to hotmail. The MTA of hotmail
> keep our mail accasionally with the following logs. The logs show that
> our qmail mta failed with reason, "my_name_was_rejected",
> "after_I_sent_the_message", "on_DATA_command" etc. Do anyone have idea?
>
> Jun 20 08:49:48 qmailmta qmail: 961462188.481847 delivery 380: deferral:
> Conn
>
>ected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
This is qmail-remote signalling that it doesn't get a 250 back when doing
HELO. The server name was rejected. Possibly by two reasons. The hostname
did not resolve or did not have a proper reverse DNS entry, or that the
hostname domain doesn't have any MX. The latter one is very silly indeed as
mail delivery should be done to the host if MX is lacking.
> Jun 20 11:17:11 qmailmta qmail: 961471031.714408 delivery 792: failure:
>
>Connected_to_216.32.243.136_but_sender_was_rejected./Remote_host_said:_554_Transaction_failed/
This is qmail-remote signalling that it doesn't get a 250 back when doing
MAIL FROM. The envelope sender was rejected.
> Jun 20 11:29:19 qmailmta qmail: 961471759.354873 delivery 865:
>
>failure:216.33.151.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
>
> Jun 20 11:37:18 qmailmta qmail: 961472238.216237 delivery 970:
>
>deferral:Connected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
>
> Jun 20 12:29:52 qmailmta qmail: 961475392.224472 delivery 1143:
>
>failure:216.32.243.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
>
> Jun 20 14:13:08 gatekeepery qmail: 961481588.564355 delivery
> 1342:failure:
> 216.32.243.136_failed_on_DATA_command./Remote_host_said:_554_Transaction_failed/
This must be some internal error on the remote MTA. Possibly that the
delivery failed due to problem when accessing the data storage etc.
/magnus
--
http://x42.com/
On Tue, Jun 20, 2000 at 01:28:11PM +0200, Magnus Bodin wrote:
> >
>ected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
>
> This is qmail-remote signalling that it doesn't get a 250 back when doing
> HELO. The server name was rejected. Possibly by two reasons. The hostname
> did not resolve or did not have a proper reverse DNS entry, or that the
> hostname domain doesn't have any MX. The latter one is very silly indeed as
> mail delivery should be done to the host if MX is lacking.
If you telnet to port 25 on that address, it doesn't look like it's even a
mail server. No SMTP greeting at all. Doesn't answer any commands,
either.
Ben
--
The spectre of a polity controlled by the fads and whims of voters who
actually believe that there are significant differences between Bud Lite
and Miller Lite, and who think that professional wrestling is for real, is
naturally alarming to people who don't.
-- Neal Stephenson
On Tue, Jun 20, 2000 at 10:51:04AM -0500, Ben Beuchler wrote:
> On Tue, Jun 20, 2000 at 01:28:11PM +0200, Magnus Bodin wrote:
>
> > >
>ected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
> >
> > This is qmail-remote signalling that it doesn't get a 250 back when doing
> > HELO. The server name was rejected. Possibly by two reasons. The hostname
> > did not resolve or did not have a proper reverse DNS entry, or that the
> > hostname domain doesn't have any MX. The latter one is very silly indeed as
> > mail delivery should be done to the host if MX is lacking.
>
> If you telnet to port 25 on that address, it doesn't look like it's even a
> mail server. No SMTP greeting at all. Doesn't answer any commands,
> either.
08:47;fluff:(~): telnet 216.32.243.136 25
Trying 216.32.243.136...
Connected to 216.32.243.136.
Escape character is '^]'.
220-HotMail (NO UCE) ESMTP server ready at Tue Jun 20 08:47:57 2000
220 ESMTP spoken here
Works fine here.
Couldn't replicate error though.
/magnus
--
http://x42.com/
Thanks for your information. We are upset by these error as users keep complaining
about it. From the log of a
particular day, it is found there is 7 failures and 7 deferral out of 42 delivery to
hotmail. It is strange as
the error is not consistent, sometimes it failed and bounced and somtimes it just work
well at all. At first
we suspect problem relating to DNS server reconfiguration but there is no rejection by
other domain because of
DNS lookup failures.
Do any one experience similar problems ?
Magnus Bodin wrote:
> On Tue, Jun 20, 2000 at 06:17:15PM +0800, Neil Chan wrote:
> > Hi,
> >
> > I am getting strange qmail logs relating to hotmail. The MTA of hotmail
> > keep our mail accasionally with the following logs. The logs show that
> > our qmail mta failed with reason, "my_name_was_rejected",
> > "after_I_sent_the_message", "on_DATA_command" etc. Do anyone have idea?
> >
> > Jun 20 08:49:48 qmailmta qmail: 961462188.481847 delivery 380: deferral:
> > Conn
> >
>ected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
>
> This is qmail-remote signalling that it doesn't get a 250 back when doing
> HELO. The server name was rejected. Possibly by two reasons. The hostname
> did not resolve or did not have a proper reverse DNS entry, or that the
> hostname domain doesn't have any MX. The latter one is very silly indeed as
> mail delivery should be done to the host if MX is lacking.
>
> > Jun 20 11:17:11 qmailmta qmail: 961471031.714408 delivery 792: failure:
> >
>Connected_to_216.32.243.136_but_sender_was_rejected./Remote_host_said:_554_Transaction_failed/
>
> This is qmail-remote signalling that it doesn't get a 250 back when doing
> MAIL FROM. The envelope sender was rejected.
>
> > Jun 20 11:29:19 qmailmta qmail: 961471759.354873 delivery 865:
> >
>failure:216.33.151.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
> >
> > Jun 20 11:37:18 qmailmta qmail: 961472238.216237 delivery 970:
> >
>deferral:Connected_to_216.32.243.136_but_my_name_was_rejected./Remote_host_said:_554_Transaction_failed/
> >
> > Jun 20 12:29:52 qmailmta qmail: 961475392.224472 delivery 1143:
> >
>failure:216.32.243.136_failed_after_I_sent_the_message./Remote_host_said:_554_Transaction_failed/
> >
> > Jun 20 14:13:08 gatekeepery qmail: 961481588.564355 delivery
> > 1342:failure:
> > 216.32.243.136_failed_on_DATA_command./Remote_host_said:_554_Transaction_failed/
>
> This must be some internal error on the remote MTA. Possibly that the
> delivery failed due to problem when accessing the data storage etc.
>
> /magnus
> --
> http://x42.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I wrote, at one time, an external perl program to handle this. It
should be available at www.qmail.org (search for my name). However,
please be aware of the following:
* This was written a long time ago.
* My coding skills were in their infancy.
* This was originally written for internal use.
* I have not had the opportunity to use qmail in an environment
where I would use this for over three years.
* Family obligations have increased since I wrote this.
What this means is:
* This does not use any standard bounce format (IIRC).
* Although not teriibly obsfucated, it is not the most
understandible perl code I have authored.
* It has not been really supported or updated in 3+ years.
* It will probably not be updated by me.
Although, from what I have heard, the site it was originally written
for is still using it successfully.
Brian
> Date: Mon, 19 Jun 2000 17:11:16 PDT
> To: [EMAIL PROTECTED]
> From: Jon Rust <[EMAIL PROTECTED]>
> Subject: queue notices
>
> I've seen a few mail systems notify users that mail hasn't been
> delivered when it's been queued for X number of days, but hasn't yet
> expired. Say your queuelifetime is set to 1 week. After a message
> hasn't delivered for 1 day, let the sender know that it hasn't and also
> that you (the mail server) will keep trying for another 6 days.
>
> Has anyone seen a patch like this? Any thoughts on implementing the idea?
>
> Thanks,
> jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5T0pVhVyYyj3CTLMRAoZXAJ4voOSeTN7EZEn6VS+XKIbYcVCQGgCgkyn0
f2pfSnIcuxb/NaTgVbAHpa4=
=Qgrk
-----END PGP SIGNATURE-----
Hi,
I have one little problem with cucipop. It doesn't seem to work with
Maildir's :(
I would like to make it working but I don't want to rewrite to source
code of cucipop (perhaps cause i'm lazy :P)
Has anyone done this changes / has patches / or sth ?
I will be gratefull for getting some info in this subject.
--
Sylwester S. Biernacki <[EMAIL PROTECTED]>
Hi there,
I've been experiencing the following strange situation with qmail
when I try to send a message from localhost (with relaying from
localhost allowed) with a user-filled-in sender address. That is, when
I do the following on the mailserver host:
mailserver(ttyp2:138:0):/var/qmail/control# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mailserver.somewhere.com ESMTP
MAIL FROM: [EMAIL PROTECTED] <-- this domain is NOT in the rcpthosts
250 ok
RCPT TO: [EMAIL PROTECTED]
250 ok
DATA
354 go ahead
test
.
250 ok 961499283 qp 84857
quit
221 mailserver.somewhere.com
Connection closed by foreign host.
Then on the receiving host I listen for the mail I just made up:
anothermailserver(ttyp0:106:0):~# nc -l -p 25
220
HELO mailserver.somewhere.com
250
MAIL FROM:<com>
250
RCPT TO:<[EMAIL PROTECTED]>
250
DATA
250
Received: (qmail 84417 invoked from network); 20 Jun 2000 10:51:25 -0000
Received: from localhost (127.0.0.1)
by localhost with SMTP; 20 Jun 2000 10:51:25 -0000
test
.
250
QUIT
The part that I'm really confused on is HOW did qmail make up the
MAIL FROM: part, and why is it WRONG? Where should I look if I want to
fix this problem?
If the from address IS in the rcpthosts file, everything works just fine.
The above problem causes most receiving mail servers to bounce the message
complaining about an invalid sender address.
Thanks in advance,
Greetings
Sebastiaan van Erk
Hello!
I am testing qmail performance under fairly heavy load, and I see that queue
grows very fast. Increasing concurrencylocal did not help at all.
I can post all needed setup details here or EMail to anyone who can help.
Alex.
On Tue, Jun 20, 2000 at 04:33:30PM +0400, Alex Povolotsky wrote:
> Hello!
>
> I am testing qmail performance under fairly heavy load, and I see that queue
> grows very fast. Increasing concurrencylocal did not help at all.
Then again, are the mail for local delivery?
> I can post all needed setup details here or EMail to anyone who can help.
Have you installed some big-patches, like the big-to-do?
/magnus
--
http://x42.com
At 04:33 PM 6/20/00 +0400, Alex Povolotsky wrote:
>Hello!
>
>I am testing qmail performance under fairly heavy load, and I see that queue
>grows very fast. Increasing concurrencylocal did not help at all.
>
>I can post all needed setup details here or EMail to anyone who can help.
have you patch your qmail with bigtodo and bigconcurency patch ?
BTW what is your concurrencyremote and concurrencylocal ?
Has anyone had any luck compiling qmail on Irix 6.5.7?
I am getting linking problems with /lib32/libc.so.1.
Any help is greatly appreciated. If you can cc my email
address on this I would appreicate it. Thank you.
-Eric Davis
[EMAIL PROTECTED]
begin:vcard
n:Davis;Eric
x-mozilla-html:FALSE
org:OhioOnline, Inc.;Networking Services
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:System Anaylyst
x-mozilla-cpt:;0
fn:Eric Davis
end:vcard
Host1:
SunOS Host1 5.7
automount's homedirs under /home via NFS from Host2
qmail 1.03 installed
local deliver via the /var/qmail/boot/binm3 (/bin/mail to /var/mail/$username)
nis+master
Host2:
SunOS Host2 5.6
NFS server
Host3:
login server
has /var/mail mounted via NFS from Host1
automount's homedirs under /home via NFS from Host2
the problem is that a users homedir is owned by root until its mounted:
an unmounted homedir:
Host1{root}:/home$ls -l|grep tempxxxx
dr-xr-xr-x 1 root root 1 Jun 20 14:47 tempxxxx
when the homedir is in this state a cat of the syslog will display something
like
'Sorry, no mailbox here by that name. (#5.1.1)' when i try
'echo to: tempxxxx | /var/qmail/bin/qmail-inject
if i first enter the users homedir:
Host1{root}:/home$cd tempxxxx ; cd ..
Host1{root}:/home$ls -l |grep tempxxxx
drwx--x--x 9 tempxxxx temp 512 Jun 17 12:49 tempxxxx
and after that i try a 'echo to: tempxxxx | /var/qmail/bin/qmail-inject' the
mail will show up
in /var/mail/tempxxxx
This far im totaly aware of why it wont work, qmail doesent deliver to users
whos homedir is owned
by root, simple, it was in one of the pic's.
In the FAQ there is an entry that says 'deliver during NFS or NIS outage', i
tried to build a
userlist, but still same problem.
Anyone has a solution or can point me in the right direction?
/Henrik Hellerstedt ([EMAIL PROTECTED])
Thank you, Chris, for your hint...
In effect was a owner problem. Now I have set viradm as the owner of
/home/joe/Maildir/* and the mail arrives.
But now I have an authentication problem with the POP client. I'd like to retrieve
the mail of [EMAIL PROTECTED] with username "joe" and its password, but everything in
/home/joe/Maildir/new has 600 permission and "viradm" owner and I cannot retrieve
it with username "joe".
How is it possible to solve the situation?
Thank you again,
Luca
Chris Johnson wrote:
> On Mon, Jun 19, 2000 at 02:39:38PM +0200, Luca Zancan wrote:
> > Now I'm trying to setup the virtual domain "virdom.com".
> > I've created the virtualdomains file in /var/qmail/control (there was
> > not such file, before) and I've added virdom.com:viradm in it.
> > I've also added virdom.com in rcpthosts.
> > I've created the viradm user in RedHat6.1 and I've created his Maildir
> > with maildirmake program. In its /home/viradm/.qmail I've written
> > "./Maildir/".
> > I've also created the user joe and in /home/viradm/.qmail-joe I've
> > written "../joe/Maildir" (of course I had already created
> > /home/joe/Maildir).
>
> That should be "../joe/Maildir/" (note the trailing slash). There are still
> problems with this, though. See below.
>
> > When I send an e-mail to [EMAIL PROTECTED] nothing appears in ~/Maildir/new
> > (the same thing if I try [EMAIL PROTECTED]).
>
> When qmail-local is delivering to viradm-joe (for mail to [EMAIL PROTECTED]), it's
> running as the user viradm. I suspect that viradm is not the owner of
> ../joe/Maildir, so qmail-local, running as viradm, won't be able to deliver
> there.
>
> > If I try "telnet 192.168.254.99 25" and then HELO, MAIL FROM: ..., RCPT
> > TO: [EMAIL PROTECTED] I receive an "ok" from the mail server (no error
> > messages).
> > What I'm missing???
>
> What do the logs say?
>
> Chris
--
__________________________________________________
Luca Zancan
Logica S.r.l.
e-mail [EMAIL PROTECTED]
URL http://www.logicaonline.com
__________________________________________________
hi,
i'm just starting to use qmail + vmailmgr to handle our customers
mailboxen, and I'd like to know if there's a way to list the
users/aliases in a given virtualdomain.
surely must be there, but couldn't find it.
martin
hi
I've setup qmail+vpopmail+qmailadmin
when I go to
~vpopmail/domains/example.com/user
and put some .qmail file like this
&[EMAIL PROTECTED]
or
|/var/qmail/bin/forward [EMAIL PROTECTED]
and then entire mail sistem goes loop forever and send the sam messages
again and again
if i remove ~vpopmail/domains/example.com/user/.qmail
file everything is back ok
is this any kind of bug or limitation unknown to me?
yuliy
--
Yuliy Minchev,
Systems Administrator
NOAC Bulgaria
"Tony Campisi" <[EMAIL PROTECTED]> wrote:
>: The name of the maildir should not be {username}; it should be Maildir.
>-----
>Please forgive my ignorance but I've only been using Linux for 3
>months and qmail for just a few days..
>After I "su - username"
>do I "/var/qmail/bin/maildirmake {username}"
>or "/var/qmail/bin/maildirmake maildir" ?
You can do either or something else like:
/var/qmail/bin/maildirmake Maildir
Which is right depends upon your preference and how your users access
their mail. The name "Maildir" is conventional, but won't
automatically work with all mail clients.
-Dave
Jonathan Maier <[EMAIL PROTECTED]> wrote:
>How do I take bounced mail and redeliver it every 60 minutes for 4 hours?
>What file(s) are these variables created in?
Huh? Bounced mail is returned to the sender as undeliverable. You want
to retry it after the MTA has already tried and failed? Why?
-Dave
Sorry, let me clarify:
I am trying control at a more finite level, the ability to tell qmail that
if the recipient's mail host is not responding to try 4 times, at 60 minute
intervals, before qmail should give up.
I have been told that this may not be possible, because qmail uses a
quadratic backoff algorithm. I am unfamiliar with this algorithm, so if
someone could briefly explain it to me, that would help my determination on
what kind of policy I need to setup for unreachable mail hosts.
Thanks!
Jonathan Maier
Systems/Network Engineer
9855 W. 78th Street, Suite 200
Eden Prairie, MN 55344
Direct: 612.578.7182
[EMAIL PROTECTED]
www.interelate.com
-----Original Message-----
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2000 9:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Bouncing Mail ?
Jonathan Maier <[EMAIL PROTECTED]> wrote:
>How do I take bounced mail and redeliver it every 60 minutes for 4 hours?
>What file(s) are these variables created in?
Huh? Bounced mail is returned to the sender as undeliverable. You want
to retry it after the MTA has already tried and failed? Why?
-Dave
Jonathan Maier <[EMAIL PROTECTED]> wrote:
> Sorry, let me clarify:
>
> I am trying control at a more finite level, the ability to tell qmail that
> if the recipient's mail host is not responding to try 4 times, at 60 minute
> intervals, before qmail should give up.
>
> I have been told that this may not be possible, because qmail uses a
> quadratic backoff algorithm. I am unfamiliar with this algorithm, so if
> someone could briefly explain it to me, that would help my determination on
> what kind of policy I need to setup for unreachable mail hosts.
First of all, you're talking about deferrals, not bounces. If a mail
delivery results in a permanent error (like "no such email address here"),
the MTA returns it to the envelope sender. That is called a bounce.
You can control (to some extent) how long qmail will keep a given message
in the queue by setting /var/qmail/control/queuelifetime to the number of
seconds you want -- it defaults to a week. However, you will have to hack
the code if you want to control how often qmail tries delivering a message
in the queue.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
On Tue, Jun 20, 2000 at 09:21:45AM -0500, Jonathan Maier wrote:
> Sorry, let me clarify:
>
> I am trying control at a more finite level, the ability to tell qmail that
> if the recipient's mail host is not responding to try 4 times, at 60 minute
> intervals, before qmail should give up.
>
> I have been told that this may not be possible, because qmail uses a
> quadratic backoff algorithm. I am unfamiliar with this algorithm, so if
> someone could briefly explain it to me, that would help my determination on
> what kind of policy I need to setup for unreachable mail hosts.
http://Web.InfoAve.Net/~dsill/lwq.html#retry-schedule
See also the code in qmail-send.c:
(Row 1081 uses the function nextretry)
static datetime_sec squareroot(x) /* result^2 <= x < (result + 1)^2 */
datetime_sec x; /* assuming: >= 0 */
{
datetime_sec y;
datetime_sec yy;
datetime_sec y21;
int j;
y = 0; yy = 0;
for (j = 15;j >= 0;--j)
{
y21 = (y << (j + 1)) + (1 << (j + j));
if (y21 <= x - yy) { y += (1 << j); yy += y21; }
}
return y;
}
datetime_sec nextretry(birth,c)
datetime_sec birth;
int c;
{
int n;
if (birth > recent) n = 0;
else n = squareroot(recent - birth); /* no need to add fuzz to recent */
n += chanskip[c];
return birth + n * n;
}
/magnus
--
http://x42.com
On Tue, Jun 20, 2000 at 10:10:35AM -0400, Dave Sill wrote:
> Jonathan Maier <[EMAIL PROTECTED]> wrote:
>
> >How do I take bounced mail and redeliver it every 60 minutes for 4 hours?
> >What file(s) are these variables created in?
>
> Huh? Bounced mail is returned to the sender as undeliverable. You want
> to retry it after the MTA has already tried and failed? Why?
It was obvious to me that he meant a soft fail.
John
"Hand, Brian C." <[EMAIL PROTECTED]> wrote:
>> I am getting the following error. It is preventing qmail from starting.
>> This is a clip from syslog.
>>
>> Jun 19 13:07:13 listserv qmail: [ID 748625 mail.alert] 961438033.590877
>> alert: cannot start: unable to open mutex
>>
>> What is the mutex and what do I do to get qmail started?
Run "make check" from the source directory. Try qmail-qsanity from
www.qmail.org.
"mutex" is /var/qmail/queue/lock/sendmutex, and it's used to ensure
that only one copy of qmail-send is running at any time. ("mutex" is
CS jargon for "mutually exclusive".)
-Dave
Brian-
Here's an overview of Mutex's. Skip to the last paragraph if you don't care
about the theory and just want to know what I know specifically about
qmail's mutex (which I'll warn you in advance isn't much).
Ok, here's as much as I know right now from my studying of Comp
Sci...mutex's (MUTually EXclusive) are generally "lock" mechanisms. They
ensure that operations are atomic, ie, that they'll be run completely and/or
one at a time before something else can take control. Here's an example:
You have a file blah.txt that looks like this:
user1
user2
user3
This is a list of available usernames to assign to people. When an admin on
your network wants to create a user, they remove the user from that list,
create the user, and save the list. You have two administrators who want to
create users. Admin1 opens blah.txt. Admin1 needs to create one user, so
he deletes user1 from the list, but he DOES NOT save the file yet, becuase
he's not supposed to until he finishes creating the user.(I know this is
illogical, but suspend disbelief for the example). Now,to Admin1, the file
blah.txt now looks like:
user2
user3
While Admin1's creating the user, Admin2, also needing to create a user,
opens up file blah.txt. Becuase Admin1 has yet to save, Admin2 sees blah.txt
as:
user1
user2
user3
He then also deletes user1 from the list, and goes to create a user. They
both finish creating, and both save the file. Now, they've both created a
user user1. This does't work well.
So, how does one fix this? Well, you can create a script, called checklock.
This file runs whenever an attempt to open blah.txt occurs. It checks to
see if a file, called "lock" is present. If not, it allows the user to open
the file, and creates the file "lock". If the file is present, it lets the
user know "sorry, someone's got this file open. Please try again later".
Now, only one person can open the file at a time.
That's a somewhat oversimplified, not entirely accurate idea of what a mutex
is, but you get the idea. Now, as far as qmail goes, the mutex is the file
/var/qmail/queue/lock/sendmutex. I think qmail uses this to make sure it
doesn't start multiple instances of itself. As for why it won't open, I'm
afraid I can't help there. Perhaps re-compiling would help, if the
sendmutex file has somehow gotten corrupted? I don't exactly know, but you
may be able to play around with the system or again just re-compile. Anyone
else have more info on this?
Hope that gives a glimmer of hope, sorry I couldn't be more helpful...
-Brian
-----Original Message-----
From: Hand, Brian C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 4:54 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Need Help restarting qmail
Anyone out there can they please let me know what the problem is. I need to
get this server back up soon.
Please Help
*Cries of Despiration*
Thanks
Brian
-----Original Message-----
From: Hand, Brian C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 1:25 PM
To: '[EMAIL PROTECTED]'
Subject: Need Help restarting qmail
> All,
>
> I am getting the following error. It is preventing qmail from starting.
> This is a clip from syslog.
>
> Jun 19 13:07:13 listserv qmail: [ID 748625 mail.alert] 961438033.590877
> alert: cannot start: unable to open mutex
>
> What is the mutex and what do I do to get qmail started?
>
> Thanks
> Brian
To all who thank you.
For some reason, propobably operator error found that all of the permissions
on the /var/qmail directory were owned by alias. I fixed the file
permissions and boom. Its alive!!!!!! They said it couldn't be done but
its alive!!!!
:)
Thanks again to all who helped
Brian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 20, 2000 9:41 AM
To: [EMAIL PROTECTED]
Subject: RE: Need Help restarting qmail
Brian-
Here's an overview of Mutex's. Skip to the last paragraph if you don't care
about the theory and just want to know what I know specifically about
qmail's mutex (which I'll warn you in advance isn't much).
Ok, here's as much as I know right now from my studying of Comp
Sci...mutex's (MUTually EXclusive) are generally "lock" mechanisms. They
ensure that operations are atomic, ie, that they'll be run completely and/or
one at a time before something else can take control. Here's an example:
You have a file blah.txt that looks like this:
user1
user2
user3
This is a list of available usernames to assign to people. When an admin on
your network wants to create a user, they remove the user from that list,
create the user, and save the list. You have two administrators who want to
create users. Admin1 opens blah.txt. Admin1 needs to create one user, so
he deletes user1 from the list, but he DOES NOT save the file yet, becuase
he's not supposed to until he finishes creating the user.(I know this is
illogical, but suspend disbelief for the example). Now,to Admin1, the file
blah.txt now looks like:
user2
user3
While Admin1's creating the user, Admin2, also needing to create a user,
opens up file blah.txt. Becuase Admin1 has yet to save, Admin2 sees blah.txt
as:
user1
user2
user3
He then also deletes user1 from the list, and goes to create a user. They
both finish creating, and both save the file. Now, they've both created a
user user1. This does't work well.
So, how does one fix this? Well, you can create a script, called checklock.
This file runs whenever an attempt to open blah.txt occurs. It checks to
see if a file, called "lock" is present. If not, it allows the user to open
the file, and creates the file "lock". If the file is present, it lets the
user know "sorry, someone's got this file open. Please try again later".
Now, only one person can open the file at a time.
That's a somewhat oversimplified, not entirely accurate idea of what a mutex
is, but you get the idea. Now, as far as qmail goes, the mutex is the file
/var/qmail/queue/lock/sendmutex. I think qmail uses this to make sure it
doesn't start multiple instances of itself. As for why it won't open, I'm
afraid I can't help there. Perhaps re-compiling would help, if the
sendmutex file has somehow gotten corrupted? I don't exactly know, but you
may be able to play around with the system or again just re-compile. Anyone
else have more info on this?
Hope that gives a glimmer of hope, sorry I couldn't be more helpful...
-Brian
-----Original Message-----
From: Hand, Brian C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 4:54 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Need Help restarting qmail
Anyone out there can they please let me know what the problem is. I need to
get this server back up soon.
Please Help
*Cries of Despiration*
Thanks
Brian
-----Original Message-----
From: Hand, Brian C. [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 1:25 PM
To: '[EMAIL PROTECTED]'
Subject: Need Help restarting qmail
> All,
>
> I am getting the following error. It is preventing qmail from starting.
> This is a clip from syslog.
>
> Jun 19 13:07:13 listserv qmail: [ID 748625 mail.alert] 961438033.590877
> alert: cannot start: unable to open mutex
>
> What is the mutex and what do I do to get qmail started?
>
> Thanks
> Brian
When I attempt to start qmail the following errors scroll continuously accross my
screen.
multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni
ed
multilog: fatal: unable to lock directory /var/log/qmail: access denied
supervise: fatal: unable to start qmail-smtpd/run: exec format error
I have followed LWQ to the best of my meager ability.
Can someone please help this misguided soul?
TIA,
/tony.campisi
There's probably an ownership or permissions problem with /var/log/qmail.
Those directories need to be owned by the same user running multilog, or at
least be writable by that user. My guess would be user 'qmaill'.
What's in your qmail-smtpd/run file? There's an error with the call to exec
in there, it appears.
-D
>-----Original Message-----
>From: Tony Campisi [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 20, 2000 10:47 AM
>To: [EMAIL PROTECTED]
>Subject: Trouble Starting qmail
>
>
>When I attempt to start qmail the following errors scroll
>continuously accross my screen.
>
>multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni
>ed
>multilog: fatal: unable to lock directory /var/log/qmail: access denied
>supervise: fatal: unable to start qmail-smtpd/run: exec format error
>
>I have followed LWQ to the best of my meager ability.
> Can someone please help this misguided soul?
>
>TIA,
>/tony.campisi
>
>
: What's in your qmail-smtpd/run file? There's an error with the call to exec
: in there, it appears.
Actually there's an error I missed upon startup.
/usr/local/sbin/qmail start
Starting qmail: svscan.
tcpserver: fatal: unable to bind: address already used
multilog: fatal: unable to lock directory /var/log/qmail: access denied
multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni
ed
supervise: fatal: unable to start qmail-smtpd/run: exec format error
My /var/qmail/supervise/qmail-smtpd/run file contains:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
I took this directly from LWQ. Is the problem with tcpserver? I don't know what
"address already used" means. Any ideas?
tony.campisi
Something is already bound to port 25. Have you turned off sendmail? Have
you checked to see that there are no errant qmail-smtpd processes already
running?
(Plus, you'll still need to correct the ownership or permissions on
/var/log/qmail)
-D
>-----Original Message-----
>From: Tony Campisi [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 20, 2000 11:32 AM
>To: Dave Kelly; [EMAIL PROTECTED]
>Subject: Re: Trouble Starting qmail
>
>
>: What's in your qmail-smtpd/run file? There's an error with the
>call to exec
>: in there, it appears.
>
>Actually there's an error I missed upon startup.
>/usr/local/sbin/qmail start
>
>Starting qmail: svscan.
>tcpserver: fatal: unable to bind: address already used
>multilog: fatal: unable to lock directory /var/log/qmail: access denied
>multilog: fatal: unable to lock directory /var/log/qmail/smtpd: access deni
>ed
>supervise: fatal: unable to start qmail-smtpd/run: exec format error
>
>My /var/qmail/supervise/qmail-smtpd/run file contains:
>#!/bin/sh
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
>
>I took this directly from LWQ. Is the problem with tcpserver? I
>don't know what "address already used" means. Any ideas?
>
>tony.campisi
>
>
>
> > You can try to crack them using one of the many, many NT password
> > crackers, depending on the password algorithm the software uses.
>
> Don't go there. Too much time-consuming cracking the passwords. We tried
>that first.
>
> > One method we're looking at possibly using with a customer is to set up
> > a modified POP proxy in front of the NT POP server for a few weeks. The
> > proxy will note the username and password and then relay the connection
> > through (obviously you'll need to modify the proxy source to log
>passwords).
Have you tried taking a known password and copying it from the NT password
file into the unix password file? We moved all our users from Metainfo's
NT Sendmail to qmail by simply copying the password file over and
reformatting it so the unix box was happy.
Worth a try.
Chris
I have a PERL script that I put together that will crack a 4.x or 5.x
Imail password. I haven't managed to figure out the algorithm to crack
6.x as we didn't have that. In fact I'm using the script to do exactly
what you are suggesting.
If you want to find out the algorithm go to securityfocus.com and do a
search on Imail.
-Andy-
On Mon, 19 Jun 2000, Julian L. Cardarelli wrote:
>
> OK. I have a bunch of user accounts setup on Imail/NT and I want to migrate to
>Qmail. One Problem: I do not have any of the users passwords and I want to do the
>migration without messing up their passwords (and even more importantly, without them
>knowing). So I have two questions:
>
> 1) How do I correctly take user passwords and move them to Qmail?
> 2) What email-in-a-browser utilities exist for Qmail that simulate the Imail
>interface?
>
> Regards,
>
> JB
>
>
----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------
--
Andrew�J.�Grimberg
Programmer
WebSuite.com
206-988-2233
I have successfully installed qmail + vpopmail + qmailadmin on OpenBSD 2.6.
Everything works fine, but I have some questions related to tuning/managing
qmail:-
1. How do I restrict multiple simultaneous connections to a particular
server? Qmail works differently from other MTA's in that it opens a separate
connection for each message, even if there are multiple recipients on the
same domain. I have a situation where a user is sending a 1 MB file to about
10 people on the same domain, and qmail opens as many connections as it can
to that domain. However, some messages fail with a '554 transaction failed'
message. During the transfer I can do a netstat and will see that the rx/tx
queues have slowed or stopped, eventually leading to a fail (ps shows
qmail-remote processes active for longer than 4 hours!). Possibly the server
on the other end is having some trouble (of course, it's not *my* server
that has the problem ;). I assume that because qmail still seems to be
happily delivering mail to other servers at that time. The remote server in
question is running Webshield 4.0.3.1 from Network Assoc. I do not see a
similar problem if the message sizes are small.
2. The problem described above is new and has only occurred since we
installed qmail (I used to run Mailsite on NT). I do not know when last the
webshield server was changed/updated, so I cannot assume the the problem is
with qmail (we changed around the time lovebug was doing the lovin' thing
and no, that was not the reason). The Mailsite server is still active (need
ETRN), so I have added entries into smtproutes to try to direct mail for
that domain through the old server. However, after updating smtproutes, do I
have to signal any qmail processes (I assume not as the file is used by
qmail-remote, which is started each time a remote message needs to be
delivered). Where can I get a definitive list of actions that need to be
taken wrt qmail and its control files? A sort of
if-you-change-this,-then-do-that reference.
3. This is a really a *nix question. I need to allow more qmail-remote
processes. I know about the concurrency* files and what to do when they are
changed ;), but how do I increase the file handles allowed? Is the file
handle limit in place at the start of a process the limit that the process
inherits? Does that mean I should issue a 'limit' command in my rc.local
file (that's where qmail processes are started). Or if my main concern is
qmail-send, should the 'limit' command be placed just before qmail-start is
called? If anyone can recommend a book/resource on managing unix which
includes this type of information, I would appreciate it.
Thanks
Abdul
On Tue, Jun 20, 2000 at 06:01:11PM +0200, Abdul Rehman Gani wrote:
> I have successfully installed qmail + vpopmail + qmailadmin on OpenBSD 2.6.
> Everything works fine, but I have some questions related to tuning/managing
> qmail:-
>
> 1. How do I restrict multiple simultaneous connections to a particular
> server?
Using Dan's software, you can do one of two things:
1) native qmail, which doesn't restrict the number of connections at all.
2) intercept outgoing messages to the domain in question, and store them
in a Maildir. Then use the serialmail package to deliver them one at
a time over a sing smtp connection.
John
Hi!
I have problem with virtual domain. It seems to me that virtual domain must
not be subdomain of any domain from locals. Is it true?
I had this configuration:
locals:
mydomain.cz
a.mydomain.cz
b.mydomain.cz
virtualdomains:
any-other.cz:user
It works fine. But I want to make virtualdomain c.mydomain.cz. I add this
domain to virtualdomains:
any-other.cz:user
c.mydomain.cz:userc
When I send mail from localhost to [EMAIL PROTECTED], qmail send it to
[EMAIL PROTECTED], it is OK.
When I send mail from any other host, qmail send it to any@my-server-name.
And when I try to send mail from the same host using "telnet my-server-name
25" and simple SMTP commands, qmail send it to [EMAIL PROTECTED] (it is
strange).
Can you help me, please? Qmail is 1.03, no patches.
Vladimir Horak, [EMAIL PROTECTED]
Steve Lewis writes:
> > The log indicates that the recipient address in question is
> > controlled by the dot-qmail file that contains comments only.
> > Most likely the controlling dot-qmail file is ~alias/.qmail-default.
> correct. I misread this file, and didn't notice that the line was
> commented out.
>
> #| fastforward -d /etc/aliases.cdb
>
> 1) how exactly could you tell that from the log data I provided?
| 961394975.551006 starting delivery 50: msg 40335 to local
|[EMAIL PROTECTED]
| 961394975.590908 delivery 50: success: did_0+0+0/
I noticed ``did_0+0+0''. Although not documented, this
indicates that qmail-local did zero file deliveries (mbox
and/or maildir), zero forwardings, and zero program deliveries.
So the controlling dot-qmail file shall not contain any program
line, any forward line, any mbox line, nor any maildir line.
But it's not empty; if it were empty, qmail-local would follow
the default delivery instruction(s) and usually some deliveries
would happen. The bottom line is that it contains at least
one comment line and doesn't contain any other kind of lines.
In other words, it contains comments only.
> 2) what would you expect to find in this file (or elsewhere) to induce the
> expected bounce behavior?
Uncommenting the above program line should be okay. Alternatively,
if you are happy without /etc/aliases.cdb, you can just remove
this file.
--
Tetsu Ushijima
How can I set up qmail to make automatically the home dir ?
I'm using qmail-1.03 with ldap patches.
Thank you.
RDA.-
Q 1: Is it possible to run qmail-smtpd as a standalone server and *not*
from the inetd metaserver (or similar)? How?
Q 2: I really have no use for a smtpd server other than for fetchmail,
because it connects to localhost. But it is possible to make it otherwise,
I quote from the fetchmail manual page:
-m <command>, --mda <command>
(Keyword: mda) You can force mail to be passed to
an MDA directly (rather than forwarded to port 25)
with the -mda or -m option. Be aware that this
disables some valuable resource-exhaustion checks
and error handling provided by SMTP listeners; it's
not a good idea unless running an SMTP listener is
impossible. If fetchmail is running as root, it
sets its userid to that of the target user while
delivering mail through an MDA. Some possible MDAs
are "/usr/sbin/sendmail -oem -f %F %T",
"/usr/bin/deliver" and "/usr/bin/procmail -d %T"
(but the latter is usually redundant as it's what
SMTP listeners usually forward to). Local delivery
addresses will be inserted into the MDA command
wherever you place a %T; the mail message's From
address will be inserted where you place an %F. Do
not use an MDA invocation like "sendmail -oem -t"
that dispatches on the contents of To/Cc/Bcc, it
will create mail loops and bring the just wrath of
many postmasters down upon your head.
</QUOTE>
Is there a way to make fetchmail use this alternative combined with
qmail?
Thanks.
crond@undernet
Norwegian Linux Community
Innovation Networking
crond <[EMAIL PROTECTED]> wrote on Tue, 20 Jun 2000:
> Is there a way to make fetchmail use this alternative combined with
> qmail?
I have the following line in my .fetchmailrc:
mda "/var/qmail/bin/qmail-inject -a someuser"
Although that's actually something I don't use currently, but I think
I've tested that it works.
Regards,
Mikko
--
// Mikko H�nninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
[Please insert a quarter in Drive A: for the next signature quote.]
Hi all,
I'm suspicious this isn't really a qmail problem, but I don't know
where else to start.
I'm just finishing a qmail installation on my new server box.
Any attempt to telnet to port 25 yields "connection refused." I ran
both tcp and udp scans on it with nmap; the port is not open.
I am still running inetd. What, besides that, am I doing wrong?
Thanks very much.
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
David Benfell <[EMAIL PROTECTED]> wrote:
>
> I'm suspicious this isn't really a qmail problem, but I don't know
> where else to start.
>
> I'm just finishing a qmail installation on my new server box.
> Any attempt to telnet to port 25 yields "connection refused." I ran
> both tcp and udp scans on it with nmap; the port is not open.
>
> I am still running inetd. What, besides that, am I doing wrong?
Probably qmail-smtpd is not running, or least not on port 25. Did you
configure tcpserver to bind to port 25 and launch qmail-smtpd, or what?
What does the output of `ps aux | grep qmail` (or similar) show?
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
On Tue, Jun 20, 2000 at 03:47:18PM -0600, Charles Cazabon wrote:
>
> David Benfell <[EMAIL PROTECTED]> wrote:
> >
> > I'm suspicious this isn't really a qmail problem, but I don't know
> > where else to start.
> >
> > I'm just finishing a qmail installation on my new server box.
> > Any attempt to telnet to port 25 yields "connection refused." I ran
> > both tcp and udp scans on it with nmap; the port is not open.
> >
> > I am still running inetd. What, besides that, am I doing wrong?
>
> Probably qmail-smtpd is not running, or least not on port 25. Did you
> configure tcpserver to bind to port 25 and launch qmail-smtpd, or what?
>
I'm still running inetd; the line I thought was applicable is:
qmtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-qmtpd
I take it this won't do?
> What does the output of `ps aux | grep qmail` (or similar) show?
>
benfell@fire:~ > ps aux | grep qmail
qmails 330 0.0 0.6 1068 392 ? S 09:28 0:00
qmail-send
qmaill 331 0.0 0.6 1036 416 ? S 09:28 0:00
splogger qmail
root 332 0.0 0.5 1024 324 ? S 09:28 0:00
qmail-lspawn ./Mailbox
qmailr 333 0.0 0.5 1024 340 ? S 09:28 0:00
qmail-rspawn
qmailq 334 0.0 0.5 1016 344 ? S 09:28 0:00
qmail-clean
benfell 379 0.0 0.4 1052 316 ? S 09:39 0:00
bin/qmail-inject -a -- benfell
> Charles
> --
> -----------------------------------------------------------------------
> Charles Cazabon <[EMAIL PROTECTED]>
> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
At 02:39 PM 6/20/00 -0700, David Benfell wrote:
>Hi all,
>
>I'm suspicious this isn't really a qmail problem, but I don't know
>where else to start.
>
>I'm just finishing a qmail installation on my new server box.
>Any attempt to telnet to port 25 yields "connection refused." I ran
>both tcp and udp scans on it with nmap; the port is not open.
>
>I am still running inetd. What, besides that, am I doing wrong?
have you
kill -HUP inetd-pid ?
> From: David Benfell <[EMAIL PROTECTED]>
> Date: Tue, 20 Jun 2000 14:58:08 -0700
>
> I'm still running inetd; the line I thought was applicable is:
>
> qmtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-qmtpd
>
> I take it this won't do?
That line starts qmtp, not smtp.
Chris
--
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO http://www.virCIO.Com
4314 Avenue C
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
David Benfell <[EMAIL PROTECTED]> wrote:
> > > I am still running inetd. What, besides that, am I doing wrong?
> > Probably qmail-smtpd is not running, or least not on port 25. Did you
> > configure tcpserver to bind to port 25 and launch qmail-smtpd, or what?
> I'm still running inetd; the line I thought was applicable is:
>
> qmtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-qmtpd
>
> I take it this won't do?
Nope. I'm no expert on inetd configuration, but you're running
qmail-qmtpd and not qmail-smtpd. qmail-qmtpd speaks a different protocol
(QMTP) than qmail-smtpd (SMTP), and lives on a different port.
tcpserver can live peacefully alongside inetd and is quite simple to use.
I'd suggest you install it. Otherwise, start launching qmail-smtpd from
inetd instead of qmail-qmtpd.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
Hello again,
Thanks to all for your help so far. I'm closer now, I think. But
mail reception through SMTP isn't working at all. I was able to
telnet to the server and send a message which doesn't seem to have
appeared anywhere. Then I tried sending a message through normal
means from my system at work. This too seems to have disappeared,
with no bounce.
To back up to an intermediate stage, because I don't have the domain
name set correctly yet, but had forgotten to deal with that in the
configuration, a test message bounced with a Relaying Denied message.
So I added the IP address to the rcpthosts and locals files and sent
another test message. This is the one that has disappeared without a
trace.
I checked the sym-links to /var/spool/mail. They are still present.
I am using mutt, which allows me to look at just about any file on the
system as though it were a mailbox. What else should I check?
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
David Benfell wrote:
> mail reception through SMTP isn't working at all. I was able to
> telnet to the server and send a message which doesn't seem to have
> appeared anywhere. Then I tried sending a message through normal
> means from my system at work. This too seems to have disappeared,
> with no bounce.
the usual places are $HOME, but also /var/qmail/alias/Mailbox (?) as a
last resort
clemens
I found the mail. I had enabled delivery to Maildir on this box.
Sorry and thanks again for all your help.
--
David Benfell
[EMAIL PROTECTED]
ICQ 59438240 [e-mail first for access]
---
There are no physicists in the hottest parts of hell, because the
existence of a "hottest part" implies a temperature difference, and
any marginally competent physicist would immediately use this to
run a heat engine and make some other part of hell comfortably cool.
This is obviously impossible.
-- Richard Davisson
[from fortune]
my rc file is this
# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /home/./Maildir/`"
but still i cant find the email in my home directory what else should i
need to do?
and i have this log when i send a mail
@400000003950722f310a6ba4 starting delivery 3: msg 24671 to remote
[EMAIL PROTECTED]
@400000003950722f310d8c6c status: local 0/10 remote 2/20
@400000003950723808edd5d4 delivery 2: success:
216.32.243.136_accepted_message./Remote_host_said:_250_Requested_mail_action
_okay,_completed/
@400000003950723808f2d714 status: local 0/10 remote 1/20
but to no avail i cant find the mail to [EMAIL PROTECTED] account even in the
/home/vhernz dir
At 11:37 PM 6/20/00 -0700, you wrote:
>On Wed, Jun 21, 2000 at 01:46:17PM +0800, Vince wrote:
>>
>> hi,
>>
>> i read your problem before this. i have the same problm with your i cant
>> find the mails (incoming email)
>> what did you do and where did you find them?
>>
>> your help is mucg appreciated.
>>
>I had selected the option to implement the Maildir mailbox format.
>It's places these e-mails in a different subdirectory in user's home
>directory: /Maildir.
>
>--
>David Benfell
>[EMAIL PROTECTED]
>ICQ 59438240 [e-mail first for access]
>---
>There are no physicists in the hottest parts of hell, because the
>existence of a "hottest part" implies a temperature difference, and
>any marginally competent physicist would immediately use this to
>run a heat engine and make some other part of hell comfortably cool.
>This is obviously impossible.
> -- Richard Davisson
>
> [from fortune]
>
>
>
>
Is there any way that people know of to block email coming into qmail. I
would like to block all VB scripts.
Or even better, I have a the McAfee virus checker for Solaris but it is
designed to run either using cron or user initiated. It would be good if I
could get it to run for every incoming email and dump the ones that contain
virus's.
Any suggestions would be appreciated.
Sorry if this has been asked many time before.
Martin
Martin Searancke
CommSoft Group Ltd.
Level 8, CommSoft House
90 Symonds St
Auckland, New Zealand
[EMAIL PROTECTED]
+64 21 778592
On Wed, Jun 21, 2000 at 11:56:49AM +1200, Martin Searancke wrote:
> Is there any way that people know of to block email coming into qmail. I
> would like to block all VB scripts.
> Or even better, I have a the McAfee virus checker for Solaris but it is
> designed to run either using cron or user initiated. It would be good if I
> could get it to run for every incoming email and dump the ones that contain
> virus's.
> Any suggestions would be appreciated.
>
> Sorry if this has been asked many time before.
There is even a nice little box on www.qmail.org on it:
http://qmail.x42.com/top.html#microsoft
/magnus
--
http://x42.com/
-----Original Message-----
From: Magnus Bodin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, 21 June 2000 15:45
Subject: Re: Blocking VB scripts from getting through qmail
>On Wed, Jun 21, 2000 at 11:56:49AM +1200, Martin Searancke wrote:
>> Is there any way that people know of to block email coming into qmail. I
>> would like to block all VB scripts.
>> Or even better, I have a the McAfee virus checker for Solaris but it is
>> designed to run either using cron or user initiated. It would be good if
I
>> could get it to run for every incoming email and dump the ones that
contain
>> virus's.
>> Any suggestions would be appreciated.
>>
>> Sorry if this has been asked many time before.
There are many ways. One is in this site ;)
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/06/msg00299.html
cheers
Noel Mistula
On Mon, Jun 19, 2000 at 10:38:16PM +0200, Gerrit Pape wrote:
> On Mon, Jun 19, 2000 at 02:01:42PM -0400, Adam McKenna wrote:
> > Without even looking at them, I can tell you the following:
> >
> > 1) *if* the packages comply with dist.html, they will _never_ get into
> > potato.
> > 2) If they don't comply with dist.html, you will not be allowed to
> > distribute them.
> >
> > It's basically a lose/lose situation. If you want dist.html-compliant debs
> > for your own use or for unofficial use, that's fine. But they will never go
> > into debian, because they are in gross violation of debian's packaging
> > policy, and also there are already source packages for these programs in
> > debian.
> >
> 1. I do not want them in potato, they may go into woody later, see below.
> 2. We all know.
>
> I know the source packages in potato. The produced debs do not comply with
> dist.html, I would not use them, e.g.: no /var/qmail/bin, nofiles replaced by
> nogroup.
The license only covers distribution -- since the produced debs are not being
distributed, the license does't apply to them.
I wouldn't use them either, and I don't use them. But if you want to do a
binary distribution you're going to have to get Dan's approval to do what
you've done.
--Adam
Hi
can we have a prefix set for our list. for example :
Subject line of each mail on the list has something as follows :
Subject : [Qmail] ................
the dots signify the actual subject.
Note :
======
Sorry to post this mail directly to the list, but i do not have the lsit
owner's email id, hence the mail to the list.
regards,
Parag Mehta <[EMAIL PROTECTED]>
System Administrator.
Puretech Internet Pvt. Ltd. http://puretech.co.in/
77 Atlanta. Nariman Point.
Mumbai - 400021. India. Tel: +91-22-2833158
============================================================
Support is now available thru our Web Based Support System.
http://support.puretech.co.in
============================================================
On Wed, Jun 21, 2000 at 10:20:55AM +0530, System Administrator wrote:
>
> can we have a prefix set for our list. for example :
> Subject line of each mail on the list has something as follows :
> Subject : [Qmail] ................
> the dots signify the actual subject.
Why send extra 7 chars thus loosing visibility in the subject field?
You can do it yourself, choosing any text you want.
The attached script checks if the subject line contains your choice of
prefix and if it doesn't it tacks it on. (OK, I admit. The search is a little
crude.)
Run it in your .qmail-file that catches your qmail-list mail or if you have
to, add some check on the "Mailing-List: contact [EMAIL PROTECTED];
run
by ezmlm"-line.
If you want, you can even expand it to handle multiple lists, friends,
enemies, spam-control etc. I'll leave it up to you to decide what "handle"
means in the different cases.
/magnus
--%< cut here %< ----------------------------------------------------
#!/usr/bin/perl
# tagmail.pl; 1999-02-18; [EMAIL PROTECTED]; http://x42.com/
use strict;
# read mail and split into hdr and body
my ($hdr, $body);
while (<STDIN>) { last if /^[\r\n]*$/; $hdr .= $_; }
$body = join '',<STDIN>;
# Fix subject-line
$pre = '[Qmail]';
$hdr =~ s/^(subject:\s*)(.*)$/$1 [Qmail] $2/mi unless $hdr =~ /$pre/;;
# print mail
print "$hdr";
#print "$hdr\n$body";
i have configured ldap server . installed qmail 1.03 with qmail-ldap patch
and compiled qmail qith ldap support on redhat 6.1
i.e.
LDAPFLAGS = -DCLEARTEXTPASSWD -DQLDAP -DQLDAP_ESCAPE_BUG etc options
replaced rc file with /var/qmail/boot/home , now i when i tried to send
mail to local user whose directory entry is already there in my directory
server running on same mechine its giving no such directory exists , some
times gives cannot chdir to maildir
can any one please suggest me possible reasons for this ?
thanks in advance
Prashant desai