RE: MTA and \r\n problems

2000-10-16 Thread Leonard Tulipan

Tell them to download either download the source-code from qmail to check it
themselves,
or to fix the problem!

Gee, those windows shops are so convinced of themselves that they don't even
notice their obvious mistakes.

Ciao
Leo

> -Original Message-
> From: Rich Feather [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 9:36 PM
> To:   [EMAIL PROTECTED]
> Subject:  MTA and \r\n problems
> 
> Okay, I have inherited a legacy Active Server Pages/VB environment that
> uses ASPEmail to send HTML email messages to a qmail relay server.  I
> keep getting the dreaded LF bounce.  After talking to Persits Software
> (the makers of the component), they're convinced that qmail is stripping
> the CRLF and replacing it with simply a LF.  My questions are, is this a
> reasonable behavior from qmail and, if so, how would I fix it?
> 
> Thanks.



RE: that domain isn't in my list of allowed rcpthosts

2000-10-15 Thread Leonard Tulipan

better use tcpserver though.
tcp-env as described in the FAQ didn't work on my Linux system. Apparently
the Environment Variable RELAYCLIENT didn't get set.

Ciao
Leo

> -Original Message-
> From: Robert Eric Pearse [SMTP:[EMAIL PROTECTED]]
> Sent: Saturday, October 14, 2000 12:52 AM
> To:   MaD dUCK
> Cc:   [EMAIL PROTECTED]
> Subject:  Re: that domain isn't in my list of allowed rcpthosts
> 
> or maybe i should have read 5.4 of the FAQ in the tarball. ;-)
> 
> thanks,
> 
> 



RE: tcpserver

2000-10-13 Thread Leonard Tulipan

If you want tcpserver to only allow some hosts, you would do something like
this 
(Look at http://cr.yp.to/ucspi-tcp/tcprules.html for more info)

192.168.0.xxx:allow
192.168.0.yyy:allow
:deny

this has to be "compiled" by tcprules of course.

Ciao
Leo

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 11:49 AM
> To:   [EMAIL PROTECTED]
> Subject:  tcpserver
> 
> Hello,
>   Forgive me for such a stupid question, I have been having problems
> with tcpserver NOT denying IP address.  I have only entered a few IP
> classes into the tcp.smtp file, I have updated it using tcprules, and I
> also have '-x tcp.smtp.cdb' flagged in the startup of smptd.  Yet is still
> does not deny any type of IP address.  Has anyone else experienced this
> problem, I have tried everything I can think of to resolve this
> problem.  I have reinstalled tcpserver. remove and recreated the .cdb
> file, anyone have any tips that would help?
> 
> Best Regards,
> Cliff Cole



RE: ralayclient and specific domain

2000-10-13 Thread Leonard Tulipan

Well, i don't know about that. I use the IP adresses of our hosts (there are
just two).

Have you "compiled" /etc/tcp.smtp with tcprules?
have you given option -x/etc/tcp.smtp.cdb to your tcpserver startup?

Ciao
Leo

> -Original Message-
> From: Mauro Tablo' [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, October 13, 2000 1:14 PM
> To:   [EMAIL PROTECTED]
> Subject:  ralayclient and specific domain
> 
> How can i tell to to qmail to allow relay only from "mydomain.it",
> regardless ip address?
> I put "mydomain.it" in rcpthosts, but I think the rule
> 
> mydomain.it:allow,RELAYCLIENT=""
> 
> in tcp.smtp file isn't correct.
> 



Relaying test on abuse.net postive!?

2000-10-13 Thread Leonard Tulipan


So, after my hassle with RELAYCLIENT, and us beeing used as a spam relay, I
tested the new setup with
http://www.abuse.net/relay.html

Now the thing ist, that relay test number six still goes thru. Is this some
issue? Did I do something wrong?

citing abuse.net:

Relay test 6

>>> RSET
<<< 250 flushed
>>> MAIL FROM:
<<< 250 ok
>>> RCPT TO:
<<< 250 ok

Relay test result
Hmmn, at first glance, host appeared to accept a message for relay.
end cite

Any help/info appreciated
Leo



RELAYCLIENT Problems - SOLVED

2000-10-13 Thread Leonard Tulipan


So here's my little story.

I have to relay mail from our MS Exchange Server to the qmail-server (This
server also beeing the firewall).
I did setup everything with tcp-env according to point 5.4 in the FAQ

But this doesn't work (at least not with my RedHat Linux)
The RELAYCLIENT variable just doesn't get set.
Martin Jespersen was a great help in finding the problem.

My simple solution:

Use tcpserver.

This was actually a no-brainer. Now (nearly) everything works fine.

So, why not update this in the FAQ?

instead of using tcp-env I now have a /etc/tcp.smtp file in which I have the
IP-adresses of the servers who are allowed to relay.

I wrote a little startup-script for tcpserver and that was it.
I already moved one other service from inetd to tcpserver.
I'll probably shutdown my xinetd alltogether.

Ciao
Leo



RE: terminate spamming

2000-10-12 Thread Leonard Tulipan

As was stated on this list (I read thru some of the archives just recently),
why not let your users use the ISP's Mail-server if they are on the road.
That is the only practical solution I know of.
Other than that you can only set up a VPN, with which the users can once
again use your internal infra-structure.

Ciao
Leo
> -Original Message-
> From: Mauro Tablo' [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 11:31 AM
> To:   [EMAIL PROTECTED]
> Subject:  terminate spamming
> 
> I run qmail on a linux server and there's a hard spamming through it.
> In my server there are four domain (three are virtuals).
> I set the rcpthosts file with the names of my domains (one per row).
> The problem is that now users of my domains can't send out mails.
> I know that one possible solution is to set the relayclient file, with ip
> addresses of my net.
> But doing so, I don't allow my users to connect from other addresses (for
> instance, the address given by an internet provider).
> The best way is to allow relaying only from "mydomain_1", "mydomain_2",
> etc., but anyone can be validated, if tells to my host he is
> anyone@mydomain_X, and spamming doesn't stop.
>  



RE: Incomming message filter

2000-10-12 Thread Leonard Tulipan

Try http://qmail-scanner.sourceforge.net/
You can configure perl regular expressions to defer certain Headers (like
Subject = I Love You, etc)
You can also do virus checking with this.

Is this what you were looking for?

Ciao
Leo

> -Original Message-
> From: szq79 [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 12, 2000 7:53 AM
> To:   [EMAIL PROTECTED]
> Subject:  Incomming message filter
> 
> hi everyone:
>   I have linux and qmail installed( Sorry, I am a chinese people and poor
> in English ),I want to make my server can let user configure their mailbox
> to reject certain messages by MAIL-FROM,but I don't know how to do.Please
> help me.
> Thanks.
> E-mail: [EMAIL PROTECTED]
> __
> 
> ===
> ÐÂÀËÃâ·Ñµç×ÓÓÊÏä http://mail.sina.com.cn
> ÐÂÀËÍƳö°ÂÔ˶ÌÐÅÏ¢ÊÖ»úµã²¥·þÎñ 
> http://sms.sina.com.cn/
>  << Message: Incomming message filter >> 



RE: installing qmail tshirt-HELP please respond!!!

2000-10-11 Thread Leonard Tulipan

Sorry, I just cannot resist answering that:

Take it off again.
Now see, that the logos are on the outside (this is the default when you
first unpack it)
Now hold it in front of you. turn it, so that the big logo faces you.
Now put it on. it should be right.

If you still have problems try re-compiling (cut out the logos an put them
on a fresh shirt.
First you have to make clean; make shirt or simply
buy new-shirt - depending on your platform

Cheers
Leo

> -Original Message-
> From: Andy Meuse [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 4:49 PM
> To:   [EMAIL PROTECTED]
> Subject:  installing qmail tshirt-HELP please respond!!!
> 
> Hey all,
>  
> I got my qmail tshirt and I put it on according to the directions in
> Dave's LWQT, but the big logo is on the front of the shirt. How can I get
> the big qmail logo to be on the back and the little one to be on the
> front?
> I've tried taking it off and switching it around, and the logo is in
> the right place but then the shirt is inside out. Then when I take it off
> and put it on again I'm back where I started.
> I think it's a relaying problem between my ears. Any thoughts?
>  
> -=Andy



RE: Problems with RELAYCLIENT

2000-10-11 Thread Leonard Tulipan



> -Original Message-
> From: Martin Jespersen [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 11, 2000 1:26 PM
> To:   Leonard Tulipan
> Cc:   '[EMAIL PROTECTED]'
> Subject:  Re: Problems with RELAYCLIENT
> 
> just put the exchange server in your /var/qmail/control/rcpthosts file
> and you should be fine :)
> 
> /Martin
> 
> 
Nice idea, but it doesn't work.
I still get: 553 sorry, that domain isn't in my list of allowed rcpthosts

I tried to send email from [EMAIL PROTECTED] to [EMAIL PROTECTED]
So in theory the message is OK.
But I WANT our exchange server to be able to RELAY.
So the setting of the RELAYCLIENT variable doesn't seem to work.
any ideas of how to debug this?

Could this also be related to Peter Green [[EMAIL PROTECTED]] who says
RedHat 6.2 is a bit weird (we upgraded the kernel to 2.2.17 though). Maybe
the exporting of the enviroment variable or tcp-env don't behave right.


Ciao
Leo



Problems with RELAYCLIENT

2000-10-11 Thread Leonard Tulipan

Did this reach the list?
I am not so sure, so I am sending this again.
Sorry if this is a duplicate, but the problem is rather urgent.


> -Original Message-
> From: Leonard Tulipan 
> Sent: Wednesday, October 11, 2000 8:30 AM
> To:   '[EMAIL PROTECTED]'
> Subject:  Problems with RELAYCLIENT
> 
> 
> Our setup:
> 
> EXCHANGE SERVER <=> Firewall (qmail) <=> Internet
> 
> we want the exchange server to relay mails to qmail, and the firewall to
> only accept mails for our domains, except for the exchange server.
> 
> As is my understanding I need to set RELAYCLIENT with the help of tcp-env.
> /var/qmail/control then needs to be setup with all valid domains.
> 
> Unfortunately I cannot seem to set RELAYCLIENT correctly.
> 
> So here is my setup
> 
> linux 2.2.16
> qmail 1.03 + QMAILQUEUE patch (which also doesn't seem to work, but never
> mind now)
> 
> Starting of qmail in /etc/rc.d/init.d with
> 
> qmail-start '|preline procmail' splogger qmail &
> 
> my /etc/hosts.allow:
> tcp-env: 192.168.0.xxx,XXX.bsbanksysteme.com: RELAYCLIENT=""; export
> RELAYCLIENT
> 
> 
> I attached "; echo "`date`-$RELAYCLIENT-" >> /tmp/tcp.test" to test and as
> I see from that file it seems to work.
> When I now add a rcpthosts file I get EMail sent thru the exchange server
> returned:
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> 
> So it doesn't look as if the RELAYCLIENT realy does work.
> 
> Any ideas how I can test this or verify if any of the variables does get
> set.
> 
> a very desperate
> Leonard Tulipan
> 
> 



RE: Moving from NFS delivery to SMTP delivery...need advice!

2000-10-11 Thread Leonard Tulipan

Here is one of thos crappy ideas you requested.

How about setting up a /var/qmail/control/smtproutes file to route emails to
some domains (don't know if this works for users too) to another server. I
think you have to remove them from /var/qmail/control/local though !?

Something like
maildomain.com:kermit.hillsong.com
should do the trick in smtproutes !?

Probably doesn't work though, cause I am NO qmail genius.

Ciao
Leo

> -Original Message-
> ANY ideas (absolutely any, no matter how crap they seem!) will be greatly
> appreciated!
> 
> 



Problems with RELAYCLIENT

2000-10-10 Thread Leonard Tulipan


Our setup:

EXCHANGE SERVER <=> Firewall (qmail) <=> Internet

we want the exchange server to relay mails to qmail, and the firewall to
only accept mails for our domains, except for the exchange server.

As is my understanding I need to set RELAYCLIENT with the help of tcp-env.
/var/qmail/control then needs to be setup with all valid domains.

Unfortunately I cannot seem to set RELAYCLIENT correctly.

So here is my setup

linux 2.2.16
qmail 1.03 + QMAILQUEUE patch (which also doesn't seem to work, but never
mind now)

Starting of qmail in /etc/rc.d/init.d with

qmail-start '|preline procmail' splogger qmail &

my /etc/hosts.allow:
tcp-env: 192.168.0.xxx,XXX.bsbanksysteme.com: RELAYCLIENT=""; export
RELAYCLIENT


I attached "; echo "`date`-$RELAYCLIENT-" >> /tmp/tcp.test" to test and as I
see from that file it seems to work.
When I now add a rcpthosts file I get EMail sent thru the exchange server
returned:
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

So it doesn't look as if the RELAYCLIENT realy does work.

Any ideas how I can test this or verify if any of the variables does get
set.

a very desperate
Leonard Tulipan





RE: Newbie help: qmail as a relay gateway

2000-08-04 Thread Leonard Tulipan

Yes, thank you, I have been looking thru that but since I don't know what my
config is called, I don't know what to look at.
I'm totally at loss, because I have never before configured a mail server.

Just a short:

do FAQ X.Y
then install Package/Software Z
then do FAQ A.B
check everything is working
enjoy

That's what I have been hoping for.

Thank you for your time
Ciao
Leo

> -Original Message-
> From: Robin S. Socha [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, August 04, 2000 1:26 PM
> To:   Leonard Tulipan
> Subject:  Re: Newbie help: qmail as a relay gateway
> 
> * Leonard Tulipan <[EMAIL PROTECTED]> writes:
> > If you can point me to the correct URLS or Steps I have to do, I'd be
> more
> > than grateful, for I have been assigned this project without really
> knowing
> > anything.
> 
> Have you checked /var/qmail/doc ? Read the FAQ and check the PICs. And:
> you cannot have both qmail and sendmail run at the same time.
> -- 
> Robin S. Socha <http://socha.net/>



Newbie help: qmail as a relay gateway

2000-08-04 Thread Leonard Tulipan


First of: I'm a newbie both to sendmail & qmail. (Read: don't flame me for
my stupidity)

The only thing I really achieved was compiling the packages (both sendmail &
qmail seem to "work" fine in a sense that all the test complete successful)

If you can point me to the correct URLS or Steps I have to do, I'd be more
than grateful, for I have been assigned this project without really knowing
anything.

We currently have this setup:


internal MS Exchange Server
  I
firewall (Linux-box with sendmail)
 I
access router
 I 
Internet

So our sendmail (apparently) does: relay all email to
@bsbanksysteme.com/de/at/ch or @bs-ag.com/de/at to our Exchange Server and
that server relays all outgoing mail to the firewall which sends it.

Since I don't know how that configuration is called (authorized-relay? I
realy don't know) I don't know which questions of the faq realy apply to me.

Please help me out of my misery because I sincerely do hate sendmail.

Ciao
Leo