qmail Digest 5 May 1999 10:00:01 -0000 Issue 631

Topics (messages 25180 through 25214):

Capture domains
        25180 by: "Tom Furie" <[EMAIL PROTECTED]>
        25183 by: Dave Sill <[EMAIL PROTECTED]>
        25184 by: Anand Buddhdev <[EMAIL PROTECTED]>

'To:' header missing, mail not delivered
        25181 by: James McGlinn <[EMAIL PROTECTED]>
        25182 by: "Sam" <[EMAIL PROTECTED]>

about users/assign
        25185 by: Yessure <[EMAIL PROTECTED]>
        25186 by: Dave Sill <[EMAIL PROTECTED]>

why csh?
        25187 by: Marlon Anthony Abao <[EMAIL PROTECTED]>
        25188 by: Dave Sill <[EMAIL PROTECTED]>

qmail and smtp error messages
        25189 by: Jason <[EMAIL PROTECTED]>
        25191 by: Andy Walden <[EMAIL PROTECTED]>
        25192 by: "Timothy L. Mayo" <[EMAIL PROTECTED]>
        25193 by: Dave Sill <[EMAIL PROTECTED]>

EZMLM
        25190 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
        25194 by: Russell Nelson <[EMAIL PROTECTED]>
        25204 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>
        25207 by: [EMAIL PROTECTED]
        25208 by: "Julian L.C. Brown" <[EMAIL PROTECTED]>

Read flag on message.
        25195 by: Andy Walden <[EMAIL PROTECTED]>
        25196 by: "Sam" <[EMAIL PROTECTED]>
        25199 by: Andy Walden <[EMAIL PROTECTED]>
        25200 by: Chris Johnson <[EMAIL PROTECTED]>
        25201 by: Dave Sill <[EMAIL PROTECTED]>
        25202 by: Andy Walden <[EMAIL PROTECTED]>
        25203 by: Dave Sill <[EMAIL PROTECTED]>
        25206 by: Andy Walden <[EMAIL PROTECTED]>
        25212 by: "Sam" <[EMAIL PROTECTED]>

qmail patch site ?
        25197 by: "Oden Eriksson" <[EMAIL PROTECTED]>
        25198 by: Dave Sill <[EMAIL PROTECTED]>

Qpopper?
        25205 by: John Gonzalez/netMDC admin <[EMAIL PROTECTED]>

Acting as a middleman
        25209 by: Brett Borger <[EMAIL PROTECTED]>
        25213 by: Scott Schwartz <[EMAIL PROTECTED]>
        25214 by: Markus Stumpf <[EMAIL PROTECTED]>

qmHandle
        25210 by: "Michael Bracker" <[EMAIL PROTECTED]>
        25211 by: Abel Lucano <[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]


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


Hello,

Okay, so I can set qmail to accept and queue mail for 'user@domain'. How do
I allow mail to '[EMAIL PROTECTED]' to be captured by the same queue? Is
there some wildcard I can use?

Thanks for any advice,
Tom.





"Tom Furie" <[EMAIL PROTECTED]> wrote:
>
>Okay, so I can set qmail to accept and queue mail for 'user@domain'.

Good for you. :-)

>How do I allow mail to '[EMAIL PROTECTED]' to be captured by the same
>queue?

What do you mean by "the same queue"? There's only one queue per qmail 
installation. Can't you handle '[EMAIL PROTECTED]' the same way you did
'user@domain'?

Perhaps if you told us how you did 'user@domain' (and please use a
real example), we can provide advice for '[EMAIL PROTECTED]'.

-Dave




On Tue, May 04, 1999 at 12:43:59PM +0100, Tom Furie wrote:

I'm assuming you're talking about qmail-smtpd here.

> Hello,
> 
> Okay, so I can set qmail to accept and queue mail for 'user@domain'. How do
> I allow mail to '[EMAIL PROTECTED]' to be captured by the same queue? Is
> there some wildcard I can use?

Put:

.domain

in control/rcpthosts.

-- 
System Administrator
See complete headers for address, homepage and phone numbers




If anyone can help me with this it would be greatly appreciated:

I can receive mail from users at InterNIC without problems, however mail
automatically generated by their Domain Modification forms is causing
problems
with Qmail.  The only difference in the two types of messages appears to
be that mail created by InterNIC's forms doesn't have a 'To:' header
field. 
When I tell their forms to send the email to my account with another
ISP, the header of the email has no 'To:' field, but the 'Received'
fields all end
with:

... for <[EMAIL PROTECTED]>

When I tell the InterNIC forms to send the email to my address on the
Qmail machine, the qmail-smtpd log files show a connection (and 'OK' as
with all the other successfully delivered mail) but the qmail log files
don't have any record of the mail, and I never receive it.  The sending
machine at InterNIC must know there's a problem, because it tries to
resend periodically (more 'OK' entries in the qmail-smtpd log).

I'm fairly new to qmail, so I wouldn't be surprised if I've overlooked
something obvious, but I can't find any reference to this sort of
thing in the mailing list archive.

Best regards,

James McGlinn
Auckland, NZ

-- 
Entertainz Web Solutions  *  http://www.entertainz.co.nz/
--




James McGlinn writes:

> When I tell their forms to send the email to my account with another
> ISP, the header of the email has no 'To:' field, but the 'Received'
> fields all end
> with:

To: headers have absolutely nothing to do with a message's sender or list
of recipients, and is completely irrelevant.  To:, just like any other
header, is purely informational in nature.

> I'm fairly new to qmail, so I wouldn't be surprised if I've overlooked
> something obvious, but I can't find any reference to this sort of
> thing in the mailing list archive.

The first thing you need to do is read RFC821 and RFC822, in order to get a
better idea of how E-mail delivery works.  Afterwards, you can attempt to
track down the source fo your problem.

-- 
Sam





Hi,
 I am writing a web mail system based on qmail. For the security reason,i am using 
users/assign(and hash table users/cdb) instead of system /etc/passwd and /etc/shadow.
 It works fine. But the problem is, if there is 100000 or more users can it works fine 
still? I know users/cdb is an hashed table,so qmail can access fast enough, but once 
an 
user added, system had to do a '/var/qmail/bin/qmail-newu' to re-hash it. I donnt't  
know,if it can still  be fast enough? And if not, how can I do?

Thanks very much.


--
Yessure






Yessure <[EMAIL PROTECTED]> wrote:
>
> I am writing a web mail system based on qmail. For the security
> reason,i am using users/assign(and hash table users/cdb) instead of
> system /etc/passwd and /etc/shadow.  It works fine. But the problem
> is, if there is 100000 or more users can it works fine still? I know
> users/cdb is an hashed table,so qmail can access fast enough, but
> once an user added, system had to do a '/var/qmail/bin/qmail-newu'
> to re-hash it. I donnt't know,if it can still be fast enough? And if
> not, how can I do?

Well, you could always test it. :-)

An indication of the performance of cdb is given by DJB in
ftp://koobera.math.uic.edu/www/fastforward.html: 

]I put together an /etc/aliases file with 50000 aliases of the form
]31415:[EMAIL PROTECTED] sendmail's newaliases took 356 seconds of CPU time
](spread over more than ten minutes of real time) to create
]/etc/aliases.db. fastforward's newaliases created /etc/aliases.cdb in
]under 6 seconds.

This is a fastforward database, but qmail-users should be comparable.

-Dave




hello, 
        am running qmail as follows :

/bin/csh -cf '/usr/local/bin/supervise /var/run/qmail /var/qmail/rc &'

        but why csh?  why not use the default shell (in my case, bash)?  

        just wondering...

-marlon








Marlon Anthony Abao <[EMAIL PROTECTED]> wrote:
>
>       am running qmail as follows :
>
>/bin/csh -cf '/usr/local/bin/supervise /var/run/qmail /var/qmail/rc &'
>
>       but why csh?  why not use the default shell (in my case, bash)?  
>
>       just wondering...

Bash will work, too. Dan recommends csh because it's ubiquitous, and
it disassociates background jobs so they aren't killed off when the
parent exits.

-Dave




im running qmail 1.03 on a redhat 6.0 machine and was formerly running
qmail 1.01 on redhat 5.2.. ive got a "dedicated" dial-up connection to 
the internet with dynamic dns to register my hostname (welsh.dynip.com)
i can send and receive smtp mail just fine except to a few domains..
mindspring.com, and aol.com. Other domains I can mail to just fine.
the error i get is 

Hi. This is the qmail-send program at welsh.dynip.com.
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]>:
Connected to 207.69.200.126 but sender was rejected.
Remote host said: 550-MindSpring mail servers are unable to deliver this
e-mail.
550-Please contact your Internet Service Provider to find out how
550-to send e-mail using the proper SMTP server.  If you are a
550-MindSpring customer, and need assistance configuring your e-mail
550-software, please contact MindSpring Technical Support at the
550 telephone number listed in your documentation.

--- Below this line is a copy of the
message.                                                        

I can email my friend from work and mindspring accepts the mail just
fine.
anyway, ive emailed mindspring support many times and they cant figure
it out.. ive
asked them if theyre blocking the dynip.com domain, and they say they
arent..
anyone have any ideas?

regards,
Jason

-- 
=======================================================================
|  Jason Welsh   [EMAIL PROTECTED]   |   If you think there's     |
|                                        |   good in everybody, you   |
|      http://welsh.dynip.com/           |   haven't met everybody.   |
=======================================================================




maybe they are using something like the dul to block dialups and don't
realize thats on there. not that i know that its on there or anything,
just an idea.

andy

--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "



On Tue, 4 May 1999, Jason wrote:

> im running qmail 1.03 on a redhat 6.0 machine and was formerly running
> qmail 1.01 on redhat 5.2.. ive got a "dedicated" dial-up connection to 
> the internet with dynamic dns to register my hostname (welsh.dynip.com)
> i can send and receive smtp mail just fine except to a few domains..
> mindspring.com, and aol.com. Other domains I can mail to just fine.
> the error i get is 
> 
> Hi. This is the qmail-send program at welsh.dynip.com.
> 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]>:
> Connected to 207.69.200.126 but sender was rejected.
> Remote host said: 550-MindSpring mail servers are unable to deliver this
> e-mail.
> 550-Please contact your Internet Service Provider to find out how
> 550-to send e-mail using the proper SMTP server.  If you are a
> 550-MindSpring customer, and need assistance configuring your e-mail
> 550-software, please contact MindSpring Technical Support at the
> 550 telephone number listed in your documentation.
> 
> --- Below this line is a copy of the
> message.                                                        
> 
> I can email my friend from work and mindspring accepts the mail just
> fine.
> anyway, ive emailed mindspring support many times and they cant figure
> it out.. ive
> asked them if theyre blocking the dynip.com domain, and they say they
> arent..
> anyone have any ideas?
> 
> regards,
> Jason
> 
> -- 
> =======================================================================
> |  Jason Welsh   [EMAIL PROTECTED]   |   If you think there's     |
> |                                        |   good in everybody, you   |
> |      http://welsh.dynip.com/           |   haven't met everybody.   |
> =======================================================================
> 





The dynamic DNS registration is only mapping your forward lookup
(name->IP).  I believe the problem is that AOL and mindspring are doing
reverse lookups (IP->name) which of course return the fact that you are
sending from a dialup IP from sprint.net.  The simple fix is to use
Sprints SMTP server as a relay for all mail going to AOL and mindspring.

Others may have better suggestions.  That's the best I can come up with.
:)

On Tue, 4 May 1999, Jason wrote:

> im running qmail 1.03 on a redhat 6.0 machine and was formerly running
> qmail 1.01 on redhat 5.2.. ive got a "dedicated" dial-up connection to 
> the internet with dynamic dns to register my hostname (welsh.dynip.com)
> i can send and receive smtp mail just fine except to a few domains..
> mindspring.com, and aol.com. Other domains I can mail to just fine.
> the error i get is 
> 
> Hi. This is the qmail-send program at welsh.dynip.com.
> 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]>:
> Connected to 207.69.200.126 but sender was rejected.
> Remote host said: 550-MindSpring mail servers are unable to deliver this
> e-mail.
> 550-Please contact your Internet Service Provider to find out how
> 550-to send e-mail using the proper SMTP server.  If you are a
> 550-MindSpring customer, and need assistance configuring your e-mail
> 550-software, please contact MindSpring Technical Support at the
> 550 telephone number listed in your documentation.
> 
> --- Below this line is a copy of the
> message.                                                        
> 
> I can email my friend from work and mindspring accepts the mail just
> fine.
> anyway, ive emailed mindspring support many times and they cant figure
> it out.. ive
> asked them if theyre blocking the dynip.com domain, and they say they
> arent..
> anyone have any ideas?
> 
> regards,
> Jason
> 
> -- 
> =======================================================================
> |  Jason Welsh   [EMAIL PROTECTED]   |   If you think there's     |
> |                                        |   good in everybody, you   |
> |      http://welsh.dynip.com/           |   haven't met everybody.   |
> =======================================================================
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax





Jason <[EMAIL PROTECTED]> wrote:
>
><[EMAIL PROTECTED]>:
>Connected to 207.69.200.126 but sender was rejected.
>Remote host said: 550-MindSpring mail servers are unable to deliver this
>e-mail.
>550-Please contact your Internet Service Provider to find out how
>550-to send e-mail using the proper SMTP server.  If you are a
>550-MindSpring customer, and need assistance configuring your e-mail
>550-software, please contact MindSpring Technical Support at the
>550 telephone number listed in your documentation.

Congratulations, you're a martyr in the War on Spam. You suffer so
others don't have to. Thanks for the sacrifice.

The spamically correct thing for you to do is configure your qmail to
send everything out through your ISP's mail hub.

-Dave





Would someone be so kind as to write out quick and dirty instructions of
how to set up a mail list.  I have compiled / installed EZMLM but the
instructions are for single domain machines and I have multiple domains.
It's only 5 lines or so so if you one of you could do that for me I would
appreciate it thanks


Regards,

Julian L.C. Brown
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net






Julian L.C. Brown writes:
 > 
 > Would someone be so kind as to write out quick and dirty instructions of
 > how to set up a mail list.  I have compiled / installed EZMLM but the
 > instructions are for single domain machines and I have multiple domains.
 > It's only 5 lines or so so if you one of you could do that for me I would
 > appreciate it thanks

Assuming that you send your virtualdomains into alias-example

ezmlm-make ~alias/list ~alias/.qmail-example-list list example.com

Then modify ~alias/list/inlocal so it says "alias-example-list".

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.





>Assuming that you send your virtualdomains into alias-example
>
>ezmlm-make ~alias/list ~alias/.qmail-example-list list example.com
>
>Then modify ~alias/list/inlocal so it says "alias-example-list".

Let me try to explain my setup.  It's custom, not out of the box .. I
really appreciate your help.  The way I understand that most virtual
domains are setup is that they have a user that is unique to the domain
that controls the domain.  This is not the case on my system, I have one
solitary user named popuser that handles all the domains.  I don't know
where this comes in to the picture, but when I add those alias files with
ezmlm-make and send a message to [EMAIL PROTECTED] it does not
work.  I do have other aliases that have the same nomenclature though.  I
am not really sure how to explain this I hope I have given you something to
work with





Assuming you used Paul Gregg's 'Single-UID based POP3 box HOWTO'

for [EMAIL PROTECTED] try:

ezmlm-make ~popuser/domain-com/list ~popuser/domain-com/list/.qmail \
list domain.com

chown -R popuser.popuser ~popuser/domain-com/list

Aram

On Tue, May 04, 1999 at 02:12:42PM -0400, Julian L.C. Brown wrote:
> 
> >Assuming that you send your virtualdomains into alias-example
> >
> >ezmlm-make ~alias/list ~alias/.qmail-example-list list example.com
> >
> >Then modify ~alias/list/inlocal so it says "alias-example-list".
> 
> Let me try to explain my setup.  It's custom, not out of the box .. I
> really appreciate your help.  The way I understand that most virtual
> domains are setup is that they have a user that is unique to the domain
> that controls the domain.  This is not the case on my system, I have one
> solitary user named popuser that handles all the domains.  I don't know
> where this comes in to the picture, but when I add those alias files with
> ezmlm-make and send a message to [EMAIL PROTECTED] it does not
> work.  I do have other aliases that have the same nomenclature though.  I
> am not really sure how to explain this I hope I have given you something to
> work with
> 




At 11:49 AM 5/4/99 -0700, [EMAIL PROTECTED] wrote:
>Assuming you used Paul Gregg's 'Single-UID based POP3 box HOWTO'
>
>for [EMAIL PROTECTED] try:
>
>ezmlm-make ~popuser/domain-com/list ~popuser/domain-com/list/.qmail \
>list domain.com
>
>chown -R popuser.popuser ~popuser/domain-com/list

This works partly -- it will archive the messages but listserv(my alias
name) -subscribe and listserv-help return nothing..  Why is that?


Regards,

Julian L.C. Brown
Interware.Net Inc.
mailto:[EMAIL PROTECTED]
http://www.interware.net







What marks a message as read or new? I'm trying to reinstate the "You have
new Mail" when people login and figured I would write a program to do it
since I couldn't find one. I also need a program to just list new mail
headers. Does anyone know the flag that gets set to make a message New or
Read? Thanks. andy


--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "







Andy Walden writes:

> 
> What marks a message as read or new? I'm trying to reinstate the "You have
> new Mail" when people login and figured I would write a program to do it
> since I couldn't find one. I also need a program to just list new mail
> headers. Does anyone know the flag that gets set to make a message New or
> Read? Thanks. andy

That depends on whether or not you use mailbox files or Maildirs.  mailbox
files use the Status: header in each individual message.  For Maildirs, see
the man page for maildir(5), and http://pobox.com/~djb/proto/maildir.html
-- 
Sam






> Andy Walden writes:
> 
> > 
> > What marks a message as read or new? I'm trying to reinstate the "You have
> > new Mail" when people login and figured I would write a program to do it
> > since I couldn't find one. I also need a program to just list new mail
> > headers. Does anyone know the flag that gets set to make a message New or
> > Read? Thanks. andy
> 
> That depends on whether or not you use mailbox files or Maildirs.  mailbox
> files use the Status: header in each individual message.  For Maildirs, see
> the man page for maildir(5), and http://pobox.com/~djb/proto/maildir.html

I use maildirs, but I don't see what you are refering to on the man page.

andy





On Tue, May 04, 1999 at 11:49:09AM -0500, Andy Walden wrote:
> > Andy Walden writes:
> > 
> > > 
> > > What marks a message as read or new? I'm trying to reinstate the "You have
> > > new Mail" when people login and figured I would write a program to do it
> > > since I couldn't find one. I also need a program to just list new mail
> > > headers. Does anyone know the flag that gets set to make a message New or
> > > Read? Thanks. andy
> > 
> > That depends on whether or not you use mailbox files or Maildirs.  mailbox
> > files use the Status: header in each individual message.  For Maildirs, see
> > the man page for maildir(5), and http://pobox.com/~djb/proto/maildir.html
> 
> I use maildirs, but I don't see what you are refering to on the man page.

You might also want to look at the source code for maildirwatch. I haven't
looked at it, so I don't know how helpful it will be, but here's what its man
page says:

NAME
       maildirwatch - look for new mail in a maildir

SYNOPSIS
       maildirwatch

DESCRIPTION
       maildirwatch  watches your maildir for new mail.  You must
       supply a MAILDIR environment variable  with  the  name  of
       your maildir directory.

       maildirwatch  prints  a new mail summary twice per minute.
       It is designed to run inside a (VT100-compatible)  window;
       it clears the window before each summary.

Chris




Andy Walden <[EMAIL PROTECTED]> wrote:

>I use maildirs, but I don't see what you are refering to on the man page.

How about:

    Each file in new is a newly delivered mail message.

And:

    Files in cur are just like files in new.  The big difference is
    that files in cur are no longer new mail: they have been seen by
    the user's mail-reading program.

-Dave




> Andy Walden <[EMAIL PROTECTED]> wrote:
> 
> >I use maildirs, but I don't see what you are refering to on the man page.
> 
> How about:
> 
>     Each file in new is a newly delivered mail message.
> 
> And:
> 
>     Files in cur are just like files in new.  The big difference is
>     that files in cur are no longer new mail: they have been seen by
>     the user's mail-reading program.

Except that using pine and mbox2maildir, the messages never hit the
current directory and still maintain a read or unread flag. The are taken
out of the new directory and put back into the new directory regardless of
whether they have been read or not.

andy





Andy Walden <[EMAIL PROTECTED]> wrote:
>
>Except that using pine and mbox2maildir, the messages never hit the
>current directory and still maintain a read or unread flag.

Sounds like mbox2maildir is broken, then. Pine uses the Status header
field, as Sam said, in the mbox format mailbox. mbox2maildir should
use that information to decide where to file messages in the maildir.

-Dave




I guess when its being converted from maildir to mbox its not maildir
anymore. So status was the answer I was looking for. Thank you. 

andy

--
-----------------------------------------------------------------------
Andy Walden                        Work Email: [EMAIL PROTECTED]
Network Administrator,             Pers Email: [EMAIL PROTECTED]
MTCO Communications                Phone: (800) 859-6826
  " Reality is just Chaos with better lighting. "



On Tue, 4 May 1999, Dave Sill wrote:

> Andy Walden <[EMAIL PROTECTED]> wrote:
> >
> >Except that using pine and mbox2maildir, the messages never hit the
> >current directory and still maintain a read or unread flag.
> 
> Sounds like mbox2maildir is broken, then. Pine uses the Status header
> field, as Sam said, in the mbox format mailbox. mbox2maildir should
> use that information to decide where to file messages in the maildir.
> 
> -Dave
> 





Andy Walden writes:

> > Andy Walden <[EMAIL PROTECTED]> wrote:
> > 
> > >I use maildirs, but I don't see what you are refering to on the man page.
> > 
> > How about:
> > 
> >     Each file in new is a newly delivered mail message.
> > 
> > And:
> > 
> >     Files in cur are just like files in new.  The big difference is
> >     that files in cur are no longer new mail: they have been seen by
> >     the user's mail-reading program.
> 
> Except that using pine and mbox2maildir, the messages never hit the
> current directory and still maintain a read or unread flag. The are taken
> out of the new directory and put back into the new directory regardless of
> whether they have been read or not.

All that means is that the software you're using is broken.

-- 
Sam





Hi there,

I was thinking to initiate a site containing qmail patches, prefarably 
documented ones...

What do you think ?

Is there allready such a site somewhere ?



--

Kindest Regards//Oden Eriksson CNE+MCSE
(Linux enthusiast)
UIN: 952113




[EMAIL PROTECTED] wrote:
>
>I was thinking to initiate a site containing qmail patches, prefarably 
>documented ones...
>
>What do you think ?
>
>Is there allready such a site somewhere ?

Have you seen www.qmail.org?

-Dave





It appears that Qpopper has released a public beta and i missed the
announcement. Is anyone out there running it? Good/bad, any exploits that
are known, etc?

  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
 12:10pm  up 88 days, 19:13,  2 users,  load average: 0.01, 0.06, 0.07






Hi there.  
Just as a warning, I'm new to the list, and have a question.  I tried
to check the FAQ and archives for the answer, but my lack of
mailer-term knowledge stimied me.  So, apologies if this question was
asked before, but I don't know how to describe it.

First, some background:  We run a Novell file server, and use Mercury
mail for our POP system.  Mercury, in case you don't know, is
SMTP-stupid...anything non-local it passes to a specified SMTP-aware
system to deliver.  Since our Novell admin knew the IP of another
SMTP-aware box at the university, no problems.

Until one morning when the admin of the other box decided that our
department shouldn't be allowed to deliver.  

We were using a small 486 running Linux as our webserver at the time,
running the sendmail that was installed with it.  (Slackware 3.5, I
think).  In desperation, we pointed the growing backlog of mail at the
webserver.  Amazingly, it cleared out the backlog in 8 minutes and
served quite dutifully, despite some immense files thrown at it.
[What this says about the security of sendmail I'll ignore for the
moment].

Anyway, in time we upgraded the Linux box to RedHat 5.2 on a PentiumII
450.  Now that I was a slightly more experienced Linux administrator,
I tried to increase some security...xinetd, etc...including qmail.

All was well and good, but as time passed it became obvious that it
was more effort that it is worth to maintain two separate linux boxes
of two distributions when the one box can do everything.  So we want
to repeat our trick.  

My question (finally!):  How do I configure qmail to send mail routed
to it from another host?  Without messing up delivery by qmail for
messages generated from the same box?

Example:  www.example.edu is running qmail on Linux.
other.example.edu is running Novell w/Mercury.  

POP messages are sent to other.example.edu as they currently do.
other.example.edu delivers any local messages, while sending any
non-local messages to www.example.edu to be delivered.
www.example.edu accepts any messages from other.example.edu and does
the lookup/delivery to wherever.  (incoming messages from other hosts
will go directly to other.example.edu)  At the same time, the web
server on www.example.edu will send messages to wherever as well
(using qmail), which it does now and which I have no desire to break.

Thanks for any help in advance.  I am totally new to mailer
administration, so if this has been answered at length you can just
point me in the right directions with some terminology help.

BTW, we attempted to simply "point" as we did before, but the mail did
not deliver.  I'm afraid I don't have the log entries on hand, but if
it is helpful (i.e. it should work without special configuration) I
can get with our Novell admin and repeat the test.







Brett Borger <[EMAIL PROTECTED]> writes:
| BTW, we attempted to simply "point" as we did before, but the mail did
| not deliver.  I'm afraid I don't have the log entries on hand, ...

Unfortunately, qmail-smtpd does not *make* any log entries.  This is a
huge defect, as you can see.  You'll have to rely getting the bounce
messages, whereever they wind up.





On Tue, May 04, 1999 at 04:47:53PM -0400, Brett Borger wrote:
> Example:  www.example.edu is running qmail on Linux.
> other.example.edu is running Novell w/Mercury.  
> 
> POP messages are sent to other.example.edu as they currently do.
> other.example.edu delivers any local messages, while sending any
> non-local messages to www.example.edu to be delivered.
> www.example.edu accepts any messages from other.example.edu and does
> the lookup/delivery to wherever.  (incoming messages from other hosts
> will go directly to other.example.edu)  At the same time, the web
> server on www.example.edu will send messages to wherever as well
> (using qmail), which it does now and which I have no desire to break.

Hope I did get this right.
I'd suggest:

On other.example.edu simply point to www.example.edu as you did with the
other host before.

On www.example.edu (running qmail) you'd have to

put into /var/qmail/rcpthosts
    .example.edu
or - alternatively - list all the hosts in example.edu that you receive
eMails for.

put into /var/qmail/smtproutes
    .example.edu:other.example.edu
or again - alternatively - list all the hosts in example.edu that you receive
eMails for on the left side of the ":".
This file overrides MX lookups and kinda defines a "hard route"

You probably already have had this and the problem is that
www.example.edu denies relaying from other.example.edu. To solve this
you have to manage that for connections from other.example.edu the
environment variable RELAYCLIENT is set for qmail-smtpd.
You can accomplish this by e.g. using tcpserver or tcp-env.
Have a look at FAQ 5.4 for examples.

Hope that helps,

        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |




hi,

at some time I saw somewhere here in the list talking about 'qmHandle' to
handle the MailQ.
Has someone perhaps the program/a link to that?

Does anyone use a (better?) mailq-program?
When I've compiled qmail mailq was not there - is there normally a program
with it?


Thank you,
Michael





On Tue, 4 May 1999, Michael Bracker wrote:

> hi,
> 
> at some time I saw somewhere here in the list talking about 'qmHandle' to
> handle the MailQ.
> Has someone perhaps the program/a link to that?

try at www.qmail.org or
http://www.io.com/~mick/soft/qmhandle.html directly


---------------------------------------------------------------------
 Abel Lucano                    Argentina On-line S.A.
 E-mail: [EMAIL PROTECTED]            Bernardo de Irigoyen 546, Piso 6
 Sistemas                       Buenos Aires (1072)
 http://www.ba.net              Tel +5411 4343 9999




Reply via email to