qmail Digest 4 Jun 1999 10:00:00 -0000 Issue 661
Topics (messages 26236 through 26281):
Qmail+sendmail
26236 by: Richard Letts <[EMAIL PROTECTED]>
Outlook Express and IMAP
26237 by: "Dave Teske" <[EMAIL PROTECTED]>
26238 by: "Greg Owen {gowen}" <[EMAIL PROTECTED]>
26239 by: Anand Buddhdev <[EMAIL PROTECTED]>
26247 by: "Dave Teske" <[EMAIL PROTECTED]>
Strangeness in 95/98 machine and qmail
26240 by: Bill Parker <[EMAIL PROTECTED]>
Why 2 tcpserver processes?
26241 by: "Ralf Guenthner" <[EMAIL PROTECTED]>
ORBS and MAPS RBL ?
26242 by: Lars Marowsky-Bree <[EMAIL PROTECTED]>
26244 by: "Petr Novotny" <[EMAIL PROTECTED]>
26245 by: Dave Sill <[EMAIL PROTECTED]>
26249 by: Russell Nelson <[EMAIL PROTECTED]>
26250 by: Lars Marowsky-Bree <[EMAIL PROTECTED]>
26274 by: "Russell P. Sutherland" <[EMAIL PROTECTED]>
26278 by: "Peter Samuel" <[EMAIL PROTECTED]>
26279 by: "Peter Samuel" <[EMAIL PROTECTED]>
Compile Qmail on upgraded Solaris 2.6
26243 by: Patrick Durusau <[EMAIL PROTECTED]>
26246 by: Dave Sill <[EMAIL PROTECTED]>
26248 by: "Jay D. Dyson" <[EMAIL PROTECTED]>
26275 by: Russ Allbery <[EMAIL PROTECTED]>
Qmail latency ?
26251 by: Emmanuel Mogenet <[EMAIL PROTECTED]>
26252 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]>
26253 by: Russell Nelson <[EMAIL PROTECTED]>
26254 by: Dave Sill <[EMAIL PROTECTED]>
26255 by: Emmanuel Mogenet <[EMAIL PROTECTED]>
26256 by: Emmanuel Mogenet <[EMAIL PROTECTED]>
26257 by: Lars Balker Rasmussen <[EMAIL PROTECTED]>
26258 by: Scott Schwartz <[EMAIL PROTECTED]>
26271 by: Wilson Fletcher <[EMAIL PROTECTED]>
funky qmail testing
26259 by: "Jon Passki" <[EMAIL PROTECTED]>
logging pop connects
26260 by: "" <[EMAIL PROTECTED]>
Problem with virtual domains and mx-records
26261 by: Michael Legart <[EMAIL PROTECTED]>
26263 by: [EMAIL PROTECTED]
26264 by: Michael Legart <[EMAIL PROTECTED]>
26265 by: [EMAIL PROTECTED]
26266 by: Michael Legart <[EMAIL PROTECTED]>
26267 by: Thorkild Stray <[EMAIL PROTECTED]>
26268 by: Chris Johnson <[EMAIL PROTECTED]>
Null recipient question
26262 by: Bruno Wolff III <[EMAIL PROTECTED]>
Concept: 'infinate' POP3 accounts per pop3 user.
26269 by: Paul Gregg <[EMAIL PROTECTED]>
26270 by: "Sam" <[EMAIL PROTECTED]>
checkpoppasswd ?
26272 by: Stephane Morand <[EMAIL PROTECTED]>
26273 by: RaTao von J <[EMAIL PROTECTED]>
qmail daemon on OSF1 v 4.0
26276 by: [EMAIL PROTECTED]
mkpasswd.pl and checkpasswd
26277 by: Stephane Morand <[EMAIL PROTECTED]>
DNS and MX record question
26280 by: Anthony Mutiso <[EMAIL PROTECTED]>
Problems retrieving mail with Outlook Express...
26281 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]
----------------------------------------------------------------------
On Thu, 3 Jun 1999, Hotdog wrote:
> Hi,
> I am using qmail 1.03 and sendmail 8.9.1 at the same server. Qmail used for receive
> inbound letters and using sendmail -bs send our mailing list.
> I had to say sometime sendmail is better than qmail,for example,
> while talk to qmail,
> rcpt to: [EMAIL PROTECTED]
> rcpt to: [EMAIL PROTECTED]
> rcpt to: [EMAIL PROTECTED]
> (host 'hostN.com' is not a local host)
>
> then qmail will crack this letter to 3 letters,first [EMAIL PROTECTED],then
> [EMAIL PROTECTED],and then [EMAIL PROTECTED] to send it . But sendmail not, it
> will crack this letter to only two letters: [EMAIL PROTECTED],[EMAIL PROTECTED]
> and [EMAIL PROTECTED] This is the reason I am using sendmail but not qmail
> to send outbound letters.
In testing I've done qmail may initiall appear inefficient, but in reality
delivers mail faster than sendmail. this is due to the latency of the
Internet connections to remote hosts -- in parallel sessions to the same
machine I overcome this latency.
> But the problem is, if I let sendmail to be a deamon(-bd),sendmail will
> try to listen port 25(and now qmail listen ? ),and if I not, sendmail
> cannot check the mail queue to delivert queued letters.(manual sendmail
> -q &? :( )
>
> Then how can I do?
sendmail -q15m
will start sendmail and leave it running processing the outbound queue
every 15 minutes. read the manual to see how to specify other
run-intervals.
RjL
==================================================================
The problems of the world || Fax: +44 870 0521198
can't be solved by fixing || Email: [EMAIL PROTECTED]
the working -- C. Daniluk || Phone: +44 385 275 394
Could it be the IMAP server? I have several people (including myself)
running Outlook Express 4.72 which also wants an "Inbox" and I'm not getting
any errors. Our setup is qmail 1.03 with the patched for maildir UW Imap
server running both Maildirs and Mailboxs.
As for the suggestion of a non MS client, I've looked at eudora and a few
others and they are actually worse. Eudora blows for Imap. It always wants
to show every file in the users dir even the . files. I was able to work
around it by editing by hand eudora's local mboxlst.lst file but as soo as I
tried to refresh the folder list everything came back. So I'd be real
interested in a REAL suggestion as to what windows IMAP client to run.
--Dave
>I'm getting just a teensy bit fed up with Microsoft and their approach to
>Internet Standards...
>
>
>Outlook Express version 5 has fixed most of my issues with IMAP bar this
>one: Outlook creates a 'special' folder called Inbox. This folder doesn't
>exist on the IMAP server, so every synch with the server results in at
least
>one error, which is obviously unacceptable for the users. I can't create
an
>Inbox folder on the server either (or rather, I can, but Outlook doesn't
>appear to see it). I can't remove the Inbox folder, because Microsoft
>apparently know better.
>
>Does anyone have any ideas or suggestions for me?
>
>Thanks,
>Jim
>
>
> I'm getting just a teensy bit fed up with Microsoft and their approach to
> Internet Standards...
>
> Outlook Express version 5 has fixed most of my issues with IMAP bar this
> one: Outlook creates a 'special' folder called Inbox.
>From "INTERNET-DRAFT: IMAP4rev1", the proposed revision of RFC2060 which is
the current de facto IMAP standard:
The case-insensitive mailbox name INBOX is a special name reserved to
mean "the primary mailbox for this user on this server". The
interpretation of all other names is implementation-dependent.
>From RFC 2060 (IMAP4rev1):
The interpretation of mailbox names is implementation-dependent.
However, the case-insensitive mailbox name INBOX is a special name
reserved to mean "the primary mailbox for this user on this server".
>From RFC 1730 (IMAP4, obsoleted by RFC2060)
The interpretation of mailbox names is implementation-dependent.
However, the mailbox name INBOX is a special name reserved to mean
"the primary mailbox for this user on this server".
SO, the way I read it, the special mailbox INBOX is a normal part of
IMAP4, and it isn't Outlook's fault that your mail server isn't providing
the INBOX folder that the RFC says should be there.
> Does anyone have any ideas or suggestions for me?
Find out why your IMAP server doesn't support this aspect of IMAP
correctly?
I've got lots of problems with OE5 (OE4 was much less buggy), but I
think that both of them do a good job of not screwing with the IMAP
protocol.
--
gowen -- Greg Owen -- [EMAIL PROTECTED]
On Thu, Jun 03, 1999 at 10:03:08AM -0400, Dave Teske wrote:
> As for the suggestion of a non MS client, I've looked at eudora and a few
> others and they are actually worse. Eudora blows for Imap. It always wants
> to show every file in the users dir even the . files. I was able to work
> around it by editing by hand eudora's local mboxlst.lst file but as soo as I
> tried to refresh the folder list everything came back. So I'd be real
> interested in a REAL suggestion as to what windows IMAP client to run.
I haven't tried it yet, but the latest Pegasus mail has IMAP support. Pmail
is known for its adherance to standards, and is good quality software. I
would guess its IMAP supported has been done the right way. Try it.
http://www.pmail.com
--
System Administrator
See complete headers for address, homepage and phone numbers
It's close. The basic IMAP stuff is there, but their seems to be a problem
with extra folder support. Of course this could be the IMAP server fault
too. Also I'm not crazy about the UI but I'll have to play with it for
awhile.
Thanks for the tip
--Dave
>
>I haven't tried it yet, but the latest Pegasus mail has IMAP support. Pmail
>is known for its adherance to standards, and is good quality software. I
>would guess its IMAP supported has been done the right way. Try it.
>
>http://www.pmail.com
>
>--
>System Administrator
>See complete headers for address, homepage and phone numbers
>
At 12:52 PM 6/3/99 +1200, you wrote:
>Check the qmail FAQ under the allow selective relaying bit... chances are
>this machine is no longer within the range you specified.
>
>I assume you're using tcpserver, specifying an IP range here... if not,
>specifically allow this machine to relay as well.
>
I think that is what the problem is, I checked the tcp.smtp file under
/etc/tcprules.d and found the old .249 address listed, but I then changed
it to .219, however, the file will not process under tcprules when I try
to run it...I know I am missing something basic here, but I can't see what
it is...
-Bill
Thanks to all of you who cleared this up.
>My goof and sorry for the confusion!
I caused part of the confusion because when I first asked Dave about it, I hadn't know
yet that the additional tcpserver/smtpd procs I saw came and went with the number of
active connections. Sorry...
Regards
Ralf
Good morning,
I am looking for a patch to make tcpserver work with both the MAPS RBL and
ORBS. Has anyone implemented that yet, or am I just too stupid to figure it
out? ;-)
Sincerely,
Lars Marowsky-Br�e
--
Lars Marowsky-Br�e
Network Management
teuto.net Netzdienste GmbH - DPN Verbund-Partner
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I am looking for a patch to make tcpserver work with both the MAPS RBL and
> ORBS. Has anyone implemented that yet, or am I just too stupid to figure
> it out? ;-)
You don't patch - you simply run two rblsmtpds one after another:
tcpserver ... rblsmtpd -rrelays.orbs.org rblsmtpd qmail-smtpd
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBN1a91VMwP8g7qbw/EQIlKACfcBT6Oa4HBmKPTA+cgJOK/+wbV08AoNN0
cooOBhMk4lU/ekbH15t0Lgcj
=p761
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote:
>
>I am looking for a patch to make tcpserver work with both the MAPS RBL and
>ORBS. Has anyone implemented that yet, or am I just too stupid to figure it
>out? ;-)
See:
http://Web.InfoAve.Net/~dsill/lwq.html#rblsmtpd
(I don't have a sample invocation, if someone would like to provide
one.)
-Dave
Lars Marowsky-Bree writes:
> I am looking for a patch to make tcpserver work with both the MAPS RBL and
> ORBS. Has anyone implemented that yet, or am I just too stupid to figure it
> out? ;-)
I haven't implemented it in my patch, and mine is the only one.
However, you can run Dan's rblsmtpd twice, once with MAPS RBL (the
default) and once with ORBS.
Sorry I didn't say hello to you at Linux Expo. I saw your badge and
said "Hmmmm.... Don't I recognize his name from somewhere??".
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | child.
On 1999-06-03T16:51:51,
Russell Nelson <[EMAIL PROTECTED]> said:
> I haven't implemented it in my patch, and mine is the only one.
> However, you can run Dan's rblsmtpd twice, once with MAPS RBL (the
> default) and once with ORBS.
Yeah, I figured this in between. Looks ugly, works. ;-)
Maybe we might get rblsmtpd to accept multiple -r arguments one day.
> Sorry I didn't say hello to you at Linux Expo. I saw your badge and
> said "Hmmmm.... Don't I recognize his name from somewhere??".
My fault. It was impossible not to notice you, but I was kind of busy.
Sincerely,
Lars Marowsky-Br�e
--
Lars Marowsky-Br�e
Network Management
teuto.net Netzdienste GmbH - DPN Verbund-Partner
On Thu, Jun 03, 1999 at 12:39:45PM -0400, Dave Sill wrote:
> See:
>
> http://Web.InfoAve.Net/~dsill/lwq.html#rblsmtpd
As usual, Dave, thanks for your useful resource. I highly
recommend it, whatever your level of Qmail expertise.
> (I don't have a sample invocation, if someone would like to provide
> one.)
Here's mine:
# Fire up smtpd and logging
# This has hooks to allow select relaying. See /etc/tcp.smtp.filter
#
/opt/local/etc/tcpserver -v -x/etc/tcp.smtp.cdb -u10109 -g201 \
0 smtp /opt/local/etc/rblsmtpd /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/splogger smtpd &
Note that your uid and groupid will differ, as will the executable
paths. If you have perl a more portable construct is:
/opt/local/etc/tcpserver \
-u ` perl -e 'print scalar getpwnam qmaild' ` \
-g ` perl -e 'print scalar getgrnam nofiles' ` \
etc...
--
Quist Consulting Email: [EMAIL PROTECTED]
219 Donlea Drive Voice: +1.416.696.7600
Toronto ON M4G 2N1 Fax: +1.416.978.6620
CANADA WWW: http://www.quist.on.ca
On Thu, 3 Jun 1999, Russell P. Sutherland wrote:
> ...
> Note that your uid and groupid will differ, as will the executable
> paths. If you have perl a more portable construct is:
>
> /opt/local/etc/tcpserver \
> -u ` perl -e 'print scalar getpwnam qmaild' ` \
> -g ` perl -e 'print scalar getgrnam nofiles' ` \
> etc...
I've never had any problems running
tcpserver -u qmaild -g nofiles
Have I been wrong all this time?
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"
On Fri, 4 Jun 1999, Peter Samuel wrote:
> On Thu, 3 Jun 1999, Russell P. Sutherland wrote:
> > ...
> > Note that your uid and groupid will differ, as will the executable
> > paths. If you have perl a more portable construct is:
> >
> > /opt/local/etc/tcpserver \
> > -u ` perl -e 'print scalar getpwnam qmaild' ` \
> > -g ` perl -e 'print scalar getgrnam nofiles' ` \
> > etc...
>
> I've never had any problems running
>
> tcpserver -u qmaild -g nofiles
>
> Have I been wrong all this time?
Just did another test. I WAS wrong all this time :(
You've got to use numbers only. If you use names, as I was, then
tcpserver ends up giving them a value of 0 (output of scan_ulong())
and sets effective user id to root. Nasty.
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"
Greetings,
I am trying to compile Qmail using gcc on an upgraded Solaris 2.6 (was
Solaris 2.5.1) box and keep getting the following error message:
#include <...> search starts here:
/usr/local/include
/opt/FSFgcc/sparc-sun-solaris2.5/include
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include
/usr/include
End of search list.
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,
from /usr/include/netinet/in.h:38,
from qmail-remote.c:3:
/opt/FSFgcc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
warn
ing: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous defi
nition
In file included from /usr/include/sys/stream.h:26,
from /usr/include/netinet/in.h:38,
from qmail-remote.c:3:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `qmail-remote.o'
Comments, suggestions? (I have previously compiled qmail successfully
for Solaris 2.5.1 with the same version of gcc.)
Patrick
--
Patrick Durusau
Information Technology Services
Scholars Press
[EMAIL PROTECTED]
Interim Manager, ITS
Patrick Durusau <[EMAIL PROTECTED]> wrote:
>
>I am trying to compile Qmail using gcc on an upgraded Solaris 2.6 (was
>Solaris 2.5.1) box and keep getting the following error message:
GCC needs to be compiled for the version of the OS it's running on.
You need to install a 2.6 GCC.
-Dave
-----BEGIN PGP SIGNED MESSAGE-----
On Thu, 3 Jun 1999, Patrick Durusau wrote:
> I am trying to compile Qmail using gcc on an upgraded Solaris 2.6 (was
> Solaris 2.5.1) box and keep getting the following error message:
From the looks of things, I'd say you need to upgrade your version
of GCC under Solaris 2.6.
> Comments, suggestions? (I have previously compiled qmail successfully
> for Solaris 2.5.1 with the same version of gcc.)
That's the thing. You were running Solaris 2.5.1 and your GCC was
built for 2.5. Now you're at 2.6 and still using a GCC build for 2.5.
That generally causes headaches, in my experience.
- -Jay
( ______
)) .--- "There's always time for a good cup of coffee" ---. >===<--.
C|~~| (>--- Jay D. Dyson - [EMAIL PROTECTED] ---<) | = |-'
`--' `- Superman had Kryptonite, I have NT. Life is real. -' `-----'
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBN1aw5M2OVDpaKXD9AQHOzQQAr10fWKDvZIivsUM+lB5s1jp9SvqDC5gz
H+AhWD4BCwRvEm97wcuXuvoJ6Eu1FO+AxKkmugjLWSzm8U3Ye8Pjc5MCPk4Y2ERK
3EICakrcbYwqe3/MZyTOj3AXJPrA7USjUDbKmwzuLcY9JeUqXoqLIi8sy9m9N84M
GRKMJ6hZlCQ=
=1ciM
-----END PGP SIGNATURE-----
Jay D Dyson <[EMAIL PROTECTED]> writes:
> On Thu, 3 Jun 1999, Patrick Durusau wrote:
>> Comments, suggestions? (I have previously compiled qmail successfully
>> for Solaris 2.5.1 with the same version of gcc.)
> That's the thing. You were running Solaris 2.5.1 and your GCC was built
> for 2.5. Now you're at 2.6 and still using a GCC build for 2.5. That
> generally causes headaches, in my experience.
Just to fill in the reason *why* it causes headaches, gcc generates its
own private set of include files by running fixincludes at installation
time. And the include files are invariably OS-specific, so the include
files gcc stashed away from 2.5.1 are going to die miserably on 2.6.
--
Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>
Hi,
I started playing with qmail about 3 days ago, and I'vegot it up
and running on my internet gateway (a Linux box running kernel 2.2.9).
Everything is OK except for a minor detail: delivery latency.
When a message is being queued, I'd like it to be delivered immediately.
It isn't.I have to wait from 5 to 25 minutes to finally see it go.
So, first I browsed through every bit of qmail documentation I could get my
hands
on and I couldn't find a place where you can tune how often qmail looks at
what's in the queue.
Did I miss it in the doc or is qmail-send supposed to spot anew message in the
queue immediately ?
If the latter is true, then something's not working in my setup.
Any help appreciated.
- Emmanuel
That is definetly not the default behaviour of qmail. When i send a
message (in pine for example) to another host, it gets delivered
immediately. Usually before i can even exit the program and do a netstat
it's already been delievered.
On Thu, 3 Jun 1999, Emmanuel Mogenet wrote:
>Everything is OK except for a minor detail: delivery latency.
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
11:05am up 118 days, 18:08, 3 users, load average: 0.00, 0.03, 0.02
Emmanuel Mogenet writes:
> When a message is being queued, I'd like it to be delivered immediately.
> It isn't.I have to wait from 5 to 25 minutes to finally see it go.
Your /var/qmail/queue/lock/trigger either isn't a pipe, or it's
permissions are hosed. cd /usr/local/src/qmail-1.03; make setup.
[root@desk nelson]# ls -l /var/qmail/queue/lock/trigger
prw--w--w- 1 qmails qmail 0 Jun 3 13:25 /var/qmail/queue/lock/trigger
--
-russ nelson <[EMAIL PROTECTED]> http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | child.
Emmanuel Mogenet <[EMAIL PROTECTED]> wrote:
>
>I started playing with qmail about 3 days ago, and I'vegot it up
>and running on my internet gateway (a Linux box running kernel 2.2.9).
>
>Everything is OK except for a minor detail: delivery latency.
>
>When a message is being queued, I'd like it to be delivered immediately.
>It isn't.I have to wait from 5 to 25 minutes to finally see it go.
Sounds like maybe your "trigger" is messed up. If you can, do a "make
check" from the source tree. Else, do:
ls -l /var/local/qmail/queue/lock/trigger
And make it look like:
prw--w--w- 1 qmails qmail 0 Jun 3 13:25
/var/local/qmail/queue/lock/trigger
-Dave
>That is definetly not the default behaviour of qmail. When i send a
>message (in pine for example) to another host, it gets delivered
>immediately. Usually before i can even exit the program and do a netstat
>it's already been delievered.
That's what I suspected.
It seems that this is a problem with my config.
I'm looking at the source code of qmail-send, and there's one big
select in there listening on a whole bunch of channels.
Does anyone know exactly how and why this select is supposed to wake up
when a message is received ? That'd help me track the problem.
Thanks,
- Emmanuel
>Sounds like maybe your "trigger" is messed up. If you can, do a "make
>check" from the source tree. Else, do:
>
> ls -l /var/local/qmail/queue/lock/trigger
>
>And make it look like:
>
>prw--w--w- 1 qmails qmail 0 Jun 3 13:25
/var/local/qmail/queue/lock/trigger
That did it.
I had it prw-------
>Your /var/qmail/queue/lock/trigger either isn't a pipe, or it's
>permissions are hosed. cd /usr/local/src/qmail-1.03; make setup.
One annoying problem with qmail is the following:
The machine I built it on and the machine I compile it on are not the same.
The machine it runs on is a barebones firewall that doesn't have anything such
as make, cc other goodies installed.
So I have to make it on a machine, make a tarball, and install it on the
other.
Somehow, the w bits got lost in the transfer. Maybe a tar bug on named pipes
??
I'll investigate further.
Thanks a lot for fixing my problem
- Emmanuel
On Thu, Jun 03, 1999 at 10:39:34AM -0700, Emmanuel Mogenet wrote:
> So I have to make it on a machine, make a tarball, and install it on the
> other.
> Somehow, the w bits got lost in the transfer. Maybe a tar bug on named pipes
> ??
You should always set umask to 0 before unpacking tar-balls.
--
Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS
[EMAIL PROTECTED]
Lars Balker Rasmussen <[EMAIL PROTECTED]> writes:
| You should always set umask to 0 before unpacking tar-balls.
Better to use the "p" flag to tar.
Yep I had this problem too when putting qmail on a machine in a DMZ.
Naturally I didn't want ny build tools on the machine.
It was a major pain to fix all the permissions and get qmail running. In
fact it took me about 4 - 6 hours to get it all bedded down (Luckily I had
another qmail installation behind the firewall that I could use for
reference).
Someone should write a HOWTO explaining howto compile on one machine and
deploy on another.
Wilson Fletcher
On Thursday, June 03, 1999 5:40 PM, Emmanuel Mogenet
[SMTP:[EMAIL PROTECTED]] wrote:
> >Sounds like maybe your "trigger" is messed up. If you can, do a "make
> >check" from the source tree. Else, do:
> >
> > ls -l /var/local/qmail/queue/lock/trigger
> >
> >And make it look like:
> >
> >prw--w--w- 1 qmails qmail 0 Jun 3 13:25
> /var/local/qmail/queue/lock/trigger
>
> That did it.
>
> I had it prw-------
>
> >Your /var/qmail/queue/lock/trigger either isn't a pipe, or it's
> >permissions are hosed. cd /usr/local/src/qmail-1.03; make setup.
>
> One annoying problem with qmail is the following:
>
> The machine I built it on and the machine I compile it on are not the
same.
>
> The machine it runs on is a barebones firewall that doesn't have anything
such
>
> as make, cc other goodies installed.
>
> So I have to make it on a machine, make a tarball, and install it on the
> other.
> Somehow, the w bits got lost in the transfer. Maybe a tar bug on named
pipes
> ??
>
> I'll investigate further.
>
> Thanks a lot for fixing my problem
>
> - Emmanuel
A while ago, I posted a question about running the
tests from the TEST.receive. I wasn't able to perform the first
test.
Here's a printout of the
/var/log/maillog:
May 31 19:43:15 ns qmail: 928197795.355051 new msg
206346
May 31 19:43:15 ns qmail: 928197795.356956 info msg 206346: bytes 201
from <> qp 2700 uid 1014
May 31 19:43:15 ns qmail: 928197795.363705
starting delivery 9: msg 206346 to local @ns.b3l33t.org
May 31 19:43:15 ns
qmail: 928197795.364776 status: local 1/10 remote 0/20
May 31 19:43:15 ns
qmail: 928197795.366488 delivery 9: success:
May 31 19:43:15 ns qmail:
928197795.370922 status: local 0/10 remote 0/20
May 31 19:43:15 ns qmail:
928197795.372415 end msg 206346
Funny thing, all the other tests worked. Why
is it taking off the user name on the mail? TIA,
Jon
Hello,
I want to log pop connects (both successes and failures) using
qmail's pop server. I have read through some archived postings
but cannot tell whether this kind of logging is possible or if
so whether it would be done as a shell script or as a modification
to checkpassword. It would be good enough for me if I could at
least get tcpserver to log to syslog just the date, the remote ip,
the server connection port each time it handled a connect but it
doesn't seem like tcpserver has syslog logging capabilities.
How are most people doing pop logging?
Thanks,
Mark
Hi!
I'm trying to setup a virtal domain called "cryos.wiktor.dk", with
some emails. The domain is in control/rcpthosts and control/virtualdomains
I the dns-zone:
cryos A 212.97.129.68
MX 10 wiktor.dk.
When i try to send a email to ie. [EMAIL PROTECTED] the mail bounces:
Hi. This is the qmail-send program at wiktor.dk.
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]>:
Sorry, no mailbox here by that name. (#5.1.1)
Even though the header says:
From: Michael Legart <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Any ideas why this happens?
TIA,
--
michael legart, [EMAIL PROTECTED]
sysadmin, http://wiktor.dk
Michael,
Michael Legart wrote:
>
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
>
> Even though the header says:
> From: Michael Legart <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
it seems you have user called henrik, but no mailbox as error message said.
Do you really have mailbox(or dir etc) to ~henrik/?
if you are using maildir format, did you do maildirmake ~henrik/Maildir ???
On Fri, Jun 04, 1999 at 06:47:07AM +0900, [EMAIL PROTECTED] wrote:
> it seems you have user called henrik, but no mailbox as error message said.
> Do you really have mailbox(or dir etc) to ~henrik/?
> if you are using maildir format, did you do maildirmake ~henrik/Maildir ???
As I see it, it tries to deliver the mail to "[EMAIL PROTECTED]" instead
of "[EMAIL PROTECTED]" - cryos.wiktor.dk is a virtual domain,
and the user "henrik" does NOT exist on wiktor.dk. Only as a user for
cryos.wiktor.dk..
--
michael legart, [EMAIL PROTECTED]
sysadmin, http://wiktor.dk
oops..sorry
on your previous mail, it had mx record like
cryos IPaddress
wiktor.dk.
and not cryos.wiktor.dk
does it help bit?
Michael Legart wrote:
>
> On Fri, Jun 04, 1999 at 06:47:07AM +0900, [EMAIL PROTECTED] wrote:
> > it seems you have user called henrik, but no mailbox as error message said.
> > Do you really have mailbox(or dir etc) to ~henrik/?
> > if you are using maildir format, did you do maildirmake ~henrik/Maildir ???
>
> As I see it, it tries to deliver the mail to "[EMAIL PROTECTED]" instead
> of "[EMAIL PROTECTED]" - cryos.wiktor.dk is a virtual domain,
> and the user "henrik" does NOT exist on wiktor.dk. Only as a user for
> cryos.wiktor.dk..
>
> --
> michael legart, [EMAIL PROTECTED]
> sysadmin, http://wiktor.dk
On Fri, Jun 04, 1999 at 07:03:17AM +0900, [EMAIL PROTECTED] wrote:
>
> on your previous mail, it had mx record like
> cryos IPaddress
> wiktor.dk.
> and not cryos.wiktor.dk
Ok, thanks! That works. But why doesn't the other thing work?
Like - the MX for "nerd.dk" is "www100.image.dk" but mail to
"[EMAIL PROTECTED]" is NOT sent to "[EMAIL PROTECTED]"
So what's the difference from my setup?
--
michael legart, [EMAIL PROTECTED]
sysadmin, http://wiktor.dk
On Thu, 3 Jun 1999, Michael Legart wrote:
> This is a permanent error; I've given up. Sorry it didn't work out.
> <[EMAIL PROTECTED]>:
> Sorry, no mailbox here by that name. (#5.1.1)
> Even though the header says:
> From: Michael Legart <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Any ideas why this happens?
Your controls/locals file doesn't happen to have cryos.wiktor.dk in it,
does it?
This was a problem for me, since it didn't even look at the
virtualdomains, since it matched in the locals file first.
--
Thorkild
On Thu, Jun 03, 1999 at 11:37:03PM +0200, Michael Legart wrote:
> Hi!
>
> I'm trying to setup a virtal domain called "cryos.wiktor.dk", with
> some emails. The domain is in control/rcpthosts and control/virtualdomains
>
> I the dns-zone:
> cryos A 212.97.129.68
> MX 10 wiktor.dk.
$ dig cryos.wiktor.dk any
; <<>> DiG 2.2 <<>> cryos.wiktor.dk any
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd ra; Ques: 1, Ans: 1, Auth: 2, Addit: 2
;; QUESTIONS:
;; cryos.wiktor.dk, type = ANY, class = IN
;; ANSWERS:
cryos.wiktor.dk. 86400 CNAME vovse.wiktor.dk.
You don't want a CNAME there. The address is being canonicalized by the MTA,
and the message isn't going where you expect it to.
Chris
I was trying out what would happen if some site incorrectly replied to
the empty recipient address in error. I expected the message to end up
going to postmaster.
When I tried this out I found that the message just gets dropped without
even a bounce. Setting up a catch all alias with a ".qmail-default" file
didn't help.
After looking around for a while I found that rspawn seems to ignore
any message with an empty local part.
Does anyone know why this was both set up not to generate a bounce and
not be delivered someplace?
I would have thought it would have made more sense not to accept the email
in the first place so that the misconfigured remote site would have a chance
to see a bounce there.
Hi all.
Consider the following setup:
Each user of an ISP has a full "virtualhost" username.
Qmail is configured so that [EMAIL PROTECTED] is delivered
into their individual Maildir/Pop3 box. Each user logs in with their
username 'theirname.domain.com'.
Assume this setup is running perfectly (ok, I have 4,000 users using it).
Essentially I'm thinking of enabling the user to login via POP3 as
'[EMAIL PROTECTED]' with their normal password. (I've written the
checkpasswd so it's easy to authenticate ok).
What methodology could be used so that if they login with a specific
email address as a POP3 user then they only "see" email which is destined
for that user. but if they logged in without a user@ part then they would get
everything.
My inital thoughts are to auth, then create a sub-Maildir and mv the relivant
emails into it, set HOME appropriately and launch qmail-pop3d.
However, this has implications against "Leave mail on server", so if this
happens we need to consider mv-ing emails back to the parent Maildir/cur
and tearing down the sub-Maildir.
I could do the above described setup ok, but perhaps there may be an issue(s)
I haven't considered.
Anyone have any thoughts on this?
This has obvious application in providing "company wide" or private boxes
within a single ISP account setup without having to do anything fancy for
each client.
Paul.
--
Email pgregg at tibus.net | CLUB24 | Email pgregg at nyx.net |
Technical Director | INTERNET | System Administrator |
The Internet Business Ltd | Free Access | Nyx Public Access Internet |
http://www.tibus.net | www.club24.co.uk | http://www.nyx.net |
Paul Gregg writes:
> Assume this setup is running perfectly (ok, I have 4,000 users using it).
>
> Essentially I'm thinking of enabling the user to login via POP3 as
> '[EMAIL PROTECTED]' with their normal password. (I've written the
> checkpasswd so it's easy to authenticate ok).
>
> What methodology could be used so that if they login with a specific
> email address as a POP3 user then they only "see" email which is destined
> for that user. but if they logged in without a user@ part then they would get
> everything.
You'll need a custom POP3 server for that. When the POP3 server
initializes and scans the Maildir for messages, it should ignore messages
that do not have a Delivered-To: address for the login user.
Maildir-based POP3 servers are childishly simple, and you should be able to
write one up, or modify an existing one, in no time at all.
--
Sam
Hi,
I have some trouble with the Jedi's checklocalpwd.c programm. (see
ftp://ftp.ldh.org/pub/j/qmail/checklocalpwd.c )
I can compile it on a unix platform, but that's not possible on a linux
platform. (I tried a redhat 4.2 and a red hat 6.0 ..)
Here is the message that I got :
With gcc
% gcc checklocalpwd.c
/tmp/cc4V6NRr.o: In function `main':
/tmp/cc4V6NRr.o(.text+0x3d4): undefined reference to `crypt'
collect2: ld returned 1 exit status
With g++
% g++ checklocalpwd.c
checklocalpwd.c: In function `char * str1e2(char *, char *)':
checklocalpwd.c:39: warning: ANSI C++ forbids implicit conversion from
`void *' in assignment
/tmp/ccQgJYGy.o: In function `main':
/tmp/ccQgJYGy.o(.text+0x3d4): undefined reference to `crypt'
collect2: ld returned 1 exit status
with cc
cc checklocalpwd.c
/tmp/ccw8ZBlP.o: In function `main':
/tmp/ccw8ZBlP.o(.text+0x3d4): undefined reference to `crypt'
collect2: ld returned 1 exit status
I have no idea about the problem.
Any idea are welcome.
Thanks!
Stephan
try adding -lcrypt to the Makefile's CFLAGS or something
regards,
ratao
On 04-Jun-99 Stephane Morand wrote:
>
> Hi,
>
> I have some trouble with the Jedi's checklocalpwd.c programm. (see
> ftp://ftp.ldh.org/pub/j/qmail/checklocalpwd.c )
>
> I can compile it on a unix platform, but that's not possible on a linux
> platform. (I tried a redhat 4.2 and a red hat 6.0 ..)
>
> Here is the message that I got :
>
> With gcc
> % gcc checklocalpwd.c
> /tmp/cc4V6NRr.o: In function `main':
> /tmp/cc4V6NRr.o(.text+0x3d4): undefined reference to `crypt'
> collect2: ld returned 1 exit status
>
> With g++
> % g++ checklocalpwd.c
> checklocalpwd.c: In function `char * str1e2(char *, char *)':
> checklocalpwd.c:39: warning: ANSI C++ forbids implicit conversion from
> `void *' in assignment
> /tmp/ccQgJYGy.o: In function `main':
> /tmp/ccQgJYGy.o(.text+0x3d4): undefined reference to `crypt'
> collect2: ld returned 1 exit status
>
> with cc
> cc checklocalpwd.c
> /tmp/ccw8ZBlP.o: In function `main':
> /tmp/ccw8ZBlP.o(.text+0x3d4): undefined reference to `crypt'
> collect2: ld returned 1 exit status
>
> I have no idea about the problem.
> Any idea are welcome.
>
> Thanks!
>
> Stephan
----------------------------------
E-Mail: RaTao von J <[EMAIL PROTECTED]>
Date: 04-Jun-99 Time: 03:09:46
----------------------------------
Dear all,
I've installed qmail on OSF1 and successfully,
the question is : How to make qmail daemon on OSF1, ? Why my daemon can't
execute at startup ? Can everybody give me a sample qmail daemon on OSF1?
Thank's
Could anyone help me?
I'm using the checkpoppasswd supplied on Qmail.org:
/* Alternative checkpassword for QPopup by Jedi/Sector One <[EMAIL PROTECTED]> */
/* Format of the configuration file is :
* pop_login:crypted_password:real_login:path */
In the file
/var/qmail/users/poppasswd there is a line like:
testid:DmIMm9e5Hc8ic:popuser:/var/qmail/popboxes/domain-com/joe
So, here the passwd is crypted. My question is How to setup the crypted
passwd? What seed to use?
The Jedi's checkpoppasswd script uses the crypt() function, with the
parametter: crypt(passwd,stored)
-passwd is the passwd the the program take from the network
-stored is the crypted passwd in the poppasswd file.
So, I don't know what passwd to set in the poppasswd file.
I'm sure someone has a good idea about that :-))
Thanks!
Stephane
This question has come up before on this list but I have not been able
to find a clear answer in the archives.
I tried to mail a friend at domain that only had an MX record.
i.e.
#nslookup -query=A site1.com
Server: localhost
Address: 127.0.0.1
*** localhost can't find site1.com: Non-existent host/domain
# nslookup -query=mx site1.com
Server: localhost
Address: 127.0.0.1
Non-authoritative answer:
site1.com preference = 15, mail exchanger = mailin1.site2.com
site1.com preference = 15, mail exchanger = mailin2.site2.com
Authoritative answers can be found from:
site1.com nameserver = ns1.site2.com
site1.com nameserver = ns2.site.com
site1.com nameserver = ns3.site2.com
ns1.site2.com internet address = 207.xxx.aaa.43
ns2.site2.com internet address = 204.xxx.bbb.3
ns3.site2.com internet address = 207.xxx.ccc.5
So when I mail [EMAIL PROTECTED] I get the class delivery failure:
....: failure: Sorry,_I_couldn't_find_any_host_named_site1.com>._(#5.1.2)/
So.... my question is:
Is it my qmail configuration that is at fault or is my friends DNS entry
all buggered. It would seen that qmail did not get to the MX record to
find the right delivery address.
I have no entries in the smtproutes file. I tried puting a manual
route for site1.com:mailin1.site2.com but go a relay failure.
So what gives?
Thanks for the help.
Anthony
Hi all:
We have installed qmail 1.03 with qmail-pop3d in our mail server. From
time to time, there are users with Microsoft mail clientes (Outlook,
Outlook Express, Internet Mail, occasionally Exchange) who can't
retrieve messages with attachments. The mail program just hangs, or
shows some message like "Unexpected error; the connection has been
aborted by the server" (paraphrased). It doesn't always happen with big
attachments; sometimes, a small 5K file is enough to block the mailbox
(although I have noticed that a large number of the messages with
problems come with some M$-generated file attached (Word/Excel documents
and such)).
I've searched on the mailing list archives, and I've found a couple of
posts by people with similar problems, but there wasn't any answer about
how it was solved. Any ideas?
Paulo Jan.
DDnet.