qmail Digest 19 Mar 2001 11:00:01 -0000 Issue 1308

2001-03-19 Thread qmail-digest-help


qmail Digest 19 Mar 2001 11:00:01 - Issue 1308

Topics (messages 59261 through 59274):

Re: Please help, I have been trying to solve this for two weeks.
59261 by: Brett Randall
59262 by: Charles Cazabon

Re: virtual users without virtual domains?
59263 by: Nick (Keith) Fish

Re: Alias not forwading to .qmail-foo-default
59264 by: Nick (Keith) Fish
59265 by: Todd A. Jacobs
59266 by: Sean Chittenden

Help about write program used by dot qmail file.
59267 by: Silver Dirk
59270 by: Chris Bolt

Queue documentation.
59268 by: Grant
59269 by: Jordan Krushen

multilog and missing info
59271 by: Chris Bolt
59272 by: Brett Randall
59273 by: Chris Bolt
59274 by: Adam McKenna

Administrivia:

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

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

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

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


--



> "Avery" == Avery Brooks <[EMAIL PROTECTED]> writes:

> Greetings, I did a setup of QMAIL using the RPM's located at:
> http://www.qmail.org/rpms/ Qmail seems to be running fine, but here
> are my issues:

The general opinion on this list, as you may find, is that the best
way to install qmail is to follow www.lifewithqmail.org . You will
then know how qmail works, where the paths to all your files are (and
what they do), and hold the entire `mail system' in a higher regard.
-- 
"This 'telephone' has too many shortcomings to be seriously considered
as a means of communication. The device is inherently of no value to
us."

- Western Union internal memo, 1876




Avery Brooks <[EMAIL PROTECTED]> wrote:
> qmaill 901  0.0  0.1  1320  344 ?S19:59   0:00 multilog t
[...]
> - Qmail doesn't seem to log anything at all into: maillog, messages or any
> other log I can find.

You appear to be logging through multilog (good).  It logs into a series of
files in a directory you specify.  That directory is specified in the
file "run" located in the service directory.  It might be /var/log/qmail, but
only you can tell how you installed it.

> - Qmail can't send a message from a form.  I am using Matt's Simple form as a
> test.  It worked with sendmail and now does not work with qmail.

For some reason, lots of people seem to have trouble with this script.
I would suggest that the script is broken, but it works for us.  You'll need
to provide some useful information for us to be able to tell you why it's
failing -- exit codes from the sendmail wrapper and log messages showing the
failure would be best.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---




"Todd A. Jacobs" wrote:
> 
> I realize this may sound like a silly question, but I'm trying to wrap my
> head around the whole virtual users facility, and am trying to understand
> whether I can set up virtual users without also setting up virtual
> domains.
> 
> In my current setup, all account are real users delivered to
> codegnome.org. I'm also interested in setting up virtual users (i.e. users
> without a login account) that are still part of the same domain as the
> real users (e.g. codegnome.org). Is this possible, and if so, can the
> virtual users and real users all get their pop mail from the same pop
> daemon?
> 
> --
> Todd A. Jacobs
> CodeGnome Consulting, LTD

You most certainly can.  The question here is how to authenticate both
users using the same pop server.  To do that, just make a unique user
and group for your virtual users.  Check out
http://freshmeat.net/projects/checklocalpwd/ for a version of
checkpassword that can authenticate in this manner.  I also recommend
setting up all of your real users on the same interface as your virtual
users and then symbolically linking the mail directory to which the
virtual account would normally point to the real user's mail
directories.  Keep inherent permissions in mind here or you'll have a
big security hazard.  If you can't find a secure way of doing that, you
can always just write a shell script which will update the real users'
e-mail directories off from their virtual accounts and either make it a
command or throw it in your crontab.

-- 
Keith
Network Engineer
Triton Technologies, Inc.




"Todd A. Jacobs" wrote:
> 
> On Sat, 17 Mar 2001, Peter van Dijk wrote:
> 
> > Try .qmail-15dmziMUy-default instead.
> 
> It doesn't work, regardless of whether I put it in ~alias or $HOME. I
> still get "no mailbox."
> 
> It works fine if I forward to a real user. The point is that I want to
> forward it 

a tool/script to print the biggest mail servers in queue

2001-03-19 Thread Simon K. Grabowski

I have noticed that whenever a large mail server is down
(i.e. mail.com or yahoo.com) queue gets much bigger.
This is normal and understandable, but sometimes a huge
queue lags message delivery to mail servers that are working okay.

Is there a tool / script that'd print the biggest mail servers
in queue. i.e. in a list...
yahoo.com5684 (messages in queue)
mail.com1243 etc.

I know that postfix has a tool that does that...

What about qmail?


-- Simon




Need testing.

2001-03-19 Thread Kirill Miazine

Hi,
I've made a mail-system. It's perl/qmail/postgre based. I need some testing and bug 
reports before I can release the code to the public.

https://devnull.krot.org/signup

nb: max 100 test users and 25 megs per user.

please send bugs/questions/comments to [EMAIL PROTECTED]

-- 
Kirill



qmail-rspawn not starting under svscan

2001-03-19 Thread Golden_Eternity

Well, I had qmail running fine when I was starting it using a SysV style
init script (out of the old qmail howto), but when I tried to install
djbdns, I ran into some trouble so I figured I'd try out svscan /service.

Now, I can get qmail to accept mail from other systems when I start it under
svscan, but qmail-rspawn doesn't start. I shut that down stumbled around a
bit and got it partially started back up under the SysV init script but it
wouldn't accept connections (tcpserver wouldn't start)... it did send the
queued mail, though. ;)

To get this message out, qmail started under svscan and then I ran the SysV
init script on top of that... I did get qmail-rspawn started that way, but
its a big ugly mess...

supervise is starting qmail-send and qmail-smtpd (and the two loggers) fine.
I see two copies of multilog running and one copy of tcpserver... Well,
here's the relevant ps -auxw output.

root 18561  6.6  1.3  1088  320 ?S02:30  12:26 supervise
qmail-send
root 18562  0.0  1.3  1088  320 ?S02:30   0:00 supervise log
root 18563  0.0  1.3  1088  320 ?S02:30   0:00 supervise
qmail-smtpd
qmaill   18565  0.0  1.3  1100  312 ?S02:30   0:00
/usr/local/bin/multilog t s250 /var/log/qmail/qmail-send
qmaild   18567  0.0  2.1  1208  484 ?S02:30   0:00
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 503 -g 502 0 s
root 18568  0.0  1.3  1088  320 ?S02:30   0:00 supervise log
qmaill   18571  0.0  1.3  1100  316 ?S02:30   0:00
/usr/local/bin/multilog t s250 /var/log/qmail/qmail-smtpd

I don't even know where to begin looking for an answer... I'm using the run
scripts from the new qmail howto...

- svscan style -
[root@roto-router qmail-send]# cat run
!/bin/sh
exec /var/qmail/rc
[root@roto-router qmail-smtpd]# cat run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1


- SysV style -
csh -cf '/var/qmail/rc &'
supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u$USER
ID -g$GROUPID 0 25 \
rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
setuser qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd &


The differences seem to be rblsmtpd, accustamp, and cyclog... But none of
those seem to make any sense as the source of my problem... Any suggestions?






[OT] supervise sshd?

2001-03-19 Thread Peter Cavender

I want to run the openssh daemon under supervise...should my "run" script be:

#!/bin/sh
exec /usr/local/sbin/sshd -D

I am not sure what options to use with sshd.
As above it seems to work;
if I use no options it flips out;
using fghack it seems to work but I always get a zombied (initial) 
sshd process.


Anybody else doing this?

Thanks



Re: [OT] supervise sshd?

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 10:22:20AM -0500, Peter Cavender wrote:
> I want to run the openssh daemon under supervise...should my "run" script be:
> 
> #!/bin/sh
> exec /usr/local/sbin/sshd -D
> 
> I am not sure what options to use with sshd.
> As above it seems to work;
> if I use no options it flips out;
> using fghack it seems to work but I always get a zombied (initial) 
> sshd process.

Try the log list instead of the qmail list. People there know how to
fix this.

Greetz, Peter.



Re: [OT] supervise sshd?

2001-03-19 Thread Robin S. Socha

* Peter Cavender <[EMAIL PROTECTED]> [010319 10:12]:
> I want to run the openssh daemon under supervise...
> Anybody else doing this?

http://koeln.ccc.de/~drt/ look for "A patch for OpenSSH for Unix".



Just a little question

2001-03-19 Thread Simone Pirovano

exists a way in order to limit the dimensions of the attached ones in
entrance ? 



Re: Just a little question

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 04:23:41PM +0100, Simone Pirovano wrote:
> exists a way in order to limit the dimensions of the attached ones in
> entrance ? 

Did you translate your question with babelfish?

Greetz, Peter.



RE: multilog and missing info

2001-03-19 Thread Chris Bolt

Sorry, http://www.flounder.net/qmail/qmail-howto-old.html :-)

-Original Message-
From: Adam McKenna [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 1:11 AM
To: [EMAIL PROTECTED]
Subject: Re: multilog and missing info


On Mon, Mar 19, 2001 at 01:04:23AM -0700, Chris Bolt wrote:
> /var/log/qmail/current actually wasn't being filled because I had left
> splogger in my /var/qmail/rc... *oops*
>
> Thanks though, I wouldn't have noticed it if I hadn't gone over
> lifewithqmail.org (I had originally used
> http://www.flounder.net/qmail/qmail-howto.html)

Uh, my example rc file doesn't log via splogger.

--Adam

--
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes,
http://flounder.net/publickey.html   |  technology's just a bunch of wires
GPG: 17A4 11F7 5E7E C2E7 08AA|  connected to a bunch of other
wires."
 38B0 05D0 8BF7 2C6D 110A|  Joe Rogan, _NewsRadio_
 12:07am  up 28 days,  7:54,  9 users,  load average: 0.00, 0.01, 0.00




Re: Repeated Identical Messages

2001-03-19 Thread dan kelley


this is getting much weirder.  following the message below, i tested both
my backup and primary to see if they implemented help for qmail.

here's what happened:

when i test help by doing the following:

from an ip inside the local network:

>telnet mailhost.otec.com smtp
[dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
Trying 209.3.117.5...
Connected to mx1.ny.otec.com.
Escape character is '^]'.
220 mx1.ny.otec.com ESMTP
help
214 qmail home page: http://pobox.com/~djb/qmail.html

from a remote ip:
% telnet mailhost.otec.com smtp
Trying 209.3.117.5...
Connected to mx1.ny.otec.com.
Escape character is '^]'.
220 *
help
502 unimplemented (#5.5.1)

i tested the backup (which is located on a different block in a different
geographic location) the exact same way:

from an ip inside the local newtork:
% telnet dev1.gc.ny.otec.com smtp
Trying 10.0.50.102...
Connected to dev1.gc.ny.otec.com.
Escape character is '^]'.
220 dev1.gc.ny.otec.com ESMTP
help
214 qmail home page: http://pobox.com/~djb/qmail.html

from a remote ip:
[dkelley@mx1 qmail]# telnet dev1.gc.ny.otec.com smtp
Trying 64.209.222.102...
Connected to dev1.gc.ny.otec.com.
Escape character is '^]'.
220 *
help
502 unimplemented (#5.5.1)


this appears to be hopelessy weird.  both smtp connections are made through
a firewall, which leaves port 25 open for the respective machines.
mailhost.otec.com, after a very recent upgrade, runs qmail-1.03 with the
qmail-remote ptach for qmtp delivery, and the qmail-queue patch for use
with qmail-scanner.  i've looked at the code (both pre and post patch), and
can't figure out why this would occur.  

i've tried this from both a windows terminal and a linux xterm.  

anyone have any idea how this could happen?

thanks-

dan





At 12:52 AM 3/16/01 +0100, you wrote:
>On Thu, Mar 15, 2001 at 05:05:30PM -0500, dan kelley wrote:
>> they're definitley qmail;  both run qmail-1.03 unpatched under tcpserver.
>> 
>> what do you mean by 'help for smtp' ?
>
>
>lagrange(2:2697) $ telnet mailhost.otec.com smtp
>Trying 209.3.117.5...
>Connected to mx1.ny.otec.com.
>Escape character is '^]'.
>220 *
>help
>502 unimplemented (#5.5.1)
>quit
>221 mx1.ny.otec.com
>
>this is definitely NOT an unpatched qmail.
>Unmodified qmail's look like that:
>
>lagrange(2:2698) $ telnet mail.space.net smtp
>Trying 195.30.0.8...
>Connected to mail.space.net.
>Escape character is '^]'.
>220 mail.space.net ESMTP
>help
>214 qmail home page: http://pobox.com/~djb/qmail.html
>quit
>221 mail.space.net
>
>
>   \Maex
>
>-- 
>SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
>Research & Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
>Stress is when you wake up screaming and you realize you haven't fallen
>asleep yet.
>
>


Dan Kelley
www.otec.com
212-840-8600




help - tcprules flaking out

2001-03-19 Thread dan kelley


here's my tcp.smtp file:

209.3.117.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
64.209.222.:allow,RELAYCLIENT=""
63.113.119.:allow,RELAYCLIENT=""
:allow

i'm compliling thusly:

tcprules /etc/tcp.smtp.cdb tcp.smtp.tmp < /etc/tcp.smtp

that compiles cleanly, but:

tcpruleschceck /etc/tcp.smtp.cdb 209.3.117.1

yields:

[dkelley@mx1 /etc]# tcprulescheck /etc/tcp.smtp.cdb 209.3.117.1
rule :
allow connection
[dkelley@mx1 /etc]#

it doesn't appear to be setting RELAYCLIENT.  

this worked fine before today;  all i've done is add the last line to the
tcp.smtp file.  there's no whitespace at the end of the line.

any help would be greatly appreciated-

thanks-

dan





Dan Kelley
www.otec.com
212-840-8600




Re: help - tcprules flaking out

2001-03-19 Thread Charles Cazabon

dan kelley <[EMAIL PROTECTED]> wrote:
> 
> tcpruleschceck /etc/tcp.smtp.cdb 209.3.117.1
[...] 
> it doesn't appear to be setting RELAYCLIENT.  

Is this even supposed to work this way?  tcprulescheck expects to find the
IP address in TCPREMOTEIP.  Try invoking tcprulescheck according to the
documentation.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: help - tcprules flaking out

2001-03-19 Thread Peter Green

* dan kelley <[EMAIL PROTECTED]> [010319 12:13]:
> [dkelley@mx1 /etc]# tcprulescheck /etc/tcp.smtp.cdb 209.3.117.1
> rule :
> allow connection

Try ``env TCPREMOTEIP=209.3.117.1 tcprulescheck /etc/tcp.smtp.cdb''.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Oh, and this is another kernel in that great and venerable "BugFree(tm)"
series of kernels.  So be not afraid of bugs, but go out in the streets
and deliver this message of joy to the masses.
(Linus, in the announcement for 1.3.27)




relay tools from : http://www.abuse.net/relay.html

2001-03-19 Thread ffx



Hi !
 
my server is only relaying in this case 
:

Relay test 9
>>> RSET<<< 250 flushed>>> MAIL FROM:<<< 250 ok>>> RCPT TO:<"relaytest%abuse.net"><<< 250 ok...
 

actually i only use rcpthosts file and the first 8 
tests are blocked by this feature.
 
somebody knows how to prevent qmail from accepting 
this kind of RCPT TO: ??
 
thx for helpping a qmail newbie :))
 
 


Re: help - tcprules flaking out

2001-03-19 Thread Kris Kelley

Dan Kelley (no relation) wrote:
> here's my tcp.smtp file:
> 
> 209.3.117.:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> 64.209.222.:allow,RELAYCLIENT=""
> 63.113.119.:allow,RELAYCLIENT=""
> :allow
> 
> tcpruleschceck /etc/tcp.smtp.cdb 209.3.117.1
> 
> yields:
> 
> [dkelley@mx1 /etc]# tcprulescheck /etc/tcp.smtp.cdb 209.3.117.1
> rule :
> allow connection
> [dkelley@mx1 /etc]#
> 
> it doesn't appear to be setting RELAYCLIENT.  

http://cr.yp.to/ucspi-tcp/tcprulescheck.html

You're calling tcprulescheck wrong.  Try:

   env TCPREMOTEIP=209.3.117.1 tcprulescheck /etc/tcp.smtp.cdb

---Kris Kelley




Re: relay tools from : http://www.abuse.net/relay.html

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 06:23:17PM +0100, ffx wrote:
[snip]
> somebody knows how to prevent qmail from accepting this kind of RCPT TO: ??

Read the f*cking big letters under the test report stating that your
host may not be an open relay.

Your host is not an open relay.

Greetz, Peter.



Re: qmail assign file ...

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 07:39:55PM +0200, Alex Kramarov wrote:
> I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
> Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
> the /users/assign file and all virtual domain info that is there. the
> question is, how do we deal with that, and how should programs like vpopmail
> deal with that (theoretically there is users/append, but it seems that
> nobody is using it, it holds redundant data)? all documentation concerning
> virtual domains is talking about users/assign, so it seems qmail is stepping
> on it's own toes here.

No, that's the design.

The *rpm* breaks vpopmail with the cronjob. Disable the cronjob and
you're done.

Greetz, Peter.



vpopmail ip-alias-domains

2001-03-19 Thread Eric Bockstahler

I've compiled vpopmail with ip-alias-domains=y but am unable to use pop on
virtual domains without the % sign.  DNS and reverse are set up correctly.
HELP!


Eric Bockstahler
System Administrator
Jiffy-tite Company, Inc.
4437 Walden Ave.
Lancaster, NY 14086
(716) 681-7200 voice
(716) 681-7788 fax
web http://www.jiffy-tite.com
email [EMAIL PROTECTED]





MAIL FROM: <#@[]>

2001-03-19 Thread Jamin A. Brown

Hello,

I'm noticing a fair amount of spam coming into our system where the
sending server is using MAIL FROM: <#@[]>.

Is there a quick an easy way to block this using tcpserver and/or
rblsmtpd?

I would like to setup something like:

RULE:allow,RBSMTPD="Domain of sender address does not exist." (This is the
same as Sendmail does by default.)

But I can't seem to get the rule working correctly.

Any pointers, or am I going about it the wrong way? Perhaps I should be
using procmail instead?

Jamin
GWI Operations




RE: Repeated Identical Messages

2001-03-19 Thread Moutsos Georgios

Your servers are probably behind a Cisco PIX firewall.

J.

> -Original Message-
> From: dan kelley [mailto:[EMAIL PROTECTED]]
> Sent: ÄåõôÝñá, 19 Ìáñôßïõ 2001 6:35 ìì
> To: Markus Stumpf
> Cc: [EMAIL PROTECTED]
> Subject: Re: Repeated Identical Messages
>
>
>
> this is getting much weirder.  following the message below, i tested both
> my backup and primary to see if they implemented help for qmail.
>
> here's what happened:
>
> when i test help by doing the following:
>
> from an ip inside the local network:
>
> >telnet mailhost.otec.com smtp
> [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
> Trying 209.3.117.5...
> Connected to mx1.ny.otec.com.
> Escape character is '^]'.
> 220 mx1.ny.otec.com ESMTP
> help
> 214 qmail home page: http://pobox.com/~djb/qmail.html
>
> from a remote ip:
> % telnet mailhost.otec.com smtp
> Trying 209.3.117.5...
> Connected to mx1.ny.otec.com.
> Escape character is '^]'.
> 220 *
> help
> 502 unimplemented (#5.5.1)
>
> ...





Re: vpopmail ip-alias-domains

2001-03-19 Thread Charles Cazabon

Eric Bockstahler <[EMAIL PROTECTED]> wrote:
> I've compiled vpopmail with ip-alias-domains=y but am unable to use pop on
> virtual domains without the % sign.  DNS and reverse are set up correctly.
> HELP!

Provide logs proving it, and error messages showing its not working.
Then if people on the qmail list can't help, try asking on the vpopmail
list.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: qmail assign file ...

2001-03-19 Thread Charles Cazabon

Alex Kramarov <[EMAIL PROTECTED]> wrote:
> I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
> Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
> the /users/assign file and all virtual domain info that is there. the
> question is, how do we deal with that, and how should programs like vpopmail
> deal with that (theoretically there is users/append, but it seems that
> nobody is using it, it holds redundant data)? all documentation concerning
> virtual domains is talking about users/assign, so it seems qmail is stepping
> on it's own toes here.

assign is supposed to be the translated contents of the passwd file -- Bruce's
cron job regularly takes the passwd file and creates assign from it.  Anything
else which you want in the qmail-users mechanism is supposed to be placed
into append, so that updating assign (after changing passwd) won't erase it.

vpopmail is apparently not doing this.  Fix vpopmail.  Make it put the stuff
it wants in qmail-users into append instead of assign.  Then everything will
work the way djb designed it to.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Question about the REMOVE.binmail document

2001-03-19 Thread Michael Molloy

I'm trying to get qmail running on Redhat 7.0. The REMOVE.binmail document 
states

2. Remove permissions from the binmail binary:
  # chmod 0 /usr/libexec/mail.local

Because I have /bin/mail rather than /usr/libexec/mail.local, I typed
  # chmod 0 /bin/mail

I'm confused about the next point, though.

3. If the binmail binary was /bin/mail, make sure that "mail" still invokes 
a usable mailer. Under SVR4 you may want to link mail to mailx.

Typing "mail" now results in "bash: /bin/mail: Permission denied", which I 
expected based on item 2. So how do I complete item 3? "mail" no longer 
invokes a usable mailer, and I did a search across my harddrive for 
something named "mailx", but there was nothing by that name.

Thanks for any help.

--Michael
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Log's.

2001-03-19 Thread Brad Dameron


Is there a way to get qmail to produce more readable logs somewhat similar
to sendmail's logs?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




Re: Just a little question

2001-03-19 Thread Joost van Baal

On Mon, Mar 19, 2001 at 04:23:41PM +0100, Simone Pirovano wrote:
> exists a way in order to limit the dimensions of the attached ones in
> entrance ? 

Read about databytes in qmail-smtpd(8).

Bye,

Joost

-- 
Joost van Baal.
 .  heart[EMAIL PROTECTED]
.   food  http://logreport.org/
   .homehttp://mdcc.cx/



Re: Log's.

2001-03-19 Thread Dave Sill

<[EMAIL PROTECTED]> wrote:

>   Is there a way to get qmail to produce more readable logs somewhat similar
>to sendmail's logs?

Use matchup from qmailanalog:

  http://www.lifewithqmail.org/lwq.html#qmailanalog

-Dave



Re: MAIL FROM: <#@[]>

2001-03-19 Thread Dave Sill

"Jamin A. Brown" <[EMAIL PROTECTED]> wrote:

>I'm noticing a fair amount of spam coming into our system where the
>sending server is using MAIL FROM: <#@[]>.

Really? Where's it coming from? Sure you're not seeing this in double
bounces?

-Dave



Re: Qmail newbie question

2001-03-19 Thread Chris Johnson

On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
> Why isn't tcpserver running (keeping in mind that it isn't passing any email
> right now)?  Something more disturbing is that when I run mconnect without
> arguments I get:
> 
> tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

Did you start tcpserver to listen for SMTP connections? It won't start if you
don't start it.

Chris

 PGP signature


[OT] tcpserver configuration

2001-03-19 Thread Mario Thaten

Sorry in advance, if I am widely offtopic with this question.

Is there a possibility to limit the number of processes that can be
invoked by a special client? I mean something like the -c option,
except that it should define the allowed number of processes per
requesting client.

For example I want to grant every client access to a certain service,
but it cannot be accessed more than once at a time.

I could not find helpful information concerning this task in the docs.
Can anybody contribute a useful idea?

Thanks a lot in advance!

Greetz, Mario

-- 
 .~.Mario Thaten ([EMAIL PROTECTED])
 /V\
/( )\   "There are just 2 rules in life:
 ^ ^ Always be yourself, but never mind to change."



Re: MAIL FROM: <#@[]>

2001-03-19 Thread Jamin A. Brown

On Mon, 19 Mar 2001, Dave Sill wrote:

> "Jamin A. Brown" <[EMAIL PROTECTED]> wrote:
>
> >I'm noticing a fair amount of spam coming into our system where the
> >sending server is using MAIL FROM: <#@[]>.
>
> Really? Where's it coming from? Sure you're not seeing this in double
> bounces?

That's what I get for making assumptions...

It probably is coming from double bounces. But Sendmail on the sending
server is rejecting the bounce because of this, so I'm not seeing them.

I assumed it was spam, my bad.

Thanks.

Jamin




Re: Qmail newbie question

2001-03-19 Thread Gerrit Pape

On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
> This is what I get from ps -ef | grep qmail:
> 
> root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
> root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
> qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
> qmails 508   503  0 Mar16 ?00:00:00 qmail-send
> qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
> root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
> qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
> qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
> root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd
> 
kill 3883.

>   Should there be more processes running? Why isn't tcpserver
> running (keeping in mind that it isn't passing any email right now)?

qmaild should run tcpserver. Your run script seems to be broken.
Check with svstat /service/qmail-smtpd.
Ckeck /service/qmail-smtpd/run, check the logs.

Gerrit.


-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



Qmail newbie question

2001-03-19 Thread Johnson, Garrett

Please forgive my ignorance. I'm trying to learn.

I have set up a secondary Qmail server on RedHat 7.0 and it 
seems to have come up without a problem, but I'm having a 
hair-pulling time trying to test if it works properly. It has 
passed some basic tests. For instance I can use qmail-inject 
to email other servers. But the number of processes being run 
is awfully small.
This is what I get from ps -ef | grep qmail:

root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
qmails 508   503  0 Mar16 ?00:00:00 qmail-send
qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd

  Should there be more processes running? Why isn't tcpserver
running (keeping in mind that it isn't passing any email right now)?
  Something more disturbing is that when I run mconnect without
arguments I get:

tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

  When I run a portsniff from another computer port 25 doesn't
show up? Is this some sort of security or is something wrong?
Maybe I'm worrying about nothing, but this seems weird.
Please be patient with the Qmail newbie. I'd be glad to supply
more information if required.

-Garrett
[EMAIL PROTECTED]




RE: MAIL FROM: <#@[]>

2001-03-19 Thread Jeremy Suo-Anttila

I have seen the same entries in my logs and i traced it back to be a perl
form script i use as a contact form on a webpage i host that was causing the
MAIL FROM: <#@[]> in my logs

thanks

Jps


-Original Message-
From: Dave Sill [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 2:26 PM
To: [EMAIL PROTECTED]
Subject: Re: MAIL FROM: <#@[]>


"Jamin A. Brown" <[EMAIL PROTECTED]> wrote:

>I'm noticing a fair amount of spam coming into our system where the
>sending server is using MAIL FROM: <#@[]>.

Really? Where's it coming from? Sure you're not seeing this in double
bounces?

-Dave




Re: Qmail newbie question

2001-03-19 Thread Kurth Bemis

At 03:37 PM 3/19/2001, Gerrit Pape wrote:

did you read life with qmail?  read it at www.lifewithqmail.org.  Use the 
init script from there and you shouldn't have any problems. :-)

~kurth

PS - to the list - yes, i know this is what I answer for every 
answer...however almost every question can be answered in LWQ.  When ppl 
subscribe to this list there should be a notice in the welcome-notice that 
says "If your planning on asking questions, first read life with qmail 
written by David Still. (http://www.lifewithqmail.org)"

:-)

>On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
> > This is what I get from ps -ef | grep qmail:
> >
> > root   503   502  0 Mar16 ?00:00:00 supervise qmail-send
> > root   505   502  1 Mar16 ?00:54:39 supervise qmail-smtpd
> > qmaill 507   504  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
> > qmails 508   503  0 Mar16 ?00:00:00 qmail-send
> > qmaill 510   506  0 Mar16 ?00:00:00 /usr/local/bin/multilog t
> > root   520   508  0 Mar16 ?00:00:00 qmail-lspawn ./Mailbox
> > qmailr 521   508  0 Mar16 ?00:00:00 qmail-rspawn
> > qmailq 522   508  0 Mar16 ?00:00:00 qmail-clean
> > root  3883   505  0 12:20 ?00:00:00 supervise qmail-smtpd
> >
>kill 3883.
>
> >   Should there be more processes running? Why isn't tcpserver
> > running (keeping in mind that it isn't passing any email right now)?
>
>qmaild should run tcpserver. Your run script seems to be broken.
>Check with svstat /service/qmail-smtpd.
>Ckeck /service/qmail-smtpd/run, check the logs.
>
>Gerrit.
>
>
>--
>[EMAIL PROTECTED]
> innominate AG
>  the linux architects
>tel: +49.30.308806-0  fax: -77  http://www.innominate.com




multiple checkpassword routines

2001-03-19 Thread Peter Green

I have some domains in vpopmail and some in vmailmgr, both of which need to
do POP. Before I go requesting another IP address, is there a checkpassword
dropin that actually executes an arbitrary number of other checkpassword
dropins and, finding one that works, executes the rest of the command line?

Does that make sense? Thanks for the help,

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Linux!  Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By [EMAIL PROTECTED], Mark A. Horton KA4YBR)




Re: vpopmail ip-alias-domains

2001-03-19 Thread Ken Jones

Eric Bockstahler wrote:
> 
> I've compiled vpopmail with ip-alias-domains=y but am unable to use pop on
> virtual domains without the % sign.  DNS and reverse are set up correctly.
> HELP!
> 
> Eric Bockstahler
> System Administrator
> Jiffy-tite Company, Inc.
> 4437 Walden Ave.
> Lancaster, NY 14086
> (716) 681-7200 voice
> (716) 681-7788 fax
> web http://www.jiffy-tite.com
> email [EMAIL PROTECTED]

vpopmail no longer depends on DNS. Use the vipmap program.

-- 
Ken Jones
"Live Free, Live GPL"
http://www.inter7.com/



RE: Repeated Identical Messages

2001-03-19 Thread Kep Brown

What would a PIX have to do with it?  I am having a random mutiple delivery
problem, and I am behind a PIX.

Thanks
Kep

  _

  ants.com   scout 

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] 




-Original Message-
From: Moutsos Georgios [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 10:21 AM
To: dan kelley
Cc: [EMAIL PROTECTED]
Subject: RE: Repeated Identical Messages


Your servers are probably behind a Cisco PIX firewall.

J.

> -Original Message-
> From: dan kelley [mailto:[EMAIL PROTECTED]]
> Sent: ÄåõôÝñá, 19 Ìáñôßïõ 2001 6:35 ìì
> To: Markus Stumpf
> Cc: [EMAIL PROTECTED]
> Subject: Re: Repeated Identical Messages
>
>
>
> this is getting much weirder.  following the message below, i tested both
> my backup and primary to see if they implemented help for qmail.
>
> here's what happened:
>
> when i test help by doing the following:
>
> from an ip inside the local network:
>
> >telnet mailhost.otec.com smtp
> [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
> Trying 209.3.117.5...
> Connected to mx1.ny.otec.com.
> Escape character is '^]'.
> 220 mx1.ny.otec.com ESMTP
> help
> 214 qmail home page: http://pobox.com/~djb/qmail.html
>
> from a remote ip:
> % telnet mailhost.otec.com smtp
> Trying 209.3.117.5...
> Connected to mx1.ny.otec.com.
> Escape character is '^]'.
> 220 *
> help
> 502 unimplemented (#5.5.1)
>
> ...






RE: Qmail newbie question

2001-03-19 Thread Johnson, Garrett

 Thanks for all the quick responses. Gerrit Pape
pointed me in the right direction. My run script for
starting tcpserver had a typo in it. Once fixed tcpserver,
qmail-remote, and qmail-smtpd immediately came up on their own.
I can also mconnect to port 25 now.
  Thanks again.

Garrett Johnson
SFGH, Dean's Office, School of Medicine


-Original Message-
From: Chris Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 12:39 PM
To: Johnson, Garrett
Cc: '[EMAIL PROTECTED]'
Subject: Re: Qmail newbie question


On Mon, Mar 19, 2001 at 12:19:57PM -0800, Johnson, Garrett wrote:
> Why isn't tcpserver running (keeping in mind that it isn't passing any
email
> right now)?  Something more disturbing is that when I run mconnect without
> arguments I get:
> 
> tcpclient: unable to connect to 127.0.0.1 port 25: connection refused

Did you start tcpserver to listen for SMTP connections? It won't start if
you
don't start it.

Chris



Control files

2001-03-19 Thread Brad Dameron


Is there a better description of what each file does in the
/var/qmail/control directory?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




Re: Repeated Identical Messages

2001-03-19 Thread Charles Cazabon

Kep Brown <[EMAIL PROTECTED]> wrote:
> What would a PIX have to do with it?  I am having a random mutiple delivery
> problem, and I am behind a PIX.

The PIX contains a (supposedly transparent) SMTP proxy which has, in the
past, had very broken behaviour.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Control files

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 01:22:30PM -0800, Brad Dameron wrote:
> 
> Is there a better description of what each file does in the
> /var/qmail/control directory?

man qmail-control, perhaps?

Greetz, Peter.



Re: Control files

2001-03-19 Thread Mark Delany

On Mon, Mar 19, 2001 at 01:22:30PM -0800, Brad Dameron wrote:
> 
> Is there a better description of what each file does in the
> /var/qmail/control directory?

Better than what exactly?

Better than "man qmail-control" which identifies all control files and
the relevant program in turn each have an individual manpage which
precisely descibes the use of each control file?


Regards.



RE: Repeated Identical Messages

2001-03-19 Thread dan kelley


as someone here was nice enough to point out to me:

by default, certain versions of PIX software come out of the box with
fixup protocol smtp 25
enabled. 

this implements something called 'Mail Guard', which rewrites smtp
conversations, only allowing rfc 821 commands.

we've been having two types of mail problems since installing the pix:

1. certain domains just couldn't email us.
2. we sometimes receive hundreds of copies of the same email.

once i removed the smtp fixup from the pix, mail started soming throough
from the domains that fell into category #1.  (incidentally, they we're all
exchange servers).  it appears that number2 is now fixed as well, although
that will take more time to verify.

basically, what would happen is this:

remote mailserver initiates conversation, says something like
EHLO server.imaginary.com

the PIX would rewrite the line to this (becase EHLO isin't rfc821)
 server.imaginary.com

to which qmail would respond:

502 unimplemented (#5.5.1)

the upshot was that eventually i'd have about 50 qmail-smtpd processes
running at any given time.

what finally gave the source of the problem away:

telnet  25
from both inside the network , and outside (through the pix).

if you type help, and you get 
502 unimplemented from the outside, and 
214 qmail home page:http://pobox.com/~djb/qmail.html
from the inside, the pix may be your problem.

dan


At 01:12 PM 3/19/01 -0800, you wrote:
>What would a PIX have to do with it?  I am having a random mutiple delivery
>problem, and I am behind a PIX.
>
>Thanks
>Kep
>
>  _
>
>  ants.com   scout 
>
>Kep Brown
>Systems, Network and Database Administrator
>phone: (805) 560-3781
>fax: (805) 560-3991
>e: [EMAIL PROTECTED] 
>
>
>
>
>-Original Message-
>From: Moutsos Georgios [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 19, 2001 10:21 AM
>To: dan kelley
>Cc: [EMAIL PROTECTED]
>Subject: RE: Repeated Identical Messages
>
>
>Your servers are probably behind a Cisco PIX firewall.
>
>J.
>
>> -Original Message-
>> From: dan kelley [mailto:[EMAIL PROTECTED]]
>> Sent: ÄåõôÝñá, 19 Ìáñôßïõ 2001 6:35 ìì
>> To: Markus Stumpf
>> Cc: [EMAIL PROTECTED]
>> Subject: Re: Repeated Identical Messages
>>
>>
>>
>> this is getting much weirder.  following the message below, i tested both
>> my backup and primary to see if they implemented help for qmail.
>>
>> here's what happened:
>>
>> when i test help by doing the following:
>>
>> from an ip inside the local network:
>>
>> >telnet mailhost.otec.com smtp
>> [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
>> Trying 209.3.117.5...
>> Connected to mx1.ny.otec.com.
>> Escape character is '^]'.
>> 220 mx1.ny.otec.com ESMTP
>> help
>> 214 qmail home page: http://pobox.com/~djb/qmail.html
>>
>> from a remote ip:
>> % telnet mailhost.otec.com smtp
>> Trying 209.3.117.5...
>> Connected to mx1.ny.otec.com.
>> Escape character is '^]'.
>> 220 *
>> help
>> 502 unimplemented (#5.5.1)
>>
>> ...
>
>
>
>


Dan Kelley
www.otec.com
212-840-8600




Re: Control files

2001-03-19 Thread Chris Johnson

On Mon, Mar 19, 2001 at 01:22:30PM -0800, Brad Dameron wrote:
> Is there a better description of what each file does in the
> /var/qmail/control directory?

Better than what? Try man qmail-control.

Chris

 PGP signature


Re: Control files

2001-03-19 Thread Kris Kelley


> Is there a better description of what each file does in the
> /var/qmail/control directory?

Better than what?  Try "man qmail-control".  That will give you an overview
of what each file does, what it's default is, and what other man pages to
read for more detail.

---Kris Kelley




Re: Control files

2001-03-19 Thread Charles Cazabon

Brad Dameron <[EMAIL PROTECTED]> wrote:
> 
> Is there a better description of what each file does in the
> /var/qmail/control directory?

`man qmail-control`

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: Repeated Identical Messages

2001-03-19 Thread Kep Brown

Hey thanks,
That seems to have solved the problem.  Now I am going to spend the next 30
minutes cussing myself out for not thinking about that myself.

Kep

  _

  ants.com   scout 

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] 




-Original Message-
From: dan kelley [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 1:35 PM
To: Kep Brown
Cc: [EMAIL PROTECTED]
Subject: RE: Repeated Identical Messages



as someone here was nice enough to point out to me:

by default, certain versions of PIX software come out of the box with
fixup protocol smtp 25
enabled.

this implements something called 'Mail Guard', which rewrites smtp
conversations, only allowing rfc 821 commands.

we've been having two types of mail problems since installing the pix:

1. certain domains just couldn't email us.
2. we sometimes receive hundreds of copies of the same email.

once i removed the smtp fixup from the pix, mail started soming throough
from the domains that fell into category #1.  (incidentally, they we're all
exchange servers).  it appears that number2 is now fixed as well, although
that will take more time to verify.

basically, what would happen is this:

remote mailserver initiates conversation, says something like
EHLO server.imaginary.com

the PIX would rewrite the line to this (becase EHLO isin't rfc821)
 server.imaginary.com

to which qmail would respond:

502 unimplemented (#5.5.1)

the upshot was that eventually i'd have about 50 qmail-smtpd processes
running at any given time.

what finally gave the source of the problem away:

telnet  25
from both inside the network , and outside (through the pix).

if you type help, and you get
502 unimplemented from the outside, and
214 qmail home page:http://pobox.com/~djb/qmail.html
from the inside, the pix may be your problem.

dan


At 01:12 PM 3/19/01 -0800, you wrote:
>What would a PIX have to do with it?  I am having a random mutiple delivery
>problem, and I am behind a PIX.
>
>Thanks
>Kep
>
>  _
>
>  ants.com   scout 
>
>Kep Brown
>Systems, Network and Database Administrator
>phone: (805) 560-3781
>fax: (805) 560-3991
>e: [EMAIL PROTECTED] 
>
>
>
>
>-Original Message-
>From: Moutsos Georgios [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 19, 2001 10:21 AM
>To: dan kelley
>Cc: [EMAIL PROTECTED]
>Subject: RE: Repeated Identical Messages
>
>
>Your servers are probably behind a Cisco PIX firewall.
>
>J.
>
>> -Original Message-
>> From: dan kelley [mailto:[EMAIL PROTECTED]]
>> Sent: ÄåõôÝñá, 19 Ìáñôßïõ 2001 6:35 ìì
>> To: Markus Stumpf
>> Cc: [EMAIL PROTECTED]
>> Subject: Re: Repeated Identical Messages
>>
>>
>>
>> this is getting much weirder.  following the message below, i tested both
>> my backup and primary to see if they implemented help for qmail.
>>
>> here's what happened:
>>
>> when i test help by doing the following:
>>
>> from an ip inside the local network:
>>
>> >telnet mailhost.otec.com smtp
>> [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
>> Trying 209.3.117.5...
>> Connected to mx1.ny.otec.com.
>> Escape character is '^]'.
>> 220 mx1.ny.otec.com ESMTP
>> help
>> 214 qmail home page: http://pobox.com/~djb/qmail.html
>>
>> from a remote ip:
>> % telnet mailhost.otec.com smtp
>> Trying 209.3.117.5...
>> Connected to mx1.ny.otec.com.
>> Escape character is '^]'.
>> 220 *
>> help
>> 502 unimplemented (#5.5.1)
>>
>> ...
>
>
>
>


Dan Kelley
www.otec.com
212-840-8600





RE: Control files

2001-03-19 Thread Kirti S. Bajwa

Brad:

I am new to qmail, but I will try to answer your question. 

Control files are Qmail's way of storing configuration data. Qmail uses lots
of individualized control files, each of which defines one piece of the
qmail puzzle.

For example, /var/qmail/control/me is the most important control file and is
used to specify the host name of the local mail server. For example; my mail
server is "mail.mydomain.com" and that's what is contained in "me" control
file.

Another important control file is /var/qmail/control/rcpthosts. This control
file contains the names of the hosts and domain for which qmail-smtpd will
accept messages. For example; my host & domain are ns1.mydomain.com &
mydomain.com and thus both of these names are specified in the "rcpthosts"
control file.

/var/qmail/control/locals is another important control file. It is used to
specify mail addresses that qmail should consider to be local addresses to
the mail server.

Therefore, if you read about any control file, you can figure out its
function within qmail package. Also remember, some control files are a
"must" for running of qmail but others are optional. For example "me"
control file is a "MUST". Without it qmail will not run, whereas,
"bouncehost" control file is optional. If it is present, fine, but if is not
present, qmail will use the "me" control file, which is the default for
"bouncehost" control file. 


Each control file is used by one or more qmail program. For example;
qmail-smtpd uses "rcpthosts", "smtpgreeting", databytes", etc., control
files. Similarly, other qmail programs use other control files.

Hope it helps.

Kirti







-Original Message-
From: Brad Dameron [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 4:23 PM
To: Qmail List (E-mail)
Subject: Control files



Is there a better description of what each file does in the
/var/qmail/control directory?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001



plusdomain

2001-03-19 Thread Brad Dameron


What is ths plusdomain file used for? Also can I leave the locals file
empty?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




Re: plusdomain

2001-03-19 Thread Peter van Dijk

On Mon, Mar 19, 2001 at 03:49:10PM -0800, Brad Dameron wrote:
> 
>   What is ths plusdomain file used for? Also can I leave the locals file
> empty?

The plusdomain contains the domain added to the back of a hostname if
you put in a '+'. Read man qmail-inject for the whole scoop.

You can leave locals empty just fine.

Greetz, Peter.



Re: Repeated Identical Messages

2001-03-19 Thread Keary Suska

My first foray into using ezmlm+qmail resulted in a few users getting up to
hundreds if copies of the email. Does this mean that they are probably
behind a PIX with this broken feature? Why wouldn't it happen with all of
their other email? Is it a qmail incompatibility?

-K


> From: dan kelley <[EMAIL PROTECTED]>
> Date: Mon, 19 Mar 2001 16:34:47 -0500
> To: "Kep Brown" <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: Repeated Identical Messages
> 
> 
> as someone here was nice enough to point out to me:
> 
> by default, certain versions of PIX software come out of the box with
> fixup protocol smtp 25
> enabled. 
> 
> this implements something called 'Mail Guard', which rewrites smtp
> conversations, only allowing rfc 821 commands.
> 
> we've been having two types of mail problems since installing the pix:
> 
> 1. certain domains just couldn't email us.
> 2. we sometimes receive hundreds of copies of the same email.
> 
> once i removed the smtp fixup from the pix, mail started soming throough
> from the domains that fell into category #1.  (incidentally, they we're all
> exchange servers).  it appears that number2 is now fixed as well, although
> that will take more time to verify.
> 
> basically, what would happen is this:
> 
> remote mailserver initiates conversation, says something like
> EHLO server.imaginary.com
> 
> the PIX would rewrite the line to this (becase EHLO isin't rfc821)
>  server.imaginary.com
> 
> to which qmail would respond:
> 
> 502 unimplemented (#5.5.1)
> 
> the upshot was that eventually i'd have about 50 qmail-smtpd processes
> running at any given time.
> 
> what finally gave the source of the problem away:
> 
> telnet  25
> from both inside the network , and outside (through the pix).
> 
> if you type help, and you get
> 502 unimplemented from the outside, and
> 214 qmail home page:http://pobox.com/~djb/qmail.html
> from the inside, the pix may be your problem.
> 
> dan
> 
> 
> At 01:12 PM 3/19/01 -0800, you wrote:
>> What would a PIX have to do with it?  I am having a random mutiple delivery
>> problem, and I am behind a PIX.
>> 
>> Thanks
>> Kep
>> 
>> _
>> 
>> ants.com   scout 
>> 
>> Kep Brown
>> Systems, Network and Database Administrator
>> phone: (805) 560-3781
>> fax: (805) 560-3991
>> e: [EMAIL PROTECTED] 
>> 
>> 
>> 
>> 
>> -Original Message-
>> From: Moutsos Georgios [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, March 19, 2001 10:21 AM
>> To: dan kelley
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: Repeated Identical Messages
>> 
>> 
>> Your servers are probably behind a Cisco PIX firewall.
>> 
>> J.
>> 
>>> -Original Message-
>>> From: dan kelley [mailto:[EMAIL PROTECTED]]
>>> Sent: ÄåõôÝñá, 19 Ìáñôßïõ 2001 6:35 ìì
>>> To: Markus Stumpf
>>> Cc: [EMAIL PROTECTED]
>>> Subject: Re: Repeated Identical Messages
>>> 
>>> 
>>> 
>>> this is getting much weirder.  following the message below, i tested both
>>> my backup and primary to see if they implemented help for qmail.
>>> 
>>> here's what happened:
>>> 
>>> when i test help by doing the following:
>>> 
>>> from an ip inside the local network:
>>> 
 telnet mailhost.otec.com smtp
>>> [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
>>> Trying 209.3.117.5...
>>> Connected to mx1.ny.otec.com.
>>> Escape character is '^]'.
>>> 220 mx1.ny.otec.com ESMTP
>>> help
>>> 214 qmail home page: http://pobox.com/~djb/qmail.html
>>> 
>>> from a remote ip:
>>> % telnet mailhost.otec.com smtp
>>> Trying 209.3.117.5...
>>> Connected to mx1.ny.otec.com.
>>> Escape character is '^]'.
>>> 220 *
>>> help
>>> 502 unimplemented (#5.5.1)
>>> 
>>> ...
>> 
>> 
>> 
>> 
> 
> 
> Dan Kelley
> www.otec.com
> 212-840-8600
> 
> 




Message queue growing and not sending.

2001-03-19 Thread Brad Dameron


We had a gig queue and did a kill -ALRM on qmail-send and it still
continued to grow. It looked like we had created some type of loop that was
not deliverable and just growing. After we removed the queue and restarted
everything seemed to go ok. Anyone else encounter this before?

---
Brad Dameron[EMAIL PROTECTED]
Network Account Executive   877-663-4349
TSCNet Online Services  www.tscnet.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001




Strange problem...

2001-03-19 Thread Marcelo .

Hello,
I have been running qmail for about 6 months without
any problems.
Since yesterday, people have been complaining that
they are not 
receiving any email.. So I sent a few tests ones and
sure enough they 
were not arriving, Nor are they bouncing!
The error message in the log states:

qmail: 985052700.964339 delivery 532877: deferral: 
Unable_to_write_./Mailbox:_invalid_argument._(#4.3.0)

I thought that it might the space on the hard drive
but it is not. 

Any thoughts?

Thanks!



__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



virtual domains ONLY?

2001-03-19 Thread Sean Brown

Is it possible to ONLY use virtual domains with qmail?  An example:

My mail machine is mail.mydomain.com.  It also accepts mail for 
yourdomain.com and ourdomain.com.  ourdomain and yourdomain are set up and 
working through virtual domains.  What I'd like to do is also have mail sent 
to mydomain.com also handled as a virtual domain rather than local.  So, is 
it possible to have an empty "locals" and "defaultdomain" file and handle 
all mail using virtualdomains (and rcpthosts) even though the machine is 
part of mydomain.com?

Thanks,

Sean
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: virtual domains ONLY?

2001-03-19 Thread Russell Nelson

Sean Brown writes:
 > Is it possible to ONLY use virtual domains with qmail?  An example:
 > 
 > My mail machine is mail.mydomain.com.  It also accepts mail for 
 > yourdomain.com and ourdomain.com.  ourdomain and yourdomain are set up and 
 > working through virtual domains.  What I'd like to do is also have mail sent 
 > to mydomain.com also handled as a virtual domain rather than local.  So, is 
 > it possible to have an empty "locals" and "defaultdomain" file and handle 
 > all mail using virtualdomains (and rcpthosts) even though the machine is 
 > part of mydomain.com?

Yes.

-- 
-russ nelson will be speaking at http://www.osdn.com/conferences/brie/
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!



Re: Message queue growing and not sending.

2001-03-19 Thread Greg White

On Mon, Mar 19, 2001 at 05:43:55PM -0800, Brad Dameron wrote:
> 
>   We had a gig queue and did a kill -ALRM on qmail-send and it still
> continued to grow. It looked like we had created some type of loop that was
> not deliverable and just growing. After we removed the queue and restarted
> everything seemed to go ok. Anyone else encounter this before?
> 

Yes -- when the cause of the loop is external to the server in question.
Not every MTA behaves properly with loops (not to mention any names ;)
). 

I once had a broken server loop up 4000 messages, and then an internal
user replied to all, which caused yet another loop (the broken server
had addresses in the 'reply to all' list. :( That took some time
and ran the queue out of space...and DoS'd all our mail for an hour
while we downed the server, dequeued all the garbage, and put it back
up.

Never seen qmail do it to itself, tho.

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



how can i send mails serially

2001-03-19 Thread lkhanna



Dear all,
 
I am using qmail 1.03 on Red Hat 6.2 . I am 
providing mailing solution to varrious domains which are listed in my locals as 
well as in my virtualdomain files. Mx pointing of all these domain is my qmail 
server.
 
For few domains i am simple forwarding mails to 
their destination server by maiking a default alias in /var/qmail/alias 
directory. But i am doing this forwarding by making SMTP connection with 
destination servers . 
 
For example if 15 mails are coming to mail server 
for a domain at a particular time, then qmail is making 15 simultaneous 
connection with remote server and try to send all the 15 mails to that 
particular domain at the same time, and max time it happens that bandwidth get 
choked and some of the connection get dropped and those mails remain in queue 
.
 
Is there any way by which i can send mails serially 
, one by one . Can i achive the same thing by implementing serial mail . And 
what all i have to do to implement the serial mail .
 
Or is there any another solution , other than 
serial mail ???
 
I am using mailbox format right now. And using 
qmail 1.03-8.
 
Pl suggest any sol'n for above problem. 

 
Regards
 
lokesh


Re: Strange problem...

2001-03-19 Thread Manvendra Bhangui

Also check you file /var/adm/messages for disk problems. Additionally just
go to the directory where your mails are getting delivered and try to create
a file
i.e. touch junk

Regards Manny
- Original Message -
From: Marcelo . <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 7:50 AM
Subject: Strange problem...


> Hello,
> I have been running qmail for about 6 months without
> any problems.
> Since yesterday, people have been complaining that
> they are not
> receiving any email.. So I sent a few tests ones and
> sure enough they
> were not arriving, Nor are they bouncing!
> The error message in the log states:
>
> qmail: 985052700.964339 delivery 532877: deferral:
> Unable_to_write_./Mailbox:_invalid_argument._(#4.3.0)
>
> I thought that it might the space on the hard drive
> but it is not.
>
> Any thoughts?
>
> Thanks!
>
>
>
> __
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: how can i send mails serially

2001-03-19 Thread Sean Chittenden

man -M /var/qmail/man qmail-control

Check out the concurrencyremote control file.  -sc

On Tue, Mar 20, 2001 at 11:37:12AM +0530, [EMAIL PROTECTED] wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: how can i send mails serially
> Date: Tue, 20 Mar 2001 11:37:12 +0530
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.00.2615.200
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> X-AntiVirus: Scanned for viruses by SpaceWeb AntiVirus System
> 
> Dear all,
> 
> I am using qmail 1.03 on Red Hat 6.2 . I am providing mailing solution to varrious 
>domains which are listed in my locals as well as in my virtualdomain files. Mx 
>pointing of all these domain is my qmail server.
> 
> For few domains i am simple forwarding mails to their destination server by maiking 
>a default alias in /var/qmail/alias directory. But i am doing this forwarding by 
>making SMTP connection with destination servers . 
> 
> For example if 15 mails are coming to mail server for a domain at a particular time, 
>then qmail is making 15 simultaneous connection with remote server and try to send 
>all the 15 mails to that particular domain at the same time, and max time it happens 
>that bandwidth get choked and some of the connection get dropped and those mails 
>remain in queue .
> 
> Is there any way by which i can send mails serially , one by one . Can i achive the 
>same thing by implementing serial mail . And what all i have to do to implement the 
>serial mail .
> 
> Or is there any another solution , other than serial mail ???
> 
> I am using mailbox format right now. And using qmail 1.03-8.
> 
> Pl suggest any sol'n for above problem. 
> 
> Regards
> 
> lokesh

-- 
Sean Chittenden[EMAIL PROTECTED]

 PGP signature


Re: how can i send mails serially

2001-03-19 Thread lkhanna

Dear sir,

I do have a file comcurrencyremote in /var/qmail/control  and it has a value
120.

And still i am facing problem bcoz qmail try to send mails simultaneuosly
with destination server and establish multiple smtp connection with
destination server and bandwidth get choked.

Is there any way by which i can establish only one single conection with
remote server and can send all the pending mails to the destination server

Regards

lokesh
- Original Message -
From: Sean Chittenden <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 20, 2001 11:53 AM
Subject: Re: how can i send mails serially






Re: vpopmail ip-alias-domains

2001-03-19 Thread Sumith

> > I've compiled vpopmail with ip-alias-domains=y but am unable to use pop
on
> > virtual domains without the % sign.  DNS and reverse are set up
correctly.


> vpopmail no longer depends on DNS. Use the vipmap program.
>

What is this vipmap...where can I get an FAQ and download of this program.

Thanks
Sumith




Re: how can i send mails serially

2001-03-19 Thread Csaba Bobak

> I do have a file comcurrencyremote in /var/qmail/control  and it has a 
value
> 120.
> Is there any way by which i can establish only one single conection with
> remote server and can send all the pending mails to the destination 
server


If it is coNcurrencyremote, put 1 in it and there will be no simultaneuos 
remote connections.

Regards

Csaba



virtual + real users in same domain

2001-03-19 Thread Todd A. Jacobs

I know a few people have asked this question (including me) and gotten the
answer that, yes, it can be done. However, neither LWQ nor qmail.org
really have any how-to's that cover this particular type of setup--in
particular, a useful discussion of how users can retrieve POP3 mail from
both types of accounts using the same daemon.

Does anyone know of a useful tutorial or how-to that would explain how to
configure such a system, or have some sample configs that I could work off
of?

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD




qmail assign file ...

2001-03-19 Thread Alex Kramarov

I am forwarding an e-mail from the RPMS list, discussing the qmail rpm by
Bruce Guenter. The point is, that running qmail-pw2u effectively destroys
the /users/assign file and all virtual domain info that is there. the
question is, how do we deal with that, and how should programs like vpopmail
deal with that (theoretically there is users/append, but it seems that
nobody is using it, it holds redundant data)? all documentation concerning
virtual domains is talking about users/assign, so it seems qmail is stepping
on it's own toes here.

>On Mon, Mar 19, 2001 at 07:45:06AM -0600, Jim Cook wrote:
>> At any rate, when I first got vpopmail implemented, I go and create a
>> virtual domain and a virtual user, and all is good. I can telnet into
>> port 110 authenticate myself and everything is working fine. Then within
>> 30 to 40 minutes of doing this, I try to authenticate myself and it says:
>>
>> vpopmail[1820]: vchkpw: No user found [EMAIL PROTECTED]:127.0.0.1

>What likely happens is that vpopmail plays with
>/var/qmail/control/users/*.  My qmail RPM includes an hourly cron job in
>/etc/cron.hourly that rebuilds those files from /etc/passwd.  What
>vpopmail needs to do is to put its bits into users/append instead of
>directly into users/assign so that when qmail-pw2u is run it won't wreck
>the changes.