qmail Digest 11 Nov 1999 11:00:00 -0000 Issue 817

Topics (messages 32769 through 32817):

Re: delivery to a directory
        32769 by: Florian G. Pflug
        32802 by: Phil Howard

Re: 2 Questions
        32770 by: Mirko Zeibig
        32786 by: Charles Leeds
        32800 by: Aaron L. Meehan

Re: syslog question.
        32771 by: Chris Johnson

Re: qmail remote delivery logic
        32772 by: Russell Nelson

Disapearing messages
        32773 by: Michael Boman
        32805 by: Michael Boman

telnet on 25 works but qmail cant connect to it!
        32774 by: Markus Wuebben
        32776 by: Chris Johnson
        32777 by: Greg Owen
        32778 by: Markus Wuebben
        32779 by: Markus Wuebben
        32782 by: Markus Stumpf

Re: Usage of /var/qmail/users/assign (fwd)
        32775 by: Markus Wuebben
        32780 by: Markus Stumpf

Re: too many connections dying
        32781 by: Markus Stumpf
        32797 by: Edward Castillo-Jakosalem
        32798 by: Markus Stumpf

Spam
        32783 by: Martin Paulucci
        32784 by: Petr Novotny

New Document for Qmail install
        32785 by: Subba Rao

OT: Network problems
        32787 by: Florian G. Pflug

Direcory ownership of /var/supervise??
        32788 by: Subba Rao

Prepatched IMAP anyone?
        32789 by: Denis Voitenko
        32793 by: David Harris

Stopping local delivery temporarily
        32790 by: Adam Michaud
        32792 by: Chris Johnson

Pop toaster help?
        32791 by: Steve Kapinos
        32795 by: Jon Rust

Permission bits
        32794 by: Steve Kapinos

Moving onto Maildir
        32796 by: Steve Kapinos

how to give preference to qmail-remote over qmail-smtpd?
        32799 by: Nagendra Mishr

remote routing
        32801 by: Keith Burdis
        32807 by: Markus Stumpf

Maildir conversions -- read mail, deletions
        32803 by: Adam Michaud
        32809 by: Markus Stumpf

Qmail - Address Rewrite
        32804 by: Subba Rao

Mass user email
        32806 by: Robert
        32808 by: Ken Jones
        32811 by: Robert
        32812 by: James Smallacombe
        32813 by: Robert

qmail tuning question
        32810 by: scott f. lanes

Creating a Structured Directory in Qmail for Users
        32814 by: john
        32815 by: Ken Jones

qmail-1.03-maxrcpt.patch
        32816 by: Andres Mendez

alert: qmail as releying
        32817 by: Stephan Pfeiffer

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


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


On Tue, Nov 09, 1999 at 06:06:03PM -0600, Phil Howard wrote:
> Patrick Berry wrote:
> 
> > On 11/9/99 at 3:52 PM, [EMAIL PROTECTED] (Phil Howard) had the thought:
> > 
> > > Please don't suggest lots of userids and/or lots of .qmail files.  I'm
> > > dead set on making this easy to administer, so those are not options.
> > > That's why I'm running things through a program that figures it out.
> > 
> > I could be way off base here, but it sounds like your dead set on
> > reinventing the wheel.  If you have to have a directory for the userid to
> > hold the Maildir, what is the problem with having a .qmail file to tell
> > qmail to deliver to that Maildir?
> 
> There will be hundreds of virtual domains and hundreds of userids in each.
> No, make that thousands.  Maybe more.  What's more, the user names will
> be created on the fly, so creating .qmail files in advance for every user
> name just isn't possible.
> 
> I don't want to add the extra I/O overhead of creating a .qmail file for
> each user.  I'm trying to make this lean and mean.  What I want to do is
> divert the .qmail lookup for these virtuals (the ones in virtualdomains
> naming this one single base user that handles this whole mess) so that
> for each user@domain to be delivered there is _not_ a .qmail file there.
> 
> If I could code the master .qmail file like:
> 
> # note the single quotes here:
> echo './Virtuals/${HOST}/${USER}/' > .qmail
> 
> and qmail-local would apply environment substitution, that would do the job.
> But that doesn't work.  So I'm trying:
> 
> echo '|./bin/delivery-to' > .qmail
> 
> where the program in bin/delivery-to examines the environment variables
> and determines the directory to deliver to (all are owned by the one user
> that all this is running under).  The next step is to deliver the mail
> there (which I'm wanting to avoid re-inventing, since something in qmail
> can obviously do it).
> 
> There would be a corresponding logic for vchkpw authentication and finding
> the directory under the pop3 server, plus a web based access facility to
> be developed, too (I'll be doing this in PHP).

Hi

There is an explanation for virtualdomains/multiple users with signed system
user/uid on www.qmail.org.

It is bases on the users/assign file (in /var/qmail/users/assign). This
files tells qmail where mail to a certain user shall be delivered too (thus
overiding /etc/passwd). This together with the virtualdomains files gives
you excellent support for a _lot_ of domains and a _lot_ of users. Note that
(as far as I remember) the user/assign file is _compiled_ into some sort of
binary file, so it should be fast also with a lot of entries.

I am using this setup, and things are quite fast. I still have a .qmail file
for each user in his directory (/home/popuser/$DOMAIN/$USER), because you
need this for forwarding, starting mail notifying scripts, etc. But if you
just want to deliver to his Maildir/Mailbox you don�t need those .qmail
files.

I have writting a small webinterface for the administration of this (you can
add domains, add users to domain, set their pop-password, add forwards to
users,...). It is a quick and dirty hack (it�s a bunch of shell scripts!),
but it works for me - you can have it, if you want to (maybe you want to do
the necesary perl rewrite?? ;-)))) )

greetings, Florian Pflug




Giles Lean <[EMAIL PROTECTED]> wrote:

giles> You've been referred to two programs that can write to maildirs.
giles> Writing to maildirs is trivial; you might as well make your own
giles> program that decides where the mail should go deliver it as well.

...

giles> The maildir format is documented at:
giles> 
giles> http://www.pobox.com/~djb/proto/maildir.html

Actually that does look trivial.  I guess this does show the virtue
of KISS.  So I may just write my own and use the same uniquness
strategy I'm programming into a web site now, which is Julian Day
based and good to 19 Dec 22666.



Florian G. Pflug <[EMAIL PROTECTED]> wrote:

fgp> There is an explanation for virtualdomains/multiple users with signed system
fgp> user/uid on www.qmail.org.

I'm not sure I find this or not.  I didn't find something literally that,
but I found many "virtual" things there.  Part of the problem, I think, is
that there isn't a precise meaning for "virtual".


fgp> It is bases on the users/assign file (in /var/qmail/users/assign). This
fgp> files tells qmail where mail to a certain user shall be delivered too (thus
fgp> overiding /etc/passwd). This together with the virtualdomains files gives
fgp> you excellent support for a _lot_ of domains and a _lot_ of users. Note that
fgp> (as far as I remember) the user/assign file is _compiled_ into some sort of
fgp> binary file, so it should be fast also with a lot of entries.

If it uses /var/qmail/users/assign then it's not what I want, and not what I
call virtual.  To me, one of the attributes of virtual is that there is no
table of mapping between a user e-mail address and where to deliver, but
instead, the determination of where to deliver is a functional relation to
the e-mail address.

I want the very minimum of administrative work to manage it.  This will
require such things as automatically deriving the user authentication data
from the customer account database.  I expect to write something that will
rebuild certain files (password CDB, rcpthosts, virtualdomains) from the
data obtained from the database.


fgp> I am using this setup, and things are quite fast. I still have a .qmail file
fgp> for each user in his directory (/home/popuser/$DOMAIN/$USER), because you
fgp> need this for forwarding, starting mail notifying scripts, etc. But if you
fgp> just want to deliver to his Maildir/Mailbox you don�t need those .qmail
fgp> files.

I don't want a .qmail file for each user (except for local host users).  If
by leaving it out I can deliver to each users's maildir, that' what I want.

At the same time there may be a catch.  The default delivery for the local
host (e.g. listed in locals, for users in /etc/passwd, with distinct uids),
is not maildir, but "./Mailbox".  I need to be able to leave local users as
all "./Mailbox" by default (unless overridden in a .qmail file for each user
individually), yet have maildirs used for all the virtualdomains users without
creating zillions of .qmail files.

Local users will NOT (at least we do not need to offer) have their e-mail
available by POP3 (or IMAP4 when that gets added to the mix).  If the address
identifies the local host name, it goes to the shell account only, for shells
on the same machine as the general POP3 service (these are just staff shells,
anyway, not customer shell accounts, which would be on a separate machine
with a more conventional non-virtual setup).


fgp> I have writting a small webinterface for the administration of this (you can
fgp> add domains, add users to domain, set their pop-password, add forwards to
fgp> users,...). It is a quick and dirty hack (it�s a bunch of shell scripts!),
fgp> but it works for me - you can have it, if you want to (maybe you want to do
fgp> the necesary perl rewrite?? ;-)))) )

We'll be doing the web interface for administration as an integral part of
the whole internet service administration, working through a central database
that records every service, not just e-mail.  E-mail configuration will then
be derived from that database much like web configuration, DNS configuration,
and so forth.  I will be able to add a new customer, specify domains, and
let them add their own users and subdomains, and it will automatically set
up their e-mail, radius for dialup, routing for dedicated DSL, web service,
and whatever else (the exact system hasn't been chosen, yet).

-- 
Phil Howard | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  phil      | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
      at    | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  ipal      | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
     dot    | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
  net       | [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]




On Tue, Nov 09, 1999 at 10:19:30PM -0800, James wrote:
> 2)  User is trying to read mail with Netscape 4.6 mail reader.. but when
> he tries to fetch mail, it says there is nothing in his mailbox even
> though there actually IS mail in the Mailbox file.  Does the user need to
> direct the Netscape mail reader to the "Mailbox" directory somehow,
> instead of the server domain address?
Hello James,
does the user read her mail directly on the server with NetScape or via
POP/IMAP? If the last one is true, you might try the following:
- if you have a recent version of imapd (4.6) it will take a file $HOME/mbox 
  as standard-INBOX if it finds one.
- Otherwise you could try to ``ln -s $HOME/Mailbox /var/spool/mail/$USER'',
  which is the next place, where UW-imapd       looks into (NetScape running
  ``locally'' mail should look into this as well).

Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads




James wrote:

> 1)  I have had qmail working wonderfully on RedHat Mandrake 6.0 for many
> months now.. but I am having a problem with relaying.  I've gone through
> the steps on this page:
>
> http://www.palomine.net/qmail/relaying.html
>
> but I am confused about something.. if I set up an ip address in
> rcpthosts, *and* in RELAYCLIENT, does this mean the user can ONLY send
> mail if he/she is connected to the server (say, with telnet)?  I have
> added the user's ip address to both, and user cannot use server as a relay
> when not connected directly to the server.

rcpthosts lists domains that qmail will deliver mail to no matter who uses
the relay to send mail to them.  For instance your rcpthosts is:

cia.gov
nsa.gov

This allows _anyone_ connecting to your qmail server to send messages to
those domains.  If I am a Russian spy and I telnet to port 25 on your qmail
server.  I can then do a:

mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
data
Blah blah blah
.

This message will be delivered.

If I as the Russian spy telnetting to your qmail port 25 did this same thing
to [EMAIL PROTECTED], the message would not be delivered to hotmail.com
because hotmail.com is not in your rcpthosts.  Now people can not use your
qmail server to spam the world because the qmail server will only send
messages to cia.gov and nsa.gov.  This presents a problem to your local
users because now they can't send mail out to hotmail.com since it is not in
the rcpthosts.

You can however set up tcpserver to pass a RELAYCLIENT environment variable
to the qmail server for ip addresses of your choosing.  Say you have set up
your tcp.smtp with a:

192.168.10.:allow, RELAYCLIENT=""
:allow

and have recompiled the rules

tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp

and then stopped and restarted qmail and tcpserver

Now everyone with an address in the subnet 192.168.10 should be able to send
mail to any host they wish.  Everyone not in the subnet 192.168.10
connecting to qmail will only be able to send mail to nsa.gov and cia.gov.

Putting an address for Joe Smith at 192.168.10.103 in rcpthosts just simply
allows mail to be delivered to host 192.168.10.103, and has no bearing on
where Joe Smith can send mail.

Your rcpthosts should only contain domains you receive mail for.  Your
tcp.smtp should contain the subnets and/or ip addresses of the users you
wish to be able to use the qmail server as a relay to send mail anywhere.

Forgive my rambling....

Fox
[EMAIL PROTECTED]





Quoting Charles Leeds ([EMAIL PROTECTED]):
[...]
> You can however set up tcpserver to pass a RELAYCLIENT environment variable
> to the qmail server for ip addresses of your choosing.  Say you have set up
> your tcp.smtp with a:
> 
> 192.168.10.:allow, RELAYCLIENT=""
> :allow
> 
> and have recompiled the rules
> 
> tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
> 
> and then stopped and restarted qmail and tcpserver

A very lucid explanation, the only correction being needed on the
above.  No need to restart anything after modifying the tcp rules.

Aaron




On Wed, Nov 10, 1999 at 06:02:36PM +1100, Marc-Adrian Napoli wrote:
> hiya,
> 
> been looking through the archives, can't seem to find my answer.
> 
> this is in my /etc/init.d/qmail file:
> 
> #Starts qmail-send and qmail-l/rspawn etc.
> csh -cf 'qmail-start ./Maildir/ splogger qmail &'
> 
> #Starts qmail-smtpd for incoming smtp connections.
> /usr/local/bin/tcpserver -D -lcia.com.au -b30 -H -R -c100 -x/var/qmail/tcp.s
> mtp.cdb -u71 -g65534 0 smtp
> /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &
> 
> #Starts qmail-popup for incoming pop connections to maildirs.
> /usr/local/bin/tcpserver -D -lcia.com.au -b40 -H -R -c100 0 pop3
> /var/qmail/bin/qmail-popup virtual1.com
> .au /work/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> Question 1:
> 
> qmail-smtpd isn't logging. is this because i don't have a "recordio"
> parameter there?

You need to run tcpserver with -v.

Chris




Frederik Lindberg writes:
 > Qmail is fastest under well-connected conditions when the recipients
 > per host are close to 1 (most "normal traffic"). Still, it would be
 > nice to improve it in more marginal situations as well. QMTP to smarthosts
 > and other qmail hosts would go a long way, although I would prefer if there
 > were a mechanism other than magic number MX records to keep track of who
 > can do QMTP.

Why?  It's nearly cost-free.  The algorithm for remote delivery would
be "get the MX record.  If it's in the magic range, attempt to talk
QMTP on the port given in the record.  If the connection is refused or
times out, fall back to SMTP.

There are 65536 different MX numbers.  It would be quite
straightforward to usurp a range of them.  Last time I looked, nearly
everybody uses priorities less than 1000.  Pick a range above that,
and query as many hosts as you can to see if anyone uses it.  If
nobody you can find does, it's likely that nobody else does.  If it
turns out that someone does after QMTP is in use, politely explain the
situation and ask them to change.  MX record numbers carry only a few
bits of information.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




I have problems with the SMTP part of qmail. I send a email to myself in the
test-enviroment as [EMAIL PROTECTED] The file is delivered from
the queue immidiatly, but I cant find it in my Maildir.

/etc/inetd.conf
^^^^^^^^^^^^^^^
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd
pop3 stream tcp nowait root   /usr/sbin/tcpd /var/qmail/bin/qmail-popup
webmail /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

/var/qmail/rc
^^^^^^^^^^^^^
#!/bin/sh

# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail


Setup:
^^^^^^
qmail-1.03
checkpassword 0.81
ezmlm 0.53
mySQL patch from SoftAgency

Hacked the mySQL patch so it only uses a single system UID/GID. That part is
OK acording to the author of the original patch.

Anything else I have forgotten to mention to help you guys helping me solve
this problem? Send a email back.



--
Michael Boman, Systems Engineer
WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00
Crystal Time Building, Singapore. 347778
Your Online Office Wizard - http://www.wizoffice.com/

BEGIN:VCARD
VERSION:2.1
N:Boman;Michael
FN:Michael Boman
NICKNAME:Michael
ORG:WizOffice.com
TITLE:Systems Engineer
TEL;PAGER;VOICE:(65) 92932949
ADR;WORK:;;;;;;Singapore
LABEL;WORK:Singapore
URL:
URL:http://www.wizoffice.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:19990922T094837Z
END:VCARD




I just love when you get things working. Problem solved. Problem was: there
was a system user named 'michael' and all the mail got into the system users
box, not the box specified by the MySQL server.

Regards,
Michael Boman

> -----Original Message-----
> From: Michael Boman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 10 November, 1999 11:07 PM
> To: Qmail
> Subject: Disapearing messages
>
>
> I have problems with the SMTP part of qmail. I send a email to
> myself in the
> test-enviroment as [EMAIL PROTECTED] The file is
> delivered from
> the queue immidiatly, but I cant find it in my Maildir.
>
> /etc/inetd.conf
> ^^^^^^^^^^^^^^^
> smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-smtpd
> pop3 stream tcp nowait root   /usr/sbin/tcpd /var/qmail/bin/qmail-popup
> webmail /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir
>
> /var/qmail/rc
> ^^^^^^^^^^^^^
> #!/bin/sh
>
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir/ splogger qmail
>
>
> Setup:
> ^^^^^^
> qmail-1.03
> checkpassword 0.81
> ezmlm 0.53
> mySQL patch from SoftAgency
>
> Hacked the mySQL patch so it only uses a single system UID/GID.
> That part is
> OK acording to the author of the original patch.
>
> Anything else I have forgotten to mention to help you guys
> helping me solve
> this problem? Send a email back.
>
>
>
> --
> Michael Boman, Systems Engineer
> WizOffice.Com Pte Ltd - 16 Tannery Lane, #06-00
> Crystal Time Building, Singapore. 347778
> Your Online Office Wizard - http://www.wizoffice.com/
>
>





HI!
I have a strange problem here. 

QMail cant send mails to some domains because I get this message:


Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
_451_Connection_Refused_(Paranoid)_from:_195.227.34.12/


while telneting works fine:


[root@medusa log]# telnet 131.246.137.51 25 
Trying 131.246.137.51...
Connected to 131.246.137.51.
Escape character is '^]'.
220 news.uni-kl.de Server SMTP (Complaints/bugs to:  [EMAIL PROTECTED]) 


Now. What might be the problem here???? I really have no idea..


Thanks

Markus

--
(Products & Development)
 
___________________________________________________
  ID-PRO GmbH Arnsberg      http://www.id-pro.de
         Open for the better ...
___________________________________________________    





On Wed, Nov 10, 1999 at 04:11:49PM +0100, Markus Wuebben wrote:
> HI!
> I have a strange problem here. 
> 
> QMail cant send mails to some domains because I get this message:
> 
> 
> Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
> Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
> _451_Connection_Refused_(Paranoid)_from:_195.227.34.12/

I'd guess that the remote host looks up your IP address, and the name it gets
doesn't match the name your server gives in the HELO greeting.

Use control/helohost to change the HELO host name. man qmail-remote.

Chris




> QMail cant send mails to some domains because I get this message:
> 
> Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
> Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
> _451_Connection_Refused_(Paranoid)_from:_195.227.34.12/
> 
> while telneting works fine:
> 
> [root@medusa log]# telnet 131.246.137.51 25 
> Trying 131.246.137.51...
> Connected to 131.246.137.51.
> Escape character is '^]'.
> 220 news.uni-kl.de Server SMTP (Complaints/bugs to:  
> [EMAIL PROTECTED]) 
> 
> Now. What might be the problem here???? I really have no idea..

        Is it possible that the hostname your machine is giving in the HELO
fails some paranoid DNS check, and the 451 is their response to your
machine's HELO?  What happens if you telnet in and say "HELO 'me'" where
'me' is the contents of /var/qmail/control/me?

-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]





On Wed, 10 Nov 1999, Chris Johnson wrote:

> On Wed, Nov 10, 1999 at 04:11:49PM +0100, Markus Wuebben wrote:
> > HI!
> > I have a strange problem here. 
> > 
> > QMail cant send mails to some domains because I get this message:
> > 
> > 
> > Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
> > Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
> > _451_Connection_Refused_(Paranoid)_from:_195.227.34.12/
> 
> I'd guess that the remote host looks up your IP address, and the name it gets
> doesn't match the name your server gives in the HELO greeting.
> 
> Use control/helohost to change the HELO host name. man qmail-remote.


[root@medusa /root]# nslookup mail.id-pro.net 
Server:  ns2.id-pro.net
Address:  195.227.34.11
 
Name:  mail1.id-pro.net 
Address:  195.227.34.12 
Aliases:  mail.id-pro.net
 
[root@medusa /root]# cat /var/qmail/control/helohost 
mail.id-pro.net
[root@medusa /root]# 


Reverse lookups should be all fine. I even tried mail1.id-pro.net but it
doesnt help....


hmmmm....
Markus






On Wed, 10 Nov 1999, Greg Owen wrote:

> > QMail cant send mails to some domains because I get this message:
> > 
> > Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
> > Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
> > _451_Connection_Refused_(Paranoid)_from:_195.227.34.12/
> > 
> > while telneting works fine:
> > 
> > [root@medusa log]# telnet 131.246.137.51 25 
> > Trying 131.246.137.51...
> > Connected to 131.246.137.51.
> > Escape character is '^]'.
> > 220 news.uni-kl.de Server SMTP (Complaints/bugs to:  
> > [EMAIL PROTECTED]) 
> > 
> > Now. What might be the problem here???? I really have no idea..
> 
>       Is it possible that the hostname your machine is giving in the HELO
> fails some paranoid DNS check, and the 451 is their response to your
> machine's HELO?  What happens if you telnet in and say "HELO 'me'" where
> 'me' is the contents of /var/qmail/control/me?

Hmmm.... mail.id-pro.net is accepted



[root@medusa /root]# cat /var/qmail/control/helohost 
mail.id-pro.net
[root@medusa /root]#   

[root@medusa /root]# telnet news.uni-kl.de 25 
Trying 131.246.137.51...
Escape character is '^]'.  
220 news.uni-kl.de Server SMTP (Complaints/bugs to:  [EMAIL PROTECTED])
HELO mail.id-pro.net 
250 news.uni-kl.de - you are a charlatan 
MAIL FROM: [EMAIL PROTECTED] 
250 @ns2.id-pro.net:[EMAIL PROTECTED] Sender ok 
RCPT TO: [EMAIL PROTECTED]
250 [EMAIL PROTECTED] Recipient ok 
DATA 
354 Enter Mail, end by a line with only '.' 
.  
250 Submitted & immediates started (msg.aa25115)  
QUIT 
221 news.uni-kl.de says goodbye to ns2.id-pro.net at Wed Nov 10
16:34:12. Connection closed by foreign host. 


Markus



> 
> -- 
>       gowen -- Greg Owen -- [EMAIL PROTECTED]
> 
> 

--
(Products & Development)
 
___________________________________________________
  ID-PRO GmbH Arnsberg      http://www.id-pro.de
         Open for the better ...
___________________________________________________    





On Wed, Nov 10, 1999 at 04:38:07PM +0100, Markus Wuebben wrote:
> > > Nov 10 16:08:00 medusa qmail: 942246480.704387 delivery 21: deferral:
> > > Connected_to_131.246.137.51_but_greeting_failed./Remote_host_said:
> > > _451_Connection_Refused_(Paranoid)_from:_195.227.34.12/

Your DNS setup is broken.
    195.227.34.12   ->  mail.id-pro.net
    mail.id-pro.net -> CNAME (!!) mail1.id-pro.net
The machine (news.uni-kiel.de) does "paranoid" lookups. It does a
reverse and gets "mail.id-pro.net" it queries for that host and gets
"mail1.id-pro.net". That two don't match and it rejects the connection.

Btw. If you have any MX records pointing to mail.id-pro.net this is
broken, too, as MX records may NEVER point at CNAMEs.

        \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  |




On Tue, 9 Nov 1999, Todd A. Jacobs wrote:

> I thought I'd repost this, in case the original (or any replies) got lost
> in the bitstream. The gist if my question is: when would I need to use
> assign instead of an alias? 

If you need speed for example. Assign gets converted to a hashed file
which is much faster than file queries. 
Also, if your Mail-home-dirs are on an NFS Server and it dies the messages
will get deferred and not bounced until the NFS-Server is up again.


Hope that helps

Markus
 


> 
> -- 
> Todd A. Jacobs
> Network Systems Engineer
> 
> 
> ---------- Forwarded message ----------
> Date: Sat, 6 Nov 1999 12:42:05 -0800 (PST)
> From: Todd A. Jacobs <[EMAIL PROTECTED]>
> To: QMAIL List <[EMAIL PROTECTED]>
> Subject: Usage of /var/qmail/users/assign
> 
> I'm not 100% sure I understand the difference in intended usage between
> setting up a ~/alias/.qmail-whatever file and setting up a virtual user in
> /var/qmail/users/assign. As far as I can tell, the former uses forwarding,
> whereas the latter is acting like a true alias.
> 
> Am I understanding this correctly? If so, what are the practical
> implications? They seem almost interchangeable to me.
> 
> -- 
> Todd A. Jacobs
> Network Systems Engineer
> 
> 
> 

--
(Products & Development)
 
___________________________________________________
  ID-PRO GmbH Arnsberg      http://www.id-pro.de
         Open for the better ...
___________________________________________________    





On Tue, Nov 09, 1999 at 08:14:54PM -0800, Todd A. Jacobs wrote:
> I'm not 100% sure I understand the difference in intended usage between
> setting up a ~/alias/.qmail-whatever file and setting up a virtual user in
> /var/qmail/users/assign. As far as I can tell, the former uses forwarding,
> whereas the latter is acting like a true alias.

The difference becomes evident if you are using virtualdomains.
If you have
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
an they are not both the same you cannot handle deliveries for "joe"
via the same ~alias/.qmail-joe
Usually you would have different users with different $HOMEs that
control each of those domains. But with a few thousand virtualdomains
it is no fun (and pretty useless) to create thousands of "real" users
on your system. Thats what the users/assign is for. It can hold all the
users that are defined in control/virtualdomains, uses (if you want) only
one real UID and allows to define different $HOMEs (aka control
directories) for each domain.

        \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  |




On Wed, Nov 10, 1999 at 01:40:57PM +0800, Edward Castillo-Jakosalem wrote:
> I've been constantly monitoring our log files and have been noticing
> lately that there are too many deliveries dying (says
> connected...but_connection_died). I'm presently running qmail-send with
> 100 concurrent remote deliveries.

Is it always the same hosts(s)?
We are pretty good connected and I always see some of them in the
logfiles. If I test the host with "telnet host smtp" it is often
that I get a connection, it takes 10-15 seconds and thre remote host
hangs the connection without greeting. This looks like a confused
mail server on the other side.

> How come the mail which was queued up since yesterday is still not sent
> when I sent a mail to the same address just now and was sent
> immediatley?

qmail uses a quadratic backoff algorithm. This is applied on a per
message basis, not per host basis. The "fresh" message has gone through
without any problems and the queued message is rescheduled and probably
due within 1 hour or so.
Dave Sill's "Living With Qmail" (Link from www.qmail.org; sorry I
haven't my booksmarks at hand) has a table that shows the backoff and
retry times.

        \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  |






Markus Stumpf wrote:

> On Wed, Nov 10, 1999 at 01:40:57PM +0800, Edward Castillo-Jakosalem wrote:
> > I've been constantly monitoring our log files and have been noticing
> > lately that there are too many deliveries dying (says
> > connected...but_connection_died). I'm presently running qmail-send with
> > 100 concurrent remote deliveries.
>
> Is it always the same hosts(s)?

Mostly free web email services like hotmail, yahoo, and mailcity.

>

> > How come the mail which was queued up since yesterday is still not sent
> > when I sent a mail to the same address just now and was sent
> > immediatley?
>
> qmail uses a quadratic backoff algorithm. This is applied on a per
> message basis, not per host basis. The "fresh" message has gone through
> without any problems and the queued message is rescheduled and probably
> due within 1 hour or so.
> Dave Sill's "Living With Qmail" (Link from www.qmail.org; sorry I
> haven't my booksmarks at hand) has a table that shows the backoff and
> retry times.

> I have the link: http://Web.InfoAve.Net/~dsill/lwq.html
>

You think the cause is the delay between the connection of their servers and ours?
Thanks!

>
>         \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  |

--


0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0
Edward Castillo-Jakosalem
Systems Administrator
Access Net (Phils.), Inc.
http://www.access.net.ph/ecj
[EMAIL PROTECTED]
0o0o0o0o0o0o0o0o0o0o0o0o0o0o0o0






On Thu, Nov 11, 1999 at 07:14:37AM +0800, Edward Castillo-Jakosalem wrote:
> > Is it always the same hosts(s)?
> 
> Mostly free web email services like hotmail, yahoo, and mailcity.

Then maybe their mailserver are overloaded.

> You think the cause is the delay between the connection of their servers and ours?

No. If you have a message M(a) that should be delivered to host H.
Host H is down. So qmail backs off the message for some time. It tries
again, fails to send, backs off again. The retry time grows quadratic.
This means that after some unsuccessful retries qmail may wait an hour or
more before it does the next retry.
Now the mailserver is ready again. You send a new message M(b). This
message goes through immediately, but message M(a) may have been scheduled
for retry e.g. 40 minutes later.
So the new message goes through immediately, but the elder one will
go through after 40 minutes (if the remote host is still up).

This is on purpose as to not overload a mailserver that came up recently,
immediately again.

        \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,

I had a spammer in my system which sent many mails to many domains, and as
I have tcp.smtp rules it should did it from my own dialups, so I have the
syslog with the following messages.. Is there any way to know the IP from
this guy?. And How can I filter per Subject instead of From???.

Here's the log:Nov  7 15:53:11 babel qmail: 942000791.265761 info msg
143554: bytes 18920 from <[EMAIL PROTECTED]> qp 1318 uid 101
Nov  7 15:53:11 babel qmail: 942000791.331364 starting delivery 6979: msg
143554 to local [EMAIL PROTECTED]
Nov  7 15:53:11 babel qmail: 942000791.331556 status: local 1/10 remote
0/20
Nov  7 15:53:11 babel qmail: 942000791.527908 new msg 143555
Nov  7 15:53:11 babel qmail: 942000791.528148 info msg 143555: bytes 19408
from <> qp 1322 uid 108
Nov  7 15:53:11 babel qmail: 942000791.680963 starting delivery 6980: msg
143555 to local [EMAIL PROTECTED]
Nov  7 15:53:11 babel qmail: 942000791.681167 status: local 2/10 remote
0/20
Nov  7 15:53:11 babel qmail: 942000791.715031 delivery 6980: failure:
admin__:sintesoft.com:sintesoft.com/POP_user_does_not_exist,_but_will_deliver
_to_/mail/vpopmail/domains/sintesoft.com/postmaster/Reason_for_failure:_/User_over_quota,_size_=_2299815/
Nov  7 15:53:11 babel qmail: 942000791.757477 status: local 1/10 remote
0/20
Nov  7 15:53:11 babel qmail: 942000791.860593 bounce msg 143555 qp 132ov  8
10:14:04 babel qmail: 942066844.193751 new msg 143539
Nov  8 10:14:04 babel qmail: 942066844.194014 info msg 143539: bytes 18547
from <[EMAIL PROTECTED]> qp 9352 uid 101
Nov  8 10:14:04 babel qmail: 942066844.266497 starting delivery 8091: msg
143539 to remote [EMAIL PROTECTED]
Nov  8 10:14:04 babel qmail: 942066844.266685 status: local 0/10 remote
1/20
Nov  8 10:14:06 babel qmail: 942066846.278123 delivery 8091: success:
200.10.106.24_accepted_message./Remote_host_said:_250_Message_received:_19991
[EMAIL PROTECTED]/
Nov  8 10:14:06 babel qmail: 942066846.291431 status: local 0/10 remote
0/20
Nov  8 10:14:06 babel qmail: 942066846.291616 end msg 143539
Nov  8 10:14:18 babel vpopmail[9359]: virtual POP for matias@ from
200.43.4.2
Nov  8 10:14:21 babel qmail: 942066861.339228 new msg 143539




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

On 10 Nov 99, at 16:48, Martin Paulucci wrote:
> I had a spammer in my system which sent many mails to many domains, and as
> I have tcp.smtp rules it should did it from my own dialups, so I have the
> syslog with the following messages.. Is there any way to know the IP from
> this guy?.

You're showing us logs from qmail. There's nothing about the 
originator in there. Do you have logs from tcpserver? You should 
find it in there (by time, and by qp - qp shall be close to qp in the 
qmail logs).

Alternatively, if you have a spam message in your hands (a copy 
from the queue, or a bounce with full headers), have a look at 
"Received" lines.

> And How can I filter per Subject instead of From???.

Beg your pardon?

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

iQA/AwUBOCmxuVMwP8g7qbw/EQK4YgCffuduWM5p1mLsHghfzm1SgJnlK2UAniI6
LVcG9sQcWzrHAB9O5QUAsDnZ
=Sm9o
-----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]




After several Qmail installation attempts, I have written up a document
with the
sequence of commands, on howto install Qmail.

It is at the following address.
        http://pws.prserv.net/truemax/OS/Qmail.html

Please review it and let me know, if it is helpful for Qmail newbies.
Any language and grammer corrections for this document, is much
appreciated.

Thank you.

Subba Rao
[EMAIL PROTECTED]

http://pws.prserv.net/truemax/




Hi

I know this is OT, but I just need a pointer to some/more information.

I have _very_ slow tcp-connections to our qmail smtp/pop3 server, I guess 
due to some network problems. The mail server is connected to a 
100mbit-network (via a 10/100 hub). If I send mails/copy files(via 
ftp)/tranfer any kind of data, I get about 20-40 kByte/s... but only if 
the other host is connected via 100mbit too.

If I use a host, that has only a 10mbit-link to the hub, the connection 
is at about 600kByte/s - which is _much_ better. I guess there is some 
problem with the cable, the nic, or the nub.

Is a any good linux-software that allows me to debug this, e.g. to see if 
there are any tcp-retransmits, or if the ethernet-frames are corrupted??? 

Greetings, Florian Pflug




I am trying to use David Sill's Qmail startup script. I have added
"nohup"
before "supervise". The script ends immediately with the "Done" message
and
will not start any of the Qmail's processes.

I have the qmail-smtpd-wrapper in /var/qmail/bin. After that, I have
issued
following command as root.

$ mkdir -p /var/supervise/qmail/send
$ mkdir /var/supervise/qmail/smtpd

What should be the permissions on these directories be? Who should be
the
owner of these directories?

The manual command,

$ csh -cf '/var/qmail/rc &'

works fine.
Why should I look for in Dave Sill's startup script, to make it work?

Any pointers appreciated.

Subba Rao
[EMAIL PROTECTED]

http://pws.prserv.net/truemax/




I have consistently failed to patch the IMAP source successfully so that it
could work with Maildir. Does anyone have an already patched source that
he'd be willing to share with me?







Try http://www.davideous.com/imap-maildir/

I have the patches and instructions that you need to build your own and
pre-compiled RPM if you want to go that way.

 - David Harris
   Principal Engineer, DRH Internet Services


-----Original Message-----
From:   Denis Voitenko [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, November 10, 1999 3:55 PM
To:     [EMAIL PROTECTED]
Subject:        Prepatched IMAP anyone?

I have consistently failed to patch the IMAP source successfully so that it
could work with Maildir. Does anyone have an already patched source that
he'd be willing to share with me?






This seems like a question that should be easily answered, yet the answer
I came up with on my own seems almost *too* easy, so I thought I'd ask.
:-)

I'm going to be doing some minor maintenance on the mail server and
changing users from mbox to Maildir format.  I'd like to stop all local
deliveries temporarily so that I can be as sure as possible that no mail
is lost to any of the changes I make, and have all messages that would be
delivered locally just stack up in the queue until I'm ready for them to
be delivered.

I think I can just do this by killing qmail-lspawn, but as I said, that
seems too simple.  Am I just making this more complicated than it needs to
be, or will this not do what I think it will?

Thanks,
Adam





On Wed, Nov 10, 1999 at 02:54:30PM -0600, Adam Michaud wrote:
> 
> This seems like a question that should be easily answered, yet the answer
> I came up with on my own seems almost *too* easy, so I thought I'd ask.
> :-)
> 
> I'm going to be doing some minor maintenance on the mail server and
> changing users from mbox to Maildir format.  I'd like to stop all local
> deliveries temporarily so that I can be as sure as possible that no mail
> is lost to any of the changes I make, and have all messages that would be
> delivered locally just stack up in the queue until I'm ready for them to
> be delivered.
> 
> I think I can just do this by killing qmail-lspawn, but as I said, that
> seems too simple.  Am I just making this more complicated than it needs to
> be, or will this not do what I think it will?

Just set control/concurrencylocal to 0 and restart qmail.

Chris





I thought pounding through qmail pages I saw some link about setting up a
POP toaster.

Anyone know where/what that link was?

I wanted to stay with vsm to keep my options open for IMAP, POP3 (or maybe
web stuff).. which doesn't seem to be a problem except that almost all the
qmail support for selective relaying is tied to checkpasswd.. and hence
qmail-pop3d I believe.

I just don't understand how selective relaying can be such a 'add-on' in
this world of spam and POP3.. Why isn't this functionality cleaner to
implement?

-Steve

winmail.dat





I used Paul Gregg's outstanding reference:

http://www.tibus.net/pgregg/projects/

jon

At 4:08 PM -0500 11/10/99, Steve Kapinos wrote:
>I thought pounding through qmail pages I saw some link about setting up a
>POP toaster.
>
>Anyone know where/what that link was?
>
>I wanted to stay with vsm to keep my options open for IMAP, POP3 (or maybe
>web stuff).. which doesn't seem to be a problem except that almost all the
>qmail support for selective relaying is tied to checkpasswd.. and hence
>qmail-pop3d I believe.
>
>I just don't understand how selective relaying can be such a 'add-on' in
>this world of spam and POP3.. Why isn't this functionality cleaner to
>implement?
>
>-Steve





What should the permissions be for a Maildir and a .qmail file?

winmail.dat





Ok,

After much mulling over keeping with vsm, I've moved over to Maildir to
better my chances with selective relaying.

Things are working fine, except I'm trying to patch Pine to work with
Maildir.  From the home page there is a link to the Bloodhounds patch, but
the readme in the patch is not helping me for v4.20 of pine.

It refers to changing the make file in /imap/ANSI/c-client/Makefile,
however, that no longer exists.  There is a makefile in /imap/src/c-client,
but it doesn't seem to have the same format that is refered to in the
README, as neither of the two lines it says to modify seem to be there.

Anyone have luck patching Pine 4.20 for maildir?

Thanks

-Steve

winmail.dat






I need to change the priority of email deliveries to be a higher then
for accepting more email..

currently, the server sits there and accepts emails like crazy... top
says iowait is around 73%

When I kill my sending process, I see that io/wait drops down to near 7%

Ideally, I'd like to accept email for delivery when remote deliveries
ahave timed out, etc..


Nagendra




Hi there

  I've just had a user complain that our mail server is not routing mail
  properly to his machine. He has several virtual domains and mail to these
  machines is not being routed as he expected. I think that qmail is doing
  the right thing, and his DNS entries are incorrect, but I'd like more
  knowledgeable folk to verify this.

  Mail to [EMAIL PROTECTED] goes directly to centaur.graham.ru.ac.za:

      pa.ru.ac.za -> centaur.graham.ru.ac.za
  
  The user thinks it should go via terrapin.ru.ac.za:

      pa.ru.ac.za -> terrapin.ru.ac.za -> centaur.graham.ru.ac.za

  Here's what I think qmail does:

    1) Look up the MX record of pa.ru.ac.za:

      rucus:~$ dnsquery -t MX pa.ru.ac.za
      [snip]
      pa.ru.ac.za.            3D IN CNAME     centaur.graham.ru.ac.za.
      [snip]

    2) Resolve centaur.graham.ru.ac.za

    3) Look up the MX record of centaur.graham.ru.ac.za

      rucus:~$ dnsquery -t MX centaur.graham.ru.ac.za
      Query failed (h_errno = 4) : No address associated with name
      rucus:~$

    4) No MX. Let's see if it has an A record:

      rucus:~$ dnsquery -t MX centaur.graham.ru.ac.za
      [snip]
      centaur.graham.ru.ac.za.  3D IN A  146.231.32.200
      [snip]

    5) It does. Send the mail to centaur.graham.ru.ac.za

  Of all his virtual hosts, I believe only graham.ru.ac.za is configured
  correctly. 

    1) Look up the MX record of graham.ru.ac.za

      rucus:~$ dnsquery -t mx graham.ru.ac.za
      [snip]
      graham.ru.ac.za.        3D IN MX        10 terrapin.ru.ac.za
      [snip]

    2) Send the mail to terrapin.ru.ac.za

  Is this correct?

  Thanks.

    - Keith (who wishes he had a Qmail book to look this up in ;)
-- 
Keith Burdis - MSc (Computer Science) - Rhodes University, South Africa
IRC: Panthras                                   JAPH    QEFH
---




On Thu, Nov 11, 1999 at 03:34:49AM +0200, Keith Burdis wrote:
>   the right thing, and his DNS entries are incorrect, but I'd like more
>   knowledgeable folk to verify this.

Yes, there seem to be MX records missing for
    centaur.graham.ru.ac.za
that point to terrapin.ru.ac.za

>   Is this correct?

AFAICS your analysis is correct.

        \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  |





I'm not sure if this is a qmail issue or what, but I'm not having a whole
lot of luck finding info on this anywhere else...

I'm converting users with existing POP mailboxes (i.e., they keep mail on
the server) from mbox to Maildir format, and in the process, switching
them from cucipop (which doesn't understand Maildir) to a patched version
of ipop3d, the POP server that comes with the UW-IMAP distribution (which
does).  When I do this, all of the messages that were saved in the user's
Mailbox appear in the Inbox on the user's client, even those that had
already been seen/dealt with.  This happens even if I explicitly put all
of the messages into the "cur" folder (as opposed to "new").

Also, it doesn't seem that deleting messages on the client side deletes
them from the server, even if the appropriate option on the client side is
active (for example, the "Delete items on server when emptying trash"
option in Netscape Messenger)

It sounds like it's some sort of issue (at least, the first one) with the
UIDL information not being preserved, at least from what I've been
reading, but that's mostly just a guess.

Does anyone know why this might be happening, and/or what I can do about
it?  I'll have people beating down my door if everyone gets hundreds
(even, in some cases, thousands) of old messages dumped in their Inbox...

Thanks,
Adam






On Wed, Nov 10, 1999 at 07:57:10PM -0600, Adam Michaud wrote:
> I'm not sure if this is a qmail issue or what, but I'm not having a whole
> lot of luck finding info on this anywhere else...

I don't know about the POP daemon you are using.
POP clients don't know about "cur" or "new" directories on the server.
Usually the POP server sends some checksum or filename to the client.
The client puts this in a database and so it knows what messages he had
and what are new.
qmail-pop3d simply sends the filenames on UIDL requests.
If your pop3d uses the same scheme it is clear that all the messages are
"new" and I can't see a chance to get around this other than replacing
the UIDL algorithm with the one your old pop3d used. This may or may not
be possible, however it is probably a lot of hacking the code.

        \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  |




Hello again,

I haven't gone too far trying to quit Qmail. ;-)

My Qmail is up and running fine. The only thing remaining
for now is the address rewriting. Right now my MUA is doing
the rewriting of the address. If I were to use the local "mail"
command, then the address reverts back to my fake domain address
and the mail doesn't go anywhere.

This is one topic that is not addressed much. I do not see
any example of control files that would implement some
rudimentary address rewriting for out bound mail.

How can I do address rewrites in Qmail? If anyone has doing
it now, I would appreciate a sample control files. 

Subba Rao
[EMAIL PROTECTED]

http://pws.prserv.net/truemax/




Hello,
 Thank you in advance for any help that is given.  Is there a way to
send a single email to all the users on my system so it looks like it's
addressed to each individual user?  I tried adding each user on the box
to my .qmail file, but the mail that is sent out is addressed to the
original user the email was sent to.  I looked at ezmlm, but i'm not
interested in setting up mailing lists.  I just want to send out system
warnings and such to my users if needed.  Any help would be greatly
appreciated.

Thank you.




Robert wrote:
> 
> Hello,
>  Thank you in advance for any help that is given.  Is there a way to
> send a single email to all the users on my system so it looks like it's
> addressed to each individual user?  I tried adding each user on the box
> to my .qmail file, but the mail that is sent out is addressed to the
> original user the email was sent to.  I looked at ezmlm, but i'm not
> interested in setting up mailing lists.  I just want to send out system
> warnings and such to my users if needed.  Any help would be greatly
> appreciated.
> 
> Thank you.

popbull might work for you, or the virtual pop bull programs out there.

If not, I have a program that will send an email out to a list of users
in a file, individually addressed.

If it's all local, use a popbull program. 

Ken Jones
Inter7




Am I wrong in assuming that pop-bull only works on users with shell
accounts??  I'm a sys admin for an ISP, and I don't give my users shell
access.  If I'm wrong, please let me know.

Thank you.

Ken Jones wrote:
> 
> Robert wrote:
> >
> > Hello,
> >  Thank you in advance for any help that is given.  Is there a way to
> > send a single email to all the users on my system so it looks like it's
> > addressed to each individual user?  I tried adding each user on the box
> > to my .qmail file, but the mail that is sent out is addressed to the
> > original user the email was sent to.  I looked at ezmlm, but i'm not
> > interested in setting up mailing lists.  I just want to send out system
> > warnings and such to my users if needed.  Any help would be greatly
> > appreciated.
> >
> > Thank you.
> 
> popbull might work for you, or the virtual pop bull programs out there.
> 
> If not, I have a program that will send an email out to a list of users
> in a file, individually addressed.
> 
> If it's all local, use a popbull program.
> 
> Ken Jones
> Inter7





No, it's for pop accounts, hence the name...shell has nothing to do with
it.

On Wed, 10 Nov 1999, Robert wrote:

> Am I wrong in assuming that pop-bull only works on users with shell
> accounts??  I'm a sys admin for an ISP, and I don't give my users shell
> access.  If I'm wrong, please let me know.
> 
> Thank you.
> 
> Ken Jones wrote:
> > 
> > Robert wrote:
> > >
> > > Hello,
> > >  Thank you in advance for any help that is given.  Is there a way to
> > > send a single email to all the users on my system so it looks like it's
> > > addressed to each individual user?  I tried adding each user on the box
> > > to my .qmail file, but the mail that is sent out is addressed to the
> > > original user the email was sent to.  I looked at ezmlm, but i'm not
> > > interested in setting up mailing lists.  I just want to send out system
> > > warnings and such to my users if needed.  Any help would be greatly
> > > appreciated.
> > >
> > > Thank you.
> > 
> > popbull might work for you, or the virtual pop bull programs out there.
> > 
> > If not, I have a program that will send an email out to a list of users
> > in a file, individually addressed.
> > 
> > If it's all local, use a popbull program.
> > 
> > Ken Jones
> > Inter7
> 

James Smallacombe                    Internet Access for The Delaware
[EMAIL PROTECTED]                        Valley in PA, NJ and DE
PlantageNet Internet Ltd.            http://www.pil.net
=========================================================================
ISPF 3 - The Forum for ISPs by ISPs(tm)  ||  Nov 15-17, 1999, New Orleans
3 days of clues, news, and views from the industry's best and brightest.
     Visit <http://www.ispf.com/> for information and registration.
=========================================================================





Is there any documentation for this patch?  I don't see any on the qmail
webpage.

Robert

James Smallacombe wrote:
> 
> No, it's for pop accounts, hence the name...shell has nothing to do with
> it.
> 
> On Wed, 10 Nov 1999, Robert wrote:
> 
> > Am I wrong in assuming that pop-bull only works on users with shell
> > accounts??  I'm a sys admin for an ISP, and I don't give my users shell
> > access.  If I'm wrong, please let me know.
> >
> > Thank you.
> >
> > Ken Jones wrote:
> > >
> > > Robert wrote:
> > > >
> > > > Hello,
> > > >  Thank you in advance for any help that is given.  Is there a way to
> > > > send a single email to all the users on my system so it looks like it's
> > > > addressed to each individual user?  I tried adding each user on the box
> > > > to my .qmail file, but the mail that is sent out is addressed to the
> > > > original user the email was sent to.  I looked at ezmlm, but i'm not
> > > > interested in setting up mailing lists.  I just want to send out system
> > > > warnings and such to my users if needed.  Any help would be greatly
> > > > appreciated.
> > > >
> > > > Thank you.
> > >
> > > popbull might work for you, or the virtual pop bull programs out there.
> > >
> > > If not, I have a program that will send an email out to a list of users
> > > in a file, individually addressed.
> > >
> > > If it's all local, use a popbull program.
> > >
> > > Ken Jones
> > > Inter7
> >
> 
> James Smallacombe                    Internet Access for The Delaware
> [EMAIL PROTECTED]                        Valley in PA, NJ and DE
> PlantageNet Internet Ltd.            http://www.pil.net
> =========================================================================
> ISPF 3 - The Forum for ISPs by ISPs(tm)  ||  Nov 15-17, 1999, New Orleans
> 3 days of clues, news, and views from the industry's best and brightest.
>      Visit <http://www.ispf.com/> for information and registration.
> =========================================================================




I have just moved a mailing list to qmail/ezmlm. The list has a little over
1800 users and I am finding that the mailq is running at about 20K
messages. I added the /var/qmail/control/concurrencyremote file with a
value of 75. Sometimes it is running at 75 remotes but more often it is at
13-15. Is there any way to get qmail to push more of the messages through?

I was also wondering if anyone had any problems with qmail clling it quits
when the mailq reaches a cetain point. I read somewhere that it can run
with big mailq's as long as you have enough disk to store the messages. Is
there a way to clear the q manually if I need to?

Any other performance tuning things I can to to get things moving along faster?

I'm pretty new to this (email management) so any help would be appreciated. 

Thanx in advance......

-scott




Hi,
 
How do I go about creating a proper directory structure in qmail for users. Like I want to have users name starting with
 
A to F in
 
/home/Vpopmail/Users/A-F directory
 
G to M in
 
/home/Vpopmail/Users/G-M directory
 
N to Z in
 
/home/Vpopmail/Users/N-Z directory
 
So that its easy for me to search the users and also the mail has to be delivered to these mail directories.
 
Thanks & Regards
John





Alphabetical distributions are not symetrical. It is better to allocate
users based on additions. vpopmail has a distribution algorythm. you can
use it if you want. I can send it to you. It is based on users being
added, with 3 levels of directories.

Ken Jones
Inter7

> john wrote:
> 
> Hi,
> 
> How do I go about creating a proper directory structure in qmail for
> users. Like I want to have users name starting with
> 
> A to F in
> 
> /home/Vpopmail/Users/A-F directory
> 
> G to M in
> 
> /home/Vpopmail/Users/G-M directory
> 
> N to Z in
> 
> /home/Vpopmail/Users/N-Z directory
> 
> So that its easy for me to search the users and also the mail has to
> be delivered to these mail directories.
> 
> Thanks & Regards
> John




Where is the new qmail-1.03-maxrcpt.patch?





Hello list,

I am a newbie, and I musst install qmail as releying. Now, I've read all
install files and the howto (www.qmail.org), but if I start qmail, I get
following message:

alert: cannot start: hath the daemon spawn no fire?


I have look with strace, what are the problem, but I haven't any idea.
output of strace:

...
open("control/percenthack", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
open("control/virtualdomains", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
chdir("queue")                          = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8048b20, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8048b40, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x8048b60, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
umask(077)                              = 077
open("lock/sendmutex", O_WRONLY|O_NONBLOCK) = 7
flock(7, LOCK_EX|LOCK_NB)               = 0
read(2, "", 1)                          = 0
--- SIGCHLD (Der Kind-Proze� ist beendet) ---
write(0, "alert: cannot start: hath the da"..., 52alert: cannot start:
hath the daemon spawn no fire?
) = 52
_exit(111)                              = ?
...

Can everybody help me? 

Thanks for help...


mfg     stephan
-- 
----------------------------------------------------------------------
Stephan Pfeiffer                                   planNET Systems GmbH
mailto:[EMAIL PROTECTED]                       Haid-und-Neu-Strasse 7

FON:         (+49) 721 66 36 36                   mailto:[EMAIL PROTECTED]
FAX:         (+49) 721 66 36 30                    http://www.planNET.de
-----------------------------------------------------------------------


Reply via email to