qmail Digest 27 Nov 1999 11:00:01 -0000 Issue 832
Topics (messages 33634 through 33652):
Re: Relay Problem
33634 by: Timothy L. Mayo
33649 by: IT Personal
33650 by: Anand Buddhdev
33651 by: Ranjan Koirala
Re: Moderating ezmlm
33635 by: Fred Lindberg
Serialmail not removing lock files...
33636 by: Paulo Jan
33648 by: Anand Buddhdev
Re: qmailadmin problem ????
33637 by: Lorens Kockum
Re: My Pop 3 download is not working
33638 by: Mate Wierdl
Mail from pop server
33639 by: Subba Rao
Re: hi guys.. quick answer..
33640 by: Markus Stumpf
33642 by: Fred Lindberg
Re: MX question related to diff. A and MX record
33641 by: Markus Stumpf
33644 by: claudio.nieder.symmetrix.ch
33645 by: claudio.nieder.symmetrix.ch
33646 by: Markus Stumpf
Re: quoted-printable encoding
33643 by: vogelke.c17mis.region2.wpafb.af.mil
qmail dies, over and over........
33647 by: Gustavo V G C Rios
Stripping html from .qmail
33652 by: Steve Vertigan
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]
----------------------------------------------------------------------
NO!!!! Changing it to deny means that no other machine in the world could
send mail to his mail server. His /etc/tcp.smtp file is correct. He
needs to run tcprules on the file to turn it into a cdb file.
On Thu, 25 Nov 1999, [iso-8859-1] H�ffelin Holger wrote:
> Easy to solve: Change your last line (:allow) to :deny. Then this setup only
> allows connections from 127. and 202.51.69. . I think, that's what you want.
>
> CU,
> Holger
>
>
> > -----Urspr�ngliche Nachricht-----
> > Von: IT Personal [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Donnerstag, 25. November 1999 13:01
> > An: [EMAIL PROTECTED]
> > Betreff: Relay Problem
> >
> > Hi,
> > I am trying to setup the the qmail-antirelay for my mail server. I did
> > exactly the same as mentioned on this documents.
> >
> > http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
> >
> >
> > I have this entry on my /etc/tcp.smtp file
> >
> > 202.51.69.:allow,RELAYCLIENT=""
> > 127.:allow,RELAYCLIENT=""
> > :allow
> >
> > and I did installed the ucspi-tcp-0.84.tar.gz from the qmail
> > ftp site. But
> > when I tried to send from other IP's than 202.51.69.* it
> > works perfectly.
> >
> > What do I do wrong here.
> >
> > Thanx
> >
> > KK
> >
> >
> > any suggestion pls.
> >
> >
> >
> >
> >
> >
> >
>
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax
Hi,
I did take off the
:allow
entry from my /etc/tcp.smtp file now it looks like this
202.51.69.:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
and I did the create the complied
tcp.smtp.cdb file and run the /usr/local/bin/tcpserver with -x
/etc/tcp.smtp.cdb
But still my mail server is open to the outside world.
One Thing I do not have is /var/qmail/control/rcpthosts file, I removed it,
will that make any difference for my attempt to crate the anti-relay mail
server?
TIA
KK
At 07:43 PM 11/25/99 +0800, you wrote:
>Just curious.
>Have you already compiled your tcp.smtp file into cdb format?
>Is your tcpserver already running?
>Take a look at http://cr.yp.to/qmail/faq/servers.html#tcpserver-smtpd for
more
>details.
>
>IT Personal wrote:
>
>> Hi,
>> I am trying to setup the the qmail-antirelay for my mail server. I did
>> exactly the same as mentioned on this documents.
>>
>> http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html
>>
>> I have this entry on my /etc/tcp.smtp file
>>
>> 202.51.69.:allow,RELAYCLIENT=""
>> 127.:allow,RELAYCLIENT=""
>> :allow
>>
>> and I did installed the ucspi-tcp-0.84.tar.gz from the qmail ftp site. But
>> when I tried to send from other IP's than 202.51.69.* it works perfectly.
>>
>> What do I do wrong here.
>>
>> Thanx
>>
>> KK
>>
>> any suggestion pls.
>
>--
>
>Regards,
>
>Edward Castillo-Jakosalem
>
>
>
>
On Sat, Nov 27, 1999 at 01:57:12PM +0300, IT Personal wrote:
> Hi,
>
> I did take off the
> :allow
> entry from my /etc/tcp.smtp file now it looks like this
>
> 202.51.69.:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
>
> and I did the create the complied
> tcp.smtp.cdb file and run the /usr/local/bin/tcpserver with -x
> /etc/tcp.smtp.cdb
>
> But still my mail server is open to the outside world.
> One Thing I do not have is /var/qmail/control/rcpthosts file, I removed it,
> will that make any difference for my attempt to crate the anti-relay mail
> server?
That's your problem. YOU MUST HAVE AN RCPTHOSTS FILE, and it must
contain all the domains that you receive mail *for*. For qmail to
then allow relaying, it will ignore the rcpthosts file only for
those IPS you've listed in your tcp.smtp rules file.
Hi,
Thank you for your response. So that means if I receive mail for
abc.com
zxy.org
bac.gov
I should put ONLY these domains on my /var/qmail/control/rcpthosts file and
everything should be ok. Ande qmail will automatically accepts mail only
from those IPs mentioned
on /etc/tcp.smtp files.
KK
At 11:26 AM 11/27/99 +0300, you wrote:
>On Sat, Nov 27, 1999 at 01:57:12PM +0300, IT Personal wrote:
>
>> Hi,
>>
>> I did take off the
>> :allow
>> entry from my /etc/tcp.smtp file now it looks like this
>>
>> 202.51.69.:allow,RELAYCLIENT=""
>> 127.:allow,RELAYCLIENT=""
>>
>> and I did the create the complied
>> tcp.smtp.cdb file and run the /usr/local/bin/tcpserver with -x
>> /etc/tcp.smtp.cdb
>>
>> But still my mail server is open to the outside world.
>> One Thing I do not have is /var/qmail/control/rcpthosts file, I removed it,
>> will that make any difference for my attempt to crate the anti-relay mail
>> server?
>
>That's your problem. YOU MUST HAVE AN RCPTHOSTS FILE, and it must
>contain all the domains that you receive mail *for*. For qmail to
>then allow relaying, it will ignore the rcpthosts file only for
>those IPS you've listed in your tcp.smtp rules file.
>
>
On Fri, 26 Nov 1999 11:57:39 +0800, Michael Boman wrote:
The right place to ask is [EMAIL PROTECTED] To join, mail
[EMAIL PROTECTED]
>I want to moderate some of my mailing lists in the following way:
>
>1) Some of the lists I want to personally add/delete people from and no
>other then the subscribers should be able to post or get any message (with
>the 'get' instruction).
>
>2) One list I want to specify who can post to the list. The list should be
>free to subscribe/unsubscribe to.
>
>I am also hosting several MX sites on my mail server and I want that
>[EMAIL PROTECTED] and [EMAIL PROTECTED] is NOT the same mailing
>list, but two separate lists.
The answer is that you should get ezmlm-idx-0.324.tar.gz. It contains
all the info you need as well as the code you need (in addition to
ezmlm-0.53.tar.gz). http://www.ezmlm.org has the info on line.
-Sincerely, Fred
(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
Hi all:
Well, I've got at last serialmail and AutoTURN installed and working,
following the instruciones in the serialmail package. The only problem
that I have now is that, after triggering an AutoTURN delivery,
maildirsmtp locks the proper directory, sends the messages in it
correctly... but never unlocks the directory (that is, it doesn't delete
the "seriallock" file that it creates). The line that I use to start
serialmail in my startup scripts is:
/usr/local/bin/tcpserver -c55 -v -x/etc/tcp.smtp.cdb -u 7791 -g 2108 0
smtp /etc/rc.d/rc.qmail-smtpd 2>&1 |/usr/local/bin/accustamp |
/usr/local/bin/setuser root /usr/local/bin/cyclog -n12
/var/log/qmail-receive &
And "rc.qmail-smtpd", in turn, has:
/usr/local/qmail/bin/qmail-smtpd
cd /usr/local/qmail/autoturn
exec setlock -nx $TCPREMOTEIP/seriallock \
maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN
The AutoTURN instructions said to include this in the main qmail
startup script with "sh -c '(script here)'", but I couldn't get it to
work properly in any way (specially the part about redirecting errors to
cyclog), so I'm putting them in a separate file.
Looking at the setlock man pages, I see this:
Normally the lock disappears when program exits.
(Here's the complete story: program is given a descriptor
for a locked ofile pointing to file. The lock disappears
when this ofile is (1) closed by all the processes that
have descriptors for it or (2) explicitly unlocked.)
Which makes me think that maildirsmtp doesn't exit cleanly, but I can't
find it with ps -auxw anywhere in my list of processes. Also, I don't
know what an "ofile" is; I even asked our local Unix guru, who claims
that he has never heard that word before (feel free to tell me if we
need to depose him of his guru status).
Any ideas? I'm using Slackware 3.2 (with a Linux 2.0.34 kernel) if that
helps. If you need more information, just ask...
Paulo Jan.
DDnet.
On Fri, Nov 26, 1999 at 04:20:37PM +0100, Paulo Jan wrote:
You've misunderstood the setlock manpage. After setlock's child
exits, the lock on the seriallock file does indeed disappear,
but the file is not removed. This makes sense, because it will
have to be created again soon, so why waste resources removing it?
If you want to test this, find a seriallock file for which the
maildirserial process has completed, then try to lock it yourself:
setlock -n /var/qmail/autoturn/1.2.3.4/seriallock echo ok
If you get back an "ok", it means the file was not locked, implying
that no maildirserial was running at that time. Otherwise, you'll
get an error message from setlock saying it was unable to lock the file.
> Hi all:
>
> Well, I've got at last serialmail and AutoTURN installed and working,
> following the instruciones in the serialmail package. The only problem
> that I have now is that, after triggering an AutoTURN delivery,
> maildirsmtp locks the proper directory, sends the messages in it
> correctly... but never unlocks the directory (that is, it doesn't delete
> the "seriallock" file that it creates). The line that I use to start
> serialmail in my startup scripts is:
[snip]
--
Anand
On the qmail list [EMAIL PROTECTED] wrote:
>
>i'm sorry but how can you post the passwords (even if they're shadowed) of
>the users on your system???
They are not shadowed. Had they been, there would have been no
passwords, crypted or not, and thus no problem.
They have just been passed through crypt. That is reasonable
protection only if the passwords are good.
They aren't, at least the first isn't (positively ridiculous
password in fact).
Good or not, change them. Someone will have more than 2 seconds
of computer time to devote to it.
The output for
ls -ld ~chris is drwx------ 2 chris chris 1024 Nov
18 20:15 /home/chris
ls -lR ~chris/Maildir -rw------- 1 chris chris 2357 Nov 19
21:22 /home/chris/Maildir
The above Maildir is not a directory, it is just a file!
I changed Mailbox to Maildir in /var/qmail/rc file so that it automatically
creates Maildir.
"qmail-start ./Maildir splogger qmail "
There is your problem: the above just creates a mailbox file called
Maildir. But you need to create maildir, and most people call it
Maildir.
So first of all, you need to change the above line to
"qmail-start ./Maildir/ splogger qmail "
But if you just want to try out maildir, you are better off doing only
echo ./Maildir/ > ~/.qmail
It is because most mailers do not know how to deal with maildir.
Second, you need to create the maildir by hand, such as
maildirmake ~/Maildir
and you have to do this as the user for whom the maildir is created.
It is perhaps really time for you to read some documentation, like
INSTALL.maildir.
Mate
----- Original Message -----
From: Mate Wierdl <[EMAIL PROTECTED]>
To: puvan <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 1999 11:58 PM
Subject: Re: My Pop 3 download is not working
> Sorry buddy...
>
> I get this when i do what you said.......
>
> Trying 202.187.124.14...
> Connected to syn-ack.com.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user chris
> +OK
> pass iloveu
> -ERR this user has no $HOME/Maildir
> Connection closed by foreign host.
>
> What is the output of
>
> ls -ld ~chris
> ls -lR ~chris/Maildir
>
> How did you create the maildir (what was the exact command, and what
> user were you when you created it).
>
> Mate
>
>
Is there any tool under the Qmail umbrella, that can be used to get
mail from the pop server? (Something similar to fetchmail.)
Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
On Fri, Nov 26, 1999 at 04:01:28PM +1100, Marc-Adrian Napoli wrote:
> The mailing list in question is archived, i'm just wondering how i would get
> that onto the web.
That depends a lot on what you want.
There are some (free and commercial) email2web programs out there.
Some do threading, some don't, some do this, some do that.
These work by adding the call to the program to a control file
and the program inserts the mail into the web system.
There is also free (AFAIK) service that offers mailing list archival
at e.g. eGoups http://www.egroups.com/
And the easiest approach may be to write a small script that reads
the "index" file in each of ezmlms archive subdirs and makes a nice
list out of it. Users may click on the entries and get the message
(either as plain text, or your program can do a lot of nifty formatting)
You can even create a static HTML page for the elder archive subdirs
so you wouldn't have to create the index on the fly each time.
This approach is easy and fast to implement, but it's kinda spartan.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
On Fri, 26 Nov 1999 16:01:28 +1100, Marc-Adrian Napoli wrote:
>Just looking through the FAQ's now but if anyone knows how to make a ezmlm
>mailing list archive web-able that'd be great.
If http://www.id.wustl.edu/cgi-ez/ezmlm-cgi/1#b and the archives under
http://lists.mysql.com look ok to you all you have to do is wait for
ezmlm-idx-0.40. I'm waiting for ezmlmrc translations but other wise
it's pretty much done.
-Sincerely, Fred
(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
On Fri, Nov 26, 1999 at 02:08:48AM +0100, [EMAIL PROTECTED] wrote:
> Is there any other solution which avoid mapping of multiple domains to
> the same IP-address and is legal?
If these are kinda "minimal" domains and they're all identical, you can do
something like this:
(this assumes you are using "bind", I don't know about other DNS servers)
Create a file called e.g. "virtualdomains":
; ------------------------------------------------------------------------
@ IN SOA ns.EXAMPLE.COM. hostmaster.EXAMPLE.COM. (
1999112600 ; Serial
28800 ; Refresh
3600 ; Retry
864000 ; Expire
43200 ) ; Minimum
IN NS ns.EXAMPLE.COM.
IN NS ns2.EXAMPLE.COM.
IN NS ns3.EXAMPLE.COM.
IN MX 100 mail.EXAMPLE.COM.
IN A 1.2.3.4
www IN CNAME @
; ------------------------------------------------------------------------
I assume that "EXAMPLE.COM" is not one of the zones you want to apply
this mechanism to.
And now add to bind.conf
// ------------------------------------------------------------------------
zone "virtual1.com" in { type master; file "virtualdomains"; }
zone "virtual2.com" in { type master; file "virtualdomains"; }
zone "virtual3.com" in { type master; file "virtualdomains"; }
// [ ... ]
// ------------------------------------------------------------------------
This is a VERY strict solution.
And please keep in mind also, that MX records may only point to names
that have A records and not to names that are CNAME records. Same for
the NS records.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
Hi,
> > Is there any other solution which avoid mapping of multiple domains to
> > the same IP-address and is legal?
> No. Well, yes, map multiple domains each to its own IP address.
Given you have enough IP-addresses. When is the big switch to IPv6 gonna
take place ?
claudio
--
Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Z�rich phn:+411 381 8880
mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
Hi,
> Create a file called e.g. "virtualdomains":
> ...
> zone "virtual1.com" in { type master; file "virtualdomains"; }
Nice solution for not having to have n instances of the same stuff.
One thing still bothers me. This gets me n hosts with an A mapping to
the same IP-address, with the consequence, that the reverse-mapping
1.2.3.4 PTR will point to just one of the n hosts. What's the general
opinion on how "legal" this is?
claudio
--
Claudio Nieder,Symmetrix AG,Seefeldstr. 231,CH-8008 Z�rich phn:+411 381 8880
mailto:[EMAIL PROTECTED] http://www.symmetrix.ch fax:+411 381 2127
On Sat, Nov 27, 1999 at 12:21:23AM +0100, [EMAIL PROTECTED] wrote:
> the same IP-address, with the consequence, that the reverse-mapping
> 1.2.3.4 PTR will point to just one of the n hosts. What's the general
> opinion on how "legal" this is?
This is perfectly legal.
But you can also
4 IN PTR virt1.com.
IN PTR virt2.com.
IN PTR virt3.com.
IN PTR virt4.com.
IN PTR virt5.com.
This is legal, too.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Stress is when you wake
Research & Development | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | realize you haven't
D-80807 Muenchen | Fax: +49 (89) 32356-299 | fallen asleep yet.
>> On Thu, 25 Nov 1999 04:02:12 -0600 (CST),
>> Masuo Gates <[EMAIL PROTECTED]> said:
M> Hello, Is there a patch to automatically decode quoted-printable and
M> remove the:
M> Content-Transfer-Encoding: quoted-printable
M> header?
I don't know about a patch, but this Perl script does the trick for me.
Fair warning: I've only tried it on English text.
--
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED] or [EMAIL PROTECTED]
---------------------------------------------------------------------------
#!/usr/local/bin/perl
# decode quoted-printable crap from mailing lists.
use MIME::Decoder;
$decoder = new MIME::Decoder 'quoted-printable' or die "unsupported";
$decoder->decode(\*STDIN, \*STDOUT);
exit (0);
Dear gentleman.
I am trying to run qmail, using FreeBSD 3.3Stable, but it dies about 2
times a month.
The strangest thing about it. is that no other service i run, crash,
only qmail!
My machine is up around 135 days, i have already built the HOLE FreeBSD,
including kernels.
So, i guess that it does not due to hardware problem (am i right?)!
Other thing strange, is: My linux box runs VERY well with qmail, and
qmail does not die.
Have you ever faced anything such that ?
What you wizard suggest me to do ?
Here goes my uname -a output:
FreeBSD vitoria.ddsecurity.com.br 3.3-STABLE FreeBSD 3.3-STABLE #7: Thu
Oct 21 15:06:38 EDT 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/VITORIA i386
Thank you for your time and cooperation
--
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
I'm thinking of writing a perl script to be called from a .qmail file
that will check a message for html encoding and kill it if it does.
Partly because I'm sick of seeing html on lists and partly because it
seems like a good bozo filter. So anyway before I do pick up my hammer
and chisel I'm wondering has anyone else here already carved a rock into
a circumvolution mechanism that does something similiar?
Regards,
--Steve