qmail Digest 19 Jun 2000 10:00:01 -0000 Issue 1037
Topics (messages 43255 through 43270):
Re: script chkattach
43255 by: Noel Mistula
Drop in sendmail replacement for CGI
43256 by: Andrew Hill
43259 by: Dave Kelly
43261 by: Andrew Hill
Re: qmqpc/+env docs
43257 by: Peter Samuel
temp quota control for vmailmgr
43258 by: Peter Chow
Re: how to setup Maildir
43260 by: Kristina
qmail-smtpd-auth + mysql...
43262 by: Goran Blazic
43264 by: Krzysztof Dabrowski
delivery strangeness
43263 by: Steve Lewis
qmail error
43265 by: Vince
43266 by: Steffan Hoeke
Re: Blocking a specific address
43267 by: Markus Stumpf
primary server config
43268 by: mandarine
maildir
43269 by: Vince
43270 by: Steffan Hoeke
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,
Any triple bounce should go to the MAILER-DAEMON. Just make sure that
the recepient of the MAILER-DAEMON "doesn't" use this script because it will
bounce forever.
With regards to the original message I think it's always appended on the
bounced mail.
cheers
Noel Mistula
-----Original Message-----
From: Daniele Bernazzi <[EMAIL PROTECTED]>
To: qmails <[EMAIL PROTECTED]>
Date: Saturday, 17 June 2000 20:59
Subject: script chkattach
>I tried to use the script chkattach by Noel G. Mistula,
>
>(http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/07/msg00518.html
)
> but I got a problem when the sender and the receiver are implementing
>the same check.
>The message is discarded (triple bouncing) because nobody wants to
>accept it. The main problem is the missing of a notice, in that way
>nobody knows why the massage was discarded.
>
>Any hint?
>--
>________________________________________________________________
>Daniele Bernazzi tel: 0577 585794 fax: 0577 586191
>e-mail: [EMAIL PROTECTED]
>________________________________________________________________
>
Hi,
I've just installed QMail, and am trying to use the drop in replacement
for sendmail in /var/qmail/bin/.
Whenever I run the program, I get the following error:
> sendmail: fatal: unable to run qmail-inject
Anyone able to help?
TIA,
--
Andrew Hill
Do you need to do this?
$ chmod 755 /var/qmail/bin/qmail-inject
-D
----- Original Message -----
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 8:53 AM
Subject: Drop in sendmail replacement for CGI
Hi,
I've just installed QMail, and am trying to use the drop in replacement
for sendmail in /var/qmail/bin/.
Whenever I run the program, I get the following error:
> sendmail: fatal: unable to run qmail-inject
Anyone able to help?
TIA,
--
Andrew Hill
Dave Kelly wrote:
> Do you need to do this?
>
> $ chmod 755 /var/qmail/bin/qmail-inject
No - but how embarrasment: my script had actually overwritten
qmail-inject!
Thanks for the sideways hint - it's working like a dream now.
Cheers,
--
Andrew Hill
On Fri, 16 Jun 2000, mwangu wrote:
> Peter,
>
> Thank you for your response. This will come in handy.
> The reason I was hoping there was a Perl way to do
> this, i.e. qmqpc messages into the qmail queue is for
> testing purposes for another app I am working on.
Just use qmail-inject. That call qmail-queue (which in your case will
really be qmail-qmqpc). Or, if you want to be consistent with other
sites nots using qmail, call /usr/lib/sendmail -t. That should be a
symlink to /var/qmail/bin/sendmail which calls qmail-inject which
calls qmail-queue.
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
Technical Consultant or at present:
eServ. Pty Ltd [EMAIL PROTECTED]
Phone: +61 2 9206 3410 Fax: +61 2 9281 1301
"If you kill all your unhappy customers, you'll only have happy ones left"
I am using qmail + vmailmgr for my pop3 mail. For me it was just
great. The version of the vmailmgr is 0.96.6.
While waiting for the quota feature in the next release, is there any
temporary workaround to cater this? Or any other alternative worth
trying?
Thanks all.
Peter Chow
At 16:21 00/06/17 -0600, you wrote:
> > can u help me setting up Maildir
> > here iam not able to setup Maildir
>
> Easy, correct method:
>
> /var/qmail/bin/maildirmake {username}
Don't forget to "su" to the user before you
execute maildirmake.
Kristina
>
> Long, cumbersome, error-prone method:
>
> cd ~{username}
> mkdir Maildir
> mkdir Maildir/new
> mkdir Maildir/cur
> mkdir Maildir/tmp
>
> chown -R {username}[.:]{usergroup} Maildir
>
> chmod -R 600 Maildir
>
> steve
>
Has anyone tried patching qmail with qmail-smtpd-auth and Iain Patterson's
MySQL+QMAIL patch?
I plan on doing this and would like to know in advance whether I can expect
trouble... :-)
Thanks in advance, Goran
At 08:22 2000-06-19 +0200, Goran Blazic wrote:
>Has anyone tried patching qmail with qmail-smtpd-auth and Iain Patterson's
>MySQL+QMAIL patch?
>I plan on doing this and would like to know in advance whether I can expect
>trouble... :-)
>
>Thanks in advance, Goran
Send me the resulting patch or suggestion. I can include it on my page.
Brush
I am a qmail newbie <gag>.
I am setting up a virtual domain, with the intent of creating a mailing
list to operate from within that domain, but I cannot seem to get the
virtual domain delivery to operate as expected. I didn't perform the
qmail install on this box, but I suspect something is highly wrong ... I
just can't figure it out myself.
I know that dot-forward and fastforwarding are both installed here, but I
can't find anything to explain this behavior (I probably don't know where
to look).
Starting at the beginning:
I RTFMP and RTFFAQ, and followed the directions there:
add starfire.worlddomination.net:nepolon-starfire to virtualhosts
add starfire.worlddomination.net to rcpthosts
kill -HUP the qmail-send proc
But, I had to create a .qmail-starfire-default before local-local mail
to the virtdomain would work. Otherwise I was getting:
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
This tips me off that something is rotten, so I play gumshoe...
This is the .qmail-starfire-default:
/home/nepolon/mail/inbox
Here is a local-local(virt) with the .qmail-starfire-default in place:
Jun 18 23:18:00 worlddomination qmail: 961395480.852534 \
new msg 40335
Jun 18 23:18:00 worlddomination qmail: 961395480.852843 \
info msg 40335: bytes 456 from <[EMAIL PROTECTED]> \
qp 13 11 uid 502
Jun 18 23:18:00 worlddomination qmail: 961395480.864851 starting \
delivery 53: msg 40335 to local \
[EMAIL PROTECTED]
Jun 18 23:18:00 worlddomination qmail: 961395480.865076 status: \
local 1/10 remote 0/20
Jun 18 23:18:01 worlddomination qmail: 961395481.009013 delivery 53: \
success: did_1+0+0/
Jun 18 23:18:01 worlddomination qmail: 961395481.009293 status: local \
0/10 remote 0/20
Jun 18 23:18:01 worlddomination qmail: 961395481.009399 end msg 40335
This is as expected (though I didn't expect to need the dot-qmail as
qmail-local does the same thing. I continue testing. This is
remote-local(virt) [To: [EMAIL PROTECTED]] with the
.qmail-starfire-default in place:
Jun 18 23:23:29 worlddomination qmail: 961395809.748411 new msg 40335
Jun 18 23:23:29 worlddomination qmail: 961395809.748727 info msg 40335: \
bytes 3148 from <[EMAIL PROTECTED]> qp 1342 uid 515
Jun 18 23:23:29 worlddomination qmail: 961395809.757755 starting \
delivery 56: msg 40335 to local [EMAIL PROTECTED]
Jun 18 23:23:29 worlddomination qmail: 961395809.757966 status: local \
1/10 remote 0/20
Jun 18 23:23:29 worlddomination qmail: 961395809.779638 delivery 56: \
success: did_0+0+0/
Jun 18 23:23:29 worlddomination qmail: 961395809.779929 status: local \
0/10 remote 0/20
Jun 18 23:23:29 worlddomination qmail: 961395809.780035 end msg 40335
And this is the crux of _my_ problem (with virtual domains). Local
delivery can be made to work, but if the mail comes from the outside it
doesn't recognise the destination as a virtual host. Is this because the
DNS record for starfire.worlddomination.net is a CNAME of
worlddomination.net rather than another record?
Further evidence of foul play...
This is what happens on local-local(bounce):
Jun 18 23:09:35 worlddomination qmail: 961394975.540172 new msg 40335
Jun 18 23:09:35 worlddomination qmail: 961394975.540478 info msg 40335: \
bytes 438 from <[EMAIL PROTECTED]> qp 12 67 uid 502
Jun 18 23:09:35 worlddomination qmail: 961394975.551006 starting delivery 50: \
msg 40335 to local [EMAIL PROTECTED]
Jun 18 23:09:35 worlddomination qmail: 961394975.551444 status: local 1/10 remote 0/20
Jun 18 23:09:35 worlddomination qmail: 961394975.590908 delivery 50: success:
did_0+0+0/
Jun 18 23:09:35 worlddomination qmail: 961394975.591171 status: local 0/10 remote 0/20
Jun 18 23:09:35 worlddomination qmail: 961394975.591278 end msg 40335
Very wrong. We have no user 'nonexistant' ... where is the bounce? This
can make it rather difficult to find the message I sent to
[EMAIL PROTECTED]
FWIW:
# ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 517, 514, 515, 0, 516, 518, 519, 520.
group ids: 515, 516.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is worlddomination.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is worlddomination.net.
defaulthost: (Default.) Default host name is worlddomination.net.
doublebouncehost: (Default.) 2B recipient host: worlddomination.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is worlddomination.net.
helohost: (Default.) SMTP client HELO host name is worlddomination.net.
idhost: (Default.) Message-ID host name is worlddomination.net.
localiphost: (Default.) Local IP address becomes worlddomination.net.
locals:
Messages for worlddomination.net are delivered locally.
me: My name is worlddomination.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is worlddomination.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at worlddomination.net.
SMTP clients may send messages to recipients at starfire.worlddomination.net.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 worlddomination.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains:
Virtual domain: starfire.worlddomination.net:nepolon-starfire
when i run qmail and check the ps x if it is running to my machine there is
svscan /service running but when i try to send mail i got this error
The connection to the server has failed. Account: '208.235.228.2', Server:
'208.235.228.2', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error:
10061, Error Number: 0x800CCC0E
what is my problem here?
On Mon, Jun 19, 2000 at 03:45:16PM +0800, Vince wrote:
>
> when i run qmail and check the ps x if it is running to my machine there is
> svscan /service running but when i try to send mail i got this error
>
> The connection to the server has failed. Account: '208.235.228.2', Server:
> '208.235.228.2', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error:
> 10061, Error Number: 0x800CCC0E
>
> what is my problem here?
What happens when you telnet to port 25 ?
My telnet session is successful :
bash-2.04# telnet 208.235.228.2 25
Trying 208.235.228.2...
Connected to 208.235.228.2.
Escape character is '^]'.
HELO
220 qmail.dnb.com ESMTP
502 unimplemented (#5.5.1)
250 qmail.dnb.com
So it's probably a setting in your Outlook (express) Client ....
HTH,
Steffan
--
http://therookie.dyndns.org
On Sat, Jun 17, 2000 at 06:28:45AM +0200, Johan Almqvist wrote:
> Another way to go is to put the offending host into your smtp.rules or
> what it's called in your setup with
> 10.0.1.1:deny
> so they can't even connect.
This is a bad idea, IMHO.
In fact they can connect, eat up one tcpserver connection for a short
time, before the connection will be terminated by tcpserver.
You will get connection attempts over connection attempts and the remote host
will retry every message until it expires (i.e. usually one week).
As other mailservers don't use the friendlich quadratic retry algorithm
that qmail uses, but rather aggressive short retry times you may run into
severe problems.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Hi there
I'd like to setup a priamry to do mail forwarding to a NT exchange server
it would be useful if a copy of each forwarded e-mail could be saved on the qmail
server for 30 days or so
what's the best way of doing this...
nicholas
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.
all my incoming mails are gone (i cant find them) even if i have a
succesful mail delivery
my /var/qmail/rc file content:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir
is this correct?
On Mon, Jun 19, 2000 at 05:32:16PM +0800, Vince wrote:
>
>
> all my incoming mails are gone (i cant find them) even if i have a
> succesful mail delivery
>
> my /var/qmail/rc file content:
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir
>
> is this correct?
Nope, you need another / after Maildir ....
it should be ./Maildir/ ... if you omit the last / qmail sees it as an mbox named
Maildir.
HTH,
Steffan
--
http://therookie.dyndns.org