AW: forwarding virtual domain mail to a specific host

1999-11-30 Thread Häffelin Holger



> -Ursprüngliche Nachricht-
> Von: Joshua Rodman [mailto:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 1. Dezember 1999 02:00
> An: [EMAIL PROTECTED]
> Betreff: forwarding virtual domain mail to a specific host
> 
> I wanted to run this by some smarter people before wasting 
> too much time
> doing this the wrong way.
> 
> I want to have mail sent to [EMAIL PROTECTED] fowarded to 
> the machine
> 'faxserver' with the exact same address.  The faxserver knows 
> that mail
> sent to [EMAIL PROTECTED] should be faxed to the ATTN of 
> user at the
> phone number .

put anything.fax:faxserver into your control/smtproutes (and
control/rcpthosts) instead of your control/virtualdomains

> 
> Do I need to create an MX record on the local nameserver for 
> this to be at
> all reasonably accomplished?  I assume this is the best 
> approach; let me
> know if there is a better/simpler way to do something like create a
> virtual domain with remote delivery.

your MX for anything.fax should point to your mailserver. Exception:
anything.fax is the DNS-Hostname of this server.

> 
> Lastly, I'd like to block mail from outside of the organization from
> reaching the .fax program.  Is this appropriate to do from 
> within qmail?
> I don't clearly see when such a test would be made.  Would it 
> be better
> for me to simply perform a procmail test of some kind at the point of
> delivery?
> 

If you use smtproutes, I think it's a job of your faxserver.

> 
> Sorry if this is all idiocy, I've been reading quite a bit of 
> the qmail
> docs and not really getting handle on it all so far.
> 
> -josh
> 



ezmlm archives..

1999-11-30 Thread Marc-Adrian Napoli

Hi all.

I'm trying to get a www interface to my ezmlm archives.

http://www.rivertown.net/cgi-bin/man-cgi?ezmlm-archive+1

This page tells me there is an ezmlm-archive command i can use, however i'm
using ezmlm-idx 0.3.1 and there is no such command?

Apart from writing a script that converts the index file (for each n
directory of the /archive directory) to a html file, can any think of
anything else?

> 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.

What will ezmlm-idx-.0.40 that will allow me to do this?

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750



Re: changing control/me

1999-11-30 Thread Philip Gabbert

I just changed it..
The hostname of my system is settore.gpcentre.net, and I just changed the me
file to gpcentre.net

I seeing no problems with it at all..

Philip

> From: "Racer X" <[EMAIL PROTECTED]>
> Date: Tue, 30 Nov 1999 14:52:08 -0800
> To: <[EMAIL PROTECTED]>
> Subject: changing control/me
> 
> Is it safe to change control/me to something other than the "real" hostname
> of the machine?  For instance, say I have 2 machines, romeo and juliet - can
> i set control/me to just "mail" on both machines?
> 
> shag
> =
> Judd Bourgeois|   CNM Network  +1 (805) 520-7170
> Software Architect|   1900 Los Angeles Avenue, 2nd Floor
> [EMAIL PROTECTED]   |   Simi Valley, CA 93065
> 
> Quidquid latine dictum sit, altum viditur.
> 
> 
> 



Re: Qmail and Ident.

1999-11-30 Thread cmikk


On Wed, 1 Dec 1999 10:28:05 +1000 , Warren Beckett writes:
> Hi all.
> 
> I have been watching my qmail logs and parallel with logs from other
> firewall and noticed that the qmail box is generate a large number of
> ident lookups. 
> 
> Does anyone know what is cause this, and how do I stop it.

Are you running qmail-smtpd from tcpserver?  If so,
start tcpserver with the -R flag, which will turn off
ident lookups.

-- 
Chris Mikkelson  | Vampireware; n, a project capable of sucking the 
[EMAIL PROTECTED] | lifeblood out of anyone unfortunate enough to be
 | assigned to it which never actually sees the light
 | of day, but nonetheless refuses to die. ([EMAIL PROTECTED])



Re: Qmail and Ident.

1999-11-30 Thread Sam

Warren Beckett writes:

> Hi all.
> 
> I have been watching my qmail logs and parallel with logs from other
> firewall and noticed that the qmail box is generate a large number of
> ident lookups. 
> 
> Does anyone know what is cause this, and how do I stop it.

Standard behavior of tcpserver.  man tcpserver will tell you how to turn it
off, if it bothers you.  But, there are some good reasons not to, because
any ident response gets recorded in the headers, and there are certain
fringe situations where source of abuse can only be determined with the
help of ident data.

-- 
Sam



Re: Valid To: line?

1999-11-30 Thread Russ Allbery

Greg Patten <[EMAIL PROTECTED]> writes:

> I'm using qmail-1.03 but injecting via Obtuse smtpd and just noticed a
> qmail-inject barfing on a file. I checked it out and it (well
> token822_parse) can't parse the following line

> To: R:IOT <[EMAIL PROTECTED]>

> While it's obvious why I'm interested as to whether the above
> constitutes a valid To: line or not.

It's not.  According to RFC 822, ":" is a special, which means it has to
be quoted to be used inside a word.  That has to be written as:

To: "R:IOT" <[EMAIL PROTECTED]>

Otherwise, it's likely to be parsed as an unterminated address group.

-- 
Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/>



forwarding virtual domain mail to a specific host

1999-11-30 Thread Joshua Rodman

I wanted to run this by some smarter people before wasting too much time
doing this the wrong way.

I want to have mail sent to [EMAIL PROTECTED] fowarded to the machine
'faxserver' with the exact same address.  The faxserver knows that mail
sent to [EMAIL PROTECTED] should be faxed to the ATTN of user at the
phone number .

Do I need to create an MX record on the local nameserver for this to be at
all reasonably accomplished?  I assume this is the best approach; let me
know if there is a better/simpler way to do something like create a
virtual domain with remote delivery.

Lastly, I'd like to block mail from outside of the organization from
reaching the .fax program.  Is this appropriate to do from within qmail?
I don't clearly see when such a test would be made.  Would it be better
for me to simply perform a procmail test of some kind at the point of
delivery?


Sorry if this is all idiocy, I've been reading quite a bit of the qmail
docs and not really getting handle on it all so far.

-josh



Re: Palm Pilot Mail

1999-11-30 Thread Florian G. Pflug

On Tue, Nov 30, 1999 at 12:03:15PM -0800, Doug Lumpkin wrote:
> When downloading new mail to a palm pilot only the first 8000 characters are
> retrieved...  Is there a way (I'm sure there is) to use a .qmail file to
> split the message into multiple parts (as well as leaving the original
> message intact).
AFAIK the maximul message length can be set on the pilot - or in pilot-mail
(or however that program was called - or ar you using the windows
software?)

But I can be wrong - didn´t like mail reading on the palm anyway...

greetings, Florian Pflug



Qmail and Ident.

1999-11-30 Thread Warren Beckett

Hi all.

I have been watching my qmail logs and parallel with logs from other
firewall and noticed that the qmail box is generate a large number of
ident lookups. 

Does anyone know what is cause this, and how do I stop it.

Kind Regards

Warren
**
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they   
are addressed. If you have received this email in error please notify 
the system manager.

This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



Re: relay logging

1999-11-30 Thread Bill Parker

At 05:04 PM 11/30/99 -0500, you wrote:
>I suspect what you mean is that you want to log attempts to use your SMTP
>server as a relay. That would not be logged by tcpserver, and qmail-smtpd
>(which is doing the actual rejecting, of the recipients, not the connection)
>doesn't emit any logging information.
>
>To get what you're looking for, you'll need a patch. Here's one (you'll
>probably find others at www.qmail.org):
>http://www.palomine.net/qmail/logrelay.patch

When I attempt to compile qmail with make, this is what occurs:

[root@nermal qmail-1.03]# make
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o  `cat \
socket.lib`
qmail-smtpd.o: In function `smtp_rcpt':
qmail-smtpd.o(.text+0x893): undefined reference to `strerr_warn'
make: *** [qmail-smtpd] Error 1

I know that the include for "strerr.h" is there, and the line
for strerr_warn6 appears to be ok also...any ideas?

-Bill




qmail-popup question

1999-11-30 Thread cmikk


>From the qmail-popup man page:

   qmail-popup  expects descriptor 0 to read from the network
   and descriptor 1 to write to  the  network.   It  reads  a
   username and password from descriptor 0 in POP's USER-PASS
   style or APOP style.  It invokes subprogram, with the same
   descriptors  0 and 1; descriptor 2 writing to the network;
 ^^^

I'm curious as to why this is done.

In particular, stderr output from the subprogram is
being fed back to the client, which is probably
expecting a pop3 +OK/-ERR response, rather than
whatever happens to be sent down stderr at the time.

Wouldn't it be better to leave stderr alone, so that
it could be fed to logger/splogger/multilog?

-- 
Chris Mikkelson  | "I have yet to see any problem, however complicated,
[EMAIL PROTECTED] | which, when you looked at it the right way, did not 
 | become still more complicated."  -- Poul Anderson



changing control/me

1999-11-30 Thread Racer X

Is it safe to change control/me to something other than the "real" hostname
of the machine?  For instance, say I have 2 machines, romeo and juliet - can
i set control/me to just "mail" on both machines?

shag
=
Judd Bourgeois|   CNM Network  +1 (805) 520-7170
Software Architect|   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.




Re: Palm Pilot Mail

1999-11-30 Thread Doug Lumpkin

Maimum transfer allowed is 8000 characters...

--
Doug

- Original Message -
From: "Florian G. Pflug" <[EMAIL PROTECTED]>
To: "Doug Lumpkin" <[EMAIL PROTECTED]>; "Qmail" <[EMAIL PROTECTED]>
Sent: Tuesday, November 30, 1999 4:37 PM
Subject: Re: Palm Pilot Mail


> On Tue, Nov 30, 1999 at 12:03:15PM -0800, Doug Lumpkin wrote:
> > When downloading new mail to a palm pilot only the first 8000 characters
are
> > retrieved...  Is there a way (I'm sure there is) to use a .qmail file to
> > split the message into multiple parts (as well as leaving the original
> > message intact).
> AFAIK the maximul message length can be set on the pilot - or in
pilot-mail
> (or however that program was called - or ar you using the windows
> software?)
>
> But I can be wrong - didn´t like mail reading on the palm anyway...
>
> greetings, Florian Pflug
>



Re: issues w/ rem2local

1999-11-30 Thread Chris Johnson

On Tue, Nov 30, 1999 at 11:29:54AM -0800, A Hoffman wrote:
> 
>  I installed qmail, and am running into problems getting email from
> outside. Locally mail delivers okay, and aliases work locally. However I
> get errors about name lookup trying to send, even though I have found no
> issues with the dns. 
>  The remote machine I'm sending from is able to do an nslookup on each of
> the desitations. It also knows wha tthe MX record is supposed to be, so I
> am certain the mail is /hitting/ the destination, which tells me qmail is
> bouncing it. Though I can't find a log message to that effect.

Don't ask a question filled with lots of DNS info, and then proceed to disguise
all your domain names. Nobody is going to be able to help you.

> 
>  The actual error is:
> 
>- The following addresses had transient non-fatal errors -
> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>  
> 
>- Transcript of session follows -
> <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
> ... Deferred: Name
> server:
> mail.domain.org.: host name lookup failure
> Warning: message still undelivered after 4 hours
> Will keep trying until message is 5 days old

These messages aren't coming from qmail.

Try stating your problem more clearly, with real domain names, and maybe
someone will be able to help.

Chris



Re: Configuration problem, same name, multiple domains

1999-11-30 Thread Chris Johnson

On Tue, Nov 30, 1999 at 12:19:22PM -0800, Adam Roberts wrote:
> Hello,
> 
> This is my first posting to the list. If this problem has been 
> answered recently please
> point me to the right message numbers so I can retrieve them. Thanks
> 
> My dilemma:
> 
> I have 5 domains on one system.
> An example of my locals file:
> 
> abc.com
> def.com
> ghi.com
> jkl.com
> mno.com
> 
> My RCPTHOSTS file has these same domains in it.
> 
> abc.com
> def.com
> ghi.com
> jkl.com
> mno.com
> 
> We are using the Linux usernames for our accounts. Everything works fine. We
> are not using the Qmail user/assign file (yet).
> 
> As long as we have unique usernames, there isn't a problem. However we wish
> to setup an "info" account for the different domains. e.g. [EMAIL PROTECTED],
> [EMAIL PROTECTED] etc. We want these info accounts to go to different mailboxes.
> We are using the Maildir format, since this was a fresh install of our mail
> system.  I have tried a few combinations of using the VIRTUALDOMAINS file
> combined with the user/assign file to get the different "info" accounts to go
> to their respective user mailboxes. I have setup unique user accounts within
> the /home directory that we are using for the user Maildir locations, i.e.
> /home/abc.info /home/def.info.
> 
> How  can I get the same email name working on different local domains?

You don't. You make them virtual domains.

If you want some domains to be "mostly" local, i.e. you have only a few
addresses between which you want to distinguish and you want the rest to be
delivered to local accounts, you could have the following:

locals:
abc.com

virtualdomains:
def.com:alias-def

~alias/.qmail-def-info:
&[EMAIL PROTECTED]

~alias/.qmail-def-support:
&[EMAIL PROTECTED]

~alias/.qmail-def-default:
| forward "$DEFAULT"@abc.com

This will deliver mail to [EMAIL PROTECTED] and [EMAIL PROTECTED] to addresses of your
choice, and anything else @def.com to a local account.

Chris



stunnel + qmail + vpopmail

1999-11-30 Thread Bill Parker

Hello All,

I was wondering if there is any need for something like stunnel when
used in conjunction with qmail + vpopmail for secure transmission of
usernames and passwords for pop3d based stuff...or does it encrypt on it's
own (not that I see from initial install)

-Bill



Re: relay logging

1999-11-30 Thread Chris Johnson

On Mon, Nov 29, 1999 at 05:34:58PM -0800, Noah Sutherland wrote:
> OK, I am using tcpserver to do selective relaying. Is logging done of the
> connections that are rejected? If so, how do I find them. Is there something
> I can grep my log file for? For reference, here's my startup line:

If you have a standard selective relaying setup, you're not actually rejecting
any connections. tcpserver will accept any connection at all, and either set or
not set RELAYCLIENT, as appropriate.

I suspect what you mean is that you want to log attempts to use your SMTP
server as a relay. That would not be logged by tcpserver, and qmail-smtpd
(which is doing the actual rejecting, of the recipients, not the connection)
doesn't emit any logging information.

To get what you're looking for, you'll need a patch. Here's one (you'll
probably find others at www.qmail.org):
http://www.palomine.net/qmail/logrelay.patch

Chris



Valid To: line?

1999-11-30 Thread Greg Patten

Hi all,

Love the show .. Long time lurker, first time poster ..

I'm using qmail-1.03 but injecting via Obtuse smtpd and just
noticed a qmail-inject barfing on a file. I checked it out and it
(well token822_parse) can't parse the following line

To: R:IOT <[EMAIL PROTECTED]>

While it's obvious why I'm interested as to whether the above
constitutes a valid To: line or not.

Cheers,
Greg



Re: Palm Pilot Mail

1999-11-30 Thread Charles Cazabon

Doug Lumpkin <[EMAIL PROTECTED]> wrote:
> When downloading new mail to a palm pilot only the first 8000 characters are
> retrieved...  Is there a way (I'm sure there is) to use a .qmail file to
> split the message into multiple parts (as well as leaving the original
> message intact).
> 
> For instance freshmeat's update is always large, can a .qmail file split it
> into:
> 1. Freshmeat Part 1 of 3
> 2. Freshmeat Part 2 of 3
> 3. Freshmeat Part 3 of 3
> 4. Freshmeat -- Full Message

Just an idea, but how about using the .qmail-whatever file to pipe it to a
shell script.  The script could:
1.  Save the message to a file.
2.  Extract the header (using 822header or like).
3.  Extract the body and generate appropriate-sized chunks (with 'split'
or like).
4.  Reinject the smaller pieces, each with a (modified) copy of the header
saved in (1) above.  You could also save the pieces directly with
'safecat' or procmail or whatever.

Charles
-- 

Charles Cazabon   <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.




Configuration problem, same name, multiple domains

1999-11-30 Thread Adam Roberts

Hello,

This is my first posting to the list. If this problem has been 
answered recently please
point me to the right message numbers so I can retrieve them. Thanks

My dilemma:

I have 5 domains on one system.
An example of my locals file:

abc.com
def.com
ghi.com
jkl.com
mno.com

My RCPTHOSTS file has these same domains in it.

abc.com
def.com
ghi.com
jkl.com
mno.com

We are using the Linux usernames for our accounts. Everything works 
fine. We are not using the
Qmail user/assign file (yet).

As long as we have unique usernames, there isn't a problem. However 
we wish to setup
an "info" account for the different domains. e.g. [EMAIL PROTECTED], 
[EMAIL PROTECTED] etc. We want these
info accounts to go to different mailboxes. We are using the Maildir 
format, since this was a
fresh install of our mail system.  I have tried a few combinations of 
using the VIRTUALDOMAINS
file combined with the user/assign file to get the different "info" 
accounts to go to their
respective user mailboxes. I have setup unique user accounts within 
the /home directory that
we are using for the user Maildir locations, i.e. /home/abc.info 
/home/def.info.

How  can I get the same email name working on different local domains?

I really appreciate any assistance you can provide to get me out of 
this dead end.

Adam Roberts



Palm Pilot Mail

1999-11-30 Thread Doug Lumpkin

When downloading new mail to a palm pilot only the first 8000 characters are
retrieved...  Is there a way (I'm sure there is) to use a .qmail file to
split the message into multiple parts (as well as leaving the original
message intact).

For instance freshmeat's update is always large, can a .qmail file split it
into:
1. Freshmeat Part 1 of 3
2. Freshmeat Part 2 of 3
3. Freshmeat Part 3 of 3
4. Freshmeat -- Full Message

Thanks for any insight,
--
Doug Lumpkin
[EMAIL PROTECTED]




issues w/ rem2local

1999-11-30 Thread A Hoffman


 I installed qmail, and am running into problems getting email from
outside. Locally mail delivers okay, and aliases work locally. However I
get errors about name lookup trying to send, even though I have found no
issues with the dns. 
 The remote machine I'm sending from is able to do an nslookup on each of
the desitations. It also knows wha tthe MX record is supposed to be, so I
am certain the mail is /hitting/ the destination, which tells me qmail is
bouncing it. Though I can't find a log message to that effect.

 The actual error is:

   - The following addresses had transient non-fatal errors -
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>  

   - Transcript of session follows -
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
... Deferred: Name
server:
mail.domain.org.: host name lookup failure
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

 It says non fatal, but I never see the message.

#more /var/qmail/control/me 
marathon.domain.org

# more rcpthosts 
marathon.domain.org
mail.domain.org
marathon.otherdomain.net
ns.domain.org

# more plusdomain 
@domain.org
@otherdomain.net

 For the purposes of DNS, pavia.otherdomain.net is authoritative for
domain.org. Additionally, marathon.domain.org = mail.otherdomain.org =
domain.org = ns.domain.org.

; <<>> DiG 8.1 <<>> @pavia.otherdomain.net domain.org MX 
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUERY SECTION:
;;  domain.org, type = MX, class = IN

;; ANSWER SECTION:
domain.org.   30M IN MX   10 mail.domain.org.

;; ADDITIONAL SECTION:
mail.domain.org.  30M IN A63.196.9.126

;; Total query time: 23 msec
;; FROM: puffer.quadrunner.com to SERVER: pavia.otherdomainB.net
63.196.9.123
;; WHEN: Mon Nov 29 06:39:34 1999
;; MSG SIZE  sent: 30  rcvd: 67

 I would appreciate any insight people might have.


   =-=-=-=-:

   Aodhan of Mountainview
   Internet Guy

  "Every beginning comes from some other beginning's end."
- Semisonic, "Closing Time"

   =-=-=-=-:










Re: relay logging

1999-11-30 Thread Noah Sutherland

OK, but what would I search for in the log to see the addresses that were
rejected?

On Tue, 30 Nov 1999, DOODS wrote:

> All connections are logged by tcpserver. Before, mine was in /var/adm or
> /var/log. If you want to have the logs for tcpserver on a separate file,
> install daemontools. (Forgot the URL for this but you can find it in qmail's
> homepage.)
> Then replace "/var/qmail/bin/splogger smtpd" in your startup script with
> /path/to/multilog t /var/log/smtpd. BTW, you must first create the
> /var/log/smtpd dir. Restart your tcpserver and then check if the logs go to
> /var/log/smtpd.
> 
> Hope this helps.
> 
> 
> Noah Sutherland wrote:
> 
> > OK, I am using tcpserver to do selective relaying. Is logging done of the
> > connections that are rejected? If so, how do I find them. Is there
> > something I can grep my log file for? For reference, here's my startup
> > line:
> >
> > /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -c 80 -u 80 -g 80 0 smtp
> > /var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
> >
> > Also, is there any documentation on splogger? I haven't been able to find
> > any.
> >
> > Sincerely,
> > Noah Sutherland   System Administrator - Internet On-Ramp
> > [EMAIL PROTECTED]
> >
> > To get my PGP public key, please email to [EMAIL PROTECTED]
> > or you can get it at BAL's public key server at http://pgp.ai.mit.edu/
> 
> --
> 
> Regards,
> 
> Edward Castillo-Jakosalem
> 
> 

Sincerely,
Noah Sutherland   System Administrator - Internet On-Ramp
[EMAIL PROTECTED]

To get my PGP public key, please email to [EMAIL PROTECTED]
or you can get it at BAL's public key server at http://pgp.ai.mit.edu/



Re: Country code for this list

1999-11-30 Thread craig

>I was always wondering where this list is being hosted. "to" is Tongo.
>My geography knowledge is kind of getting rusty. Where is Tongo?
>Is it one of the new countries on the map?

The physical location of Tongo is a widely-held secret.  It hosts a
286 running Xenix and a specially ported version of BIND that serves
top-level domain names ending in ".to".

Almost all of the actual computers that "own" those domain names reside
in places other than Tongo.

Welcome to cyberspace.  ;-)

And, yes, my first paragraph is basically just a joke.  Look at
www.tonic.to for some idea of what's going on.  But it's likely true
that at least 90% of the computers serving .to addresses are not
in Tongo.

NOTE: Some people think the name of the country actually is "Tonga".
It doesn't matter.  Only ".to" matters, just as there's no such country
as America or even the USA, just ".com", ".edu", ".gov", etc.  Similarly,
the squirrels in my neighborhood now have their own domain -- ".nut".

tq vm, (burley)



RE: rejecting mail for 1 user

1999-11-30 Thread Soffen, Matthew

Right.. but the onus of this is put on the people with the open relays...

Matt Soffen 
Applications Developer
http://www.iso-ne.com/
==
Boss- "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss- "Well, if the company nurse comes by, tell her I said 
 never mind."
   - Dilbert -
==

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 12:32 PM
> To:   [EMAIL PROTECTED]
> Subject:  Re: rejecting mail for 1 user
> 
> On Tue, Nov 30, 1999 at 12:36:48PM -0500, Soffen, Matthew wrote:
> > http://www.qmail.org/man/man1/bouncesaying.html
> > 
> > in .qmail:  |bouncesaying error [ program [ arg ... ] ]
> > 
> > Make the /var/alias/.qmail-annie:loul file contain:
> >  |bouncesaying 'This address no longer accepts mail.'
> > /dev/null
> > 
> > This will give a bounce message and put the message into the trash bin.
> 
> The /dev/null can be replaced by a '#', or even better, removed
> altogether.
> 
> But this solution won't work since the spammers use fake return addresses
> most
> of the time.
> 
> Greetz, Peter.
> -- 
> Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
> |  
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> | Bjarne Stroustrup, Inventor of C++



Country code for this list

1999-11-30 Thread Subba Rao


I was always wondering where this list is being hosted. "to" is Tongo.
My geography knowledge is kind of getting rusty. Where is Tongo?
Is it one of the new countries on the map?

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/



Re: rejecting mail for 1 user

1999-11-30 Thread petervd

On Tue, Nov 30, 1999 at 12:36:48PM -0500, Soffen, Matthew wrote:
> http://www.qmail.org/man/man1/bouncesaying.html
> 
> in .qmail:  |bouncesaying error [ program [ arg ... ] ]
> 
> Make the /var/alias/.qmail-annie:loul file contain:
>  |bouncesaying 'This address no longer accepts mail.'
>   /dev/null
> 
> This will give a bounce message and put the message into the trash bin.

The /dev/null can be replaced by a '#', or even better, removed altogether.

But this solution won't work since the spammers use fake return addresses most
of the time.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: rejecting mail for 1 user

1999-11-30 Thread petervd

On Tue, Nov 30, 1999 at 12:27:24PM -0500, Tim Hunter wrote:
> I like the idea but I would rather the mail return sometype of a hard error
> so the sender would have to deal with it.
> Kind of a punishment to them! (although small and insignificant)

bouncesaying could do that, given that the return address is correct.

Otherwise, I think there's a patch for badmailto, rejecting envelope recipients
at the SMTP level, similar to badmailfrom for envelope senders.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



Re: rejecting mail for 1 user

1999-11-30 Thread petervd

On Tue, Nov 30, 1999 at 06:26:43PM +0100, Thomas Neumann wrote:
> "Tim Hunter" <[EMAIL PROTECTED]> writes:
> 
> > This is something that has been bugging me for quite awhile but never had
> > the time to deal with it.
> > Apparently some time ago before I became the email admin for our domain the
> > address [EMAIL PROTECTED] became a target for many a spammer.  Now this
> > account does not exist and is very doubtful that it ever existed.
> 
> echo /dev/null > ~alias/.qmail-annie:loul
> 
> If cimx.com is a virtual domain you'd have to replace ~alias
> with the controlling directory for that domain, of course.

This is quite inefficient. You _are_ having the message delivered right now.
It's just that the place where you deliver it is kinda hungry.

echo '#' > ~alias/.qmail-annie:loul

That's just as effective but takes up far less (read hardly any) resources.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++



RE: rejecting mail for 1 user

1999-11-30 Thread Soffen, Matthew

http://www.qmail.org/man/man1/bouncesaying.html

in .qmail:  |bouncesaying error [ program [ arg ... ] ]

Make the /var/alias/.qmail-annie:loul file contain:
 |bouncesaying 'This address no longer accepts mail.'
/dev/null

This will give a bounce message and put the message into the trash bin.

Matt Soffen 
Applications Developer
http://www.iso-ne.com/
==
Boss- "My boss says we need some eunuch programmers."
Dilbert - "I think he means UNIX and I already know UNIX."
Boss- "Well, if the company nurse comes by, tell her I said 
 never mind."
   - Dilbert -
==




> -Original Message-
> From: Tim Hunter [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 12:18 PM
> To:   [EMAIL PROTECTED]
> Subject:  rejecting mail for 1 user
> 
> This is something that has been bugging me for quite awhile but never had
> the time to deal with it.
> Apparently some time ago before I became the email admin for our domain
> the
> address [EMAIL PROTECTED] became a target for many a spammer.  Now this
> account does not exist and is very doubtful that it ever existed.
> What I would like to do is make something to reject any mail for this
> "user".  This is a corporate email server and I don't have the time nor
> the
> patience to deal with bounces for unknown or full spammer return
> addresses.
> 
> I am sure this has come up before but didn't see a solution on the website
> anywhere.
> Thanks for any ideas
> 
> Tim Hunter
> [EMAIL PROTECTED]
> CIMx Company
> p 513 248-7700
> f 513-248-7711
> http://www.cimx.com



RE: rejecting mail for 1 user

1999-11-30 Thread Tim Hunter

I like the idea but I would rather the mail return sometype of a hard error
so the sender would have to deal with it.
Kind of a punishment to them! (although small and insignificant)

Tim

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas
> Neumann
> Sent: Tuesday, November 30, 1999 12:27 PM
> To: Tim Hunter
> Cc: [EMAIL PROTECTED]
> Subject: Re: rejecting mail for 1 user
>
>
> "Tim Hunter" <[EMAIL PROTECTED]> writes:
>
> > This is something that has been bugging me for quite awhile but
> never had
> > the time to deal with it.
> > Apparently some time ago before I became the email admin for
> our domain the
> > address [EMAIL PROTECTED] became a target for many a spammer.
>  Now this
> > account does not exist and is very doubtful that it ever existed.
>
> echo /dev/null > ~alias/.qmail-annie:loul
>
> If cimx.com is a virtual domain you'd have to replace ~alias
> with the controlling directory for that domain, of course.
>
> -t
>
>
>



Re: rejecting mail for 1 user

1999-11-30 Thread Thomas Neumann

"Tim Hunter" <[EMAIL PROTECTED]> writes:

> This is something that has been bugging me for quite awhile but never had
> the time to deal with it.
> Apparently some time ago before I became the email admin for our domain the
> address [EMAIL PROTECTED] became a target for many a spammer.  Now this
> account does not exist and is very doubtful that it ever existed.

echo /dev/null > ~alias/.qmail-annie:loul

If cimx.com is a virtual domain you'd have to replace ~alias
with the controlling directory for that domain, of course.

-t




rejecting mail for 1 user

1999-11-30 Thread Tim Hunter

This is something that has been bugging me for quite awhile but never had
the time to deal with it.
Apparently some time ago before I became the email admin for our domain the
address [EMAIL PROTECTED] became a target for many a spammer.  Now this
account does not exist and is very doubtful that it ever existed.
What I would like to do is make something to reject any mail for this
"user".  This is a corporate email server and I don't have the time nor the
patience to deal with bounces for unknown or full spammer return addresses.

I am sure this has come up before but didn't see a solution on the website
anywhere.
Thanks for any ideas

Tim Hunter
[EMAIL PROTECTED]
CIMx Company
p 513 248-7700
f 513-248-7711
http://www.cimx.com



Something's wrong with ip-up.local! (Re)

1999-11-30 Thread romulus

Hi, John!

I'm afraid I can't say today if qmail-smtpd was running yesterday or
not.  Perhaps there is a log file somewhere that could tell me; I
don't know about that either.

Today, mailing was going well after I renamed my ip-up.local file that
is designed to do the mailing jobs for me being online, and did all
the business by hand, su'ing romulus as root: All the mail was finally
``delivered-to'' [EMAIL PROTECTED]

So, do you or does anyone who reads this know if qmail reports on the
jobs it's doing?  And if there's such a report: Where is it stored? In
the TEST.deliver file of the qmail distribution Dan is talking about
syslog.  On my system (Red Hat Linux 6.0) syslog seems to be a C
library function, but not a file to question for the purpose of
hunting down problems.

On Mon, Nov 29, 1999 at 09:54:49AM -0800, John White wrote:
> Is qmail-smtpd running?
> 
> John 

-- 
 Matthias Lampert, Hamburg




Re: Error messages

1999-11-30 Thread Russell Nelson

Jan Stanik writes:
 > Hi,
 > 
 >  What does mean this error message:
 > 
 > 943972904.643716 delivery 1174: deferral: 
 > Connected_to_194.1.130.66_but_connecti
 > on_died._Possible_duplicate!_(#4.4.2)/

It means that it connected to 194.1.130.66, but the connection died
before the email was completely transferred.  It's possible that the
mail will be duplicated, because as far as qmail's SMTP client is
concerned, it threw the entire message down the socket, including the
SMTP termination sequence, but didn't get any response.

 > Is anywhere complete list of error messages?

What problem would that solve (I'm not being obstreperous.  I just
want to hear you express the problem in words before you start a
premature search for the solution).

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



Error messages

1999-11-30 Thread Jan Stanik

Hi,

What does mean this error message:

943972904.643716 delivery 1174: deferral: 
Connected_to_194.1.130.66_but_connecti
on_died._Possible_duplicate!_(#4.4.2)/

Is anywhere complete list of error messages?

--
  Jan Stanik
[EMAIL PROTECTED]
Telenor Internet,s.r.o



Re: [Q] How to Configure Qmail to be a Selective NON-Relay

1999-11-30 Thread Dave Sill

¹è¼º½Ä <[EMAIL PROTECTED]> wrote:

>I use qmail-1.03 + mysql at RedHat 6.0 for free mail service.
>
>I set control/rcpthosts as empty so my mailserver is open relay.
>
>
>I want selectively not relay for special sender domain to prevent spam mail.
>
>How can I configure qmail to be a selective non-relay?

Exclude spammers via tcpcontrol and rblsmtp.

>I already set control/badmailfrom as following :
>
>@sbsmail.co.kr
>
>but It seems not work.

That will only block messages that have an envelpe return path
containing @sbsmail.co.kr, which won't necessarily be the case for all 
messages from that system.

-Dave



RE: [Q] How to Configure Qmail to be a Selective NON-Relay

1999-11-30 Thread Steve Kapinos

Why don't you change your 'fullname' to not have those crappy hi-bit ansi
characters?

And what does 'not relay for special sender domain' mean?  You want to be an
open relay, but not relay if from one domain?  They'd just change their
domain name...

If you want selective relaying, read FAQ 5.4 or install other relaying
methods like smtp-after-pop which has links on the homepage.

-Steve

-Original Message-
From: ¹è¼º½Ä [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 29, 1999 8:10 PM
To: [EMAIL PROTECTED]
Subject: [Q] How to Configure Qmail to be a Selective NON-Relay


Hi~

I use qmail-1.03 + mysql at RedHat 6.0 for free mail service.

I set control/rcpthosts as empty so my mailserver is open relay.


I want selectively not relay for special sender domain to prevent spam mail.

How can I configure qmail to be a selective non-relay?

I already set control/badmailfrom as following :

@sbsmail.co.kr

but It seems not work.

thank you.






Re: delivery priority

1999-11-30 Thread Dave Sill

Subba Rao <[EMAIL PROTECTED]> wrote:

>How can I set delivery priority to high or normal?

What do you mean? SMTP doesn't really have different delivery
priorities, and qmail is strictly first-come-first-served. If you just 
want to add a "Precedence: bulk" field to the header, that's an MUA
job.

-Dave



Re: Problem installing - Sorry, _no_mailbox_here_by_that_name.

1999-11-30 Thread Dave Sill

Jennifer Tippens <[EMAIL PROTECTED]> wrote:

>So I try to send an empty message to the user jennifer:
>echo to: jennifer | /var/qmail/bin/qmail-inject
>
>There is no mail in /home/jennifer/Maildir/new
>and
>tail /var/log/qmail/current
>gives:
>
>longnumberhere info msg 442894: bytes 1913 from <#@[]> qp 5516 uid 501
>longnumberhere
>longnumberhere
>longnumberhere
>longnumberhere
>longnumberhere

Are you really getting blank log entries (except for the timestamp)?

Have you created a ~alias/Maildir for bounces, and, if so, is your
message landing there?

What does /var/qmail/users/assign have for "jennifer"?

Have you tried removing users/cdb?

-Dave



Re: maildrop woes :- [ ]

1999-11-30 Thread schinder

On Tue, Nov 30, 1999 at 03:49:24AM -0800, Denis Voitenko wrote:
} I am struggling with maildrop here. It doesn't seem to like me much :-)
} 
} Since I did not find _any_ decent manual for it, read through all the darn
} useless README files, etc. I see no solution but to play with it till it
} works or doesn't. Anyways I am trying to get it invoked from .qmail of a
} user called postman of group users.
} 
} .qmail
} | preline maildrop
} 
} does nothing good, neither does
} 
} | maildrop

Have you tried giving it the *full path* to maildrop?  Are you sure
that maildrop is installed properly?

} 
} and may other combinations I have tried. I've attempted to force it to read
} the .mailfilter file... no results.
} 
} Can someone tell me how to use this beast? Someone suggested tweaking
} /var/qmail/rc but what exactly?
} 
} Just a fine example of an undocumented product. Or human ignorance [which is
} also considered a bliss].

I'm using maildrop with qmail with no difficulties.  The only problem
I had with maildrop was a single "configure guesses wrong" problem
on my ppc-linux box.

} 
} Denis
} 
} 
} 

-- 

Paul J. Schinder
NASA Goddard Space Flight Center
[EMAIL PROTECTED]



qmail Digest 30 Nov 1999 11:00:01 -0000 Issue 835

1999-11-30 Thread qmail-digest-help


qmail Digest 30 Nov 1999 11:00:01 - Issue 835

Topics (messages 33685 through 33715):

Re: urgent help?
33685 by: waskita adijarto
33703 by: Brad Shelton

Re: relay
33686 by: thomas.erskine-dated-62b97174ec7b6ff0.crc.ca
33689 by: Fred Lindberg

Re: help!!! failure notice (fwd)
33687 by: Peter Haworth

__canary_death_handler
33688 by: A. van Drie
33692 by: A. van Drie

Weird thing with ETRN patch
33690 by: Paulo Jan
33691 by: Timothy L. Mayo
33714 by: Anand Buddhdev

vpopmail 3.4.10 stable released
33693 by: Ken Jones

Re: qmail + sslwrap
33694 by: Chris Johnson
33696 by: Van Liedekerke Franky

Re: Qmail Send sleep time..
33695 by: Dave Sill

Something's wrong with SMTP
33697 by: romulus.arcormail.de

Re: virtualdomains setup trouble
33698 by: Philip Gabbert

Can't receive external mail
33699 by: Bruce Fletcher

qdologs-1.1 available
33700 by: Peter Green

Problem installing - Sorry, _no_mailbox_here_by_that_name.
33701 by: Jennifer Tippens

control/locals
33702 by: Brian Moon
33704 by: Keith Warno
33705 by: Dustin Marquess

vacation program's envelope sender
33706 by: Chris Garrigues
33713 by: Giles Lean

Error message in .qmail
33707 by: Jan Stanik
33708 by: martin.wonderfrog.net

delivery priority
33709 by: Subba Rao

[Q] How to Configure Qmail to be a Selective NON-Relay
33710 by: ¹è¼º½Ä

relay logging
33711 by: Noah Sutherland
33712 by: DOODS

maildrop woes :- [  ]
33715 by: Denis Voitenko

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]


--



On Mon, 29 Nov 1999, Arisandy Arief wrote:

> Date: Mon, 29 Nov 1999 16:15:16 +0700
> From: Arisandy Arief <[EMAIL PROTECTED]>
> To: Qmail List <[EMAIL PROTECTED]>
> Subject: urgent help? 
> 
> hi...
> my Qmail server already run until 157 days but now...when I try send to some
> mailbox the message didn't arrive until now?? why??
> qmail-qstat :
> 
> messages in queue: 17106
> messages in queue but not yet preprocessed: 37

wow, there are so many messages in queue.

probably:
#1. you've just injected thousands of messages, OR 
#2. the server cannot deliver the messages to the destinations.

you may want to look at your qmail log to see what happen with the
messages. are many of them rejected ? time outs ? if #2 is your problem,
what are the destinations ? what are the sources ?

what is your control/concurrencuremote ? control/concurrencylocal ?

> and now my /var/qmail/queue use 50% of partition?? before that just 3-10%
> what should I do??

some that my work:
- increase control/concurrencyremote (max number depends especially on 
  amount of RAM)
- check your internet link
- decrease control/queuelifetime

-waskita-





On Mon, Nov 29, 1999 at 08:23:51PM +0700, waskita adijarto wrote:
> On Mon, 29 Nov 1999, Arisandy Arief wrote:
> 
> > Date: Mon, 29 Nov 1999 16:15:16 +0700
> > From: Arisandy Arief <[EMAIL PROTECTED]>
> > To: Qmail List <[EMAIL PROTECTED]>
> > Subject: urgent help? 
> > 
> > hi...
> > my Qmail server already run until 157 days but now...when I try send to some
> > mailbox the message didn't arrive until now?? why??
> > qmail-qstat :
> > 
> > messages in queue: 17106
> > messages in queue but not yet preprocessed: 37

What does '/var/qmail/queue/lock/trigger' look like?

Should look like this:

prw--w--w-   1 qmails   qmail   0 Nov 29 17:29 trigger

Boy this is an often occurring problem

> wow, there are so many messages in queue.
> 
> probably:
> #1. you've just injected thousands of messages, OR 
> #2. the server cannot deliver the messages to the destinations.
> 
> you may want to look at your qmail log to see what happen with the
> messages. are many of them rejected ? time outs ? if #2 is your problem,
> what are the destinations ? what are the sources ?
> 
> what is your control/concurrencuremote ? control/concurrencylocal ?
> 
> > and now my /var/qmail/queue use 50% of partition?? before that just 3-10%
> > what should I do??
> 
> some that my work:
> - increase control/concurrencyremote (max number depends especially on 
>   amount of RAM)
> - check your internet link
> - decrease control/queuelifetime
> 
> -waskita-
> 

-- 
Brad Shelton  On Line Exchange  http://online-isp.com




On Sun, 28 Nov 1999, Hans Sansdalen wrote:

[snip]
> >qmail does not support the percenthack per default.
> >You have to manually add support for it by creating
> >/var/qmail/control/percenthack. So no worries. 
> 
> I created the file. Is that all? I could not find it documented
> anywhere? Is an 

maildrop woes :- [ ]

1999-11-30 Thread Denis Voitenko

I am struggling with maildrop here. It doesn't seem to like me much :-)

Since I did not find _any_ decent manual for it, read through all the darn
useless README files, etc. I see no solution but to play with it till it
works or doesn't. Anyways I am trying to get it invoked from .qmail of a
user called postman of group users.

.qmail
| preline maildrop

does nothing good, neither does

| maildrop

and may other combinations I have tried. I've attempted to force it to read
the .mailfilter file... no results.

Can someone tell me how to use this beast? Someone suggested tweaking
/var/qmail/rc but what exactly?

Just a fine example of an undocumented product. Or human ignorance [which is
also considered a bliss].

Denis





Re: Weird thing with ETRN patch

1999-11-30 Thread Anand Buddhdev

On Mon, Nov 29, 1999 at 03:24:16PM +0100, Paulo Jan wrote:

You seem to have a typo: I've pointed it out in the diff listing below:

74,77d73
< void smtp_etrn()
< {
<   out("250 ok\r\n");
< }
236,237c232
<   smtp_greet("250-"); 
<   out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n");

The above line is wrong. There should be a dash '-' between
250 and 8BITMIME. With a multiline response, all but the
last numeric code must be followed by a dash, to indicate
continuation of the response. I don't know whether it was my
mistake when posting the patch, but if it was, I apologise.
Change that, and you'll be fine.

---
>   smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n");
413d407
< , { "etrn", smtp_etrn, flush }