xinetd

2000-08-14 Thread Fulep David

Hi, I'd like to use qmail with my xinetd but it doesn not work somehow.
If I change to inetd, it works:

/etc/inetd.conf (working):
smtp stream  tcp nowait  qmaild  /var/qmail/bin/tcp-env
tcp-env /var/qmail/bin/qmail-smtpd

/etc/xinetd.conf (NOT working):
service smtp
{
socket_type = stream
protocol= tcp
wait= no
user= qmaild
server  = /var/qmail/bin/tcp-env
server_args = tcp-env /var/qmail/bin/qmail-smtpd
}

Can anyone help me, what should I do?
David




xinetd SOLVED

2000-08-14 Thread Fulep David

Hi, I'd like to use qmail with my xinetd but it doesn not work somehow.
MY PROBLEM HAS BEEN SOLVED.
Thank you and I apologise for disturbing you
David




virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Joel Gautschi

hi,

1. every user in /var/lib/vpopmail/users works fine
2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(

if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
error in the mail.log

--- from /var/log/mail.log ---
Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
from [EMAIL PROTECTED] qp 31023 uid 64011
Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
1507345 to local [EMAIL PROTECTED]
Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
---

the virtual domain directory looks like that:

joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
total 12
drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
-rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
-rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
-rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
-rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
-rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb


I created the virtualdomain with vadddomain and the virtualdomain users with
vadduser
any idea what's wrong? do you need more information (log files or
whatever...)?

btw: does the virtualdomain need an MX entry on the DNS server?
cya
Joel







mail queue

2000-08-14 Thread meric

Hi guys ,
I have some sort of weird problem, I have a client who dials in and gets
his mail fromn the mailq, i.e he has a fixed IP address and he uses Mdaemon
mail server with the ETRN script, It used to work before and now he is not
able to get his mails from the mail queue , what do U think could be the
problem,
Thanx in advance



How to hold queue until later?

2000-08-14 Thread Brett Randall

Hi there

We are planning on installing a number of RAS boxes around Sydney that dial
in from our subsidiaries at preset times and transfer mail that has been
held in each location (ie sent from the client but held at the server), and
download mail that's waiting to be transferred to that location.

This reminds me of UUCP which I have never really dealt with, but does
anyone here know how I can implement this I guess 'cron job' to update
queues, without actually relying on qmail's automatical deferal? (Since
deferal times get longer and longer the more times it fails and we don't
want this...). One idea would be to have a single catchall POP account on
each side but I'm not sure how I'd even implement this...But any ideas are
welcome!

Thanks

Brett Randall

Manager
InterPlanetary Solutions
http://ipsware.com/





RE: mail queue

2000-08-14 Thread Slider

If it used to work before... What has changed before it started??

Slider




Hi guys ,
I have some sort of weird problem, I have a client who dials in and gets
his mail fromn the mailq, i.e he has a fixed IP address and he uses Mdaemon
mail server with the ETRN script, It used to work before and now he is not
able to get his mails from the mail queue , what do U think could be the
problem,
Thanx in advance





qmail Digest 14 Aug 2000 10:00:01 -0000 Issue 1092

2000-08-14 Thread qmail-digest-help


qmail Digest 14 Aug 2000 10:00:01 - Issue 1092

Topics (messages 46631 through 46641):

Copies of bounce-messages to a user
46631 by: Alexander Bruns
46633 by: Gavin Cameron
46634 by: Erwin Hoffmann

sub
46632 by: vincent chu

etmlm-web v2.0
46635 by: Alexander Bruns

xinetd
46636 by: Fulep David

xinetd SOLVED
46637 by: Fulep David

virtual domain (vpopmail): no mailbox here by that name (#5.1.1)
46638 by: Joel Gautschi

mail queue
46639 by: meric.starcom.co.ug
46641 by: Slider

How to hold queue until later?
46640 by: Brett Randall

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]


--



Hi,

its my first mail to this list. I tried to get helb from a search in the
mailinlist-archive, but i did not found the answer.

I have installed a qmail-System on a RedHat 6.2 Linux-Machine. It is
configured for one Domain to be local and some other domains do be
vurtualdomains.

When someone sends a mail to [EMAIL PROTECTED], an there is no mailbox for
this user or no .qmail for the alias-user, then he gets a bounce from
mailer-daemon with the content "no local mailbox here"

how can i set it up do send a copy of this message to an other user
(postmaster, root ore something) so that i, as the postmaster, be informed
about the failure of no mailbox and perhapt for other bounce-messages.

Greeting from Alex from Germany





man dot-qmail is your friend... look for .qmail-default

Gavin

[]---+[]
| Gavin Cameron  |  ITworks Consulting |
| Ph: +61 3 9642 5477|   Level 8, 488 Bourke Street|
| Fax   : +61 3 9642 5499| Melbourne,  Victoria|
| Email : [EMAIL PROTECTED]   |   Australia,  3000  |
[]---+[]

On Sun, 13 Aug 2000, Alexander Bruns wrote:

 Hi,
 
 its my first mail to this list. I tried to get helb from a search in the
 mailinlist-archive, but i did not found the answer.
 
 I have installed a qmail-System on a RedHat 6.2 Linux-Machine. It is
 configured for one Domain to be local and some other domains do be
 vurtualdomains.
 
 When someone sends a mail to [EMAIL PROTECTED], an there is no mailbox for
 this user or no .qmail for the alias-user, then he gets a bounce from
 mailer-daemon with the content "no local mailbox here"
 
 how can i set it up do send a copy of this message to an other user
 (postmaster, root ore something) so that i, as the postmaster, be informed
 about the failure of no mailbox and perhapt for other bounce-messages.
 
 Greeting from Alex from Germany
 
 





Hi Alex,

At 14:18 13.8.2000 +0200, Alexander Bruns wrote:
Hi,

its my first mail to this list. I tried to get helb from a search in the
mailinlist-archive, but i did not found the answer.

I have installed a qmail-System on a RedHat 6.2 Linux-Machine. It is
configured for one Domain to be local and some other domains do be
vurtualdomains.

When someone sends a mail to [EMAIL PROTECTED], an there is no mailbox for
this user or no .qmail for the alias-user, then he gets a bounce from
mailer-daemon with the content "no local mailbox here"

In you case, qmail uses the default bounce Alias user, which is defined in
/var/qmail/control/bouncefrom (man qmail-control).

Check your control files. In case this file is empty, the default is 
/var/qmail/alias/.qmail-mailer-daemon (= /var/qmail/bin/qmail-showctl)

Check this dot-qmail file, and perhaps .qmail-root and .qmail-postmaster.

how can i set it up do send a copy of this message to an other user
(postmaster, root ore something) so that i, as the postmaster, be informed
about the failure of no mailbox and perhapt for other bounce-messages.


Under qmail, root never receives mail. 
You should edit .qmai-mailer-daemon and/or .qmail-postmaster and tailor it
to your needs. 

You may look at the qmail presentation on my qmail Home-Page.

Greeting from Alex from Germany

Greetings from Cologne to Sauerland.

eh.

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

not able to send mails via remote SMTP

2000-08-14 Thread Fat Toolz



Hi,

I have strange problems with my SMTP. Local 
everything is working fine, even pop3  checkpasword are running very good; 
the only thing is I'm missing to send emails with e.g. the Outlook Express 
Client (Receiving via pop3 is o.k.) I just checked qmail-show.ctl and found an 
Option

databytes: (Default.) SMTP DATA limit is 0 
bytes.
and
qmqpservers: (Default.) No QMQP servers. (I 
don't know what that is...)

The error message coming fromMS Outlook 
Express is 

The connection to the server has failed. Account: 
'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): 
No, Socket Error: 10061, Error Number: 0x800CCC0E

The ping is working like every other service. Does 
anybody have a clue or a simple hint for me?
The qmail-control-files should be correct so far, 
too...

Thanks.

Stef


RE: not able to send mails via remote SMTP

2000-08-14 Thread Brett Randall

 The connection to the server has failed. Account: 'qmail-tester', Server:
'193.168.100.59', Protocol: SMTP,
 Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E


Try to telnet to port 25 on that IP address. If you get a SMTP response and
prompt, then the problem is with the config of the smtp daemon. If you don't
get a response (ie it times out or disconnects immediately), then the
problem is either with the process on the machine (qmail-smtpd) or the
TCP/IP permissions (ie tcpserver allow/deny hosts). QMQP is irrelevant
(qmail queue protocol, not used often). The data limit is also irrelevant
(set to 0).

See what happens and let us know again.

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/




Re: not able to send mails via remote SMTP

2000-08-14 Thread Erwin Hoffmann

Hi,


At 13:30 14.8.2000 +0200, Fat Toolz wrote:
   Hi,checkpasword are running very good;  the only thing is I'm
missing to send emails with e.g. the Outlook Express  Client (Receiving via
pop3 is o.k.) I just checked qmail-show.ctl and found an  Option  
databytes: (Default.) SMTP DATA limit is 0  bytes.
 and 
qmqpservers: (Default.) No QMQP servers. (I  don't know what that is...)   

Thats ok.

MS Outlook  Express isThe connection to the server has failed. Account:
 'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25,
Secure(SSL):  No, Socket Error: 10061, Error Number: 0x800CCC0E   

The SMTP Server uses SSL (Secure Socket Layer) and does not allow non-SSL
(TLS) connection. 

Have a look on qmail's home page and eventually include the STARTTLS patch
into qmail. 

The ping
is working like every other service. Does  anybody have a clue or a simple
hint for me? The qmail-control-files should be correct so far,  too...  
Thanks.   Stef
 

cheers.
eh.
+---+
|  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: not able to send mails via remote SMTP

2000-08-14 Thread Brett Randall

  'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25,
 Secure(SSL):  No, Socket Error: 10061, Error Number: 0x800CCC0E

 The SMTP Server uses SSL (Secure Socket Layer) and does not allow non-SSL
 (TLS) connection.

This has caught me a few times...notice the 'Secure(SSL): No'...yeah it
means that SSL is NOT used. Stupid Microsoft thing, but this is displayed no
matter what the error is. Pointless having it there, but hey we're talking
about a transnational corporation here why would they care about a small
thing like this? :

/BR


Manager
InterPlanetary Solutions
http://ipsware.com/




Re: Multiple Mails with qmail-inject

2000-08-14 Thread Martin Sckopke

Dave Sill wrote:
 
 Martin Sckopke [EMAIL PROTECTED] wrote:
 
 we're using a little script to do some header rewriting.
 
 Sorry, that voids your qmail warranty. :-)

Thought so, too :-)

 
 It is called via .qmail-fixup-default.
 The output of the script is the fed into qmail-inject,
 QMAILINJECT=i.
 Almost everything works as expected, there's just one
 problem: if a mail is sent to multiple users, EACH of
 them gets it multiple times. The number of individual
 mails is equal to the number or receivers.
 
 The .qmail-fixup-default script is called n-times and
 calls qmail-inject n-times (n is the number of receivers),
 then qmail-inject sends each message n times.
 
 If you re-inject the messages N times, wouldn't you expect to receive
 N copies? Unless your script re-injects it only for that copy's
 recipient..
 
Since I haven't been able to find the cause for our problem, I wanted
ask
once more on the list:
The script re-injects a message it gets via std-in to qmail-inject

qmail-inject -f $SENDER --  msg

But it looks like the script is called multiple times, but by whom?
Is this done by qmail-smtpd ?
How often does qmail-smtdp queue the message when there are 
multiple recipients either in CC: or TO: ??

 We have this setup running for some years now but
 recently upgraded hardware, kernel and qmail version.
 Qmail was 1.01 and is now 1.03. Hardware is Intel,
 OS is Linux.
 
 What I can't figure out is how you managed to avoid duplicates
 before...
 
I can't either :-(

-- 
GiS - Gesellschaft fuer integrierte Systemplanung mbH
Martin Sckopke   Tel. +49-6201-503-74
Junkersstr. 2Fax  +49-6201-503-66
D-69469 Weinheim  [EMAIL PROTECTED]



SMTP not running

2000-08-14 Thread Fat Toolz



Hi Erwin, Hi Brett,

I just switched the SSL-Option (sorry, I 
forgot...), but the message still appears; now looking like 

The connection to the server has failed. Account: 
'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): 
Yes, Socket Error: 10061, Error Number: 0x800CCC0E

Bret was right with his clues for I can not telnet 
to that port, that means qmail refuses me to use the SMTP, that's right? (the 
local mail-inject-test-procedure is ok, that's why I think so). I just try to 
reconfigure rcpthosts and locals. 

Another reason might be, that I'm first sending 
SMTP (with "my server requires authorization) and check POP3 after that. I just 
dived into the Mailing List and found people having problems if they check the 
POP AFTER the SMTP. What do you think about that?

Stef


RE: Hard linking messages between maildirs

2000-08-14 Thread Slider


Apologese A slight type Error!

Point 4 should read

4)Create the alias file for [EMAIL PROTECTED] to then point to
[EMAIL PROTECTED] and [EMAIL PROTECTED]




There is an easier solution!

If [EMAIL PROTECTED] wants all mail that goes to him to be copied to
another maildir as well as for him to get a copy to go to another maildir.

1)[EMAIL PROTECTED] looks in the joebloggs maildir on the mailserver
whilst checking mail ... correct?
2) Create an additional maildir [EMAIL PROTECTED]
3)Create the maildir eg [EMAIL PROTECTED] ..
4)Create the alias file for [EMAIL PROTECTED] to then point to
[EMAIL PROTECTED] and [EMAIL PROTECTED]
5)Ask Joebloggs to collect mail at the new locations ([EMAIL PROTECTED])

In brief, the target address ([EMAIL PROTECTED]) now is split into 2
different location ([EMAIL PROTECTED]) which is the new location for the
original mail to be sent and ([EMAIL PROTECTED]) the newly created location
where he wants a copy to go to!

Sounds long winded and confusing but much better and there is the option of
growing the list of people who get a copy!

Regards

Slider



On 11 Aug 2000, (Paul Jarc) wrote:

 I'm a maildir user agent.  I've got a message in a maildir, and my
 user wants a copy of it in another maildir as well.  If the maildirs
 are on the same filesystem, can I just make a hard link, or do I have
 to make a copy?  The maildir specification doesn't explicitly address
 this, so a strict reading would say I should make a copy.  If I just
 make links, will that break any existing maildir code?

Well,

   I didn't know if it will answer your question, but I use a script to
post "bulletins" into my users maildirs, and I do that simply creating
hard links from the "main" bulletin directory to the Maildirs of my users,
and it are working well :)

 Antonio.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  "Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!"  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /"\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \











Re: SMTP not running

2000-08-14 Thread Chris Johnson

On Mon, Aug 14, 2000 at 03:05:54PM +0200, Fat Toolz wrote:
 Hi Erwin, Hi Brett,
 
 I just switched the SSL-Option (sorry, I forgot...), but the message still
 appears; now looking like 
 
 The connection to the server has failed. Account: 'qmail-tester', Server:
 '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): Yes, Socket Error:
 10061, Error Number: 0x800CCC0E
 
 Bret was right with his clues for I can not telnet to that port, that means
 qmail refuses me to use the SMTP, that's right? (the local
 mail-inject-test-procedure is ok, that's why I think so). I just try to
 reconfigure rcpthosts and locals. 

Did you do anything to set up qmail-smtpd? It doesn't get set up by itself; you
need to configure either inetd or tcpserver to listen for SMTP connections.

Chris



fetchmail qmail

2000-08-14 Thread Sergei Smirnov

hi!

all mail to my domain my isp send to user "domain". every 600 sec
fetchmail flush  received mail. but in local server the mail stored to
maildir owner "domain". normal, the mail must store to maildir owner
"anyuser"
fetchmail-5.4.5 are running:
fetchmail --qvirtual Delivered-To: --envelope Delivered-To:

--
Return-Path:  [EMAIL PROTECTED]
Delivered-To:  domain@localhost
Received:  (qmail 16927 invoked by uid 7791); 14 Aug 2000 12:55:31 -

Received:  from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 14
Aug 2000 12:55:31 -
Delivered-To:  [EMAIL PROTECTED]
Received:  from mail.mydomain.com[193.7.14.3] by localhost with POP3
(fetchmail-5.4.5) for domain@localhost (single-drop); Mon, 14 Aug 2000
16:55:31 +0400 (MSD)
Received: (qmail 14646 invoked from network); 14 Aug 2000 12:45:49 -

To: [EMAIL PROTECTED]
--

Serg




Re: Hard linking messages between maildirs

2000-08-14 Thread Paul Jarc

"Slider" [EMAIL PROTECTED] writes:
 There is an easier solution!
 
 If [EMAIL PROTECTED] wants all mail that goes to him to be copied to
 another maildir as well as for him to get a copy to go to another maildir.

That doesn't cover my situation at all.  This has nothing to do with
delivery addresses.  I just want my user agent to copy individual
messages, selected by the user, from one maildir to another.


paul



starting smail-send

2000-08-14 Thread Clemens Hermann

Hi,

I installed qmail as described in Dave Sills LWQ from the tarball on a
SuSE Linux 6.4 machine.

After playing around quite a while qmail almost runs but I have one last
problem:

when qmail starts I still get the following message:

Starting qmail: svscan.

2 seconds later there comes the following message up repeatedly:

alert: cannot start: qmail-send is already running
alert: cannot start: qmail-send is already running
alert: cannot start: qmail-send is already running

qmail seems to run, there are 5 qmail processes alive.
What can I do to get rid of this message? Something is strange with this
message because there was definitely no qmail process running before (ps
-A|grep qmail).

Thanks for your help

Clemens



Copying messages (was: Hard linking messages between maildirs)

2000-08-14 Thread Dave Sill

"Slider" [EMAIL PROTECTED] wrote:

another maildir as well as for him to get a copy to go to another maildir.

1)[EMAIL PROTECTED] looks in the joebloggs maildir on the mailserver
whilst checking mail ... correct?
2) Create an additional maildir [EMAIL PROTECTED]
3)Create the maildir eg [EMAIL PROTECTED] ..
4)Create the alias file for [EMAIL PROTECTED] to then point to
[EMAIL PROTECTED] and [[EMAIL PROTECTED]]
5)Ask Joebloggs to collect mail at the new locations ([EMAIL PROTECTED])

There's an easier solution!

In ~joeblogs/.qmail, specify two maildirs, e.g., ./Maildir and
./MailArchive.

-Dave



RE: Virtualdomians

2000-08-14 Thread Adam Goryachev

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  BTW, does anyone know how to make MS outlook to check mail before
  sending is there a FAQ for all the mail clients on how to make them
  check mail before sending?? I'm assuming this is frequantly asked but
  haven't seen anything on it Of course, the reason is allowing valid
  customers to relay and deny all others

 From: Cyril Bitterich
 [mailto:[EMAIL PROTECTED]]
 Use a recent version of outlook. There should be an option in the
 properties of the E-Mail settings under "Server". It's called something
 like "Server needs authentification". Mark that checkbox and maybe
 change the Properties to it.

This (from what the help tells me when I select it and press F1) seems to
imply that it will connect to some sort of SMTP service that will prompt
for a username/passwd. ie, not a vanilla smtp protocol  BTW, is the
"Logon using secure password authentication" APOP or something else??

Regards,
Adam

Adam Goryachev
We Solve IT Pty Ltd
Ph:  +61 2 9345 4395[EMAIL PROTECTED]
Fax: +61 2 9345 4396http://www.wesolveit.com.au

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com

iQA/AwUBOZdvYAGNJgXrV/C3EQIF1wCfVy78UtAED1+hwQOPt8WGj8vWY1kAoP+O
qx3zKl9UsQ/PIDJk7NaG9ZNM
=p/TM
-END PGP SIGNATURE-




Re: starting smail-send

2000-08-14 Thread Chris Johnson

On Tue, Aug 15, 2000 at 03:56:12PM +0200, Clemens Hermann wrote:
 I installed qmail as described in Dave Sills LWQ from the tarball on a
 SuSE Linux 6.4 machine.
 
 After playing around quite a while qmail almost runs but I have one last
 problem:
 
 when qmail starts I still get the following message:
 
 Starting qmail: svscan.
 
 2 seconds later there comes the following message up repeatedly:
 
 alert: cannot start: qmail-send is already running
 alert: cannot start: qmail-send is already running
 alert: cannot start: qmail-send is already running
 
 qmail seems to run, there are 5 qmail processes alive.
 What can I do to get rid of this message? Something is strange with this
 message because there was definitely no qmail process running before (ps
 -A|grep qmail).

What does your startup script look like? My guess is that it has an '' at the
end of it. If it does, take it out.

Chris



Someone have a bad experience with qmail once.

2000-08-14 Thread Sean C Truman



This was taken straight from the www.orbs.org site. http://www.orbs.org/otherresources.html

"Qmail admins: Qmail's current version is insecure by default. Most admins 
know enough to follow the instructions for securing it before putting qmail into 
service, however it usually drops ORBS test messages checking for UUCP pathing 
vulnerabilities - "! pathing" - into the admin mailbox. As ! is a standard 
network addressing indicator, this can only be charitably described as yet 
another Qmail bug. Qmail is extremely network unfriendly and has been known to 
cause effective denial of service attacks on other mailservers in its enthusiasm 
to deliver as many messages as possible in a short period of time. For this 
reason it is best reserved for mailing list server purposes only. "


Sean Truman[EMAIL PROTECTED]http://www.prodigysolutions.com/


Re: Someone have a bad experience with qmail once.

2000-08-14 Thread Charles Cazabon

Sean C Truman [EMAIL PROTECTED] wrote:
 This was taken straight from the www.orbs.org site.
 http://www.orbs.org/otherresources.html

This is at best a gross misstatement of the facts, and at worst is two pounds
of horseshit in a one pound bad.  All of these supposed issues have also
been discussed to death, on this list and elsewhere.  Let it die.

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



local email stuck in que until i restart qmailsend?? help

2000-08-14 Thread J

For some odd reason... one of my qmail machines is
"blind" to mail going to the same domain!  smtpd just
places them in the que and qmailsend doesn't see
them until I kill/restart qmailsend.  After I restart,
it sends them and then becomes stupid again and
doesn't
send any more that are que'd up after the fact.  It
does howeever see mail going to other "domains" and
sends it off right away.

Any ideas?  


__
Do You Yahoo!?
Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/



Re: not able to send mails via remote SMTP

2000-08-14 Thread Erwin Hoffmann

At 13:30 14.8.2000 +0200, Fat Toolz wrote:
   Hi,checkpasword are running very good;  the only thing is I'm
missing to send emails with e.g. the Outlook Express  Client (Receiving via
pop3 is o.k.) I just checked qmail-show.ctl and found an  Option  
databytes: (Default.) SMTP DATA limit is 0  bytes.
 and 
qmqpservers: (Default.) No QMQP servers. (I  don't know what that is...)   
MS Outlook  Express isThe connection to the server has failed. Account:
 'qmail-tester', Server: '193.168.100.59', Protocol: SMTP, Port: 25,
Secure(SSL):  No, Socket Error: 10061, Error Number: 0x800CCC0E   The ping
is working like every other service. Does  anybody have a clue or a simple
hint for me? The qmail-control-files should be correct so far,  too...  
Thanks.   Stef
 

Hi,

sorry my answer was misleading (damned X-HTML).

Your SMTP-Client is Outlook Express (on what OS?)
Your SMTP-Server ist qmail.

Try to telnet from your MS-WS to qmail to the SMTP Port 25. 
(use QVT/Net and enable "local Echo" and "LF").
Try to send to connect to qmail and send a Mail.

Report what happens.

cheers.
eh.
+---+
|  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: local email stuck in que until i restart qmailsend?? help

2000-08-14 Thread Dave Sill

J [EMAIL PROTECTED] wrote:

For some odd reason... one of my qmail machines is
"blind" to mail going to the same domain!  smtpd just
places them in the que and qmailsend doesn't see
them until I kill/restart qmailsend.  After I restart,
it sends them and then becomes stupid again and
doesn't
send any more that are que'd up after the fact.  It
does howeever see mail going to other "domains" and
sends it off right away.

Any ideas?  

Yeah. Post the following:

  1) output of "qmail-showctl" (unedited)
  2) snippet of qmail-send logs when a message is injected to the
 local domain and a remote domain (also unedited)
  3) output of "ls -l /var/qmail/queue/lock/trigger"

-Dave



RE: Hard linking messages between maildirs

2000-08-14 Thread Slider


Sorry !

I missed that they needed to be selected!

Sorry again!!

Slider



"Slider" [EMAIL PROTECTED] writes:
 There is an easier solution!

 If [EMAIL PROTECTED] wants all mail that goes to him to be copied to
 another maildir as well as for him to get a copy to go to another maildir.

That doesn't cover my situation at all.  This has nothing to do with
delivery addresses.  I just want my user agent to copy individual
messages, selected by the user, from one maildir to another.


paul





Re: fetchmail qmail

2000-08-14 Thread Dave Sill

Sergei Smirnov [EMAIL PROTECTED] wrote:

all mail to my domain my isp send to user "domain". every 600 sec
fetchmail flush  received mail. but in local server the mail stored to
maildir owner "domain". normal, the mail must store to maildir owner
"anyuser"
fetchmail-5.4.5 are running:
fetchmail --qvirtual Delivered-To: --envelope Delivered-To:

--
Return-Path:  [EMAIL PROTECTED]
Delivered-To:  domain@localhost
Received:  (qmail 16927 invoked by uid 7791); 14 Aug 2000 12:55:31 -

Received:  from localhost ([EMAIL PROTECTED]) by localhost with SMTP; 14
Aug 2000 12:55:31 -
Delivered-To:  [EMAIL PROTECTED]
Received:  from mail.mydomain.com[193.7.14.3] by localhost with POP3
(fetchmail-5.4.5) for domain@localhost (single-drop); Mon, 14 Aug 2000
16:55:31 +0400 (MSD)
Received: (qmail 14646 invoked from network); 14 Aug 2000 12:45:49 -

To: [EMAIL PROTECTED]
--

Did you have a question?

-Dave



RE: Copying messages (was: Hard linking messages between maildirs)

2000-08-14 Thread Slider


LOL there is that too!! ;o)


"Slider" [EMAIL PROTECTED] wrote:

another maildir as well as for him to get a copy to go to another maildir.

1)[EMAIL PROTECTED] looks in the joebloggs maildir on the mailserver
whilst checking mail ... correct?
2) Create an additional maildir [EMAIL PROTECTED]
3)Create the maildir eg [EMAIL PROTECTED] ..
4)Create the alias file for [EMAIL PROTECTED] to then point to
[EMAIL PROTECTED] and [[EMAIL PROTECTED]]
5)Ask Joebloggs to collect mail at the new locations
([EMAIL PROTECTED])

There's an easier solution!

In ~joeblogs/.qmail, specify two maildirs, e.g., ./Maildir and
./MailArchive.

-Dave





Everything up and running!

2000-08-14 Thread Fat Toolz



Hi qmail gurus :-),

Thanks for helping, I got rid of all problems (till 
now)! Thanks a lot. (Especially to Chris, Clemens, Erwin and Brett). 


Stef


checkpassword ...

2000-08-14 Thread Juan Calderon

Hi. I'm using qmail-1.03 with openldap-1.2.11 and have applied
qmail-ldap patch (2701). mail delivery is working fine, but when i
tried to configure pop3 i could not find checkpassword (just
checkpassword.o). The documentation says qmail-ldaplookup is similar to
checkpassword but i still can't figure how to use it.
I'm using tcpserver and it works with :

/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup server_name
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

when i don't user ldap.

another question :
if the directory where mail should be deliver doesn't exist then it is
created based on the mailmessagestore attribute in the ldap db and then
the Maildir is created. which maildirmake is used for creating this
Maildir? this is because i also need to use courier-imap which comes
with it's own maildirmake.

thanks in advance
juan calderon



Cyrus - Qmail Help.

2000-08-14 Thread bburnip

Hi,

I'm having a few problems setting up cyrus and qmail.  
Qmail is currently being started with:
qmail-start '|preline -f /usr/local/cyrus/bin/deliver -
e -a $USER -- $USER' splogger qmail

Delivery of mail to valid mailboxes works fine.  But if 
a message is sent that doesn't have a valid user, it 
just gets dumped into the mail queue.  (So, I assume 
qmail doesn't recognize that cyrus gave it an error 
message.)

I also had to relax permissions of the above deliver 
program so it could be executed.  I'm getting the below 
error message in my logs. 

Aug 14 07:20:50 relay2 deliver[32643]: checkdelivered: 
Unable to open delivered db: 
[EMAIL PROTECTED]: No 
such file or directory

I've seen reference to a "cyrus - qmail faq" and I'm 
curious as to weather or not one still exists.  (The 
site I had a url for does't have the content any 
more.)  

Can anyone help me with this, or point me in the right 
direction?

Thanks,
Bryce


-
This mail was sent through Uniserve's Web Mail at
https://members.uniserve.ca/mail/



Limiting Relaying

2000-08-14 Thread Dorian McFarlane

Is there way to limit the size of attachment relayed through qmail-pop3d. I
would like to block email message with attachments greater than 10MB.

Any help with this matter wil be greatly appreciated.

Thanks.

Dorian Mcfarlane
Norlight Telecommunications
Network Engineer
phone: 262-792-7913
fax:262-792-7733
[EMAIL PROTECTED]




Re: Limiting Relaying

2000-08-14 Thread James Raftery

On Mon, Aug 14, 2000 at 11:49:05AM -0500, Dorian McFarlane wrote:
 Is there way to limit the size of attachment relayed through qmail-pop3d. I
 would like to block email message with attachments greater than 10MB.

Hi,

You can set a blanket limit using control/databytes. man qmail-smtpd.
OTOH, you can use tcpserver to set a DATABYTES environment variable to
set different limits based on the source IP address of the connection.
(The value of the DATABYTES environment variable, if set, will 
override the value of control/databytes, allowing you to use
control/databytes as a default and DATABYTES env. var. for any
exceptions)

Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]



Re: Cyrus - Qmail Help.

2000-08-14 Thread Steve Kennedy

On Mon, Aug 14, 2000 at 09:27:22AM -0700, [EMAIL PROTECTED] wrote:

 I'm having a few problems setting up cyrus and qmail.  
 Qmail is currently being started with:
 qmail-start '|preline -f /usr/local/cyrus/bin/deliver -
 e -a $USER -- $USER' splogger qmail
 Delivery of mail to valid mailboxes works fine.  But if 
 a message is sent that doesn't have a valid user, it 
 just gets dumped into the mail queue.  (So, I assume 
 qmail doesn't recognize that cyrus gave it an error 
 message.)
 I also had to relax permissions of the above deliver 
 program so it could be executed.  I'm getting the below 
 error message in my logs. 

We use this as a wrapper to cyrus deliver: -

/usr/local/cyrus/bin/deliver -a $EXT2 $EXT2
status=$?
case $status in
  64|65|66|67|68|76|77|78)
exit 100
;;
  0)
exit 0
;;
  *)
exit 111
;;
esac

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]



Debian GNU/Linux (potato) Packages: var-qmail

2000-08-14 Thread Gerrit Pape

Updated Debian GNU/Linux (potato) packages for testing:

The var-qmail tree I announced on Mon, Jun 19, 2000 seems to be good.
I splitted the not yet released projects daemontools and ucspi-tcp, the
packages named so no longer contain any documentation. The man-pages are
available in daemontools-doc and ucspi-tcp-doc. Also daemontools no longer
provides a service directory or an init script. This work is done by
daemontools-run. qmail-run now depends on daemontools-run.

Beware, these debian-packages are unofficial, just for testing, please help
to get them approved by D.J. Bernstein.

o qmail_1.03-0.5_i386.deb
o dot-forward_0.71-0.2_i386.deb
o fastforward_0.51-0.3_i386.deb

o qmail-run_0.0.6_i386.deb
o daemontools_0.70-0.7_i386.deb
o daemontools-run_0.0.1_i386.deb
o daemontools-doc_0.70-1_i386.deb
o ucspi-tcp_0.88-0.5_i386.deb
o ucspi-tcp-doc_0.88-1_i386.deb

All these packages together set up qmail as mail-transfer-agent on Debian
potato.

Debian/potato users: Please test these packages and take a look if they
comply with http://cr.yp.to/qmail/dist.html and
http://cr.yp.to/qmail/var-qmail.html , they may go into woody later.

Download:
ftp://ftp.innominate.org/pub/pape/Debian/unofficial/{source,binary-i386}/

Or just add
deb ftp://ftp.innominate.org/pub/pape/Debian potato unofficial
deb-src ftp://ftp.innominate.org/pub/pape/Debian potato unofficial
to /etc/apt/sources.list .

Regards, Gerrit.

-- 
[EMAIL PROTECTED]
 innominate AG
 networking people
tel: +49.30.308806-0  fax: -77http://innominate.de



Re: starting qmail-send

2000-08-14 Thread Clemens Hermann

Hi,

 What does your startup script look like? My guess is that it has an '' at the
 end of it. If it does, take it out.

That is my script:



#!/bin/sh

# Using stdout for logging

# Using control/defaultdelivery from qmail-local to deliver messages by
default

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "`cat /var/qmail/control/defaultdelivery`"

*

the /sbin/init.d/qmail is as follows:

*

#!/bin/sh

PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH

case "$1" in
  start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan 
echo $!  /var/run/svscan.pid
echo "."
;;
  stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
  stat)
cd /var/qmail/supervise
svstat * */log
;;
  doqueue|alrm)
echo "Sending ALRM signal to qmail-send."
svc -a /var/qmail/supervise/qmail-send
;;
  queue)
qmail-qstat
qmail-qread
;;
  reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /var/qmail/supervise/qmail-send
;;
  pause)
echo "Pausing qmail-send"
svc -p /var/qmail/supervise/qmail-send
echo "Pausing qmail-smtpd"
svc -p /var/qmail/supervise/qmail-smtpd
;;
  cont)
echo "Continuing qmail-send"
svc -c /var/qmail/supervise/qmail-send
echo "Continuing qmail-smtpd"
svc -c /var/qmail/supervise/qmail-smtpd
;;
  restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /var/qmail/supervise/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /var/qmail/supervise/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /var/qmail/supervise/qmail-smtpd
;;
  cdb)
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
echo "Reloaded /etc/tcp.smtp."
;;
  help)
cat HELP
   stop -- stops mail service (smtp connections refused, nothing goes
out)
  start -- starts mail service (smtp connection accepted, mail can go
out)
  pause -- temporarily stops mail service (connections accepted, nothing
leaves)
   cont -- continues paused mail service
   stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM  restarts
it
doqueue -- sends qmail-send ALRM, scheduling queued messages for
delivery
 reload -- sends qmail-send HUP, rereading locals and virtualdomains
  queue -- shows status of queue
   alrm -- same as doqueue
hup -- same as reload
HELP
;;
  *)
echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
exit 1
;;
esac

exit 0

***

this is the script suggested in LWQ. Is anything wrung there?

 Chris

Clemens



smtproutes not working!

2000-08-14 Thread J

I have an smtproutes file that contains the following:

smtproutes:
chatfish.org:barbuda.chatfish.com
chatfish.net:barbuda.chatfish.com

I've also tried to use the ip address:
chatfish.org:[216.7.16.196]
chatfish.net:[216.7.16.196]

Both of these methods are being ignored by qmail. 
Qmail is taking the MX record before it looks at
smtproutes.

Any idea what I'm doing wrong?

Thanks a lot.

__
Do You Yahoo!?
Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/



[OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread martin langhoff

hello,

sorry for the OT, but I guess/hope the knowledge I'm looking for is not
completely unrelated to this particular list, and I'm not aware of any
Perl-email related mailing list. 

I'm trying to validate an email address as per RFC822, and, even though
I've seen a lot of quick'n'dirty regexps to do so, I'd like to use
actually RFC compliant code, known to work.

Right now I'm perusing the Mail::* modules (docs and code), just
grabbed from CPAN, looking for validating code, and finding none
whatsoever. Has anyone experience with this modules? 

As far as I can see, they are too high-level for what I'm looking for.
Or maybe I'm wrong?



martin



Re: smtproutes not working!

2000-08-14 Thread Charles Cazabon

J [EMAIL PROTECTED] wrote:
 I have an smtproutes file that contains the following:
 
 smtproutes:
 chatfish.org:barbuda.chatfish.com
 chatfish.net:barbuda.chatfish.com
 
 I've also tried to use the ip address:
 chatfish.org:[216.7.16.196]
 chatfish.net:[216.7.16.196]
 
 Both of these methods are being ignored by qmail. 
 Qmail is taking the MX record before it looks at
 smtproutes.
 
 Any idea what I'm doing wrong?

Note the smtproutes entries you have are for "chatfish.org" and "chatfish.net"
_only_.  If mail comes for anyone at "host.chatfish.org" or similar, MX
records will be looked up as usual.

Or perhaps you didn't restart qmail after making the changes?

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: smtproutes not working!

2000-08-14 Thread markd

On Mon, Aug 14, 2000 at 12:12:37PM -0700, J wrote:
 I have an smtproutes file that contains the following:
 
 smtproutes:
 chatfish.org:barbuda.chatfish.com
 chatfish.net:barbuda.chatfish.com
 
 I've also tried to use the ip address:
 chatfish.org:[216.7.16.196]
 chatfish.net:[216.7.16.196]
 
 Both of these methods are being ignored by qmail. 
 Qmail is taking the MX record before it looks at
 smtproutes.
 
 Any idea what I'm doing wrong?

Show us some logs and qmail-showctl. qmail-remote is known
to work as advertised wrt smtproutes.


Regards.



Re: smtproutes not working!

2000-08-14 Thread markd

 Note the smtproutes entries you have are for "chatfish.org" and "chatfish.net"
 _only_.  If mail comes for anyone at "host.chatfish.org" or similar, MX
 records will be looked up as usual.

That's a good point.
 
 Or perhaps you didn't restart qmail after making the changes?

That's a bad point. Each invocation of qmail-remote looks at this
file so restarting qmail will not change a thing.


Mark.



Re: smtproutes not working!

2000-08-14 Thread Chris Johnson

On Mon, Aug 14, 2000 at 01:17:45PM -0600, Charles Cazabon wrote:
 J [EMAIL PROTECTED] wrote:
  I have an smtproutes file that contains the following:
  
  smtproutes:
  chatfish.org:barbuda.chatfish.com
  chatfish.net:barbuda.chatfish.com
  
  I've also tried to use the ip address:
  chatfish.org:[216.7.16.196]
  chatfish.net:[216.7.16.196]
  
  Both of these methods are being ignored by qmail. 
  Qmail is taking the MX record before it looks at
  smtproutes.
  
  Any idea what I'm doing wrong?
 
 Note the smtproutes entries you have are for "chatfish.org" and "chatfish.net"
 _only_.  If mail comes for anyone at "host.chatfish.org" or similar, MX
 records will be looked up as usual.
 
 Or perhaps you didn't restart qmail after making the changes?

You don't need to. qmail-remote reads smtproutes for every invocation.

Chris



Re: smtproutes not working!

2000-08-14 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  
  Or perhaps you didn't restart qmail after making the changes?
 
 That's a bad point. Each invocation of qmail-remote looks at this
 file so restarting qmail will not change a thing.

My bad.  I can never recall offhand the exact configuration changes which
require a restart of qmail.  In this case, it's unnecessary -- but it won't
hurt him, either.  It's not like rebooting the machine :).

Thanks for the correction.

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: [OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread Russ Allbery

martin langhoff [EMAIL PROTECTED] writes:

 I'm trying to validate an email address as per RFC822, and, even though
 I've seen a lot of quick'n'dirty regexps to do so, I'd like to use
 actually RFC compliant code, known to work.

 Right now I'm perusing the Mail::* modules (docs and code), just grabbed
 from CPAN, looking for validating code, and finding none whatsoever. Has
 anyone experience with this modules?

Doesn't Mail::RFC822 have validation code?  I thought it did.

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



Re: filters

2000-08-14 Thread Michael T. Babcock

A slightly different version of the question: how would one go about
filtering for Mailing List (etc.) and adding [qmail] to the subject line on
one's own mail?

- Original Message -
From: "Raul Beltran" [EMAIL PROTECTED]
 hi, is there a possibility to automatically concatenate a string like
 "[qmail] " to the subjects of all the messages coming from this mailing
 list?




Re: filters

2000-08-14 Thread William E. Baxter

On Mon, Aug 14, 2000 at 11:49:12AM -0400, Michael T. Babcock wrote:
 A slightly different version of the question: how would one go about
 filtering for Mailing List (etc.) and adding [qmail] to the subject line on
 one's own mail?

You can do this with qtools.  The example programs include an
autoresponder that adds a subject prefix.  For more information, see

http://www.superscript.com/qtools/intro.html

Regards,
W.



Re: rblsmtpd and relays.mail-abuse.org

2000-08-14 Thread Michael T. Babcock

I'm using it too -- but everything seemed fine with the patch so ... 

- Original Message - 
From: "Jon Rust" [EMAIL PROTECTED]
 Odd that this issue has been so quiet. Are there really so few people
 using rblsmtpd?




Re: legit mail being blocked because of relay methods

2000-08-14 Thread Michael T. Babcock

Exactly -- what if the 'relay server' accepted messages for delivery, and
then delivery failed.  It would notify the mailing list server that those
messages failed (if you're lucky).  Wouldn't one rather have one's own
mailing list server handle this work?

Definately sounds like a spammer's dream ;-)

- Original Message -
From: "Eric Long" [EMAIL PROTECTED]
 on 8/10/00 2:31 PM, Michael T. Babcock at [EMAIL PROTECTED] wrote:

  What you're describing, if it is indeed happening, sounds more like an
  unintentional result of open relays and strange mailing list server
logic.
 [...]
 Even so, I'm not sure I would want to rely on other people's systems to
 deliver important mailing list messages from a list I would host.




Re: rblsmtpd and relays.mail-abuse.org

2000-08-14 Thread Michael T. Babcock

Actually, no.  The output from one is automatically sent to the input of the
next as they execute each other.  The "\"'s are to allow the commands to be
on multiple lines.

- Original Message -

 * Robert Sander ([EMAIL PROTECTED]) [11 Aug 2000 04:07]:
  It seems to me that rblsmtpd can only take one "-r" at a time, as I have
  version 0.70 that may be a bit old. But they can be ordered in a row, as
  in
 rblsmtpd -r rbl.maps.vix.com \
 rblsmtpd -r dul.maps.vix.com \
 rblsmtpd -r relays.mail-abuse.org ...

 I believe you meant to write:

 rblsmtpd -r rbl.maps.vix.com |
 rblsmtpd -r dul.maps.vix.com |
 rblsmtpd -r relays.mail-abuse.org ...




Re: Someone have a bad experience with qmail once.

2000-08-14 Thread Michael T. Babcock

And those on each side still disagree with each other.

The mailing list archives are, of course, full of this discussion and should
be consulted so that you can draw your own conclusions.  Unless you disagree
with ORBS, stating your opinions here is probably hazardous.

- Original Message -
 Sean C Truman [EMAIL PROTECTED] wrote:
  This was taken straight from the www.orbs.org site.
  http://www.orbs.org/otherresources.html

 This is at best a gross misstatement of the facts, and at worst is two
pounds
 of horseshit in a one pound bad.  All of these supposed issues have also
 been discussed to death, on this list and elsewhere.  Let it die.




Re: [OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread Magnus Bodin

On Mon, Aug 14, 2000 at 12:31:07PM -0700, Russ Allbery wrote:
 martin langhoff [EMAIL PROTECTED] writes:
 
  I'm trying to validate an email address as per RFC822, and, even though
  I've seen a lot of quick'n'dirty regexps to do so, I'd like to use
  actually RFC compliant code, known to work.
 
  Right now I'm perusing the Mail::* modules (docs and code), just grabbed
  from CPAN, looking for validating code, and finding none whatsoever. Has
  anyone experience with this modules?
 
 Doesn't Mail::RFC822 have validation code?  I thought it did.

No, but  Mail::Address [1]

or

RFC::RFC822::Address [2]

/magnus

[1] http://www.perl.com/CPAN/authors/id/GBARR/MailTools-1.1401.tar.gz
[2] http://www.perl.com/CPAN/authors/id/ABIGAIL/RFC_RFC822_Address-1.4.tgz

--
http://x42.com/



smtp probs

2000-08-14 Thread ameuse

Hello qmailers,

I am intermittantly getting this message and others like it in
/var/log/maillog

Aug 14 18:04:44 966290676.970269qmail qmail: delivery 143: deferral:
Sorry,_I_wasn't_ able_to_establish_an_SMTP_connection._(#4.4.1)

Everything was working fine when I had a Sendmail server as the primary
MX and it was just forwarding all mail to the qmail server. Now that the
Sendmail is gone and the qmail server is alone as the primary MX and I
am getting these messages every other time I try to send mail. The mail
just vanishes. no bounce or anything. It happens with internal or
external mail.

tcpserver setup is like:

/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
qmail.buyerzone.com /bin/checkpassword /var/qmail/bin/qmail-pop3d
Maildir 21 | /var/qmail/bin/splogger pop3d 

and

/usr/local/bin/tcpserver -v -x/etc/tcp.smtp.cdb -c 600 -u505 -g504 0
smtp /var/qmail/bin/qmail-smtpd 21 | /var/qmail/bin/splogger smtpd 3 

apreciate any help

thanks,
andy




Re: [OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread martin langhoff

list,
silly me. read the faqs first! perlfaq9 tells me I cannot
validate
emails in such a way, and points to a possible (but imperfect) approach
by t.christiansen. 

off I go, to see if that's useable.


sorry for everybody's time and bandwidth. 



martin


pd: I did reply to myself so the (partial) answer gets to the archives
and we all let this thread die.



Re: smtp probs

2000-08-14 Thread markd

On Mon, Aug 14, 2000 at 06:24:14PM -0400, ameuse wrote:
 Hello qmailers,
 
 I am intermittantly getting this message and others like it in
 /var/log/maillog
 
 Aug 14 18:04:44 966290676.970269qmail qmail: delivery 143: deferral:
 Sorry,_I_wasn't_ able_to_establish_an_SMTP_connection._(#4.4.1)

There is nothing wrong with this. All it means is that the remote
system couldn't accept the SMTP connection at that time. qmail simply
tries again later on.

 Everything was working fine when I had a Sendmail server as the primary
 MX and it was just forwarding all mail to the qmail server. Now that the
 Sendmail is gone and the qmail server is alone as the primary MX and I
 am getting these messages every other time I try to send mail. The mail

Show us the log that shows that it's "every other time" please.

 just vanishes. no bounce or anything. It happens with internal or
 external mail.

"Just vanishes"? Are you sure it's not still in the queue? What
does qmail-qread show you? Did you check to see whether there was a
later delivery attempt that succeeeded?

qmail is not known to have messages "just vanish". They are either 
being delivered, bounced or they are still in your queue.

 tcpserver setup is like:

tcpserver is totally irrelevant to sending to remote servers.


Have a closer look at your logs files. They tell you what's going on.


Regards.



Russ' rblsmtpd test robots.

2000-08-14 Thread Ben Beuchler

I just implemented rblsmtpd using the MAPS DUL.  I sent a message off to
Russ' testing bot and received the following reply:

==
Testing your DUL block.  See http://www.crynwr.com/spam/ for more info

Could not connect to 216.243.128.132: Connection timed out 
Attempting to run traceroute.  If the traceroute fails persistently,
then it's likely that the ISP where it fails is subscribed to the BGP3
version of the RBL, and is blocking RBL'ed hosts at the IP level.  You
should ask if that is indeed what they are doing.  If so, then you do
not need to use DNS blocking of the RBL.  
==

My question concerns the "Connection timed out" message.  Does this mean
that it literally was a time out?  Or will it give that message as well
if it receives the 553 from rblsmtpd?  (I'm running it with -b)  We are
not running the BGP version of DUL...  And the attached traceroute
reaches us just fine.

Thanks,
Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



Re: [OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread martin langhoff

Magnus Bodin wrote:
  Doesn't Mail::RFC822 have validation code?  I thought it did.
 
 No, but  Mail::Address [1]
 
 or
 
 RFC::RFC822::Address [2]

are you sure? I've been looking at Mail::Address and found nothing in
its code that hinted of ay validation. It looked like an 'address book'
mechanism, that built objects with a human-readable name and an address,
and provided a few functions on that. Not much more, and certainly not
any validation I could see. 

as per `perldoc perlfaq9` there's no realiable way to tell a
functioning email address from a functioning diesel engine until you
actually send it. 

martin



Re: Russ' rblsmtpd test robots.

2000-08-14 Thread Russ Allbery

Ben Beuchler [EMAIL PROTECTED] writes:

 I just implemented rblsmtpd using the MAPS DUL.  I sent a message off to
 Russ' testing bot and received the following reply:

MAPS has recently dropped the TXT entries from their zones due to zone
size problems; perhaps that's the problem?

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



deleting messages from the queue

2000-08-14 Thread wolfgang zeikat

i have a few messages sitting in the qmail queue that will never get
delivered - for example because the recipients' addies are on
fully-unqualified hosts.

can i just delete those messages to save qmail the retries and to save me
the final "sorry wasn't able to deliver" mail to postmaster@ ? or do i
have to follow some special steps to do so?

wolfgang




Re: Russ' rblsmtpd test robots.

2000-08-14 Thread Chin Fang

Actually, Prof. Bernstein's rblsmtpd still works fine with RBL and DUL
as of today.

As far as I know, MAPS dropped TXT entries from only the RSS zone so
far.  In fact, I am watching entries being blocked via rblsmtpd using
RBL and DUL at this moment on one of our incoming mail servers.

Regards,

Chin Fang
[EMAIL PROTECTED]

  I just implemented rblsmtpd using the MAPS DUL.  I sent a message off to
  Russ' testing bot and received the following reply:
 
 MAPS has recently dropped the TXT entries from their zones due to zone
 size problems; perhaps that's the problem?
 
 -- 
 Russ Allbery ([EMAIL PROTECTED]) http://www.eyrie.org/~eagle/
 




Can't Send mail to external recipients

2000-08-14 Thread Tim Jones

I've just built and installed QMail 1.03 under a homebrew Linux running
2.0.38 and libc2.01.  Even though it's an older kernel, I keep the
various networking packages updated.  I got hit with some heavy relay
hacks last week and I've just learned about qmail's natural defense
against unauthorized relay.

The installation appears good -- qmail-lint reports no problems.  I can
send messages from one internal system to any other internal system, and
mail to my domain users is received properly.  Also, if I use "echo to:
[EMAIL PROTECTED] |/var/qmail/bin/qmail-inject", a message is
delivered with no problems.  However, when I try to use a standard UMA
like pine, or Netscape, I get the popular "sorry, that domain isn't in
my list of allowed rcpthosts" message.

I read the threads here and added entries to /etc/hosts.allow and
/etc/tcp.smtp as outlined.  But, the errors still occur.  Oh, and no
errors are sent to postmaster.  Of course, I've restarted inetd and
qmail.

What am I missing?

Tim Jones
[EMAIL PROTECTED]




Re: Russ' rblsmtpd test robots.

2000-08-14 Thread Chris Johnson

On Mon, Aug 14, 2000 at 04:30:24PM -0700, Russ Allbery wrote:
 Ben Beuchler [EMAIL PROTECTED] writes:
 
  I just implemented rblsmtpd using the MAPS DUL.  I sent a message off to
  Russ' testing bot and received the following reply:
 
 MAPS has recently dropped the TXT entries from their zones due to zone
 size problems; perhaps that's the problem?

What exactly were the size-related zone problems? Does anyone know whether
Dan's rbldns would handle it better?

Chris



Dan's rbldns and the relays.mail-abuse.org domain

2000-08-14 Thread Chris Johnson

As has been discussed recently on the qmail list, the RSS people have stopped
providing TXT records for the relays.mail-abuse.org zone, which breaks
rblsmtpd. It's been reported that they were having problems with the size of
the zone; I imagine that this means thatBIND was having problems with the size
of the zone.

As an experiment, I AXFRed a copy of the relays.mail-abuse.org zone, formatted
it for rbldns, and compiled it into a cdb with rbldns-data. I added a line that
said:

:127.0.0.2:553 Open relay problem - see http://www.mail-abuse.org/cgi-bin/nph-rss?$

which is all that's required for rbldns to return the appropriate A and TXT 
records. The whole cdb is only 1,276,699 bytes, which hardly seems
unmanageable.

Does anyone feel like doing periodic transfers of the RSS zone, running a
little script to put it in the right format, and publishing it with rbldns as a
test? I may do it myself if I can scare up an extra IP address.

Chris



split local domain addressing

2000-08-14 Thread Andrew Gray

Dear all,
when two or more domains are set to local, how do I split say
info@localdoamin1 and info@localdomain2 to go to different accounts?
sorry if this is in the 'FAQ', I had a quick look but couldn't see any
related 'Q's

Regards

Andrew Gray
Network Administrator
NetConnect Communications

[EMAIL PROTECTED]
ph +61 3 5332 2140

required email legal disclaimer
http://gray.ballarat.net.au/disclaimer.htm





Re: split local domain addressing

2000-08-14 Thread Chris Johnson

On Tue, Aug 15, 2000 at 10:45:06AM +1000, Andrew Gray wrote:
   when two or more domains are set to local, how do I split say
 info@localdoamin1 and info@localdomain2 to go to different accounts?

You don't. You make one of the domains a virtual domain.

Chris



patch: ucspi-tcp-mysql.0.88.tar.gz

2000-08-14 Thread Sean C Truman



Hey all,

 I ran into some problem today on 
a couple of my own servers I went to implement vpopmail enable roaming users. 
Well short story I ran into NFS file locking problems trying to share the 
tcp.smtp. 

Here is a patch for ucspi-tcp-0.88 This patch will 
check mysql relay table first. and then it will check the cdb file. the cdb file 
overrides all mysql returns.(Good for pop-3 to smtp 
authenication.).

tcpserver can be started with new flag (-m) 
like
/usr/local/bin/tcpserver -m -v -x 
/home/vpopmail/etc/tcp.smtp.cdb 0 smtp /var/qmail/bin/qmail-smtpd

If you are running vpopmail 4.8.7 and would like 
the patch for roaming users to work off of database only please let me know. I 
have the patch available.

patch location:
http://www.prodigysolutions.com/ucspi-tcp-mysql.0.88.tar.gz

Sean Truman
[EMAIL PROTECTED]http://www.prodigysolutions.com/


RE: split local domain addressing

2000-08-14 Thread Andrew Gray

Yes, well that is how I would have set it too, and it would be 
nice if I hadn't inherited a system with a rather sizable amount 
of users already installed, is there a way to acheive the 
same thing using aliases or such?

On Tue, Aug 15, 2000 at 10:45:06AM +1000, Andrew Gray wrote:
   when two or more domains are set to local, how do I split say
 info@localdoamin1 and info@localdomain2 to go to different accounts?

You don't. You make one of the domains a virtual domain.

Chris




Re: split local domain addressing

2000-08-14 Thread Chris Johnson

On Tue, Aug 15, 2000 at 11:48:01AM +1000, Andrew Gray wrote:
 Yes, well that is how I would have set it too, and it would be 
 nice if I hadn't inherited a system with a rather sizable amount 
 of users already installed, is there a way to acheive the 
 same thing using aliases or such?

Yep. Let's say your two domains are domain1.com and domain2.com. domain1.com
will be local and domain2.com will be virtual. In control/virtualdomains you
have:

domain2.com:alias-domain2

Let's say that the user name "bob" exists in both domain1.com and domain2.com,
and that you'd like to deliver the mail to different places. There are no other
conflicting names.

In ~alias/.qmail-domain2-bob you'd have:

bob2

or wherever you'd like mail addressed to [EMAIL PROTECTED] to go.

In ~alias/.qmail-domain2-default you'd have:

| forward "$DEFAULT"@domain1.com

That'll send all non-bob mail to a regular local user. This way domain2.com is
almost a local domain, with the exception of bob.

Chris



Re: split local domain addressing - similar question.

2000-08-14 Thread Marc-Adrian Napoli

hi all,

just a question similar to this split local domain addressing issue.

domain1.com.au and domain2.com.au are both locally delivered domains.

[EMAIL PROTECTED] is a functioning mailbox.

[EMAIL PROTECTED] is to go elsewhere.

in the ~sales/.qmail file i have put:

|/var/qmail/bin/condredirect [EMAIL PROTECTED] [ `echo
"$RECIPIENT" | tr A-Z a-z` = "[EMAIL PROTECTED]" ]

can anyone else think of a better of way of doing this? its the only way i
have found to do it so far.

Regards,

Marc-Adrian Napoli
Network Admin
Connect Infobahn Australia
+61 2 9281 1750






Re: Someone have a bad experience with qmail once.

2000-08-14 Thread Eric Cox

Sean, my friend, you are venturing into dangerous waters  :)

Check the mailing list archives to find out why...

Eric



 Sean C Truman wrote:
 
 This was taken straight from the www.orbs.org site.
 http://www.orbs.org/otherresources.html
 
 "Qmail admins: Qmail's current version is insecure by default. Most admins
[blah, blah...]



Re: local email stuck in que until i restart qmailsend?? help

2000-08-14 Thread Eric Cox



J wrote:
 
 For some odd reason... one of my qmail machines is
 "blind" to mail going to the same domain!  smtpd just
 places them in the que and qmailsend doesn't see
 them until I kill/restart qmailsend.  After I restart,
 it sends them and then becomes stupid again and
 doesn't
 send any more that are que'd up after the fact.  It
 does howeever see mail going to other "domains" and
 sends it off right away.

Check out:

http://Web.InfoAve.Net/~dsill/lwq.html#trigger

Eric



Re: [OT]Mail::* Perl modules to validate email address (RFC822)

2000-08-14 Thread Magnus Bodin

On Mon, Aug 14, 2000 at 08:04:48PM -0300, martin langhoff wrote:
 Magnus Bodin wrote:
   Doesn't Mail::RFC822 have validation code?  I thought it did.
  
  No, but  Mail::Address [1]
  
  or
  
  RFC::RFC822::Address [2]
 
   are you sure? I've been looking at Mail::Address and found nothing in
 its code that hinted of ay validation. It looked like an 'address book'
 mechanism, that built objects with a human-readable name and an address,
 and provided a few functions on that. Not much more, and certainly not
 any validation I could see. 

OK. I didn't check if it explicitly had a function called "validate" but I
checked the source of both these packages and both are able to _parse_ such
an address. 

   as per `perldoc perlfaq9` there's no realiable way to tell a
 functioning email address from a functioning diesel engine until you
 actually send it. 

You _can_ tell if it's well formed. But on the other hand, all these
addresses are valid: 

%20 + [EMAIL PROTECTED] or alternatively "%20 + %20"@x42.com
"\@x42.comor alternatively "\"\\"@x42.com
at@at@[EMAIL PROTECTED]  or alternatively "at@at@at"@x42.com

You can also do a MX check to see if there is a receiving party at all for
the domain mail. 

What you cannot check is whether the receiving party likes the local part 
(or accepts mail whatsoever, the MX may be misleading) or not. 

/magnus

--
http://x42.com/



Re: virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Dale Miracle

Joel Gautschi wrote:
 
 hi,
 
 1. every user in /var/lib/vpopmail/users works fine
 2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(
 
 if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
 error in the mail.log
 
 --- from /var/log/mail.log ---
 Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
 Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
 from [EMAIL PROTECTED] qp 31023 uid 64011
 Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
 1507345 to local [EMAIL PROTECTED]
 Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
 0/20
 Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
 Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
 Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
 0/20
 Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
 Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
 ---
 
 the virtual domain directory looks like that:
 
 joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
 total 12
 drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
 -rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
 -rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
 -rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
 drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
 drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
 drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
 -rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
 -rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb
 
 I created the virtualdomain with vadddomain and the virtualdomain users with
 vadduser
 any idea what's wrong? do you need more information (log files or
 whatever...)?
 
 btw: does the virtualdomain need an MX entry on the DNS server?
 cya
 Joel

To answer your second question yes you need an mx record for each
virtual domain.  In the dns record of each domain you can put the MX
name of the box running qmail/vpopmail.  What I have done on my box is
run several domains with qmail/vpopmail but in the MX entry for each
domain I put the name of the name of the box running qmail/vpopmail.
When the smtp server needs to deliver mail it looks up that domains MX
record then it will in order of preference starting at the lowest number
(normally 10 then 20, 30, etc what ever the numbering sequence is) and
tries the next highest and so on.  The sending smtp server will not care
it is delivering mail for abcd.com to wxyz.com, just as long as the MX
for abcd.com says to use wxyz.com 's mail server.  I hope that wasn't to
confusing if it was.  To put it in a nutshell, use the mail server box
running the vpopmail/qmail for the various domains as the mx for each
domain.  The mail servers will sort out what mail goes where once they
get it.

As for your other problem I had the same problem but only for local
delivered mail.  I sent a message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and would get returned because it couldn't find the
that person BUT if a person outside of thisdomain.com would send an
e-mail to [EMAIL PROTECTED] it would go through fine. 
I was using a simular setup to you where I had my domain teoi.net as the
main domain and then the other virtual domains.  I had problems with
pop3 mail retrieval and delivering mail from a local user to another
local user.  What I did was recompile vpopmail with the following
settings making my domain a virtual domain along with the rest of them. 
After I did that I was able to send mail locally and my pop3 problem
went away.  These are the settings I used, you probably need to edit the
directories for your system, I am using OpenBSD 2.6 .

./configure  --enable-roaming-users=y --enable-relay-clear-minutes=120
--enable-ucspi-dir=/usr/src/ucspi-tcp-0.84 --enable-logging=e
--enable-tcpserver-file=/var/qmail/vpopmail/etc/tcp.smtp
--enable-qmaildir=/var/qmail
--enable-tcprules-prog=/usr/local/bin/tcprules

After I recompiled and setup my domain as a virtual domain along with
the rest every worked finewell I did have a problem with the roaming
user but that ended up being a file permission / ownership problem.
I hope this helps you out.  I know I had quite a time with it till I
converted to completely virtual which works fine.  All mail is in one
directory tree sorted automatically by domain.

Take Care,
Dale



i can't get started?

2000-08-14 Thread Len Scotney

i hope i am doing this right?
please excuse a newcomer to the linux/qmail scene
after 20 years with PCs/DOS/Win, i am now trying to help with something
completely new

system is a PC with RedHat ver 6.2
trying to install qmail, with LWQ in left hand and mouse in right hand
files are qmail-1.03,ucspi-tcp-0.88,daemontools-0.70

generally found the LWQ very hand-holding, but having got to the end (page 23)
cannot get qmail to run

on reboot, the start-up screens show:

starting qmail execvp - no such file or directory ???

what worries me is that the history page for daemontools show that some time
back execvp was replaced with pathexec, .is this the problem?

also i am concerned that even though the 'qmail' startup script just starts, the
check of the PATH does not show /var/qmail/bin  ??

if i try and start qmail manually, with /var/qmail/rc, i get some messages that
say thattalk abour CNAME not working  ??

sooo many questions!

(i would have never got this far without LWQ, i found the HOWTO was too brief
for a newcomer)
 
if anyone can unravel the above it would be greatly appreciated

len (the old guy)




Re: SMTP not running

2000-08-14 Thread Dale Miracle

Chris Johnson wrote:
 
 On Mon, Aug 14, 2000 at 03:05:54PM +0200, Fat Toolz wrote:
  Hi Erwin, Hi Brett,
 
  I just switched the SSL-Option (sorry, I forgot...), but the message still
  appears; now looking like
 
  The connection to the server has failed. Account: 'qmail-tester', Server:
  '193.168.100.59', Protocol: SMTP, Port: 25, Secure(SSL): Yes, Socket Error:
  10061, Error Number: 0x800CCC0E
 
  Bret was right with his clues for I can not telnet to that port, that means
  qmail refuses me to use the SMTP, that's right? (the local
  mail-inject-test-procedure is ok, that's why I think so). I just try to
  reconfigure rcpthosts and locals.
 
 Did you do anything to set up qmail-smtpd? It doesn't get set up by itself; you
 need to configure either inetd or tcpserver to listen for SMTP connections.
 
 Chris

What you can try to do is telnet from the box that is running qmail but
telnet to 127.0.0.1 (localhost) on port 25 and see what happens.  I had
this problem with mine, I could telnet locally via local host but could
not from a pop client.
Re-name (temporarly) any permit and deny rules, run qmail smtp under
inetd (to rule out tcpservers own permit and deny policies) and also
check your qmail directory where your rcpthosts and other related files
are (normally control).  Make sure the names of the boxes you want to
talk to server is there.  Also check the services file to make sure it
is correct.
I was using outlook to test qmail back when I was setting it up because
I didn't want to add an account to my netscape.  I know I wasn't running
ssl so I couldn't figure out the error so I finally setup netscape
(added another user in addition to mine) and it told me the server
wasn't responding.  Another thing that could be happening is make sure
sendmail or any other server is running other then qmail's.

Let me know what you find.

Take Care,
Dale



Re: Can't Send mail to external recipients

2000-08-14 Thread Dale Miracle

Tim Jones wrote:
 
 I've just built and installed QMail 1.03 under a homebrew Linux running
 2.0.38 and libc2.01.  Even though it's an older kernel, I keep the
 various networking packages updated.  I got hit with some heavy relay
 hacks last week and I've just learned about qmail's natural defense
 against unauthorized relay.
 
 The installation appears good -- qmail-lint reports no problems.  I can
 send messages from one internal system to any other internal system, and
 mail to my domain users is received properly.  Also, if I use "echo to:
 [EMAIL PROTECTED] |/var/qmail/bin/qmail-inject", a message is
 delivered with no problems.  However, when I try to use a standard UMA
 like pine, or Netscape, I get the popular "sorry, that domain isn't in
 my list of allowed rcpthosts" message.
 
 I read the threads here and added entries to /etc/hosts.allow and
 /etc/tcp.smtp as outlined.  But, the errors still occur.  Oh, and no
 errors are sent to postmaster.  Of course, I've restarted inetd and
 qmail.
 
 What am I missing?
 
 Tim Jones
 [EMAIL PROTECTED]

Check out this web site it explains how to setup qmail for mail
relaying.  Mail relaying is when a smtp server is asked to send mail to
another smtp server normally from a mua like pine,  or netscape's mail,
etc.  That is how an open relay'ing' (or spam) is performed.  An smtp
client from an outside domain sends an e-mail to an smtp server for it
to deliver else where.
With the mail relaying setup correctly if a system doesn't know a client
it will not talk to it which means no mail is accepted to be sent.

www.palomine.net/qmail/selectiverelay.html

Take Care,
Dale



Absent message

2000-08-14 Thread Wilson Fletcher

Please send replies to [EMAIL PROTECTED] as I'm not on the list at present (too 
much traffic).

I would like to send an absent message but I am finding it difficult.

I have tried the following in .qmail

| preline -d -f -r mail -s "I'm away at present" $SENDER  ./awaymsg

Problems are:

I don't get a copy of the message in my Maildir
(the message actually gets lost
I'd like to quote the message in the reply
I feel I'd rather use qmail-inject but am not sure of the syntax to acheive 
equivalent results.

TIA

Wilson Fletcher
[EMAIL PROTECTED]