qmail Digest 17 Mar 2000 11:00:01 -0000 Issue 943

Topics (messages 38603 through 38672):

Deferral when host doesn't exist
        38603 by: Chris Green
        38659 by: Chris Green
        38660 by: Petr Novotny
        38662 by: Chris Green
        38663 by: Petr Novotny
        38664 by: Chris Johnson
        38667 by: Chris Green
        38668 by: Chris Green
        38670 by: Frank Tegtmeyer

Re: POP-before-SMTP implementations
        38604 by: Erik Bystr�m
        38605 by: Anand Buddhdev
        38606 by: Petr Novotny
        38608 by: cmikk.uswest.net
        38611 by: Erik Bystr�m
        38612 by: Petr Novotny
        38613 by: cmikk.uswest.net
        38614 by: iv0
        38615 by: David Harris
        38643 by: Kristina

qmail lost spawn connection
        38607 by: Aled Treharne
        38610 by: Dave Sill

VPOP Forwarding
        38609 by: Christopher Tarricone

Re: Bounce Loops?
        38616 by: Bruno Wolff III

Re: MH folders 2 maildir?
        38617 by: Rogerio Brito

Anyone running TLS and SMTP AUTH patches?
        38618 by: Jason Haar
        38620 by: Dave Sill

putting /var/qmail/queue on it's own disk drive
        38619 by: Curtis Generous
        38621 by: markd.bushwire.net
        38622 by: Dave Sill

Qmail Authorization failed?
        38623 by: Jonathan Fortin
        38630 by: Dave Sill

How can I operate two identical qmail servers?
        38624 by: Gabriel Ambuehl
        38625 by: markd.bushwire.net
        38626 by: Gabriel Ambuehl
        38627 by: markd.bushwire.net
        38628 by: markd.bushwire.net
        38629 by: Dave Sill

Weird Problems
        38631 by: Jonathan Fortin
        38632 by: Christopher Tarricone
        38633 by: Dave Sill
        38634 by: Dave Sill

Re: Problems
        38635 by: Jonathan Fortin

Weird
        38636 by: Jonathan Fortin
        38637 by: Keith Warno
        38638 by: Jonathan Fortin
        38639 by: Ricardo Cerqueira
        38640 by: Keith Warno

[Announce] oMail-Webmail 0.90 - Initial Public Release
        38641 by: Olivier M.

setuidgid fatal unknown account qmail
        38642 by: PM Martin
        38644 by: Mads E Eilertsen
        38645 by: PM Martin

tcpserver unable to fork?
        38646 by: brianb-qmail.technet.evoserve.com
        38661 by: brianb-qmail.technet.evoserve.com

qmail-pop3d says '502 unimplemented (#5.5.1)
        38647 by: Otis Gospodnetic
        38648 by: Chris Johnson
        38649 by: Andy Bradford
        38652 by: Otis Gospodnetic

Master Accounts and Multiple domains
        38650 by: denpetrov.home.com
        38651 by: Magnus Bodin
        38655 by: denpetrov.home.com

shutting down tcpserver (pop3d) cleanly?
        38653 by: Otis Gospodnetic
        38654 by: Manfred Bartz

qmail-pop3d question
        38656 by: Michael Chao
        38657 by: Magnus Bodin
        38658 by: Haffelin Holger

Getting pop3d to work
        38665 by: TEK-KEE WANG
        38666 by: Chris Johnson
        38671 by: TEK-KEE WANG
        38672 by: TEK-KEE WANG

qmail and coda
        38669 by: Production Team 2

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]


----------------------------------------------------------------------


I get the occasional deferral like the following:-

Mar 16 11:24:36 server qmail: 953205876.814716 delivery 4: deferral: 
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/

Is there any way to speed up the bouncing of deferrals like this as
it's a bit of a pain for users to have to wait for several days before
they find out that they've mis-typed an address (or, as in this case,
someone has their return address set up wrong).

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




Did this not get through to the list when I sent it yesterday? I
didn't see any responses and one usually gets something even if it is
just RTFM!  ;-)

----- Forwarded message from Chris Green <[EMAIL PROTECTED]> -----

I get the occasional deferral like the following:-

Mar 16 11:24:36 server qmail: 953205876.814716 delivery 4: deferral: 
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/

Is there any way to speed up the bouncing of deferrals like this as
it's a bit of a pain for users to have to wait for several days before
they find out that they've mis-typed an address (or, as in this case,
someone has their return address set up wrong).


----- End forwarded message -----

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Mar 00, at 8:50, Chris Green wrote:

> I get the occasional deferral like the following:-
> 
> Mar 16 11:24:36 server qmail: 953205876.814716 delivery 4: deferral:
> Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/

That means that the domain in question probably exists, but its 
nameservers are unavailable at the moment.

> Is there any way to speed up the bouncing of deferrals like this as
> it's a bit of a pain for users to have to wait for several days before
> they find out that they've mis-typed an address (or, as in this case,
> someone has their return address set up wrong).

You don't want to do that; otherwise, you end up bouncing mail for 
aol.com in case aol.com's nameservers are unavailable (like if your 
own link goes down).

If the user misspelled the domain name to some non-existent one, 
you'd get permanent error from DNS, and bounce immediately.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONHmIVMwP8g7qbw/EQLdYQCdGQgxpLukd8BpTiyaWmnrPIaLYK0AnRJ7
5TkNsE3VwCSRLn2lsE/LblTv
=LJKs
-----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]




On Fri, Mar 17, 2000 at 10:00:32AM +0100, Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17 Mar 00, at 8:50, Chris Green wrote:
> 
> > I get the occasional deferral like the following:-
> > 
> > Mar 16 11:24:36 server qmail: 953205876.814716 delivery 4: deferral:
> > Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/
> 
> That means that the domain in question probably exists, but its 
> nameservers are unavailable at the moment.
> 
> > Is there any way to speed up the bouncing of deferrals like this as
> > it's a bit of a pain for users to have to wait for several days before
> > they find out that they've mis-typed an address (or, as in this case,
> > someone has their return address set up wrong).
> 
> You don't want to do that; otherwise, you end up bouncing mail for 
> aol.com in case aol.com's nameservers are unavailable (like if your 
> own link goes down).
> 
> If the user misspelled the domain name to some non-existent one, 
> you'd get permanent error from DNS, and bounce immediately.
> 
Well this doesn't seem to agree with what I'm seeing, the incorrectly
addressed mail was sent to <someone>@enterprises.net, whereas it
should have been sent to <someone>@enterprise.net and I was
definitely getting the deferral message.  If you do an nslookup on
enterprises.net it reurns "Non-existent host/domain".

What basis does qmail use to decide that a domain 'probably' exists?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Mar 00, at 9:46, Chris Green wrote:
> Well this doesn't seem to agree with what I'm seeing, the incorrectly
> addressed mail was sent to <someone>@enterprises.net, whereas it
> should have been sent to <someone>@enterprise.net and I was definitely
> getting the deferral message.

Is this enough for a reply?
[root@saturnin root]# dig enterprises.net ns

; <<>> DiG 8.2 <<>> enterprises.net ns
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5
;; QUERY SECTION:
;;      enterprises.net, type = NS, class = IN

;; ANSWER SECTION:
enterprises.net. 2D IN NS       DNS1.BOULEVARDS.COM.
enterprises.net. 2D IN NS       NS1.BARRNET.NET.
enterprises.net. 2D IN NS       DNSAUTH1.SYS.GTEI.NET.
enterprises.net. 2D IN NS       DNSAUTH2.SYS.GTEI.NET.
enterprises.net. 2D IN NS       DNSAUTH3.SYS.GTEI.NET.

The domain exists, according to root servers. Of course, it seems 
that this delegation is lame: A connection to the first two servers 
times out, the three gtei.net servers deny any knowledge about 
enterprises.net.

What your nslookup says may be irrelevant, as it doesn't point out 
the difference between temporary and permanent failure.


Is that enough?

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONH0FVMwP8g7qbw/EQJO1wCg3em2WZ1n3ooXrDVTXLEHcd+J4CoAn2vg
299K/9fXLt56qM02/crZ1QDm
=RVb4
-----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]




On Fri, Mar 17, 2000 at 09:46:15AM +0000, Chris Green wrote:
> Well this doesn't seem to agree with what I'm seeing, the incorrectly
> addressed mail was sent to <someone>@enterprises.net, whereas it
> should have been sent to <someone>@enterprise.net and I was
> definitely getting the deferral message.  If you do an nslookup on
> enterprises.net it reurns "Non-existent host/domain".

Then nslookup is telling you something it has no way of knowing. Lookups of
enterprises.net time out; they don't return NXDOMAIN. The timeout is a
temporary error, and qmail has no way of knowing whether this condition will
last. According to the root servers, enterprises.net is supposed to exist, but
none of its listed name servers is answering questions about it. This is not
the same as a root server saying "there's no such domain," which would be a
permanent error and would cause qmail to bounce the message immediately.

Chris




On Fri, Mar 17, 2000 at 11:00:05AM +0100, Petr Novotny wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17 Mar 00, at 9:46, Chris Green wrote:
> > Well this doesn't seem to agree with what I'm seeing, the incorrectly
> > addressed mail was sent to <someone>@enterprises.net, whereas it
> > should have been sent to <someone>@enterprise.net and I was definitely
> > getting the deferral message.
> 
> Is this enough for a reply?
> [root@saturnin root]# dig enterprises.net ns
> 
> ; <<>> DiG 8.2 <<>> enterprises.net ns
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 5
> ;; QUERY SECTION:
> ;;      enterprises.net, type = NS, class = IN
> 
> ;; ANSWER SECTION:
> enterprises.net. 2D IN NS       DNS1.BOULEVARDS.COM.
> enterprises.net. 2D IN NS       NS1.BARRNET.NET.
> enterprises.net. 2D IN NS       DNSAUTH1.SYS.GTEI.NET.
> enterprises.net. 2D IN NS       DNSAUTH2.SYS.GTEI.NET.
> enterprises.net. 2D IN NS       DNSAUTH3.SYS.GTEI.NET.
> 
> The domain exists, according to root servers. Of course, it seems 
> that this delegation is lame: A connection to the first two servers 
> times out, the three gtei.net servers deny any knowledge about 
> enterprises.net.
> 
> What your nslookup says may be irrelevant, as it doesn't point out 
> the difference between temporary and permanent failure.
> 
> 
> Is that enough?
> 
OK, it's thus just unfortunate that the user's mis-typing produced a
'possible' mail domain.  However I'm still not quite clear how qmail
manages to see it as a domain that 'might be' whereas a
straightforward nslookup simply says it doesn't exist.  Is this just
that nslookup isn't telling us everything?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/




On Fri, Mar 17, 2000 at 05:18:57AM -0500, Chris Johnson wrote:
> On Fri, Mar 17, 2000 at 09:46:15AM +0000, Chris Green wrote:
> > Well this doesn't seem to agree with what I'm seeing, the incorrectly
> > addressed mail was sent to <someone>@enterprises.net, whereas it
> > should have been sent to <someone>@enterprise.net and I was
> > definitely getting the deferral message.  If you do an nslookup on
> > enterprises.net it reurns "Non-existent host/domain".
> 
> Then nslookup is telling you something it has no way of knowing. Lookups of
> enterprises.net time out; they don't return NXDOMAIN. The timeout is a
> temporary error, and qmail has no way of knowing whether this condition will
> last. According to the root servers, enterprises.net is supposed to exist, but
> none of its listed name servers is answering questions about it. This is not
> the same as a root server saying "there's no such domain," which would be a
> permanent error and would cause qmail to bounce the message immediately.
> 
Yes, OK, now all is clear[ish].  Thanks very much for all the
explanations.

I'll just have to try and persuade everyone not to mis-type things in
a way that makes them look like other mail domains!  :-)

Basically I suppose it's a risk of having a domain which is likely to
have other domains with similar names, it's also a risk which is
likely to increase as the net becomes bigger.

Is there a way to ask qmail to send warning messages (to the user or
to the postmaster) when such deferrals occur?  This would be useful
for me to spot the occasional problem like this, as I'm running qmail
on a home system I'm hardly going to get snowed under with messages as
a consequence.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]           Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/





> Basically I suppose it's a risk of having a domain which is likely to
> have other domains with similar names, it's also a risk which is
> likely to increase as the net becomes bigger.
Whole life is a risk.

> Is there a way to ask qmail to send warning messages (to the user or
> to the postmaster) when such deferrals occur? 
Yes, there is a program call qmail_bounce. Look at www.qmail.org for
Brian T. Wightman and his delayed mail notifier.

Regards, Frank




Petr Novotny wrote:
> 
> > Has anyone implemented a POP-before-SMTP (selective relaying) system
> > that doesn't rely on the assumption that qmail and the POP daemon are
> > on the same host? Those I found on the qmail page unfortunately did.
> 
> No. They rely on POP daemon (authentication component) creating
> a CDB, and tcpserver of SMTP using it. You can accomplish this
> with NFS (or even with rsync!).

Correct, my mistake. NFS is an option, but I'd like to look in to the
option of having the access list (partially, at least) in an MySQL or
LDAP database as well. If that's not possible, NFS is probably the
only answer.

Regards,

/erik.




On Thu, Mar 16, 2000 at 09:48:21AM +0000, Erik Bystr�m wrote:

> Has anyone implemented a POP-before-SMTP (selective relaying) system
> that doesn't rely on the assumption that qmail and the POP daemon are
> on the same host? Those I found on the qmail page unfortunately did.

I have, and I've used the system with both qmail and exim. Search the
archives; I posted my scripts fairly recently.

-- 
See complete headers for more info




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16 Mar 00, at 13:04, Erik Byström wrote:
> > No. They rely on POP daemon (authentication component) creating a
> > CDB, and tcpserver of SMTP using it. You can accomplish this with
> > NFS (or even with rsync!).
>
> Correct, my mistake. NFS is an option, but I'd like to look in to the
> option of having the access list (partially, at least) in an MySQL or
> LDAP database as well. If that's not possible, NFS is probably the
> only answer.

You may. However, I think that it would eventually boil down to
creating that CDB for tcpserver anyway - other options just seem
too slow.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONDP/FMwP8g7qbw/EQKPvgCeNxsSCsOM1mvj8k83FgeA6fzxC84AoLOa
VDqG9REInI97QJsHO/knVVSR
=yM9M
-----END PGP SIGNATURE-----





On Thu, 16 Mar 2000 14:13:48 +0100 , "Petr Novotny" writes:
> You may. However, I think that it w=
> ould eventually boil down to 
> creating that CDB for tcpserver anyway - othe=
> r options just seem 
> too slow.

I've been using NFS for this purpose for a while,
but not with CDB.  To record a connection from a
"foreign" IP (i.e. not in the regular CDB file,
which allows most of our traffic), I touch a file
in a directory on an NFS volume.  Then I chain a
program into the smtpd invocation which checks for
the existence/age of that file, and if it exists/is
young enough, sets RELAYCLIENT before it execs the
smtpd.

An NFS filesystem is relatively low overhead, compared
to "open connection to SQL database and INSERT,"
etc.  I might have to write a custom RPC service
sometime, because I'm trying to move away from NFS
as much as possible.

-- 
Chris Mikkelson  |  Slashdot: because a million lemmings can't
[EMAIL PROTECTED] |  be wrong.




[EMAIL PROTECTED] wrote:
> 
> An NFS filesystem is relatively low overhead, compared
> to "open connection to SQL database and INSERT,"
> etc.  I might have to write a custom RPC service
> sometime, because I'm trying to move away from NFS
> as much as possible.

NFS just seems a little overkill for this, I think.. Anyway, if you
decide to do it the RPC way, look into DRAC which I mentioned earlier.

Regards,

/erik.




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16 Mar 00, at 7:55, [EMAIL PROTECTED] wrote:
> An NFS filesystem is relatively low overhead, compared
> to "open connection to SQL database and INSERT,"
> etc.  I might have to write a custom RPC service
> sometime, because I'm trying to move away from NFS
> as much as possible.

Did you look into a rsync possibility then? Simply build the cdb (or 
some other file, or directory, or whatever you wish) on the POP 
box, and then rsync it onto the SMTP box...

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONDwgFMwP8g7qbw/EQLQegCg1tp5ge44S4cvdiDI2QnRr6AiVJoAoJ06
0HvpF5gDdQfTl5dgN9WMtIKx
=5sp7
-----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]





On Thu, 16 Mar 2000 16:32:31 +0100 , "Petr Novotny" writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 16 Mar 00, at 7:55, [EMAIL PROTECTED] wrote:
> > An NFS filesystem is relatively low overhead, compared
> > to "open connection to SQL database and INSERT,"
> > etc.  I might have to write a custom RPC service
> > sometime, because I'm trying to move away from NFS
> > as much as possible.
> 
> Did you look into a rsync possibility then? Simply build the cdb (or 
> some other file, or directory, or whatever you wish) on the POP 
> box, and then rsync it onto the SMTP box...

That would work, if there were a single SMTP box.
Our configuration basically consists of multiple
combined pop and smtp servers backended to a NetApp.
In order to open the whole cluster to relaying, we
needed the change to propagate quickly to all others
in the cluster.  Doing this with rsync would be
rather nasty, IMNSHO.

NFS filled the niche quite simply.  The programs to
update and "query" the "database" were quick C
10-liners.

-- 
Chris Mikkelson  | If you throw your bread upon the waters, it shall come
[EMAIL PROTECTED] | back threefold, but only if you are willing to throw the
                 | recipe upon the waters as well...  -- Terry Lambert 
                        




Erik Bystr�m wrote:
> 
> Petr Novotny wrote:
> >
> > > Has anyone implemented a POP-before-SMTP (selective relaying) system
> > > that doesn't rely on the assumption that qmail and the POP daemon are
> > > on the same host? Those I found on the qmail page unfortunately did.
> >
> > No. They rely on POP daemon (authentication component) creating
> > a CDB, and tcpserver of SMTP using it. You can accomplish this
> > with NFS (or even with rsync!).
> 
> Correct, my mistake. NFS is an option, but I'd like to look in to the
> option of having the access list (partially, at least) in an MySQL or
> LDAP database as well. If that's not possible, NFS is probably the
> only answer.
> 
> Regards,
> 
> /erik.

vpopmail with the mysql option does alittle bit of what you want.

It stores the temporary "pop before smtp" IP's in a mysql table.
Then it rebuilds the /etc/tcp.smtp.cdb file based on the mysql table
and the local /etc/tcp.smtp file.

I suppose if you use multiple machines, they would all be sharing 
this mysql table. You would need to intially setup each machines
/etc/tcp.smtp file with the known static IP's you want to allow
to relay. Then when any user connected to any of your pop servers,
it would update the shared mysql table and rebuild the local 
/etc/tcp.smtp.cdb file.

The /etc/tcp.smtp.cdb file on a machine gets recompiled during two
events:
1) user authenticates with pop on that machine
2) the garbage collector program - clearopensmtp - gets run (from cron)

There might be a synchronization issue if you don't have all of your
machines sharing the /etc/tcp.smtp.cdb file. 

http://www.inter7.com/vpopmail/

Ken Jones





You could do this with smtp-poplock easily enough.

To get the logging information from one host to another, you could do a few
things. First, perhaps setup syslog to log to a remote host. But syslog is
annoying, so I'd avoid that.

All you need to do is setup a system of pipes and sockets to get logging lines
from your POP3 host to the SMTP host where you can run the readlog program. On
the POP3 host setup your pop3 software to log to a fifo, and then have another
process reading that fifo and catting the stuff to a mconnect(1) program
connected to a tcpserver(1) program on the SMTP host. The tcpserver on the SMTP
host would read from the socket and write to a fifo, which would then be read
by readlog, which would locally maintain your database file.

This would all be very easy to setup with smtp-poplock, shell scripts, and
ucspi-tcp. Or, perhaps you could use a different pop-before smtp solution but
the same socket and fifo idea.

smtp-popock is at
http://www.davideous.com/smtp-poplock/

 - David Harris
   Principal Engineer, DRH Internet Inc.


-----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Erik
Bystr�m
Sent:   Thursday, March 16, 2000 4:48 AM
To:     [EMAIL PROTECTED]
Subject:        POP-before-SMTP implementations

Has anyone implemented a POP-before-SMTP (selective relaying) system
that doesn't rely on the assumption that qmail and the POP daemon are
on the same host? Those I found on the qmail page unfortunately did.

[[[snip]]]






Yes I want to use smtp-poplock but I am having trouble compiling it
on Solaris7.  Compiling it not as easy as the INSTALL file says.  Compile fa
ils
with the following errors.  Any help greaty appreciated.

Kristina

******COMPILE ERROR FOR SMTP-POPLOCK******
%cd /usr/src
%zcat smtp-poplock-2.04.tar.gz
%cd smtp-poplock-2.04
% make install

installing /usr/sbin
installing /usr/sbin/fifo-safety
find: cannot follow symbolic link /usr/sbin/.qmail-postmaster: No such file or
d
irectory
install: fifo-safety was not found anywhere!


*****My .qmail-postmaster is configured as in the Life with qmail manual******

echo dave > /var/qmail/alias/.qmail-root
echo dave > /var/qmail/alias/.qmail-postmaster
ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster





At 14:07 00/03/16 -0500, you wrote:
> 
> You could do this with smtp-poplock easily enough.
> 
> To get the logging information from one host to another, you could do a few
> things. First, perhaps setup syslog to log to a remote host. But syslog is
> annoying, so I'd avoid that.
> 
> All you need to do is setup a system of pipes and sockets to get logging
lines
> from your POP3 host to the SMTP host where you can run the readlog program.
On
> the POP3 host setup your pop3 software to log to a fifo, and then have
another
> process reading that fifo and catting the stuff to a mconnect(1) program
> connected to a tcpserver(1) program on the SMTP host. The tcpserver on the
SMTP
> host would read from the socket and write to a fifo, which would then be r
ead
> by readlog, which would locally maintain your database file.
> 
> This would all be very easy to setup with smtp-poplock, shell scripts, and
> ucspi-tcp. Or, perhaps you could use a different pop-before smtp solution 
but
> the same socket and fifo idea.
> 
> smtp-popock is at
> http://www.davideous.com/smtp-poplock/
> 
>  - David Harris
>    Principal Engineer, DRH Internet Inc.
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Erik
> Bystr$B�N(B
> Sent: Thursday, March 16, 2000 4:48 AM
> To:   [EMAIL PROTECTED]
> Subject:      POP-before-SMTP implementations
> 
> Has anyone implemented a POP-before-SMTP (selective relaying) system
> that doesn't rely on the assumption that qmail and the POP daemon are
> on the same host? Those I found on the qmail page unfortunately did.
> 
> [[[snip]]]
>   




Hi there.

This isn't really all that important, since I fixed the problem by
re-starting qmail, but I had some strange things happenning this morning. On
a low traffic mail server, I noticed that mail wasn't getting through. On
checking the queue there were 13 messages not yet processed. Checking the
syslog revealed:

Mar 16 07:46:37 marilyn qmail: 953210797.508620 alert: oh no! lost spawn
connection! dying...

I restarted qmail and everything's fine now. What I'd like to know is why
did it die? I'd like to avoid this happenning in the future. I've never seen
it before.

FYI:

[marilyn:root]:7:48am:/var/qmail% uname -a
FreeBSD marilyn.cmgww.com 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Fri Feb 18
17:54:53 EST 2000     [EMAIL PROTECTED]:/usr/src/sys/compile/MARILYN
i386

rcpthosts:
cmgww.com
marilyn.cmgww.com
marilynmonroe.com
jamesdean.com
bettipage.com
baberuth.com
richardpryor.com
sophialoren.com
jackie42.com
4pmg.com
racevacations.com

virtualdomains:
cmgww.com:cmgmail
marilynmonroe.com:monm
jamesdean.com:denj
baberuth.com:rutb
richardpryor.com:pryr
sophialoren.com:lors
jackie42.com:rbnj
bettiepage.com:pagb
4pmg.com:pmg
racevacations.com:urv

Each one of the aliases above is a user, and I keep that domain's files in
the home directory - I find it easier than handling all the files in one
place.

If anyone needs any more info, please let me know.

Thanks,
Aled Treharne.




Aled Treharne <[EMAIL PROTECTED]> wrote:

>Mar 16 07:46:37 marilyn qmail: 953210797.508620 alert: oh no! lost spawn
>connection! dying...

See:

    http://www.faqts.com/knowledge-base/view.phtml/aid/1749/fid/284/lang/en

-Dave




On one of the virtual domains a user (bill) wants to forward his mail to
his AOL account BUT still keep a copy on the server... Before I was
using VPOPMAIL and Maildir I just created the file .qmail and put

&[EMAIL PROTECTED]
&[EMAIL PROTECTED]

inside the file and put it in the users home directory. This worked
great but does not seem to work with vpopmail... Does any one know how
to get the same results with vpopmail?

What will be the filename and where does it go?




On Wed, Mar 15, 2000 at 08:56:41PM +0100,
  Magnus Bodin <[EMAIL PROTECTED]> wrote:
> 
> Yes, according to RFC 2142. <http://rfc2142.x42.com/>
> 
> But as qmail is bouncing in the name of mailer-daemon, it would be nice to
> implement that too.

The envelope sender address is set to the empty address even though
MAILER-DAEMON is used in the from header. It is debateable whether or
not adding an alias for MAILER-DAEMON is useful. Double bounce replies shouldn't
be sent back to MAILER-DAEMON and humans should send requests to the postmaster
if the problem is something a postmaster can help with.

Also note that best practices require an 'abuse' address as well as a
postmaster address.




On Mar 10 2000, Pedro Melo wrote:
> I'm moving to Mutt + maildrop comming from xfmail, and I would like
> to preserve the 100Mbytes of mail in about 50 mh folders I
> have... :)

        If you can't find the appropriate package, you can still use a
        manual process with Mutt. Since Mutt reads and writes both MH
        and Maildirs, you can tag all the messages from your MHs and
        save the tagged messages to the definitive Maildir.


        Hope this helps, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




... I simply cannot get them to patch together. With one in place the other
causes humungous amounts of rejected patches.

Has anyone made a "merged" patch of these two?

http://www.elysium.pl/members/brush/qmail-smtpd-auth/
http://www.esat.kuleuven.ac.be/~vermeule/qmail/tls.patch

Thanks

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               




Jason Haar <[EMAIL PROTECTED]> wrote:

>... I simply cannot get them to patch together. With one in place the other
>causes humungous amounts of rejected patches.
>
>Has anyone made a "merged" patch of these two?
>
>http://www.elysium.pl/members/brush/qmail-smtpd-auth/
>http://www.esat.kuleuven.ac.be/~vermeule/qmail/tls.patch

I applied the TLS patch, then the auth patch, which required some
handwork. If you can't figure it out, I can send you some diffs.

-Dave




Short version:

Q: can /var/qmail/queue live on a separate disk partition than 
the rest of /var/qmail/* files?

Long version:

Does anyone have any reason to believe that you cannot put the
queue on it's own mount point?  Either a sym link from /var/qmail/queue
--> to another disk pack or simply making  /var/qmail/queue a mount
point from a different disk.  Are there any dependencies that force all
of /var/qmail/* to reside on the same disk (e.g. inode numbering
issues)?  My belief is that only /var/qmail/queue has issues with the
inode filenames.


Why:

We attempted to do this on a two new qmail server machines (SPARC Ultra IIs 
running Solaris 2.6 with QMAIL+LDAP), and after a couple of days
started to notice some performance degradation, and also that the
number of non preprocessed messages in the queue started getting very
large (thousands after a while) and the email delivery rate came to a
crawl.  This was not happening on any of the otherwise identical
machines (8 of them) except that those had all of /var/qmail on the same disk.

Unfortunately, didn't get enough time to really try to troubleshoot
this problem before we were forced into reconfiguring the two
problematic machines.  The problem went away after we moved the queues
back onto the same disk and now has been working fine for several days
in the same environment (i.e. nothing else was changed).

Can anyone think of why this problem would have occurred?  I'm
suspecting it was something completely unrelated to the QMAIL software,
either an OS issue or maybe even some SCSI problems (although no
hardware errors were ever recorded).

We're hesitant to try this again as it only appears after some period of
time and seems to be load related.

Thanks,

--curtis




It's a perfectly fine and sensible thing to do.

On Thu, Mar 16, 2000 at 02:32:45PM -0500, Curtis Generous wrote:
> Short version:
> 
> Q: can /var/qmail/queue live on a separate disk partition than 
> the rest of /var/qmail/* files?
> 
> Long version:
> 
> Does anyone have any reason to believe that you cannot put the
> queue on it's own mount point?  Either a sym link from /var/qmail/queue
> --> to another disk pack or simply making  /var/qmail/queue a mount
> point from a different disk.  Are there any dependencies that force all
> of /var/qmail/* to reside on the same disk (e.g. inode numbering
> issues)?  My belief is that only /var/qmail/queue has issues with the
> inode filenames.

Correct. But not if the queue is empty at the time. There is a queue fixit
script on www.qmail.org anyway.

> Why:
> 
> We attempted to do this on a two new qmail server machines (SPARC Ultra IIs 
> running Solaris 2.6 with QMAIL+LDAP), and after a couple of days
> started to notice some performance degradation, and also that the
> number of non preprocessed messages in the queue started getting very
> large (thousands after a while) and the email delivery rate came to a
> crawl.  This was not happening on any of the otherwise identical
> machines (8 of them) except that those had all of /var/qmail on the same disk.
> 
> Unfortunately, didn't get enough time to really try to troubleshoot
> this problem before we were forced into reconfiguring the two
> problematic machines.  The problem went away after we moved the queues
> back onto the same disk and now has been working fine for several days
> in the same environment (i.e. nothing else was changed).
> 
> Can anyone think of why this problem would have occurred?  I'm

I can think of dozens of reasons, but their's no way of knowing whether
they are relevant without any examination of the original problem in question.

And indeed, moving the queue to solve a problem you don't understand is
probably being optimistic. At best it probably wont get worse.

> We're hesitant to try this again as it only appears after some period of
> time and seems to be load related.

You need to understand what's going on before you try to fix it,
unless you're keen on the concept of hiring a brain surgeon to fix
your stubbed toe.


Regards.




Curtis Generous <[EMAIL PROTECTED]> wrote:

>Short version:
>
>Q: can /var/qmail/queue live on a separate disk partition than 
>the rest of /var/qmail/* files?

Sure,  no problem.

-Dave





Hello,


I got everything setup perfectly, read the faq, and now, i get authorization
failed when trying to connect to an account,

but i do got the rest login/password, what can i do to fix this problem?

Any help is appreciated

Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325







"Jonathan Fortin" <[EMAIL PROTECTED]> wrote:

>I got everything setup perfectly, read the faq, and now, i get authorization
>failed when trying to connect to an account,
>
>but i do got the rest login/password, what can i do to fix this problem?

Let me guess: you're talking about POP? Have you installed
checkpassword? Tested it from the command line? How are you starting
the POP daemon?

-Dave




Hello,
I'm searching for an easy solution to operate two servers using qmail that
have both the exact same mails on them (so some kind of mirroring) to ensure
the mails don't get killed when one server fails. I understand, that this is
normally done with RAID 1 or 5 systems, but since we use just basic
webservers without RAID systems (but much of them) we'd prefer a system with
two machines much more as this would also help increase general reability. I
know that I can use one server as secondary which get's the mails if primary
isn't responding but I'm looking for two servers with the same mails on it
(eg. just like RAID 1, but with two different machines instead of just two
harddrives). Has anyone got some infos about such a task?

TIA
Gabriel

PS: We're using vpopmail to handle virtual domains.





Presuming you want to mirror the queue and the mail store then this is a
hard problem of which I have not heard of a bullet-proof solution. I have
heard theory about what *might* work, but the practise is painfully sparse
in practise.

There have been many discussions on this list previously, check the archives.
There is no standard solution, especially not with what you call "basic
webservers".

Sorry.


Regards.

On Thu, Mar 16, 2000 at 08:34:09PM -0000, Gabriel Ambuehl wrote:
> Hello,
> I'm searching for an easy solution to operate two servers using qmail that
> have both the exact same mails on them (so some kind of mirroring) to ensure
> the mails don't get killed when one server fails. I understand, that this is
> normally done with RAID 1 or 5 systems, but since we use just basic
> webservers without RAID systems (but much of them) we'd prefer a system with
> two machines much more as this would also help increase general reability. I
> know that I can use one server as secondary which get's the mails if primary
> isn't responding but I'm looking for two servers with the same mails on it
> (eg. just like RAID 1, but with two different machines instead of just two
> harddrives). Has anyone got some infos about such a task?
> 
> TIA
> Gabriel
> 
> PS: We're using vpopmail to handle virtual domains.
> 




> Presuming you want to mirror the queue and the mail store then this is a
> hard problem of which I have not heard of a bullet-proof solution. 

I don't want to mirror the queue, just the contents of the maildirs...

CU
Gabriel





On Thu, Mar 16, 2000 at 09:17:08PM -0000, Gabriel Ambuehl wrote:
> > Presuming you want to mirror the queue and the mail store then this is a
> > hard problem of which I have not heard of a bullet-proof solution. 
> 
> I don't want to mirror the queue, just the contents of the maildirs...

So how about an email that's come in for a local user, but has not yet been
deliveried to that user's mailbox.  If it's on one machine are you happy to
lose it if the machine (and it's queue) dies? If so, why is it ok to lose it
then, but not a second later when it resides on your parallel storage?

Besides, even with the queue, it's still a hard problem.


Regards.




> Besides, even with the queue, it's still a hard problem.

Er, even "without" the queue, is what I meant to say.


Regards.




[EMAIL PROTECTED] wrote:

>So how about an email that's come in for a local user, but has not yet been
>deliveried to that user's mailbox.  If it's on one machine are you happy to
>lose it if the machine (and it's queue) dies?

I'm not speaking for Gabriel, but for me, such a loss might be
acceptable--not something to be happy about. The window of
vulnerability is very small. Messages waiting for local delivery don't
spend a whole lot of time in the queue.

It's not all that hard/expensive to put the queue on a RAID, though.

-Dave






Hello,

I got qmail setup properly, and im running from inetd, these is my inetd
configurations..

#pop3           stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
qmail-popup revelex.com /usr/local/bin/checkpassword
/var/qmail/bin/qmail-pop3d ./Maildir/
smtp           stream  tcp     nowait  qmaild  /usr/libexec/tcpd
/var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd

and i dont got rcphosts at all,

 and i created Maildir with makemaildir or wotever in users home directory
and i chowned it user.user /home/user...

And i can connect to pop3 perfectly and smtp but the weird reason is, i
cannot send or reiceve *SHIT*!


hehe, sorry for that, just a little ticked off, i appreciate any help, thank
you

Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325







Try this if you really want to use inetd

#POP-3 Server
pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd ipop3d

# This All goes on one line
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd

You should really user tcpserver though and not user inetd..




"Jonathan Fortin" <[EMAIL PROTECTED]> wrote:

>I got qmail setup properly, and im running from inetd, these is my inetd
>configurations..  ~~~~~~~~

No you don't.

>#pop3           stream  tcp     nowait  root    /var/qmail/bin/qmail-popup
>qmail-popup revelex.com /usr/local/bin/checkpassword
>/var/qmail/bin/qmail-pop3d ./Maildir/
>smtp           stream  tcp     nowait  qmaild  /usr/libexec/tcpd
>/var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd

POP won't work until you uncomment the pop3 entry and HUP inetd.

>and i dont got rcphosts at all,

So you're an open relay.

> and i created Maildir with makemaildir or wotever in users home directory
>and i chowned it user.user /home/user...
>
>And i can connect to pop3 perfectly and smtp but the weird reason is, i
>cannot send or reiceve *SHIT*!

Try sending or receiving *MAIL* instead. :-)

Does SMTP work? If not, what do the logs say?

If your only problem is that you can't connect to the POP daemon, see
my previous reply to you.

-Dave




Christopher Tarricone <[EMAIL PROTECTED]> wrote:

>Try this if you really want to use inetd
>
>#POP-3 Server
>pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd ipop3d

ipop3d?

-Dave






I just pasted it like that, i  got it uncommented, and i got no errors at
all in /var/log

wtf can i do?


Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325









I get as errors, Unable to open ./Maildir:is_a_directory?
wtf do i do now?

Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325







Hmmm.. Maildir _should_ be a directory.

Is the trailing slash missing from ./Maildir/ in the rc script?

----- Original Message ----- 
From: "Jonathan Fortin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 16, 2000 5:02 PM
Subject: Weird




I get as errors, Unable to open ./Maildir:is_a_directory?
wtf do i do now?

Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325











Sorry for not being professional, i was just stressed out, btw, i got it
working fine and everything but i got one question,

how do i forward all mail with broke username like
[EMAIL PROTECTED] to admin account?

i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good?

Jonathan Fortin, Network Administrator
[EMAIL PROTECTED]
--------------------------------------
Revelex Canada
6830 Park Avenue Suite 209
Montreal,Qc
H3N 1W7
business: (514) 274-5120 ext. 228
cellular: (514) 242-7325







On Thu, Mar 16, 2000 at 04:24:33PM -0600, Jonathan Fortin wrote:
> 
> 
> Sorry for not being professional, i was just stressed out, btw, i got it
> working fine and everything but i got one question,
> 
> how do i forward all mail with broke username like
> [EMAIL PROTECTED] to admin account?
> 
> i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good?
> 

no, it's not...
it should just be "&[EMAIL PROTECTED]".
Try "man dot-qmail", too :)

                                                Ricardo
-- 
+-------------------
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis  -  Rede T�cnica (Carrier Division)
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal




eh?

That would work; try "man forward" :)

----- Original Message -----
From: "Ricardo Cerqueira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 16, 2000 4:31 PM
Subject: Re: weird


On Thu, Mar 16, 2000 at 04:24:33PM -0600, Jonathan Fortin wrote:
>
>
> Sorry for not being professional, i was just stressed out, btw, i got it
> working fine and everything but i got one question,
>
> how do i forward all mail with broke username like
> [EMAIL PROTECTED] to admin account?
>
> i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that
good?
>

no, it's not...
it should just be "&[EMAIL PROTECTED]".
Try "man dot-qmail", too :)

Ricardo
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42
| Novis  -  Rede T�cnica (Carrier Division)
| P�. Duque Saldanha, 1, 7� E / 1050-094 Lisboa / Portugal






I'm pleased to announce you the release of:

oMail - Webmail 0.90
--------------------
A Perl-based Webmail system for qmail and vmailmgr Maildir accounts

This is beta software, and there is no doc available yet. The whole
script is based on another gpl project (Neomail), but with improved
qmail/Maildir support and multiple language support (english, francais,
deutsch, italiano).

Beta testers, comments, patches & translations in other languages welcome!

URL's:

* download:
----------- 
http://sourceforge.net/project/filelist.php?group_id=3658

* webcvs:
---------
http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/webmail/?cvsroot=oMail

* online working demo: 
----------------------
http://webmail.omnis.ch

login = [EMAIL PROTECTED]  -  password = test

* to add a new language:
------------------------  
get the template.lang from the cvs, fill it with text
and send it to [EMAIL PROTECTED] via email. thanks :)


Enjoy! Comments are of course welcome!
Olivier






This is the error message I get when I start up qmail from the startup
script. I have installed the daemontools and tcpserver, but it just goes
into
an infinite loop, when qmail script is started, though qmail is running
okay.
Please help. I have read all the docs, and faqs, searched archives, and
tried and retried...am running out of hair to pull.





On Thu, 16 Mar 2000, PM Martin wrote:

> Subject: setuidgid fatal unknown account qmail

[...] though qmail is running
> okay.

If you followed the installation instructions you should have a user
account named qmaill.  Thats qmaill, not qmail.

Mads






Thanks Mads,
Right after I sent the list the message Ifound I had a typo in the run
file. It was
qmail... so I changed it and ran the startup script and all is good.
thanks again
Mike Martin

Mads E Eilertsen wrote:

> If you followed the installation instructions you should have a user
> account named qmaill.  Thats qmaill, not qmail.
>
> Mads





Today I got the following message in my SMTP logs:

  tcpserver: warning: dropping connection, unable to fork: temporary failure
  tcpserver: status: 146/256

I'm currently running qmail-smtpd under supervise with the following 
line in my run file, broken for readability:

exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -c256 -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp \
/usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd 2>&

Can someone explain what's happening?

Brian
--
[EMAIL PROTECTED]
http://www.baquiran.com
AIM: bbaquiran





On Fri, 17 Mar 2000 [EMAIL PROTECTED] wrote:

> Today I got the following message in my SMTP logs:
> 
>   tcpserver: warning: dropping connection, unable to fork: temporary failure
>   tcpserver: status: 146/256

In an act of desperation, I started another tcpserver to listen on another interface. 
I noticed that I can only run a max of around 150 smtpd's simultaneously, whether 
under one tcpserver or two. 

> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -c256 -v -p -x /etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp \
> /usr/local/bin/rblsmtpd /var/qmail/bin/qmail-smtpd 2>&
> 
> Can someone explain what's happening?

Brian
--
[EMAIL PROTECTED]
http://www.baquiran.com
AIM: bbaquiran





Hello,

I got qmail (SMTD + POP3) running, but when I tried testing POP3 server I was 
surprised to see this response from the server:

[root@nmlinux1 alias]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 machine.domain.com ESMTP
HELP
214 qmail home page: http://pobox.com/~djb/qmail.html
USER otis
502 unimplemented (#5.5.1)


Am I doing something wrong or missing something obvious? It is 1 AM here now.

Thank you,

Otis
P.S.
Dave Sill - Thanks for LWQ - great help!


______________________________________________

Get free e-mail at http://www.britannica.com




On Thu, Mar 16, 2000 at 10:08:53PM -0800, Otis Gospodnetic wrote:
> I got qmail (SMTD + POP3) running, but when I tried testing POP3 server I was 
>surprised to see this response from the server:
> 
> [root@nmlinux1 alias]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 machine.domain.com ESMTP
> HELP
> 214 qmail home page: http://pobox.com/~djb/qmail.html
> USER otis
> 502 unimplemented (#5.5.1)
> 
> 
> Am I doing something wrong or missing something obvious? It is 1 AM here now.

It's 2 PM here on the other side of the world, and you're missing something
obvious. You're trying to talk POP to your SMTP server. Try telnetting to port
110 instead.

Chris




Thus said Otis Gospodnetic on 16 Mar 2000 22:08:53 PST:

> [root@nmlinux1 alias]# telnet localhost 25

POP3 runs on port 110. :-)

Andy
-- 
        +====== Andy ====== TiK: garbaglio ======+
        |    Linux is about freedom of choice    |
        +== http://www.xmission.com/~bradipo/ ===+


PGP signature





Thanks Chris & Andy. 1:30 AM :)
I realized that I was talking to the wrong port, but there is no undo for email...

Thanks.

Otis


On Thu, 16 March 2000, Chris Johnson wrote:

> 
> On Thu, Mar 16, 2000 at 10:08:53PM -0800, Otis Gospodnetic wrote:
> > I got qmail (SMTD + POP3) running, but when I tried testing POP3 server I was 
>surprised to see this response from the server:
> > 
> > [root@nmlinux1 alias]# telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > 220 machine.domain.com ESMTP
> > HELP
> > 214 qmail home page: http://pobox.com/~djb/qmail.html
> > USER otis
> > 502 unimplemented (#5.5.1)
> > 
> > 
> > Am I doing something wrong or missing something obvious? It is 1 AM here now.
> 
> It's 2 PM here on the other side of the world, and you're missing something
> obvious. You're trying to talk POP to your SMTP server. Try telnetting to port
> 110 instead.
> 
> Chris


______________________________________________

Get free e-mail at http://www.britannica.com




I am trying to set up master accounts for each domain that I have which will recive bounced mail. I tried to use:
| forward [EMAIL PROTECTED]  in [alias/.qmail-default]
but this will forward everything to the masteruser and it will ignore domain name.
 
I tried to add in virtualdomains:
anydomain.com:alias-anydomain
 
then adding in /alias/.qmail-anydomain-default with the
| forward [EMAIL PROTECTED] 
with this setup e-mail message disappears somewhere.
 
Thank you for your help
 J Denis Petrov
(And please take it easy I am just getting in to this)  




On Thu, Mar 16, 2000 at 10:20:19PM -0800, [EMAIL PROTECTED] wrote:
> I am trying to set up master accounts for each domain that I have which will recive 
>bounced mail. I tried to use:
> | forward [EMAIL PROTECTED]  in [alias/.qmail-default]
> but this will forward everything to the masteruser and it will ignore domain name.
>  
> I tried to add in virtualdomains:
> anydomain.com:alias-anydomain
> 
> then adding in /alias/.qmail-anydomain-default with the 
> | forward [EMAIL PROTECTED]  
> with this setup e-mail message disappears somewhere.

Are you sure you don't have "anydomain.com" in control/locals too? You must
not have them in both. locals OR virtualdomains.

And then kill -HUP qmail-send

/magnus

-- 
http://x42.com/




Ok I do have anydomain.com in my control/locals , but when I take this
domain out all the useres stop getting their e-mail for this domain.

Thanks Again
Denis Petorv

----- Original Message -----
From: "Magnus Bodin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 16, 2000 10:26 PM
Subject: Re: Master Accounts and Multiple domains


> On Thu, Mar 16, 2000 at 10:20:19PM -0800, [EMAIL PROTECTED] wrote:
> > I am trying to set up master accounts for each domain that I have which
will recive bounced mail. I tried to use:
> > | forward [EMAIL PROTECTED]  in [alias/.qmail-default]
> > but this will forward everything to the masteruser and it will ignore
domain name.
> >
> > I tried to add in virtualdomains:
> > anydomain.com:alias-anydomain
> >
> > then adding in /alias/.qmail-anydomain-default with the
> > | forward [EMAIL PROTECTED]
> > with this setup e-mail message disappears somewhere.
>
> Are you sure you don't have "anydomain.com" in control/locals too? You
must
> not have them in both. locals OR virtualdomains.
>
> And then kill -HUP qmail-send
>
> /magnus
>
> --
> http://x42.com/





Hello,

I am starting pop3d from the 'startup script', as described in LWQ:

tcpserver -v -R 0 pop-3 /var/qmail/bin/qmail-popup boo.haa.com \
/usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
/var/qmail/bin/splogger pop3d &

This starts tcpserver/pop3d, but how do I go about shutting it down cleanly? Anything 
nicer than a 'kill'?

Thanks,

Otis


______________________________________________

Get free e-mail at http://www.britannica.com




Otis Gospodnetic <[EMAIL PROTECTED]> writes:

> This starts tcpserver/pop3d, but how do I go about shutting it down cleanly? 
>Anything nicer than a 'kill'?

kill uses the ``SIGTERM'' by default, which politely asks the process
to die after it has cleaned up.

kill -KILL shoots the process without warning.

-- 
Manfred Bartz





I got all the same error message while booting my Linux box:
"tcpserver: fatal: unable to figure out port number for pop-3"
 
I just installed the qmail packages from the var-qmail & qmail-run rpms.
Can somebody tell me how to fix this problem??
Thanks a lot!!




On Fri, Mar 17, 2000 at 04:33:02PM +0800, Michael Chao wrote:
> I got all the same error message while booting my Linux box:
> "tcpserver: fatal: unable to figure out port number for pop-3"
> 
> I just installed the qmail packages from the var-qmail & qmail-run rpms.
> Can somebody tell me how to fix this problem??

Do a 

grep pop /etc/services

You will most likely have an entry named "pop3" there. 

Edit /etc/services, find the pop3-line.
Copy that line, change the copied line to "pop-3", and you are all set for
both situations.

/magnus

-- 
http://x42.com/




Hi!
 
Replace pop-3 by 110. This is the port number. Then try to run your startup script for tcpserver.
 
CU,
Holger
-----Original Message-----
From: Michael Chao [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 17. März 2000 09:33
To: [EMAIL PROTECTED]
Subject: qmail-pop3d question

I got all the same error message while booting my Linux box:
"tcpserver: fatal: unable to figure out port number for pop-3"
 
I just installed the qmail packages from the var-qmail & qmail-run rpms.
Can somebody tell me how to fix this problem??
Thanks a lot!!






Hi,

Platform : HPUX 11.0

1). Installed qmail 1.03
2). configured qmail to use Maildir
3). configured Maildir in each user.
4). Tested local delivery : OK
5). Tested delivery from a remote sendmail : OK.
6). Installed and tested checkpassword : OK
7). configured pop3d as described in FAQ.

Could not make connection from pop3 client.

Debug using telnet : trace follows :

->   telnet    0    110
<-   +OK <xxxxxxx@/bin/checkpassword>
->   USER <username>
<-   +OK
->   PASS <password>
<-   -ERR this user has no $HOME/Maildir

However, the Maildir exists for this user and in fact, there are a couple of new
mails under new directory.

Does anyone know what additional configuration steps are required ?

Thanks,
Tek Kee.






On Fri, Mar 17, 2000 at 06:21:52PM +0800, TEK-KEE WANG wrote:
> 7). configured pop3d as described in FAQ.
> 
> Could not make connection from pop3 client.
> 
> Debug using telnet : trace follows :
> 
> ->   telnet    0    110
> <-   +OK <xxxxxxx@/bin/checkpassword>
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
How are you running qmail-pop3d? It looks like you're missing an argument to
qmail-popup.

Chris






Thanks, Chris.

The inetd.conf line reads :

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup <FQHostname>
/bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir

In my last mail, in the telnet trace the xxxxx is a number.number

Tek Kee.







Chris Johnson <[EMAIL PROTECTED]> on 03/17/2000 06:27:57 PM
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      TEK-KEE WANG <[EMAIL PROTECTED]>                     
                                                              
 cc:      [EMAIL PROTECTED](bcc: TEK-KEE                    
          WANG/317012/ITD/FEDEX)                              
                                                              
                                                              
                                                              
 Subject: Re: Getting pop3d to work                           
                                                              








On Fri, Mar 17, 2000 at 06:21:52PM +0800, TEK-KEE WANG wrote:
> 7). configured pop3d as described in FAQ.
>
> Could not make connection from pop3 client.
>
> Debug using telnet : trace follows :
>
> ->   telnet    0    110
> <-   +OK <xxxxxxx@/bin/checkpassword>
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
How are you running qmail-pop3d? It looks like you're missing an argument to
qmail-popup.

Chris









Pter,

checkpassword came from the same source.

It was tested OK based on instructions contained in the distribution.

Thanks,
Tek Kee.







"Petr Novotny" <[EMAIL PROTECTED]> on 03/17/2000 06:25:45 PM
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      "TEK-KEE WANG" <[EMAIL PROTECTED]>                   
                                                              
 cc:      (bcc: TEK-KEE WANG/317012/ITD/FEDEX)                
                                                              
                                                              
                                                              
 Subject: Re: Getting pop3d to work                           
                                                              








-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17 Mar 00, at 18:21, TEK-KEE WANG wrote:
> Does anyone know what additional configuration steps are required ?

Are you using the right checkpassword? (Like, does it know about
PAM, /etc/shadow or whatever you're using on your machine?) You
may try testing checkpassword itself (as a root) (from
www.qmail.org):

> Mark Delany has a clever way to test your checkpassword with a bit of
> command line re-direction. For example, with username fred, password
> bloggs, printf "fred\0bloggs\0Y123456\0" | /bin/checkpassword `which
> id` 3<&0 will execute /bin/id if the password is right.
>
> The printf is a bit trickier to manipulate if the username/password
> starts with a digit. If you haven't a printf then enter the data into
> a file with your favourite binary editor, such as emacs, and then it's
> simply: /bin/checkpassword /bin/id 3<test.file
>


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBONH6GlMwP8g7qbw/EQJangCg+5unEQ6r7dH1N0vbHX6ef+yGut4AoLlx
ZZTyuqdbHpXnMx62T4NFxNVq
=566U
-----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]







Hello.

We are planning to use two PC for our mail system sharing a directory using
coda.
The DNS will be used to alternatively give one of the computer as smtp
server.

I would like to know if it is safe to only create one qmail queue under the
shared directory as
as far as I know the file name in the queue is created using the date and
inode information which
can drive to a "conflict".

Does anyone already implement a similar system.
Thank you.

Thomas Mangin

System Administrator
Legend Internet Ltd






Reply via email to