Re: Qmail as only relay

2001-05-03 Thread Charles Cazabon

Andrea Cerrito [EMAIL PROTECTED] wrote:
 
 mail from internet  smtp.domain.ext must carry the duty  smtp.domain.ext
 must forward the message to pop.domain.ext (another machine)
 
 In the same scenario, smtp.domain.ext must allow pop.domain.ext to fully
 relay.

Should be easy to do with tcpserver and smtproutes.

 My problem is that smtp.domain.ext is accepting local mail if the rcpt to:
 passage is done without the @.

Fix the clients.  It's forbidden to not have a domain in the address(es) in
the envelope recipient(s).

 How can I setup smtp.domain.ext to not allow receving mail for local at all?

Don't put anything in /var/qmail/control/locals?

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



Re: QMAIL SMTP OPEN RELAY

2000-12-13 Thread Henning Brauer

Am Mittwoch, 13. Dezember 2000 09:31 schrieb Jimmy Newell:

 How do I completely open up my qmail smtp server to be a smtp relay?

nice joke.

-- 

Henning Brauer |  BS Web Services
Hostmaster BSWS|  Roedingsmarkt 14
[EMAIL PROTECTED] |  20459 Hamburg
www.bsws.de|  Germany



Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread joshua stein

Jimmy Newell wrote:
 How do I completely open up my qmail smtp server to be a smtp relay?

don't.

 I've searched the archives is deleting the
 /var/qmail/control/rcpthosts file all I need to do?

no.



Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread Brett Randall

On Wed, 13 Dec 2000, [EMAIL PROTECTED] wrote:

 How do I completely open up my qmail smtp server to be a smtp relay?
 
 I've searched the archives is deleting the
 /var/qmail/control/rcpthosts file all I need to do?

And make sure that you aren't passing tcpserver a -x argument (checks
to make sure the originating IP address is allowed to relay)
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
brett  _ @ _  ipsware.com



Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread Frank Precissi

Unless you are running the server on an internal LAN, I *high*
discourage you from opening up a smtp relay.. Not only will you be
frowned upon by the internet community for being a spam-haven, but you
and your ISP could be put on the RBL (which is very bad)..  But to
answer your question, deleting the rcpthosts should do the trick.

Frank


Jimmy Newell wrote:

 How do I completely open up my qmail smtp server to be a smtp relay?
 I've searched the archives is deleting the
 /var/qmail/control/rcpthosts file all I need to do? What are the
 symptoms of not compiling the DNS patch,  I don't remember if I
 patched it.

--
-=-=-=-=-=-8-=-=-=-=-=-
'I sense much NT in you. NT leads to blue screen, blue screen leads to
downtime, downtime leads to much suffering.' --- unknown linux jedi

http://www.vadept.com/pgp-public.txt






Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread defender of the protocol

just out of curiosity, why would you want to do that?

- jeremy

At 06:20 PM 12/12/2000 -0600, joshua stein wrote:
Jimmy Newell wrote:
  How do I completely open up my qmail smtp server to be a smtp relay?

don't.

  I've searched the archives is deleting the
  /var/qmail/control/rcpthosts file all I need to do?

no.




Re: Qmail as a relay.

2000-06-25 Thread Johan Almqvist

On Sun, Jun 25, 2000 at 10:21:42AM -0700, Duane Eddingfield wrote:
 it is addressed to. I.e. [EMAIL PROTECTED] goes to the pop server and
 [EMAIL PROTECTED] goes to the

Send all @domain.com mail to the pop box and do what you want with aliases,
assign or .qmail files there?

ie .qmail-xxx : ./xxx/Maildir/
   .qmail-xxx-yz: | qmail-inject or something

Aw, this is gonna be ugly.

-Johan
-- 
Johan Almqvist



Re: Qmail as a relay.

2000-06-25 Thread Erwin Hoffmann

Hi,

thats easy. 

Use fastforward (available from the qmail home-page) which allows a
sendmail compatible alias delivery and forwarding.
Of course, domain.com has to be in rcpthosts.

cheers.
eh.

At 10:21 25.6.2000 -0700, Duane Eddingfield wrote:
Hi All:

Here's what my boss wants:

We have a new machine running Qmail at relay.domain.com. It will
receive mail for many domains that
we host. What I need is to selectively route incoing mail to our other
servers, a pop server and a mailing
list server and our corporate LAN server behind a firewall.

I realize that this is easily done with /var/qmail/smtproutes, but I
need to route mail by the user that
it is addressed to. I.e. [EMAIL PROTECTED] goes to the pop server and
[EMAIL PROTECTED] goes to the
Exchange server on the internal LAN. I have tried various things using
virtualdomains and aliases but
have not got the results that I want.

Needless to say I do not want any user accounts on the relay box,
its just a relay. I know that this
is not difficult with sendmail but I don't want to go back to using it
for several reasons that most of
you already know.

Anybody got any ideas?

Thanks for the suggestions,

/Duane





+---+
|  fffhh http://www.fehcom.deDr. Erwin Hoffmann |
| ff  hh|
| ffeee     ccc   ooomm mm  mm   Wiener Weg 8   |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm 50858 Koeln|
| ff  ee eee  hh  hh  cc   oo oo mm   mm  mm|
| ff  eee hh  hh   cc   oo   oo  mm   mm  mm Tel 0221 484 4923  |
| ff      hh  hhccc   ooomm   mm  mm Fax 0221 484 4924  |
+---+



Re: Qmail as a relay.

2000-06-25 Thread Duane Eddingfield

Johan Almqvist wrote:


 Send all @domain.com mail to the pop box and do what you want with aliases,
 assign or .qmail files there?

 ie .qmail-xxx : ./xxx/Maildir/
.qmail-xxx-yz: | qmail-inject or something

Ah, I hadn't tried that..


 Aw, this is gonna be ugly.

Yeah, just as ugly as sendmail. Sigh...

/Duane





Re: Qmail as a relay.

2000-06-25 Thread Duane Eddingfield

Erwin Hoffmann wrote:

 Hi,

 thats easy.

 Use fastforward (available from the qmail home-page) which allows a
 sendmail compatible alias delivery and forwarding.
 Of course, domain.com has to be in rcpthosts.

I actually have tried this or a slight variation but the entry in
'virtualdomains' is
hit first and the entry in 'aliases' is ignored.

/Duane





Re: Qmail as a relay.

2000-06-25 Thread Johan Almqvist

On Sun, Jun 25, 2000 at 11:28:09AM -0700, Duane Eddingfield wrote:
  Use fastforward (available from the qmail home-page) which allows a
  sendmail compatible alias delivery and forwarding.
  Of course, domain.com has to be in rcpthosts.
 I actually have tried this or a slight variation but the entry in
 'virtualdomains' is
 hit first and the entry in 'aliases' is ignored.

Well, put the domain in locals instead of virtualdomains and use fastforward
to do what you want instead of the virtual domain logic...

-Johan
-- 
Johan Almqvist



Re: Qmail as a relay.

2000-06-25 Thread John White

Set up aliases for the various selections, dropping them into
local Maildir's.

Then use serialmail's maildirsmtp to route the maildir to whatever
smtp server you want.

John



Re: Qmail as a relay.

2000-06-25 Thread Duane Eddingfield

Johan Almqvist wrote:

 On Sun, Jun 25, 2000 at 11:28:09AM -0700, Duane Eddingfield wrote:
   Use fastforward (available from the qmail home-page) which allows a
   sendmail compatible alias delivery and forwarding.
   Of course, domain.com has to be in rcpthosts.
  I actually have tried this or a slight variation but the entry in
  'virtualdomains' is
  hit first and the entry in 'aliases' is ignored.

 Well, put the domain in locals instead of virtualdomains and use fastforward
 to do what you want instead of the virtual domain logic...

This is basically what I was doing, except that I should have know to
take
them *out* of virtual domains.. Doh!

Thanks,

/Duane





Re: Qmail as a relay.

2000-06-25 Thread Duane Eddingfield

John White wrote:

 Set up aliases for the various selections, dropping them into
 local Maildir's.

 Then use serialmail's maildirsmtp to route the maildir to whatever
 smtp server you want.

Excellent suggestion, Thank you.

/Duane





Re: Qmail as a relay?

2000-04-12 Thread esl

Carlos Gustavo Werner wrote:



 Hi,

 I'm having a lot of problems trying to install qmail on a HP-UX 11.0
 system. The installation itself goes ok (with lots of warnings) and
 qmail alone works fine. When i try to configure it as a relay client,
 compiling tcpwrappers and/or tcpserver, lots of errors appear. Can
 somebody help me? Is there any easy way to configure a system to
 permit relay only to specific ip addresses?

It's here: http://cr.yp.to/qmail/faq/servers.html#authorized-relay



 TIA,
 Gustavo.




RE: Qmail as a relay?

2000-04-12 Thread Carlos Gustavo Werner
Title: RE: Qmail as a relay?






Yeah but I can't compile ucspi-tcp (tcpserver) under HP-UX 11.0!!!
And the same thing happens with tcpwrappers!!!


Thanks a lot!


 -Original Message-
 From: esl [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 12, 2000 5:51 PM
 To: Carlos Gustavo Werner
 Cc: 'Qmail mailing list'
 Subject: Re: Qmail as a relay?
 
 
 Carlos Gustavo Werner wrote:
 
 
 
  Hi,
 
  I'm having a lot of problems trying to install qmail on a HP-UX 11.0
  system. The installation itself goes ok (with lots of warnings) and
  qmail alone works fine. When i try to configure it as a 
 relay client,
  compiling tcpwrappers and/or tcpserver, lots of errors appear. Can
  somebody help me? Is there any easy way to configure a system to
  permit relay only to specific ip addresses?
 
 It's here: http://cr.yp.to/qmail/faq/servers.html#authorized-relay
 
 
 
  TIA,
  Gustavo.
 





RE: Qmail as a relay?

2000-04-12 Thread Vince Vielhaber

On Wed, 12 Apr 2000, Carlos Gustavo Werner wrote:

 
 Yeah but I can't compile ucspi-tcp (tcpserver) under HP-UX 11.0!!!
 And the same thing happens with tcpwrappers!!!

I've built it on hpux (pronounced: H Pukes) ver 7, 8, 9 and 10 with
gcc, the standard cc and the optional ANSI compiler.  What happened
in 11 that things stopped?

Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






RE: Qmail as a relay?

2000-04-12 Thread Carlos Gustavo Werner
Title: RE: Qmail as a relay?






They turned ux into posix-like... any hints?


 -Original Message-
 From: Vince Vielhaber [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, April 12, 2000 6:06 PM
 To: Carlos Gustavo Werner
 Cc: 'Qmail mailing list'
 Subject: RE: Qmail as a relay?
 
 
 On Wed, 12 Apr 2000, Carlos Gustavo Werner wrote:
 
  
  Yeah but I can't compile ucspi-tcp (tcpserver) under HP-UX 11.0!!!
  And the same thing happens with tcpwrappers!!!
 
 I've built it on hpux (pronounced: H Pukes) ver 7, 8, 9 and 10 with
 gcc, the standard cc and the optional ANSI compiler. What happened
 in 11 that things stopped?
 
 Vince.
 -- 
 ==
 
 Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] 
http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directory http://www.camping-usa.com
 Online Giftshop Superstore http://www.cloudninegifts.com
==






RE: Qmail as a relay?

2000-04-12 Thread Vince Vielhaber

On Wed, 12 Apr 2000, Carlos Gustavo Werner wrote:

 
 They turned ux into posix-like... any hints?

Not with that little bit of info.  What compilers have you tried?
What errors did you get?  Was something missing that tcpserver
needed? etc...

Vince.


 
  -Original Message-
  From: Vince Vielhaber [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, April 12, 2000 6:06 PM
  To: Carlos Gustavo Werner
  Cc: 'Qmail mailing list'
  Subject: RE: Qmail as a relay?
  
  
  On Wed, 12 Apr 2000, Carlos Gustavo Werner wrote:
  
   
   Yeah but I can't compile ucspi-tcp (tcpserver) under HP-UX 11.0!!!
   And the same thing happens with tcpwrappers!!!
  
  I've built it on hpux (pronounced: H Pukes) ver 7, 8, 9 and 10 with
  gcc, the standard cc and the optional ANSI compiler.  What happened
  in 11 that things stopped?
  
  Vince.
  -- 
  ==
  
  Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]
 http://www.pop4.net
  128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
 Online Campground Directoryhttp://www.camping-usa.com
Online Giftshop Superstorehttp://www.cloudninegifts.com
 ==
 
 
 

-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: Qmail as a relay?

2000-04-12 Thread Rogerio Brito

On Apr 12 2000, Carlos Gustavo Werner wrote:
 
 Yeah but I can't compile ucspi-tcp (tcpserver) under HP-UX 11.0!!!
 And the same thing happens with tcpwrappers!!!

Well, if you could tell us a bit more about what happens with
your system, maybe we could try to help. I don't get a hunch
frequently, you know. :-)

BTW, please turn off the HTML attachments in your e-mail
reader.


[]s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
 Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: QMail as open relay

1999-09-27 Thread Robin Bowes

Bryan Ischo [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Bryan Ischo wrote:
 
  Hi all.
 
  I have a somewhat complicated situation for which the simplest solution
  is
  a mail relay.  I want a completely open mail relay that will accept mail
  to be delivered to any domain whatsoever BUT I want it to only relay
  through  one destination SMTP host.

[snip]

 Hi again.  If anyone is interested, it is actually quite easy to
 set up qmail to work this way if you hack the source a bit.  The
 source is very well-organized and easy to hack.  I simply #if'ed
 out the place where it checks the rcpthosts file, and the place
 where it checks the locals file.  Viola.  Now I have a qmail
 installation that will accept anything at all and just forward it
 on to the host listed in the smtproutes file.

Hi Bryan,

There is a simpler way: just delete rcpthosts altogether!

However, RELAYCLIENT should work OK even with rcpthosts - it's what I do on
my home network.  I have a Linux box running qmail under tcpserver and allow
relaying from any of the hosts on my internal network (192.168.0.*) by
setting RELAYCLIENT="" in the tcprules file for qmail-smtpd:

127.0.0.:allow,RELAYCLIENT=""
192.168.0.:allow,RELAYCLIENT=""

That, in conjunction with a suitable smtproutes entry should do what you
want.

I notice you're still using inetd; it's honestly worth moving to tcpserver.
There are some sample scripts on the qmail home page, and I believe Dave
Sill's "Living with Qmail" is useful reading.

R.




Re: Qmail as selective relay.

1999-06-14 Thread Dimitri S.

At 19:11 13/06/99 -0400, Robbie Walker wrote:
Note: sorry if the last post was off-topic and HTML... I had a stroke or
something! [grin]

You can find the homepage (and the current link for ucspi-tcp) here
http://koobera.math.uic.edu/www/ucspi-tcp.html

The rest of Dan's software can be found at this page...
http://koobera.math.uic.edu/www/software.html


Hi

Alert!: Unable to connect to remote host.


lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$


   -- Dimitri [EMAIL PROTECTED]



Re: Qmail as selective relay.

1999-06-14 Thread Dave Sill

"Dimitri S." [EMAIL PROTECTED] wrote:

Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$

s/http/ftp/

-Dave



Re: Qmail as selective relay.

1999-06-14 Thread Russell Nelson

Dimitri S. writes:
  lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
  [zyrtex@kali zyrtex]$

http://www.qmail.org/koobera/www/ucspi-tcp.html will also work.

-- 
-russ nelson [EMAIL PROTECTED]  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | child.



Re: Qmail as selective relay.

1999-06-14 Thread Dimitri S.

At 15:16 14/06/99 -0400, Dave Sill wrote:
"Dimitri S." [EMAIL PROTECTED] wrote:

Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://koobera.math.uic.edu/www/ucspi-tcp.html
[zyrtex@kali zyrtex]$

s/http/ftp/

You and Vince are right. Thank you, and I hope the ucspi-tcp-0.84.tar.gz
version will run the same way as the ucspi-tcp-0.84.tar.gz because the doc
on http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html is for
ucspi-tcp-0.80.tar.gz... or any doc for installing the 84 ?

Bye, thank you !


   -- Dimitri [EMAIL PROTECTED]



Re: Qmail as selective relay.

1999-06-13 Thread Robbie Walker

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Note: sorry if the last post was off-topic and HTML... I had a stroke or
something! [grin]

You can find the homepage (and the current link for ucspi-tcp) here
http://koobera.math.uic.edu/www/ucspi-tcp.html

The rest of Dan's software can be found at this page...
http://koobera.math.uic.edu/www/software.html

At 06:51 PM 6/13/99 , you wrote:
Hi !

I would like my qmail server to be a selective relay, so I went on :

http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html

but the link :

===
First, using your favourite ftp client, download from
ftp://koobera.math.uic.edu/pub/software/ the ucspi-tcp-0.80.tar.gz package
(in binary mode - Netscape may have
problems downloading - try holding down the shift key).
===

is invalid. How to get this software or package in order to allow selective
relaying ?

Thank you !



   -- Dimitri [EMAIL PROTECTED]


- --
NovaMetrix Development 
Robbie Walker, head muckety-muck
and programmer

P.O. Box 635 or910-653-4006
106-B S. Main St800-773-5647
Tabor City, NC 28463910-653-2052 FAX





-BEGIN PGP SIGNATURE-
Version: PGP for Personal Privacy 5.5.2

iQA/AwUBN2Q6vTrJV5JQYcnnEQJ3MwCeMPXQgbz66LEPF15DZa0PSTr9WQ0AmwYJ
tHGqiz4rhDbtpFcOyDwSrB0v
=kvc2
-END PGP SIGNATURE-



Re: qmail configuration as relay-only

1999-06-02 Thread Dave Sill

"Lanik, Laurenz (21)" [EMAIL PROTECTED] wrote:

I configured qmail as you told me. I left out the "mail.isp.at" because
I want to test it locally.
I tested it with 
   "echo To: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject"
and got the following lines in /var/qmail/maillog:

Apr 27 17:56:08 smiley qmail: 925228568.141845 delivery 2: deferral:
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/

So what name he couldn't find ? - All names which are involved in this
transaction are listed [in /etc/hosts]. - Help !

smtproutes:

.mydomain.at:hercules.mydomain.at
mydomain.at:hercules.mydomain.at
:mail.isp.at

The name it couldn't find is hercules.mydomain.at. qmail doesn't use
/etc/hosts. It uses DNS and hardcoded IP addresses only. You need to
change your smtproutes to specify the relays by IP address. Say
hercules is 10.10.10.10. Change the entry to:

mydomain.at:[10.10.10.10]

-Dave