Re: Mail Filtering or rewriting

2001-08-14 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 01:00:24AM -0700, Md. Sifat Ullah Patwary wrote:
 Recently we are facing a problem of mail bombing from
 some MS Win9x customer. Its due to a email worm. It
 sends a virus file attached with. extensions are
 *.pif, *.lnk etc.
 
 I was looking for any patch which will help me to scan
 this attached files and do the needful. Is there any?

yes, of course, use qmail-scanner. It has userdefinable attechment 
filters, and can operate an commercial virus scanner for mime 
attachments. you have to apply the qmailqueue patch, and define a 
QMAILQUEUE variable in your smtp startup script. 
qmail-scanner is very nice, i use it myself to protect those windooze 
computers in my network.

 Secondly, some clients are sending a mail with 1000 cc
 or bcc to my local users. Is there any tools to stop
 this junk mails?

yes, of course. Most probably the tarpitting patch from qmail.org will 
help you in this issue

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: connection_limit_reached

2001-08-14 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 12:46:09PM +0300, Edward wrote:
 what could be the cause of this error in the logs..

read it again and again. 
connection limit reaches
probably you have to much qmail-remotes which connect to the server. You 
have to lower your concurrencyremote limit


-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: Hot to add POP3 users to qmail? (newbie)

2001-08-13 Thread Lukas Beeler

On Mon, Aug 13, 2001 at 10:24:36AM +, Jean-Christian Imbeault wrote:
 However lwq is a little short on how to actually add POP3 user accounts. Can 
 anyone point me to some documentation on how to add POP3 users? (If this is 
 a FAQ or in lwq sorry for asking but I did look and couldn't find it).
man passwd
( if you are using linux )
the standard checkpasswd does only support standard *nix users, which 
are located in the /etc/passwd file. If you want to use virtual users, 
you have to use another solution.

 Also there aren't any local users, so I don't want to do anything like 
 setting up a seperate $HOME/username directory for every user ... if 
 avoidable.
yes, this is avoidable, you have to use something like vmailmgr.
google.com is your friend

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: $HOME/Maildir

2001-08-13 Thread Lukas Beeler

On Mon, Aug 13, 2001 at 05:16:21PM +, [EMAIL PROTECTED] wrote:
 First: I have a Red Hat 7.0 running in a Pentium II computer, and I 
 instaled
 QMAIL using RPM binnary:

mistake, follow live with qmail instead. http://www.lifewithqmail.org

 I instaled the checkpassword using the Tar file from the DJB home page, and
 then I started QMAIL and POP3 thought XINET.

good

 
 For that, I configured the pop3 file in the /etc/xinet.d/pop3 :

xinetd is a bad thing

 server_args = inteliweb.com.br /bin/checkpassword
 /var/qmail/bin/qmail-pop3d /home/inteliweb

look at this mess... you are using checkpassword and trying to use 
vmailmgr ? i think you would go better with vchkpw here

 And using VMAILMGR (loged as inteliweb) I added the user test password 

vmailmgr  checkpassword _just doesnt work_
checkpassword is for real *nix users only

 I wrote the /var/qmail/control/rcpthosts to:
 localhost
unneccessary

 Follow the instructions in the Life with qmail I added the ./Mailbox to the
 /var/qmail/control/defaultdelivery, and tried to assign the user inteliweb

./Mailbox is false if you want to use vmailmgr...

 to /var/qmail/usres/assign without sucess receiving the error code:
 qmail-pw2u: fatal: unable to find alias user.
 
what does id alias say ?
most probably user not found

really: follow lwq EXACTLY, and not with that rpm bullshit


-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: stop relay messages :-)

2001-08-13 Thread Lukas Beeler

On Mon, Aug 13, 2001 at 09:53:38PM +0200, Severin Olloz wrote:
 
 My smtp-process starts with this command:
 
 /usr/bin/tcpserver -H -R -v -u 64011 -g 65534 -x /etc/tcp.smtp.cdb 0 smtp 
 /usr/sbin/qmail-smtpd

looks good

 /etc/tcp.smtp looks before a:
 
 tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
 
 like this:
 
 127.0.0.1:allow,RELAYCLIENT=

still looks good

 So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
 over this smtp-server?

should'nt be possible, 

are you sure that you did thath all as described ?
it really looks correct to me.

probably, your rcpthosts is empty, which means that your systems will 
relay all messages.

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: Quick question

2001-08-13 Thread Lukas Beeler

On Tue, Aug 14, 2001 at 12:13:38AM +, mike wrote:
 but why so many process running as root?  Here's my process list.
  I understand all of it except the first 5 

qmail uses many more processes than sendmail, which is one monolithic 
programm, running as root. If you look at your ps aux a little more 
exactly, you will see that only supervise processes and qmail-lspawn run 
as root. supervise processes do nothing more than just guard a 
service, and restart them if they die. have a look at supervise.c in the 
daemontools directory. qmail-lspawn does just invoke qmail-local's with 
the respective UID/GID of the receiver. this is, why this programm 
need's root right. You see, there are more processes, because qmail is 
more modular, and splitted into different processes, for more security.

-- 
Lukas Beeler[EMAIL PROTECTED]
GPG Fingerprint: 8030 1C2F 66C5 9D80 AA31  6604 7D4D 0A67 68D8 B67E



Re: Mandrake 8.0 with postfix

2001-08-09 Thread Lukas Beeler

At 14:37 09.08.2001 -0400, qmail wrote:
Q1.) I am setuping with Mandrake 8.0 kernal 2.4.3, how can I remove all
postfix?

if installed by hand, you would'nt ask
if installed by rpm, rpm --erase

Q2.) Should I stop all the pop3 and IMAP service in Xinetd?

yes

Q3.) I should use courier-imap and qmail-pop3?

yes

Q4.) I have many existing email account with user name like
[EMAIL PROTECTED] is it ok?

yes, but you need to use /var/qmail/users/assign

Q5.) Is it I should install dot-forward package b4 install qmail? my
.forward file don't work,
how to check what error by./instcheck?

you don't need .forward, use .qmail instead (man dot-qmail)


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  Project: D.R.E.A.M, every.de -- Your Community  / /




Re: Is this correct?

2001-08-08 Thread Lukas Beeler

At 22:33 08.08.2001 +0200, Severin Olloz wrote:
Is there a possibility to design the /etc/aliases-file that qmail sents
directly to the user test2 without the virtualdomain-file?
i don't know, but fastforward  /etc/aliases is deprecated, use 
/var/qmail/users/assign  ~alias/.qmail-name instead
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  Project: D.R.E.A.M, every.de -- Your Community  / /




Re: error

2001-08-07 Thread Lukas Beeler

At 20:41 07.08.2001 +, [EMAIL PROTECTED] wrote:
anybody send to me a default config for /var/qmail/defauldelivery?
./Maildir/

and read http://www.lifewithqmail.org
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmail-pop3d and /var/spool/mail

2001-08-05 Thread Lukas Beeler

At 14:28 05.08.2001 +0200, Severin Olloz wrote:
Any ideas?
qmail-pop3d supports only maildir spools.
use gnu-pop3d, qpopper or similar to pop your vms


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmailanalog awk: division by zero

2001-08-05 Thread Lukas Beeler

At 16:45 05.08.2001 -0400, martin wrote:
Can someone give me a hint so I can start tracking this error down.
you didn't convert the timestamps into fractional seconds
look at qmail.org for a programm called tai64nfrac that converts the timestamps
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: can qmail control a mail size before sending it ??

2001-08-03 Thread Lukas Beeler

At 15:31 03.08.2001 +0100, François Philippo wrote:

instead of sending a mail too big and have an error return
I'd like to controle the mail size before sending it.
is it possible???

yes, man qmail-control
look for databytes

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: shifting qmail accounts from old server to new server

2001-08-03 Thread Lukas Beeler

At 05:41 03.08.2001 -0700, paras jain wrote:
linux 6.2 to new qmail server on linux 7.0
i thought we are at 2.4 ?
and a kernel upgrade doesnt require any change on your qmail system.
/humor
look at your /etc/passwd and /etc/shadow, and copy the wanted user  passes 
to the new server
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: can qmail control a mail size before sending it ??

2001-08-03 Thread Lukas Beeler

At 08:14 03.08.2001 -0700, you wrote:

Someone please correct me if I'm wrong here, but isn't databytes exactly
what the OP does _not_ want? databytes is checked after the mail is
spooled, no?
i don't use this function.
i thought it would decline the message on smtp level. with a 553 error 
after data. But, i don't know it, because i never used this function.
and, the question is how:
 I'd like to controle the mail size before sending it.
should be interpretet.. the message won't be sent to the to the other end, 
with databytes. in any case.
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




RE: Selective Relaying and tcprulescheck

2001-08-01 Thread Lukas Beeler

At 11:14 01.08.2001 -0500, Scott Zielsdorf wrote:
Once I set the TCPREMOTEIP variable I did see the rule which now leads me to
the discovery that my Windows workstations - which are DHCP clients - do not
have entries in my DNS.

so far, so good. but tell me, what does the TCPREMOTEIP Variable have to 
with DNS ?

So when qmail does the reverse look up, it can't
resolve the IP.

yes, but where's the problem ?

Short of going off DHCP and putting all my workstations in my DNS, is there
any way to fix this?

fix what ? everything will work, even without ptr records...


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




RE: Selective Relaying and tcprulescheck

2001-08-01 Thread Lukas Beeler

At 12:00 01.08.2001 -0500, Scott Zielsdorf wrote:
At 11:37 01.08.2001 -0500, Lukas Beeler wrote:
  So when qmail does the reverse look up, it can't
  resolve the IP.
 
  yes, but where's the problem ?
 

The problem is RELAYCLIENT doesn't get set and therefore the relaying rules
in tcp.smtp.cdb do not get invoked - apparently.

the rules in tcp.smtp have to be set for ip adresses and not for domain names
so if you set them correctly they WILL get invoked..

The headers in testing show the dialogue between any workstation on my net
with qmail smtp as HELO (machine name) (unknown)

yes, because the machine doesnt have a PTR record, but that shouldnt make a 
problem

So, I am *assuming* that even though I have -H (Do Not Look Up Remote Host
Name) set in the run file invoking smtp that
somesort of lookup is being done and when it can't resolve I get the
Sorry...you're not in my rcpthosts file message.
it looks like your tcp.smtp file is set up incorrectly. tcpserver gets the 
remote ip adress from the connection handshake, and thats not any kind of 
look up


  Short of going off DHCP and putting all my workstations in my
  DNS, is there
  any way to fix this?
 
  fix what ? everything will work, even without ptr records...

Alas, NOTHING works with respect to selective relaying. Is it maybe a Linux
net configuration issue? And to re-iterate from an earlier post, I have
followed installation to the letter from LWQ.

selective relaying does not need reverse lookups, it i IP based.
i have an private lan running [10.10.1.x adresses] whitout any server that 
is authoritive for 10.10.in-addr.arpa, and it still works, of course.
i have the following line in tcp.smtp
10.10.:allow,RELAYCLIENT=
as you see, we have ip adresses there, and they have nothing to do with PTR 
records..


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: Selective Relaying/tcprules check SOLVED!

2001-08-01 Thread Lukas Beeler

At 15:58 01.08.2001 -0500, Scott Zielsdorf wrote:
I am STUPID.

nope. inetd / xinetd is stupid

I did not know and consequently did not mention that my qmail
was running on my Redhat 7 running xinetd and NOT inetd.

inetd sucks

  xinetd is, as far
as I can find, not covered in the LWQ or 1.03 Install procedure.

yes
and why ? because it suxx. Use daemontools instead, you would have MUCH 
less problems. convert your existing inetd services to daemontools, iam 
sure you will be confident with the result.


-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




RE: Selective Relaying/tcprules check SOLVED!

2001-08-01 Thread Lukas Beeler

At 16:20 01.08.2001 -0500, Scott Zielsdorf wrote:
LOL! I love abuse!

i not

I gave myself root, my box. I'm a SCO guy or was. First linux I've ever
logged into. Three days ago. Not by choice. So...

if it is your box, why did you install an OS you don't like ?

I don't care if XINET sucks - which from what I read else where that is
debatable (XINET replaces INET)

and daemontools/tcpserver fully replace xinetD and inetD

- and I don't care that Robin lifted his leg
and pissed on me, it was all worth it.

thats good so.. he makes that by everybody.. i would wonder if he would'nt 
try to piss on djb ;)

Now I can go back to tending my other
hardware and not have to do this linux email job!

why did you start to do something you don't like ?

And, I likely quoted Robin wrong.

you can't do anything right, if robin decides otherwise

  Don't care either. Using my own words
against me...hey...I'm on top of the world at the moment.

what did you smoke ? ;)

  It may change
tomorrow but tomorrow's a whole 'nother day.

it's just an advise to use daemontols instead of *inetd



-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: Sublist (Was: Virus-infected listmembers)

2001-07-31 Thread Lukas Beeler

At 12:39 31.07.2001 -0400, Russell Nelson wrote:
Smithj writes:
   Use GIMP :)

Yup.  Anybody who uses an email client that they didn't write
themselves (in assembly language) is just a poseur.


of course.. wait a moment please, i have to catch some violet flying pigs 
:)

i use a windows MUA because i have to, because i don't have the money, to 
buy a third computer [beside my devel server]. Or would you tell your 
mother, that she now should use mutt as her email client ?
i don't thin so..

-- 
-russ nelson [EMAIL PROTECTED]  http://russnelson.com
Crynwr sells support for free software  | PGPok |
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] 
---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: qmail-smtpd process

2001-07-31 Thread Lukas Beeler

i don't have an idea, whats exactly the problem, but i can give you an advice..
follow life with qmail. tcpserver  daemontools solve many problems that 
inetd or standalone tcpserver can cause.
you can get lwq at http://www.lifewithqmail.org, written by Dave Sill, and 
really worth reading

At 18:22 31.07.2001 -0300, Francisco André Barbosa Neto wrote:
 Hi my name is Andre, I'm using qmail for a long time in the
same machine, when I start using qmail, sometimes it seems to stop work, so
I run qmail-stop an qmail-start again and it delivery many messages that are
in it's message spool, nowadays, my qmail starts a qmail-smtpd process,
complete the action, but it didn't finish the process, and after 1 hour it
finish that process. I have a busy server, about 3 thousand messages by day,
and it happens not all the time, but in a random mode.

 Somebody has an idea of what are happening??

Following are my actual system
Pentium III 500 128Mb RAM
Slackware 7.1
qmail 1.03
amavis 0.21

I'm using only a DNS server more in this machine!!!

 Thank you all!!

--
Connect On Internet Provider
http://www.connecton.com.br
Fone: 55-11-4655-2232
Francisco André Barbosa Neto
[EMAIL PROTECTED]
--

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: Compile error

2001-07-30 Thread Lukas Beeler

just a thought, but update nroff ?
GNU nroff (groff) version 1.17
works fine for me...

At 08:29 30.07.2001 -0500, mick wrote:
Anyone know what component I'm missing:

# make setup check
nroff -man qmail-clean.8  qmail-clean.0
troff: fatal error: can't find macro file tty-char
make: *** [qmail-clean.0] Error 1

Thanks

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*
At 08:29 30.07.2001 -0500, mick wrote:
Anyone know what component I'm missing:

# make setup check
nroff -man qmail-clean.8  qmail-clean.0
troff: fatal error: can't find macro file tty-char
make: *** [qmail-clean.0] Error 1

Thanks

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] 
---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: question about local mail and fqdns

2001-07-22 Thread Lukas Beeler

On Sun, Jul 22, 2001 at 04:04:37PM -0400, Dahnke, Eric wrote:
 
 Hello Qmailers,
 
 I'm an avid user, and put qmail on every server whenever possible. But for
 years I've had a nagging problem. Suppose our company, nextsource.com, is a
 web development shop with an exchange or notes server for people's internal
 and incoming mail. On the numerous development and production web servers it
 is always nice to put qmail on them and I configure it with the
 ./config-fast nextsource.com because receiving mailers want a fqdn when they
you could either have put up /var/qmail/control/defaultdomain and 
/var/qmail/control/defaulthost that would have the same effect, and wouldnt cause 
this problem..
now, you have two possibilities to fix this..
either
change defaultdomain, defaulthost, me, locals and rcpthosts 
or
change locals and rcpthosts
both solutions will solve your problem, but the first one is much cleaner..

 receive messages from these hosts. But the eternal problem is that messages
 to our own domain; to root, or postmaster, or [EMAIL PROTECTED] will
 never leave the system because qmail treats them as local.
 
 
 Do I HAVE to register all the development servers as fqdns and configure via
 ./config-fast dev1.nextsource.com ? And if I do this are messages to
 *@nextsource.com no longer treated as local?
 
 
 Many thx. - Eric

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: URL:http://www.projectdream.org  / /



Re: Backup-mx

2001-07-22 Thread Lukas Beeler

It looks like the primary server is configured wrong and / or the dns records are 
configured wrong.. can you tell me the configuration of your primary server ?
narnias.dk. 43200   IN  MX  50 mail.n-consult.dk.
narnias.dk. 43200   IN  MX  10 mail.narnias.dk.
as it looks like, mail.n-consult.dk has the higher priority.. iam not really
sure about mx records, iam not a expert in dns questions..
probably you should change the value, that the primary has the higher number
and, of course try to check about that the primary really accepts mail for
narnias.dk


On Sun, Jul 22, 2001 at 10:32:59PM +0200, Tue N?rgaard wrote:
 Hi!
 
 I´m trying to get my mail server act as a backup-mx for at domain called
 narnias.dk.
 
 I have put narnias.dk into the rcpthosts file and restarted qmail.
 
 My problem is that my server is the server mx with the highest number, so my
 server is suppose to put the messages into queue, and send them to the
 primary mx when it´s availible again.
 The mail gets into the queue..
 This is what the mail log says:
 
 @40003b5b0f1e31a2331c info msg 400814: bytes 595 from
 [EMAIL PROTECTED] qp 16480 uid 0
 @40003b5b0f1e31c7a50c starting delivery 1: msg 400814 to remote
 [EMAIL PROTECTED]
 @40003b5b0f1e31c7bc7c status: local 0/10 remote 1/20
 @40003b5b0f77386a2574 new msg 400830
 @40003b5b0f7738fefb04 info msg 400830: bytes 819 from [EMAIL PROTECTED]
 qp 16488 uid 0
 @40003b5b0f773afa4a1c starting delivery 2: msg 400830 to remote
 [EMAIL PROTECTED]
 @40003b5b0f773afa59bc status: local 0/10 remote 2/20
 @40003b5b0f773afa6574 delivery 1: success:
 62.243.13.155_accepted_message./Remote_host_said:_250_ok_995823469_qp_16488/
 @40003b5b0f773afa7514 status: local 0/10 remote 1/20
 @40003b5b0f773afa80cc end msg 400814
 
 
 But I get the following mail back:
 
 Hi. This is the qmail-send program at shark.n-consult.dk.
 I'm afraid I wasn't able to deliver your message to the following addresses.
 This is a permanent error; I've given up. Sorry it didn't work out.
 
 [EMAIL PROTECTED]:
 62.243.13.155 failed after I sent the message.
 Remote host said: 554 too many hops, this message is looping (#5.4.6)
 
 --- Below this line is a copy of the message.
 
 Return-Path: [EMAIL PROTECTED]
 Received: (qmail 16966 invoked by uid 0); 22 Jul 2001 18:00:41 -
 Received: from cpe.atm0-0-0-108101.abnxx1.customer.tele.dk (HELO
 shark.n-consult.dk) (62.243.13.155)
   by 172.16.1.2 with SMTP; 22 Jul 2001 18:00:41 -
 
 
 The mail is much longer but I have just put the some of it. The rest of the
 mail is the same.
 
 I´m running qmail 1.03, and vpopmail. Everything else is working fine
 
 A short overlook of my setup:
 
 My router IP-address on the WAN side: 62.243.13.155, and it is using NAT to
 192.168.1.2.  Then my firewall is having 192.168.1.2 on the WAN side, and
 172.16.1.1 on the LAN side (using masqurade). . My server´s IP-address is
 172.16.1.2
 
 What am I doing wrong?
 
 Best regards
 
 Tue Noergaard
 

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: URL:http://www.projectdream.org  / /



Re: Backup-mx

2001-07-22 Thread Lukas Beeler

On Sun, Jul 22, 2001 at 10:44:35PM +0200, Tue N?rgaard wrote:
 HI!
  It looks like the primary server is configured wrong and / or the dns
 records are
  configured wrong.. can you tell me the configuration of your primary
 server ?
  narnias.dk. 43200   IN  MX  50 mail.n-consult.dk.
  narnias.dk. 43200   IN  MX  10 mail.narnias.dk.
  as it looks like, mail.n-consult.dk has the higher priority.. iam not
 really
  sure about mx records, iam not a expert in dns questions..
  probably you should change the value, that the primary has the higher
 number
  and, of course try to check about that the primary really accepts mail for
  narnias.dk
 
 The mail should first go to mail.narnias.dk.  But that server is down right
 now. So then my mailserver mail.n-consult.dk should recieve them and put
 them into the queue, and send them to mail.narnias.dk when it´s avalilable
 again.
hmm.. 
okay
i think you should set up an smtproute
narnias.dk:mail.narnias.dk
so that qmail doesnt look at the mx records it wants to send the mail to
but this solution will only work if the server isnt down longer than 10 days..

 
 Regarding mx records: It´s is the mx record with the lowest number that
 indicates which server to sent to first. And that is correct. My server
 mail.n-consult.dk is only suppose to get and hold the messages to the other
 server gets up again. Therefore it has a mx record with a higher number.
thanks for your informations !

 
 Best regards
 
 Tue Noergaard
 
 
 

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: URL:http://www.projectdream.org  / /



Re: SMTP Auth Patch Question

2001-07-22 Thread Lukas Beeler

On Sun, Jul 22, 2001 at 03:07:38PM -0600, Keary Suska wrote:
 Does anyone have comments, recommendations, or warnings over the various
 SMTP Auth patches available? I can't seem to find any hard information to
 compare them.
There are several patches available, the best is, i think, the one listed at
qmail.org that was produced by Eric M. Johnston. You can use any 
checkpassword you want, so its really easy to authenticate against a vmailmgr 
list or similar


 
 Keary Suska
 Esoteritech, Inc.
 Leveraging Open Source for a better Internet
 

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: URL:http://www.projectdream.org  / /



Re: SMTP Auth Patch Question

2001-07-22 Thread Lukas Beeler

On Sun, Jul 22, 2001 at 05:28:16PM -0400, alexus wrote:
 can someone suggest me place where to look how to make qmail smtp auth?
look at http://www.qmail.org
 
 i was able to do it via vpopmail but i'm sure there is more native way:)
what do you mean with that ?
 
 
 
  Does anyone have comments, recommendations, or warnings over the various
  SMTP Auth patches available? I can't seem to find any hard information to
  compare them.
  
  Keary Suska
  Esoteritech, Inc.
  Leveraging Open Source for a better Internet
  
  
 

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
  \ \  My HomePage: URL:http://www.projectdream.org  / /



[OT] conversion inetd daemontools

2001-07-20 Thread Lukas Beeler

Sorry for Off-Topic, but there is neither a daemontools nor a ucspi mailing 
list.

Iam using qmail now since a month, and iam really impressed by the 
daemontools package.
Now i want to switch from using inetd for ftp  rsync to daemontools. I 
would be very pleased, if someone could tell me a page, where i can find 
example scripts for those actions.

thanks in advance

Lukas Beeler
-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: NEED HELP problem with virtual domain

2001-07-19 Thread Lukas Beeler

At 20:40 19.07.2001 +0700, you wrote:
sorry iam a newbie in qmail
I have problem with virtual domain, some domains work but the other is not
work.
my default domain default.net
if i send to [EMAIL PROTECTED] it deliver to [EMAIL PROTECTED] not to
[EMAIL PROTECTED]
i have set other.com:oth in virtualdomains
and have add to local and rcphost

don't put other.com in local..
i think thats the solution for your problem

how do i for qmail to read virtualdomains file (ihave do start and stop but
not work)




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: How to create dynamic users for IMAP Email services

2001-07-19 Thread Lukas Beeler

At 21:53 19.07.2001 +0530, you wrote:
Hello Everyone -

I am a new entrant to the qmail world and have recently installed the 
qmail_1.03 server on a Red Hat Linux 6.0. I have also istalled the UW-imap 
server with Maildir support. I have successfully configured 
NS-Communicator to send and receive mails using the IMAP ptotocol using 
qmail. I am even able to send and receive emails using Outlook Express 
from other Windows systems in the local network. For accessing thses 
emails, I was creating system users by logging-in as root and using the 
LInuxConf utility. Now my questions are:

1. How do I create dynamic system users (and assign them passwords) and 
the mail directories within the users home directories from inside an 
email-client application, which uses the IMAP protocol to access emails 
(just like it is done on hotmail.com or any other web-based email systems)?


check out www.qmail.org, there are several solutions...

2. Is the creation of system users avoidable for generating email 
addresses? For eg. can I have an email addrress account hosted on the 
above email server - mailto:[EMAIL PROTECTED][EMAIL PROTECTED] 
without creating a system user named joe? If yes, how can I make this 
possible, both as a root user and also from within an email-client 
application? Is there a readymade script available to do this?


see 1. there are web-administration solutions to do this

I hope I have explained my problem in the right sense and am able to put 
across the issue at hand. Any (and in fact all) replies/help is highly 
appreciated. Hoping to get some replies from the techie gurus.

Thanks  kind regards.

KK
mailto:[EMAIL PROTECTED][EMAIL PROTECTED]

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: What does this mean?

2001-07-19 Thread Lukas Beeler

those are normal processes, which are sending mail via SMTP to non-local 
servers
their count is controlled by the file /var/qmail/control/concurrencyremote


At 15:04 19.07.2001 -0700, Mike Jimenez wrote:
Is this something I should be concerned about or is this normal Qmail
activity?
Thanks
Mike

qmailr 808  0.0  0.0  1172  468 ?S15:14   0:00 qmail-remote
china.com  [EMAIL PROTECTED]

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: URL:http://www.projectdream.org  / /




Re: Ok another problem

2001-07-18 Thread Lukas Beeler

At 11:38 18.07.2001 +0100, Paul Garrett wrote:
I'm starting again from 'life with qmail' (about 3rd time now) and 
whenever i put the line:


used this already four times... never had a problem

  SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin 
 svscan /service /dev/null /dev/console 2/dev/console

in the inittab, it comes up with the folling error on the screen over and 
over again

Supervise: fatal: unable to start qmail-smtpd/run: file does not exist
/var/qmail/rc: ./Mailbox: No such file or directory

please post:
your logs, your /var/qmail/rc, your /service/qmail-smtpd/run
if /var/qmail/rc refers to other files, please post them too


I then have to remove the line and kill -HUP 1 to stop the errors.  There 
is a folder called /var/qmail/Mailbox so i dont know why its not finding it.


i don't have this folder, and it works fine

Many thanks

Paul

MfG
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: multiple qmail-send

2001-07-18 Thread Lukas Beeler

At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
Can there be, in the normal flow of qmail, multiple instances of 
qmail-send running at the same time (?)

yes of course... what do you think is the concurrency limit for ?
exactly that

  because multithreaded it's not, and I haven't seen any locking 
 mechanisms for the ressources qmail-send accesses directly.

each of those processes send ONE individual message.. so there isn't any 
locking machanism needed


Thanks,
Dan

and in future, please write text/plain and not text/html

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: multiple qmail-send

2001-07-18 Thread Lukas Beeler

At 22:09 18.07.2001 +0200, you wrote:
On Wed, Jul 18, 2001 at 09:52:06PM +0200, Lukas Beeler wrote:
  At 21:40 18.07.2001 +0200, Daniel BODEA wrote:
  Can there be, in the normal flow of qmail, multiple instances of
  qmail-send running at the same time (?)
  yes of course... what do you think is the concurrency limit for ?
  exactly that

WRONG. There is always _one_ qmail-send.
concurrencylocal   - max concurrent qmail-local processes
concurrencyremote  - max concurrent qmail-remote processes
1  - qmail-send process

yes, you're right.. i did not think that far...

because multithreaded it's not, and I haven't seen any locking
   mechanisms for the ressources qmail-send accesses directly.
  each of those processes send ONE individual message.. so there isn't any
  locking machanism needed

WRONG.
This is true for qmail-local/qmail-remote, but not for the queue manager
qmail-send.

  and in future, please write text/plain and not text/html

ACK.

And you... well, I'd not answer questions here if I am not sure. No offense
intended, it just confuses.

yes, i didn't think that far, now, i know something, thanks to you
iam really worried about misleading Daniel Bodea
i hope that this won't happen again

For the original question:
1 qmail-send - 1 queue

You can install more than one qmail instace per machine, e. g. in
/var/qmail/1/, 2/ and so on. Change conf-home and make setup check for each
instance. You have multiple queues then and must find a solution to balance
the load between them.

--
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: gnu-pop3d[7685]: Incoming connection opened

2001-07-17 Thread Lukas Beeler

At 11:16 17.07.2001 -0600, David J Jackson wrote:
Is this incomming mail from qmail list:

David Jackson

nslookup:

Name:msfe10.onebox.com
Address:  64.68.76.141
Aliases:  141.76.68.64.in-addr.arpa

djb mailing lists are @lists.cr.yp.to

/var/adm/messages:

Jul 17 11:12:46 mail gnu-pop3d[7685]: connect from 64.68.76.141
Jul 17 11:12:46 mail gnu-pop3d[7685]: Incoming connection opened
Jul 17 11:12:48 mail gnu-pop3d[7685]: Session ended for no user
ever seen an smtp client connecting to a pop3 server ?
this is something other, probably a connect() portscan or something like this..
but definitivly nothing related to qmail
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: Qmail - SMTP

2001-07-16 Thread Lukas Beeler

At 13:57 16.07.2001 +0200, Webmaster Sports-wear.de wrote:
I have running Qmail for 2 weeks without problems, but last Friday I get
errors.
Here is my Log.

[EMAIL PROTECTED]:
62.157.196.171 does not like recipient.
Remote host said: 550 relaying to [EMAIL PROTECTED] prohibited by
administrator Giving up on 62.157.196.171.
this looks like a remote configuration error. Probably the remote 
administrator did not set up his rcpthosts [or similar in other MTA] 
correctly. Thats definitivly not your fault, and the only thing you can do, 
is  try to send an email to [EMAIL PROTECTED], telling him about his problems.
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: Qmail - SMTP

2001-07-16 Thread Lukas Beeler

seems to be working now:

Trying 62.157.196.171...
Connected to 62.157.196.171.
Escape character is '^]'.
220 mail.gfg.de ESMTP
mail from:[EMAIL PROTECTED]
250 ok
rcpt to:[EMAIL PROTECTED]
250 ok
quit
221 mail.gfg.de
Connection closed by foreign host.


At 13:57 16.07.2001 +0200, Webmaster Sports-wear.de wrote:
I have running Qmail for 2 weeks without problems, but last Friday I get
errors.
Here is my Log.

[EMAIL PROTECTED]:
62.157.196.171 does not like recipient.
Remote host said: 550 relaying to [EMAIL PROTECTED] prohibited by
administrator Giving up on 62.157.196.171.

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: Punctuation signs in the middle of email address

2001-07-16 Thread Lukas Beeler



At 14:03 16.07.2001 +0200, Wojtek wrote:
Hi.

I have a strange problem.
Sometimes (5%), when I send an e-mail to the addres e.g.
[EMAIL PROTECTED]
my server responds: failure notice with comment (oryginal text):

-
Hi. This is the qmail-send program at [EMAIL PROTECTED]
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

a@somedomain.com;;:
Sorry, I couldn't find any host named somedomain.com;;. (#5.1.2)
-

Is it possible that this is made by qmail or I should rather doubt in my
client program (Netscape 4.77)

i think it's netscape.. Did you try using another MUA ? or use tcpdump to 
listen to the conversation from your client and your mailserver..

Woj

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: supervise question

2001-07-15 Thread Lukas Beeler

yes, it is
check your logs, probably a process controlled by supervise isn't running 
properly..  Iv'e got the problem, that supervise write's it's error 
messages only to tty1. try to run svscan from commandline without 
backgrounding it, and check the output

At 14:35 15.07.2001 -0500, David Dahl wrote:

--
when i look at my processes i get two lines like this:
#ps -aux

root 12102  0.0  0.0 00 ?Z02:14   0:00 [supervise 
defunct]

Has anyone seen this before, and is it a problem?

Regards,

David Dahl

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




re: relaying

2001-07-13 Thread Lukas Beeler

what's exactly your problem ?
try telnetting the server and do a smtp conversation by hand
if it works, the problem has to searched by perl, if this doesn't work 
either, tell us some details about your configuration and especially your logs

At 13:46 13.07.2001 -0700, ed lim wrote:
Hi,

 Is there a way to turn relay a message off a server that has 
 qmail installed? I was trying to send a mail via Net:SMTP through the 
 mail server (QMAIL) but it doesn't seem to do anything. If there is a 
 solution, could anybody give me a detailed way of configuring this 
 set-up? Thanks.

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: how can I unsubscri...

2001-07-11 Thread Lukas Beeler

iam not sure, what's the target behind your replys...
did this help somebody ?
no
i know that they are some stupid idiots out there in this world, but the 
best method is still to reserve your resources and ignore them.
just replying email to qmail-uns. will help more, and reserve bandwith.
Starting an flamewar is _NEVER_ a solution
thx in advance

At 11:58 11.07.2001 -0500, you wrote:
* Paul Kristensen [EMAIL PROTECTED] [010711 11:49]:
  IF PEOPLE KNEW THE ANSWER THEY WOULD NOT ASK THE QUESTION !

   STANDARDIZED BONEHEAD REPLY FORM
-- snip --

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: Netgear RP114 Router doesn't work well with Qmail POP daemon?

2001-07-09 Thread Lukas Beeler

as he already said in another posting, it's a 386, and he was mistaken..

On Monday 09 July 2001 18:45, Ricardo SIGNES wrote:
 In a message dated Mon, Jul 09, 2001 at 11:21:35PM +0300, Mike Jackson 
wrote:
  James Stevens wrote:
   I had a similar problem however my resolve to it was to take an *OLD*
   286 I had laying around install a fairly bare installation of Linux on
   it and

 Am I getting senile, or is Linux 386+ only?

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org 
Mail: [EMAIL PROTECTED]



Re: I get timeouts

2001-07-07 Thread Lukas Beeler

what do the logs say ?
whats your /service/qmail-smtp/run script ?
what does ps aux | grep qmail say ?
what does netstat -lp say ?


At 16:31 07.07.2001 +0200, you wrote:
My Dear All-Knowing Administrators,

there is another problem which I failed to solve. Suprise, surprise... After
I installed qmail with the help of you guys and the [Life with qmail]
documention qmail is running. But not as I wish it to run. If I pipe a
message to qmail-inject it delivers fast and without any problems but if I
connect to the server or from the server to localhost it's responding but I
get a timeout. So the port is open but qmail is not coming up.
I know it's little information I give but I really don't know what to say
more. So if you guys could think about it and give me a hint or directions
it would be greatly appreciated.

Enjoy your weekends,
-Moritz

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




RE: I get timeouts

2001-07-07 Thread Lukas Beeler

hmm seems difficult

At 17:20 07.07.2001 +0200, you wrote:
Hi Lukas,

/var/log/maillog:
=


There was one local delivery and that worked just fine (As you probably
already noticed by reading the logfile).

yes of course..

/var/log/qmail/smtpd/current:
=

I don't understand it but it doesn't look too evil, doesn't it?

nothing happens... i think its the run file..

/service/qmail-smtpd/run:
=

#!/bin/sh
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
MAXSMTPD='cat /var/qmail/control/concurrencyincoming'
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

does /var/qmail/control/concurrencyincoming exist, and is there a 
/etc/tcp.smtp.cdb ?
did you try to re - paste the run file

ps aux | grep qmail:



hmm here it looks something different:
root 17686  0.0  0.0  1192   56 ?SJun18   0:00 supervise 
qmail-s
root 17688  0.0  0.0  1192   56 ?SJun18   0:01 supervise 
qmail-s
root  4876  0.0  0.0  1192   56 ?SJun20   0:03 supervise 
qmail-p
qmaill   14760  0.0  0.1  1208  220 ?SJul01   0:00 
/usr/bin/logger -
qmaill   14761  0.0  0.1  1208  220 ?SJul01   0:01 
/usr/bin/logger -
qmaill   14762  0.0  0.1  1208  220 ?SJul01   0:02 
/usr/bin/logger -
qmails   29723  0.0  0.0  1248  152 ?SJul01   0:01 qmail-send
root 29725  0.0  0.0  1204   68 ?SJul01   0:00 qmail-lspawn 
./Ma
qmailr   29726  0.0  0.0  1204  112 ?SJul01   0:00 qmail-rspawn
qmailq   29727  0.0  0.0  1196   92 ?SJul01   0:00 qmail-clean
qmaild   29730  0.0  0.0  1760   68 ?SJul01   0:00 
/usr/local/bin/tc
root 28178  0.0  0.2  1320  516 pts/2S18:00   0:00 grep qmail
i think its the tcpserver process missing... running under user qmaild

netstat -lp:



i did really mean netstat -lp
net-tools 1.60
netstat 1.42 (2001-04-15)
i get an output like this:
[pasted only the relevant line]
tcp0  0 
*:smtp  *:* LISTEN  29730/tcpserver 


Iam not really sure where the problem is, but i think it's the run file of 
qmail-smtpd
iam using the following file:

--- /service/qmail-smtpd/run ---
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp \
 /usr/local/bin/rblsmtpd -rblackholes.mail-abuse.org -r 
'relays.mail-abuse.org:Open Relay - see ' \
 /var/qmail/bin/qmail-smtpd 21

--- END ---
and this works perfectly
did you try to run /var/qmail/bin/qmail-smtpd on the console ?
did you try to run qmail-smtpd under inetd ?
[ just for testing purposes... daemontools with it run files confuses me.. 
inetd isn't as good as daemontools, but its a lot less complex... just to 
exclude errors ]

Hope i helped so far

-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




RE: I get timeouts

2001-07-07 Thread Lukas Beeler

At 18:37 07.07.2001 +0200, Moritz Schmitt wrote:
root168  0.0  0.1   892  544 con- I 5:55PM   0:00.00
/usr/local/bin/tcp
server -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c cat
/var/qmail/control/concurrencyi
ncoming -u id -u qmaild -g id -g qmaild 0 smtp /var/qmail/bin/qmail-smtpd
why is it running as root ???
it looks like the id's arent correctly inserted...
try to repaste the run script
did you recognize the difference between ' and ` ?
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: qmail-queue-patch and qmail-scanner

2001-07-07 Thread Lukas Beeler

At 12:27 07.07.2001 -0600, you wrote:
Andreas Grip [EMAIL PROTECTED] wrote:

  So I'm thinking about to create another queue that the mail can be 
 placed in
  first so qmail can tell the sender that it has ben received and then start
  to scan and filtering the mail in that queue before it deliver it to the
  original queue.


What problem are you trying to solve?  Why do you think making the SMTP client
wait a minute or two is a bad idea?
hmm iam not sure, but what is, if the connected mta thinks that the remote 
has gone offline, closes the connection and sets the message deferred, and 
retries later.. getting the same problem again..
iam not if there exist's a such mta, but its possible that this will cause 
problems like that
-- 
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: localhost setup

2001-07-06 Thread Lukas Beeler

try your /etc/resolv.conf
probably there stands something like
search domain.org
remove or comment this line, and try again

At 01:47 07.07.2001 -0500, cyberruz wrote:
I am trying to send mail locally into local mailboxes in my machine.

I am getting the following error:

 Sorry..i couldn't find any host named localhost.localhost

where localhost is my machine name

I am trying to send to the local mailbox as follows:

echo To: username   | qmail-inject

and qmail thinks that I am trying to send to
[EMAIL PROTECTED] rather than username@localhost

At least the failure messages bounce to postmaster@localhost which I can
read via elm (using elq and Maildir setup..finally figured it out!!)

The default files in /var/qmail/control all contain localhost in them.

Why is it so?

Rob..

--
Lukas Maverick Beeler / Telematiker
[PD] Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: localhost setup

2001-07-06 Thread Lukas Beeler

try to send the mail with telnet
aka
telnet localhost 25
mail FROM: me@localhost
rcpt TO: me@localhost
data
TEST
.
if this works, it's your mail client which does the mistakes

At 02:16 07.07.2001 -0500, you wrote:
Charles Cazabon wrote:

  cyberruz [EMAIL PROTECTED] wrote:
  
   I am getting the following error:
  
   Sorry..i couldn't find any host named localhost.localhost
  
   where localhost is my machine name
 
  Post the real error message, and the unedited output of 
 qmail-showctl.  Don't
  try to mask or hide anything.

I have attached rob.txt as the qmail-showctl  output and rob2.txt as the email
bounce

Thanks.

Rob..






  
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 64010, 64011, 64015, 0, 64016, 64014, 64013, 64012.
group ids: 1003, 64010.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is cyberruz.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: (Default.) Default domain name is cyberruz.

defaulthost: (Default.) Default host name is cyberruz.

doublebouncehost: (Default.) 2B recipient host: cyberruz.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is cyberruz.

helohost: (Default.) SMTP client HELO host name is cyberruz.

idhost: (Default.) Message-ID host name is cyberruz.

localiphost: (Default.) Local IP address becomes cyberruz.

locals:
Messages for cyberruz are delivered locally.

me: My name is cyberruz.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is cyberruz.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: (Default.) SMTP clients may send messages to any recipient.

morercpthosts: (Default.) No rcpthosts; morercpthosts is irrelevant.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 cyberruz.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.
 From #@[] Sat Jul 07 07:13:32 2001
Return-Path: #@[]
Delivered-To: cyberruz@cyberruz
Received: (qmail 1726 invoked by alias); 7 Jul 2001 07:13:32 -
Delivered-To: postmaster@cyberruz
Received: (qmail 1723 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: postmaster@cyberruz
Subject: failure notice
Status: O

Hi. This is the qmail-send program at cyberruz.
I tried to deliver a bounce message to this address, but the bounce bounced!

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 1721 invoked for bounce); 7 Jul 2001 07:13:32 -
Date: 7 Jul 2001 07:13:32 -
From: MAILER-DAEMON@cyberruz
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at cyberruz.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, I couldn't find any host named cyberruz.cyberruz. (#5.1.2)

--- Below this line is a copy of the message.

Return-Path: [EMAIL PROTECTED]
Received: (qmail 1719 invoked by uid 1000); 7 Jul 2001 07:13:31 -
Date: 7 Jul 2001 07:13:31 -
Message-ID: 20010707071331.1718.qmail@cyberruz
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

--
Lukas Maverick Beeler / Telematiker
[PD] Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: localhost setup

2001-07-06 Thread Lukas Beeler

follow LWQ _exactly_ and you dont have to use inetd(suxx)
use daemontools instead

At 03:40 07.07.2001 -0500, cyberruz wrote:
Lukas Beeler wrote:

  are your sure that you did type
 
  telnet localhost 25
^^
  The 25 marks the smtp port
  if you just type
  telnet localhost
  you will try to access your port 23 [standard telnet port]
 
  if you did type the 25, your smtp server is down...
  check www.lifewithqmail.org and try again
 

I got it working...didn't have qmail-smtp in the inetd.conf file

Thanks...unfortunately the LWQ doesn't mention the inetd.conf file (or
xinetd.conf file)...unless I didn't look in the right spot.

Rob..

--
Lukas Maverick Beeler / Telematiker
Project: D.R.E.A.M / every.de - Your Community
Web: http://www.projectdream.org
Mail: [EMAIL PROTECTED]




Re: qmail-inject: fatal: read error

2001-07-04 Thread Lukas Beeler

iam using the qmail-sendmail emulator with php, and it works

At 10:07 04.07.2001 -0700, Warren Brundage wrote:
Hi,
When I try to use PHP to send mail through qmail I get a qmail-inject: 
fatal: read error.  I have posted this to the PHP lists but I guess 
nobody there understands qmail well enough!

I have tried putting both the default sendmail -f and qmail-inject into 
the php.ini file and I have the appropriate qmail links set up.  I am not 
sure if this is some kind of permission error or if PHP is trying to pass 
through information that qmail-inject can't understand.  Is there some way 
to trouble-shoot this?  I know that PHP does work with qmail, just not for 
me!  Does anyone have any answers???

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: RFC complience

2001-07-03 Thread Lukas Beeler

i think it's the mail tool on the tv box which breaks the RFC's and not qmail
get a computer and everything is fine

At 12:47 03.07.2001 +0530, [EMAIL PROTECTED] wrote:

Hello friends

 i have been using qmail-1.03 from almost a year now , and before 2 days

i have received a complain from one of my customer that he is not able to
send (relay or mail destined to localdomain) from my qmail-smtpd , he is
getting an error connection timeout/reset etc errors while sending the
mail , further if the mail contains more then one line then this is
happening ,but if the message is lesser then one line (message body is
lesser then one line) then qmail-smtpd is accepting his mails and mails are

also getting delivered sucessfully  but without any spaces (even if the
line contains space char) ,

  now the intresting thing is that the mail client from which this customer
is trying to send/receive mails works on TV , and its specifically designed

for broadband users ,

  i myself has tested this tool(mail client for tv for broadband network)
with other ISP's , other mail servers on internet but its working with all
those accept out mail server ,

  so please suggest how to debug/resolve this problem ,

  also if someone can tell me with which RFC's qmail complies with ,
pop-3 is also not working with this mail tool, so please suggest me the
RFC's for SMTP and POP with which qmail complies with.


Thanks  Regards
Prashant Desai


_
Wanna have a date?  Log on to http://dating.zeenext.com

_
Wanna have a date?  Log on to http://dating.zeenext.com

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: Mail servers in private network

2001-07-01 Thread Lukas Beeler

At 16:00 01.07.2001 +0800, Mr. Egg wrote:
Hi, sirs,

 I has a question about mail servers in private network. I use a network
sharing device (NAT) to share a public ip address with my colleagues. We
have 4 mail servers, one with public ip (static mapped by NAT), three are
inside private network.

 NAT device:
 ifconfig: 192.168.1.1 (private interface), 203.76.12.1 (public
interface)
 static mapping: DNS to 192.168.1.2, Mail server to: 192.168.1.3
 DNS server: 192.168.1.2 (example.com)
 qmail server #1: 192.168.1.3 (example.com), (Static mapped by NAT)
 qmail server #2: 192.168.1.4 (hr.example.com)
 qmail server #3: 192.168.1.5 (mis.example.com)
 qmail server #4: 192.168.1.6 (acct.example.com)

 First question is about sending mail. To make receipt reply correctly,
does all inner mail servers (#2~#4) must relay by the first mail server
(#1)? and how can I configurating these inner mail server?

Set up an smtproute to server #1

 Second question is about receiving mail. When a user outside this
company, and send a mail to [EMAIL PROTECTED] through his ISP, he will
fail because mis.example.com is within a private network. When I configurate
my DNS to let hr.example.com, mis.example.com and acct.example.com to point
to 203.76.12.1, all mail will be sent to the first mail server. How do I
configurate my DNS or qmail to let the three inner mail servers work as
their are in public network?

Set the external MX records all to server #1, and set up smtproutes to the 
inner three servers

 Best Regards
 Mr. Egg

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: auto responder!

2001-06-30 Thread Lukas Beeler

id would be nice if you post a download location and/or documentation, and 
include a more detailed error describtion
a tail of your qmail-local logs would be nice too

At 18:52 30.06.2001 +0530, Qmail wrote:
i tried installing Bruce Guenter,s auto responder and added an entry in the
.qmail file for some users as per the instruction given on the site. but the
responder is not working.
can any one explain how exactly to use the auto responder. how to configure
it.

best regards
Arun Hubballi

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: Where I can get vmailmgr-0.96-9.tar.gz.

2001-06-30 Thread Lukas Beeler

Quick google search shows:
http://freezer-burn.org/rpm-c.php?rpm=vmailmgr
http://chroot.net/software/bgware/vmailmgr/vmailmgr-0.96.9.tar.gz
...
and remember:
google.com is your friend

At 17:14 30.06.2001 +0200, Webmaster Sports-wear.de wrote:

I need this Programm as soon as possible.

Can anybody send me this little programm through email   ?



Thanks

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: Where I can get vmailmgr-0.96-9.tar.gz.

2001-06-30 Thread Lukas Beeler

because it's much simpler for me to search with google, instead remembering 
all URL's of different organisations with also different program names :]
of course, vmailmgr.org was the first i tried, but there was a sweet 
permission denied message, which made me to look at google.com

At 11:59 30.06.2001 -0500, Jeremy Suo-Anttila wrote:
Why not get it from the people who write the software? Try www.inter7.com
they write all the programs like vpopmail, vmailmger etc etc

thanks

Jps

- Original Message -
From: Lukas Beeler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, June 30, 2001 11:39 AM
Subject: Re: Where I can get vmailmgr-0.96-9.tar.gz.


  Quick google search shows:
  http://freezer-burn.org/rpm-c.php?rpm=vmailmgr
  http://chroot.net/software/bgware/vmailmgr/vmailmgr-0.96.9.tar.gz
  ...
  and remember:
  google.com is your friend
 
  At 17:14 30.06.2001 +0200, Webmaster Sports-wear.de wrote:
 
  I need this Programm as soon as possible.
  
  Can anybody send me this little programm through email   ?
  
  
  
  Thanks
 
  --
  --
  Lukas Beeler   [EMAIL PROTECTED]
  Homepage:  http://www.projectdream.org
  --
 
 




Re: Man Pages

2001-06-30 Thread Lukas Beeler

just copy the whole content of /var/qmail/man to /usr/local/man
rmdir /var/qmail/man and then symlink /usr/local/man to /var/qmail/man

At 13:53 30.06.2001 +, Nick (Keith) Fish wrote:
Stephen Froehlich wrote:
 
  After doing a Life with Qmail installation, I'd like to add all of the
  appropriate entries to the default MANPATH.  Where is the default MANPATH
  set, and what should I add besides /var/qmail/man?
 
  Thanks,
  Stephen Froehlich

You probably would have been better off making a symlink from
/var/qmail/man to /usr/local/man before doing `make setup check` on the
source; but you can add additional parameters to your MANPATH by either
placing them in ~/.bashrc (for a single user) or /etc/profile (for all
users).

--
Nick (Keith) Fish
Network Engineer
Triton Technologies, Inc.

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: I can't install vmailmgr on my RH 7.1 Professional - Box

2001-06-30 Thread Lukas Beeler
]: *** [exec.o] Fehler 1

make[3]: Verlassen des Verzeichnisses Verzeichnis 
»/root/vmailmgr-0.96.9/lib/misc«

make[2]: *** [all-recursive] Fehler 1

make[2]: Verlassen des Verzeichnisses Verzeichnis »/root/vmailmgr-0.96.9/lib«

make[1]: *** [all-recursive] Fehler 1

make[1]: Verlassen des Verzeichnisses Verzeichnis »/root/vmailmgr-0.96.9«

make: *** [all-recursive-am] Fehler 2

[root@ns vmailmgr-0.96.9]#



 OUPUT END 

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: Logs

2001-06-30 Thread Lukas Beeler

check out qmail.org and lifewithqmail.org
there is a convertor for the tai64nlocal [or so called] timestamp format..
i prefer logging the messages usin logger to log directly into syslog 
facilities, so i always have a normal timestamp in d/m/y h:m:s format BUT 
no machine readable timestamp

At 00:00 01.07.2001 +0200, you wrote:
Hello,

I have for exemple:
@40003b3e495c2ec85f2c info msg 195881: bytes 2951 from
[EMAIL PROTECTED] qp 13962 uid 503

How i can get date and time ?

Can i customise logs of qmail for get more informations like IP, date,
time,...

How work the logrotate of qmail ?
How i can like the logotate program send the logs by e-mail ?

Thanks very much.

--
--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: What could be the problem?

2001-06-29 Thread Lukas Beeler


are you sure, that your DNS server is set up correctly ?
it looks like a DNS problem..
what happens if you do a dig eximsoft.com in your shell ?

At 19:50 29.06.2001, Mathew Chandy wrote:
Hi all,

We have qmail-1.0.3 installed in our server.

Whenever we send a external mail we get the following message in 
/var/log/maillog

Jun 28 15:36:10 mail qmail: 993722770.649384 starting delivery 558: msg 
53658 to remote mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
Jun 28 15:36:10 mail qmail: 993722770.649477 status: local 0/10 remote 1/20
Jun 28 15:36:50 mail qmail: 993722810.758651 delivery 558: deferral: 
CNAME_lookup_failed_temporarily._(#4.4.3)/
Jun 28 15:36:50 mail qmail: 993722810.758758 status: local 0/10 remote 0/20
Jun 28 15:38:08 mail qmail: 993722888.928096 new msg 53659
and it doesn't send the message.

Thanks
Mathew

--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




Re: qmail Installation

2001-06-28 Thread Lukas Beeler

looks like you haven't got the nroff program for extracting or something 
the man files
take a look on your distribution CD's  or try this source
http://sunsite.ics.forth.gr/sunsite/linux/sunsite_archive/utils/text/nroffsrc.tar.Z
[ found on the fast with google :) ]


At 23:09 28.06.2001, Steve Reed wrote:
OK, done.  I recompiled again with the same results and you can
access the log here:

http://www.reedelectronics.com/steve/qmail.log

Thanks.

 
  3) Post /tmp/qmail.log to a website for further review, since
you're
 obviously not providing enough information here.
 
  --Adam
 

--
Lukas Beeler   [EMAIL PROTECTED]
Homepage:  http://www.projectdream.org
--




RE: SMTP Proxy

2001-06-27 Thread Lukas Beeler


-Original Message-
From: Awie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 3:29 AM
To: [EMAIL PROTECTED]
Subject: SMTP Proxy

Hi all,
hi

I plan to have a SMTP proxy that using qmail.
good idea
Our main mail server is MS Exchange that not secure enough for SMTP
gateway.
yes of course.. why just put msx in the thrash and use qmail for all
[dont look at my mime header, iam using outlook XP as mail client ]

Would you give me suggestion what should I install ? and what
configuration should I do?
install a normal qmail installation as described in life with qmail
www.lifewithqmail.org i think, and then setup a smart host or something
similar in the
ms exchange config. Then add an smtproute in your qmail config to the
exchange server
e voila :)


Many thanks for your help.


Thx  rgds,

Awie





RE: Bruce Guenter's relay-ctrl

2001-06-27 Thread Lukas Beeler



 -Original Message-
 From: Todd Grimes [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 7:05 PM
 To: [EMAIL PROTECTED]
 Subject: Bruce Guenter's relay-ctrl


 when i run relay-ctrl-age from cron or command line, i get #
 /usr/local/bin: Permission denied
probably trying to exec a directory ?


 I've checked the permissions, from cron its run as root.  The
 only files it
 should be using in /usr/local/bin is tcprules

 is this behavior normal? or have I got a few things screwed up?

 Thanks in advance


 =
 Todd Grimes [EMAIL PROTECTED]
 Internet Systems Specialist   [EMAIL PROTECTED]
 Bass Pro Outdoors Online, L.L.C.(417)873-4354








RE: Help with Installation

2001-06-25 Thread Lukas Beeler



 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:39 PM
 To: [EMAIL PROTECTED]
 Subject: Help with Installation


 I have followed the directions in the Life with Qmail doc for
 installing Qmail
 and all appears to be working expcept that I can't get mail
 into my INBOX.
which delivery type do you use ?
Maildir ?
mbox in $HOME ?
mbox in /var/spool/mail ?
most current mail things do not support Maildir, which is the best of
the delivery methods [i think :)]
probably you should use the mbox format in /var/spool/mail for full
sendmail compatibility in this case
probably you want install the .forward packet, to make the switch more
transparent to the user





RE: Help with Installation

2001-06-25 Thread Lukas Beeler

sendmail uses mbox delivery to /var/spool/mail
qmail must be specially configured to use this delivery method
[as in lwq described, use the ./Mailbox delivery method and symlink them
all to /var/spool/mail/]
nice job with 2000 users :)
now, there is a second question:
do your users use just imap to get their mail, or log they on the server
to get it with a MUA like pine ?
in first case, it would be much better if you use the ./Maildir/ method
and courier imap


 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:59 PM
 To: Lukas Beeler
 Subject: Re: Help with Installation




 Lukas Beeler wrote:

   -Original Message-
   From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 25, 2001 7:39 PM
   To: [EMAIL PROTECTED]
   Subject: Help with Installation
  
  
   I have followed the directions in the Life with Qmail doc for
   installing Qmail
   and all appears to be working expcept that I can't get mail
   into my INBOX.

 
  which delivery type do you use ?

 What ever is standard with a typical Sun OS 5.7 installation
 with sendmail.

 How can I tell what format I was using with sendmail.  Is
 there a file I can
 look at to see what is set?

 
  Maildir ?
  mbox in $HOME ?
  mbox in /var/spool/mail ?
  most current mail things do not support Maildir, which is
 the best of
  the delivery methods [i think :)]
  probably you should use the mbox format in /var/spool/mail for full
  sendmail compatibility in this case
  probably you want install the .forward packet, to make the
 switch more
  transparent to the user







RE: Help with Installation

2001-06-25 Thread Lukas Beeler

 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 9:01 PM
 To: Lukas Beeler
 Subject: Re: Help with Installation


 This is a test environment.  What we are simulating here is a
 web client
 accessing users IMAP mail boxes.  Hwever we have to test
 varius MTAs in our
 environment and we are just getting around to qmail.  I am
 not a UNIX guru so
 this thing is driving me nuts.
neither am i :)

 I just rechecked my rc file and I was missing a qmail-start \
 line.  I added
 that in and now mail is showing in my INBOX!!!
congrats

 Now I just have to figure out the rcpthosts file.  I have
 several mail servers
 in our test system of various brands etc... they are all in
 the same domain, so
 is there a way to do a wildcard rcpt setting? say something like

 *.subdomain.doamin.com?
hmm, iam not sure what you want to do
do you mean relaying ?
in my rcpthosts is just
domain.com
mail.domain.com
hostname.domain.com
means, it accepts mail for those people from everyone
in my /etc/tcp.smtp
there is 127 and 192
means that localhost und my private lan can relay to everywhere
in the tcp.smtp you can set wildcards, but i don't think you can in the
rcpthosts [iam not sure]
iam not really sure what you want

 Thanks again for your help.  It forced me to back track and
 check some things
no problem and sorry for my english

 --Cordell




 Lukas Beeler wrote:

  sendmail uses mbox delivery to /var/spool/mail
  qmail must be specially configured to use this delivery method
  [as in lwq described, use the ./Mailbox delivery method and
 symlink them
  all to /var/spool/mail/]
  nice job with 2000 users :)
  now, there is a second question:
  do your users use just imap to get their mail, or log they
 on the server
  to get it with a MUA like pine ?
  in first case, it would be much better if you use the
 ./Maildir/ method
  and courier imap
 
   -Original Message-
   From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
   Sent: Monday, June 25, 2001 7:59 PM
   To: Lukas Beeler
   Subject: Re: Help with Installation
  
  
  
  
   Lukas Beeler wrote:
  
 -Original Message-
 From: Cordell Bourne [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 7:39 PM
 To: [EMAIL PROTECTED]
 Subject: Help with Installation


 I have followed the directions in the Life with Qmail doc for
 installing Qmail
 and all appears to be working expcept that I can't get mail
 into my INBOX.
  
   
which delivery type do you use ?
  
   What ever is standard with a typical Sun OS 5.7 installation
   with sendmail.
  
   How can I tell what format I was using with sendmail.  Is
   there a file I can
   look at to see what is set?
  
   
Maildir ?
mbox in $HOME ?
mbox in /var/spool/mail ?
most current mail things do not support Maildir, which is
   the best of
the delivery methods [i think :)]
probably you should use the mbox format in
 /var/spool/mail for full
sendmail compatibility in this case
probably you want install the .forward packet, to make the
   switch more
transparent to the user