qmail Digest 20 Mar 2001 11:00:01 -0000 Issue 1309
Topics (messages 59275 through 59343):
a tool/script to print the biggest mail servers in queue
59275 by: Simon K. Grabowski
Need testing.
59276 by: Kirill Miazine
qmail-rspawn not starting under svscan
59277 by: Golden_Eternity
[OT] supervise sshd?
59278 by: Peter Cavender
59279 by: Peter van Dijk
59280 by: Robin S. Socha
Just a little question
59281 by: Simone Pirovano
59282 by: Peter van Dijk
59300 by: Joost van Baal
Re: multilog and missing info
59283 by: Chris Bolt
Re: Repeated Identical Messages
59284 by: dan kelley
59295 by: Moutsos Georgios
59312 by: Kep Brown
59315 by: Charles Cazabon
59318 by: dan kelley
59322 by: Kep Brown
59326 by: Keary Suska
help - tcprules flaking out
59285 by: dan kelley
59286 by: Charles Cazabon
59287 by: Peter Green
59289 by: Kris Kelley
relay tools from : http://www.abuse.net/relay.html
59288 by: ffx
59290 by: Peter van Dijk
qmail assign file ...
59291 by: Alex Kramarov
59292 by: Peter van Dijk
59297 by: Charles Cazabon
vpopmail ip-alias-domains
59293 by: Eric Bockstahler
59296 by: Charles Cazabon
59311 by: Ken Jones
59336 by: Sumith
MAIL FROM: <#@[]>
59294 by: Jamin A. Brown
59303 by: Dave Sill
59306 by: Jamin A. Brown
59308 by: Jeremy Suo-Anttila
Question about the REMOVE.binmail document
59298 by: Michael Molloy
Log's.
59299 by: Brad Dameron
59301 by: Dave Sill
Qmail newbie question
59302 by: Johnson, Garrett
59305 by: Chris Johnson
59307 by: Gerrit Pape
59309 by: Kurth Bemis
59313 by: Johnson, Garrett
[OT] tcpserver configuration
59304 by: Mario Thaten
multiple checkpassword routines
59310 by: Peter Green
59339 by: J�rgen Persson
Control files
59314 by: Brad Dameron
59316 by: Peter van Dijk
59317 by: Mark Delany
59319 by: Chris Johnson
59320 by: Kris Kelley
59321 by: Charles Cazabon
59323 by: Kirti S. Bajwa
plusdomain
59324 by: Brad Dameron
59325 by: Peter van Dijk
Message queue growing and not sending.
59327 by: Brad Dameron
59331 by: Greg White
59343 by: Peter van Dijk
Strange problem...
59328 by: Marcelo .
59333 by: Manvendra Bhangui
virtual domains ONLY?
59329 by: Sean Brown
59330 by: Russell Nelson
how can i send mails serially
59332 by: lkhanna.hughes-ecomm.com
59334 by: Sean Chittenden
59335 by: lkhanna.hughes-ecomm.com
59337 by: Csaba Bobak
virtual + real users in same domain
59338 by: Todd A. Jacobs
newbie: migrating from sendmail to qmail
59340 by: - = k o l i s k o = -
59341 by: J�rgen Persson
59342 by: Frank Tegtmeyer
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
I 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.com 5684 (messages in queue)
mail.com 1243 etc.
I know that postfix has a tool that does that...
What about qmail?
-- Simon
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
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 ? S 02:30 12:26 supervise
qmail-send
root 18562 0.0 1.3 1088 320 ? S 02:30 0:00 supervise log
root 18563 0.0 1.3 1088 320 ? S 02:30 0:00 supervise
qmail-smtpd
qmaill 18565 0.0 1.3 1100 312 ? S 02:30 0:00
/usr/local/bin/multilog t s2500000 /var/log/qmail/qmail-send
qmaild 18567 0.0 2.1 1208 484 ? S 02: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 ? S 02:30 0:00 supervise log
qmaill 18571 0.0 1.3 1100 316 ? S 02:30 0:00
/usr/local/bin/multilog t s2500000 /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 2000000 \
/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 -s5000000 -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?
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
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.
* 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".
exists a way in order to limit the dimensions of the attached ones in
entrance ?
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.
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/
. home http://mdcc.cx/
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
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
________________
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)
>
> ...
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 <http://www.ants.com> scout <http://www.ants.com/scout>
Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] <mailto:[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)
>
> ...
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.
-----------------------------------------------------------------------
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)
XXXX 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 <your mailserver> 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 <http://www.ants.com> scout <http://www.ants.com/scout>
>
>Kep Brown
>Systems, Network and Database Administrator
>phone: (805) 560-3781
>fax: (805) 560-3991
>e: [EMAIL PROTECTED] <mailto:[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
________________
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 <http://www.ants.com> scout <http://www.ants.com/scout>
Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] <mailto:[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)
XXXX 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 <your mailserver> 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 <http://www.ants.com> scout <http://www.ants.com/scout>
>
>Kep Brown
>Systems, Network and Database Administrator
>phone: (805) 560-3781
>fax: (805) 560-3991
>e: [EMAIL PROTECTED] <mailto:[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
________________
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)
> XXXX 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 <your mailserver> 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 <http://www.ants.com> scout <http://www.ants.com/scout>
>>
>> Kep Brown
>> Systems, Network and Database Administrator
>> phone: (805) 560-3781
>> fax: (805) 560-3991
>> e: [EMAIL PROTECTED] <mailto:[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
> ________________
>
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
________________
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.
-----------------------------------------------------------------------
* 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)
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
|
Hi !
my server is only relaying in this case
:
....................................................................
Relay test 9
>>> RSET <<< 250 flushed >>> MAIL FROM:<spamtest@[my_server_ipaddr]> <<< 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 :))
|
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.
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.
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.
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.
-----------------------------------------------------------------------
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]
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.
-----------------------------------------------------------------------
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/
> > 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
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
"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
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
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
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
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
<[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
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]
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
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
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
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
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."
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)
On Mon, Mar 19, 2001 at 04:08:41PM -0500, Peter Green wrote:
> 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,
Shouldn't a simple shell script as a wrapper do the trick?? Starting
tcpserver something like:
tcpserver 0 pop3 qmail-popup myhost.invalid \
mycheckpasswd qmail-pop3d Maildir
J�rgen
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
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.
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.
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
> 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
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.
-----------------------------------------------------------------------
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
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
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.
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
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
On Mon, Mar 19, 2001 at 08:52:58PM -0800, Greg White wrote:
[snip]
> Never seen qmail do it to itself, tho.
A simple .qmail containing
|qmail-inject localusername
will create an endless loop easily.
Greetz, Peter.
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/
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
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
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!
|
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
|
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
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
> 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
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
Hi all!
I red that qmail is better than sendmail.=20
This is the reason why migrate to qmail.
Problem is, that i am using sendmail on my server where is more then =
1500 active users
and I would like easy migrate to qmail .. without any problem. So I am =
looking=20
for best introduction (documentation) how to migrate from sendmail to =
qmail.
Please could you help me?
ANSWER PLEASE ON THE EMAIL mailto:[EMAIL PROTECTED] TOO!
Thank You very much!
S pozdravem,
Michal Kolesar
+420 608 225025
[EMAIL PROTECTED]
http://www.egarden.cz
server of free unix services
On Tue, Mar 20, 2001 at 10:52:24AM +0100, - = k o l i s k o = - wrote:
> Hi all!
>
> I red that qmail is better than sendmail.=20
>
> This is the reason why migrate to qmail.
> Problem is, that i am using sendmail on my server where is more then =
> 1500 active users
> and I would like easy migrate to qmail .. without any problem. So I am =
> looking=20
> for best introduction (documentation) how to migrate from sendmail to =
> qmail.
>
> Please could you help me?
[snip]
Take a look at Bernstein's FAQ at http://cr.yp.to/qmail/faq.html
J�rgen
> Problem is, that i am using sendmail on my server where is more then =
> 1500 active users
For the sending side simply use the instructions of the INSTALL* documents
in the Qmail tarball.
Because the instructions are rather old now you should be aware that there
are some better setup options:
- Use tcpserver (part of ucspi-tcp) instead of inetd
- use daemontools to control all qmail services (daemontools package)
- use multilog instead of splogger (part of daemontools package)
Additional:
- control your resources - you may use softlimit for this (part of
daemontools)
> and I would like easy migrate to qmail .. without any problem. So I am =
> looking=20
> for best introduction (documentation) how to migrate from sendmail to =
> qmail.
You should provide some information about your setup. Is this one domain
or are there many? Is your server used for POP access or do the users use
a MUA on the server etc.
Study the Qmail FAQ and see www.qmail.org or www.lifewithqmail.org for
more information.
Regards, Frank