Re: Mail cleansing program

2001-04-06 Thread Frank Tegtmeyer

 I wonder if there is a mail cleansing program out there that is
 configurable and mime-compliant.

ezmlm-reject does some checks and ezmlm-send is able to remove some 
parts. Maybe this could be put together by somebody (not me :)

regards, Frank



Re: Telnet to smtp takes long respond time

2001-04-06 Thread Frank Tegtmeyer

 What should be a normal respond time? What is definitely too long?
 Could it be the cause of the problems (the sometimes delayed arrival of 
 messages)?

Henning Brauer wrote some days ago: this is not a FAQ, it is THE FAQ.

Assuming that you run qmail-smtpd under tcpserver have a look at it's 
man page and look for the switches -l, -H and -R.

Regards, Frank



Re: I am back to square ONE...

2001-04-06 Thread Frank Tegtmeyer

"Kirti S. Bajwa" [EMAIL PROTECTED] writes:

 In my opinion (1)  (2) have other mental problems and they TAKE OUT on
 people in the mailing list.

Stop wasting the time of people with useless information, unrelated questions
and mixing mailing lists.

I watched your postings for some days now and I must say there hasn't been
a person like you her for a longer time.

Setting up Qmail and djbdns is not try and error - you need a basic understanding
of what you are doing. I cannot see much of it from your postings.

This list and the dns list are not for teaching Unix, teaching how the Internet
works and so on. They are not a forum for absolute beginners and people who don't
bother to read documentation. Please think about it and stop whining.

Frank



Re: tcpserver help

2001-04-06 Thread Frank Tegtmeyer

Todd Kennedy [EMAIL PROTECTED] writes:

 gives the following error messsage:
 tcpserver: fatal: unable to bind: address already used

Comment out the line beginning with "smtp" in your /etc/inetd.conf file
and send the inetd process a HUP signal (kill -HUP pid of inetd).
Inetd is still waiting for connections to this port.

Regards, Frank



Re: Re[2]: From sendmail to qmail

2001-04-06 Thread Frank Tegtmeyer

Boris [EMAIL PROTECTED] writes:

 192.168.0 RELAY
 127.0.0.1 RELAY
 From:[EMAIL PROTECTED]   550 Spam denied
 From:[EMAIL PROTECTED] 550 SPAM F*CK YOU SH*T SPAMMER
 From:[EMAIL PROTECTED] 550 SPAMMER BUY YOURSELF
 From:[EMAIL PROTECTED] 550 LOAN YOURSELF, SPAMMER
 From:[EMAIL PROTECTED] 550 F*** YOU SPAMMER
 oo.net  550 SPMMMEE

 It looks like as if this file is similar as the rpcthosts (?) file on
 qmail, but its not the same. I relay incoming mails from my 192.168.0
 class c network as well as localhost mails.

This looks like a mixture of tcpserver's access rules and the badmailfrom
control file of qmail.

 Is there a qmail thingy to do the same?

Yes - but more separated and cleaner. Relaying has nothing to do with
spamming in the first place. Relay control and rejection of specified senders
are different tasks and are provided by different programs in qmail.
The relaying you control with the rules file of tcpserver, the bad senders
are rejected by /var/qmail/control/badmailfrom.

 Sometimes I think the qmail-people think that sendmail is an enemy to
 qmail, but I cant understand this.

It's the difference in strategic design principles and of course coding
practice that binds people to qmail and not sendmail. I don't trust
sendmail but qmail. This is based on about ten years watching sendmails
security problems.

Regards, Frank



Re: How does the splogger work?

2001-04-03 Thread Frank Tegtmeyer

Am 3 Apr 2001, um 11:14 hat Martin Edlman geschrieben:
 it reads stdin and passes it to the syslog. Who redirects the output
 from the daemon (e.g. pop3, smtp, ...) to the appropriate splogger?

You have to do it yourself. Qmail itself creates a pipe to it's 
logging program.

The simplest way to get all this going is to use the daemontools 
package and to start all the services from there.

If you are interested, I can send you my run scripts for the 
daemontools setup.

The daemontools package contains also the multilog program that does 
more reliable logging than splogger (because it avoids syslog).

Regards, Frank



Re: How does the splogger work?

2001-04-03 Thread Frank Tegtmeyer

Am 3 Apr 2001, um 11:14 hat Martin Edlman geschrieben:

 I want to know it as I use Courier-IMAP and I want to use it with
 tcpserver (instead of its own couriertcp), and I want to have some log
 from IMAP server.

Sorry, I missed the real question: I don't know how Courier-Imap 
works, but if it logs something to STDERR or STDOUT you may catch it 
then the same way like with the Qmail daemons. Daemontools are 
recommended then too :)

Regards, Frank



Re: A real bouncesaying

2001-03-29 Thread Frank Tegtmeyer


 - It says 'this is the qmail-send program'. It is not. 'qmail-send' is
   not a fixed string in the QSBMF, so why not change it?

True - when I first wrote it I took the text from Qmails bounces.
Feel free to change it :)

Regards, Frank
 



Re: ISP

2001-03-28 Thread Frank Tegtmeyer


  I'm looking for information about BSMTP (hosting mail domain and
  deliver mail to dialup server).
 
  Where can I find information (example/configuration) ?
 
 serialmail by Bernstein might do the trick...

For compressed batches over UUCP the BSMTP package by Olaf Titz would be 
better. It's on www.qmail.org.

Regards, Frank 



Re: newbie: relaying

2001-03-28 Thread Frank Tegtmeyer

 is important put only (in my case egarden.cz domain) allow domain
 to the /etc/qmail/rcpthosta. So I putted the only egarden.cz domain
 to the rcpthosta, then restart qmail but open relay is still functional.

This file is called rcpthosts, not rcpthosta.

Normally it resides under /var/qmail/control. Unless you know exactly what 
you do, you should not change qmails paths.

Regards, Frank 



Re: FW: DNS question

2001-03-28 Thread Frank Tegtmeyer

 firewall) is 192.168.0.33.  Clearly, trying to reverse-DNS the latter will
 lead to trouble, whereas the former is OK.

You are using NAT - if you only want to send email from your internal
network to the world and get your mails by "polling" it somehow you get no 
problem (except that your netblock may be blocked by some mail servers).

If you want to provide services like smtp to the world you have two 
choices:

a) establish that service on your NAT box (I assume it's impossible on 
   that $155 box)

b) your box must be able to redirect defined ports to hosts at your 
   internal network. Most NAT devices can do that, some cannot.

Regarding DNS:
If you provide services to the world always the address of your firewall 
box is visible to the world. Your internal addresses don't matter.

Regards, Frank 



Re: qmail - Ezmlm

2001-03-28 Thread Frank Tegtmeyer

 dear,
 
 i aready have qmail and ezmlm for maillist,
 i make [EMAIL PROTECTED] as maillist ,
 why if i send to [EMAIL PROTECTED] , qmail not found this mailbox ,
 it's work only i do with manually with ezmlm-sub
 what wrong with my qmail setting  or ezmlm-idx  ?
 

1.) What was your command to set up the list? 
2.) Is domain.com local for your machine?

Regards, Frank



Re: Tcpserver

2001-03-27 Thread Frank Tegtmeyer


 rpm's) So, What would be the right number to increase this to, for a qmail
 server which would handle around 30,000 mails per day.

Watch your logs and your memory use to see what number is appropriate for 
your system. 
If your tcpserver/smtpds use too much memory the number is too high. Set 
the number lower then. Beware that this would defer many connection 
attempts - if you are always at the limit of parallel connections and hyve 
no more memory to spend invest in your hardware.

For 3 mails a day -c 10 should be enough. Give it more if your 
machine is able to do it (it should :) - this handles peaks well then.

Regards, Frank



Re: newbie: migrating from sendmail to qmail

2001-03-20 Thread Frank Tegtmeyer


 Problem is, that i am using sendmail on my server where is more then =
 1500 active users

For the sending side simply use the instructions of the INSTALL* documents
in the Qmail tarball.
Because the instructions are rather old now you should be aware that there 
are some better setup options:

- Use tcpserver (part of ucspi-tcp) instead of inetd
- use daemontools to control all qmail services (daemontools package)
- use multilog instead of splogger (part of daemontools package)

Additional:
- control your resources - you may use softlimit for this (part of 
  daemontools)

 and I would like easy migrate to qmail .. without any problem. So I am =
 looking=20
 for best introduction (documentation) how to migrate from sendmail to =
 qmail.

You should provide some information about your setup. Is this one domain 
or are there many? Is your server used for POP access or do the users use
a MUA on the server etc.

Study the Qmail FAQ and see www.qmail.org or www.lifewithqmail.org for 
more information.

Regards, Frank



Re: New qmail version request

2001-03-05 Thread Frank Tegtmeyer

 If something has been discussed before on the list why can't
 we discuss it again?

Because it wastes peoples time. Look at the archives if you are 
interested.

Frank



Re: footer in email

2001-03-05 Thread Frank Tegtmeyer

 serialsmtp: fatal: SMTP cannot transfer messages with partial final lines

Partial final lines are ones which are not ended with a line separator.
Try to include a final empty line in your footer.

regards, Frank



Re: uucp server and qmail

2001-03-03 Thread Frank Tegtmeyer

 how can i configure a qmail to work with a uucp
 server?

Look at www.qmail.org. There is a bsmtp/rmail implementation made
by Olaf Titz.

Regards, Frank 



Re: sms-gateway

2001-03-03 Thread Frank Tegtmeyer

 "number" used as a parameter for this script. how should i set up my
 .qmail-file ? i have no idea with this one?? thanks for help

Read the man page for qmail-command (type "man qmail-command" - just to be 
sure ...).

Regards, Frank 



Re: sms-gateway

2001-03-03 Thread Frank Tegtmeyer

 ops.. ok i've found now the thing with the "LOCAL"-paramter.

If you want to build a "one for all" script this is not sufficient.
You need to catch the addresses with a .qmail-something-default
file and then you must use the DEFAULT environment variable.


 still a problem, i don't need only the data from LOCAL .. i need to add an
 @ to the end of the paramter.
 how can i do this?

How about

| my-sms-gateway-script "$DEFAULT@"

in the .qmail-something-default file?

Regards, Frank 



Re: Redirect e-mails to 'root'

2001-03-01 Thread Frank Tegtmeyer

 I created a /var/qmail/alias/.qmail-root containing ' john ' but qmail still
 attempts to deliver messages to root.

Put 
john

into the file (without the spaces).

Frank



Re: Redirect e-mails to 'root'

2001-03-01 Thread Frank Tegtmeyer

 - Our server handles mail for office.domain.com (this value is in 'me')

 - This works OK, but messages to root (cron et al) get delivered to
 [EMAIL PROTECTED] which isn't under our control (domain.com is our webserver)
 so I don't get to see them. This is why I want to forward them.

Hm. This doesn't fit. Please pove the output of qmail-showctl.

Regards, Frank 



Re: Redirect e-mails to 'root'

2001-03-01 Thread Frank Tegtmeyer


  Please pove the output of qmail-showctl.

Oh I'm a silly-billy. I guess I need some sleep :)
I meant "give" or "post".

Frank 



Re: Question: How allowing only certain senders to send mail to

2001-02-27 Thread Frank Tegtmeyer

 on my last posting, nobody has a answer for me.

I told you an applicable and working solution. Don't say that you got no 
answer from this list. Maybe nobody will have the wish to help you in the 
future then.

Frank



Re: Virtual Domain Quota

2001-02-23 Thread Frank Tegtmeyer

 But, How to make user quota in virtual domain, because I try to use
 vsetuserquota in Vpopmail and cannot blok the user space.

Please ask such questions at the vpopmail mailinglist.

Regards, Frank 



Re: rcphosts?

2001-02-20 Thread Frank Tegtmeyer


 what if i want to relay to all but only from my host ie none other than my
 domain users can actually relay through me

What do you mean by "domain users"? Computers at your LAN?
This situation is covered in the FAQ.
Have a look at
http://cr.yp.to/qmail/faq/servers.html#authorized-relay

Regards, Frank



QMTP/MXPS on cr.yp.to?

2001-02-16 Thread Frank Tegtmeyer

Because of having been offline for six weeks in December/January I 
totally missed the QMTP/MXPS discussions. After some reading in the 
archive I installed Johan Almqvists patch to enable QMTP through MXPS 
(I had running qmtpd for a long while).

I just checked the logs and found that not a single message arrived 
through QMTP. Then I looked at a.mx.list.cr.yp.to if there is a qmtp port. 
It seems that Dan doesn't run QMTP - even for receiving.

I think Dan's lists would be a good real life test for QMTP/MXPS - so does 
anybody know why Dan isn't running QMTP?

Regards, Frank



Re: redirecting Mail ??

2001-02-16 Thread Frank Tegtmeyer


 Is it possible to redirect postmaster@ email to /dev/null ?? is it wise
 ??
Yes, no.



Re: redirecting Mail ??

2001-02-16 Thread Frank Tegtmeyer


 ok - Yes - how

Put a the following line into /var/qmail/alias/.qmail-postmaster:
#

Nothing else, only the hash sign.


 and NO - why not ??
Because every domain that receives mail hast to have a "postmaster" 
account/alias where someone may be contacted.

To cite RFC822:

  This standard specifies a single, reserved  mailbox  address
 (local-part)  which  is  to  be valid at each site.  Mail sent to that
 address is to be routed to  a  person  responsible  for  the site's
 mail system or to a person with responsibility for general site
 operation.  The name of the reserved local-part address is:

Postmaster

 so that "Postmaster@domain" is required to be valid.

 Note:  This reserved local-part must be  matched  without  sensi-
tivity to alphabetic case, so that "POSTMASTER", "postmas-
ter", and even "poStmASteR" is to be accepted.



Regards, Frank



Re: Unable_to_chdir_to_maildir._(#4.2.1)

2001-02-16 Thread Frank Tegtmeyer


 My local user like root can't reseive mail I have this errors

Root never receives mail on qmail systems. You have to define an alias for 
root that delivers to an unpriviledged account.

The error means either that no maildir exists at the users home directory 
or that it's permissions prevent qmail-local to chdir into it.

See "man maildirmake" for creation of maildirs. You might want to make a 
maildir in your new user template (/etc/skel on many systems).

Regards, Frank



Re: Carbon Copy question

2001-02-16 Thread Frank Tegtmeyer

This behaviour is intentional.

 A user need to send a domn XLS file to 10 other people in the other factory unit,

One solution is to create an expansion alias at the other end of the line 
and address to that alias. Another one is to use serialmail with some sort 
of duplicates recognition (Russell Nelson has a script that does that for 
one user).

The simplest solution in your case may be to use Postfix instead. Qmail is 
not perfect in every infrastructure.

Regards, Frank



Re: QMTP

2001-02-16 Thread Frank Tegtmeyer


 Where can I get help about qmail with qmtp?
Describe your problem, then someone may be able to help you.

If you want to run qmail-qmtpd - that's not different from qmail-smtpd. If 
you want to use one of the qmtp-patches to qmail-remote you have to get 
them first. Look at www.qmail.org for Russell's patch or at
http://www.almqvist.net/johan/qmail/qmail-qmtpc.html
for Johan ALmqvist's patch.

Regards, Frank



Re: I need to block IP Address

2001-02-16 Thread Frank Tegtmeyer


 I need urgently to block IP Address in qmail, anybody knows what is the
 manner of make it ?

"man tcpserver" if you are running qmail-smtpd under tcpserver.
-x is the switch that helps you.

Your operating system may also be able to block packets from defined IP 
addresses.

Regards, Frank



Re: QMTP

2001-02-16 Thread Frank Tegtmeyer


 But.. I don't understand how qmail work with control/mailroutes.. I can't get
 help for this implementation..
This is documented in the updated man page for qmail-remote.

 but I am under a firewall. I received a mail from this server. My server 1
 send a mails to qmtp service. But, when I sent a mail from Server 1 to Server
 2, the mail was sent to SMTP service .. I don't know what I do because
 I don't know exactly work the qmail qmtp service .. or mailroutes ..:(((

If port 209 is firewalled at your site you will never send/receive with 
qmtp. qmail-remote always falls back to smtp in this case.

Regards, Frank



Re: QMTP

2001-02-16 Thread Frank Tegtmeyer


 Yeah.. the port 209 is firewalled .. but.. the server1 and server2 are locals
 machines ..

How do you route between them?
If you used smtproutes before you have to use mailroutes now.

server1.example.com:[192.168.1.1]:209:qmtp
and
server2.example.com:[192.168.1.2]:209:qmtp
at the other machine.

If you use DNS set the correct MX preferences (12801).

Did you restart qmail after applying the patch? Just to be sure ...

Regards, Frank



Re: QMTP

2001-02-16 Thread Frank Tegtmeyer


 U.. I'd like the Qmail send to QMTP if the remote host have this service ..
 but if the remote host don't have running de QMTP service .. my sever send to
 SMTP service .. :) Is this way the qmail work?

No, this is only the fallback of the qmtp-patch. The actual patch 
implementation checks if QMTP is (better: could be) available at the 
destination. This is done through mailroutes or through MX preferences 
(see Dan's MXPS documentation at http://cr.yp.to/proto/mxps.txt).

If that fails (f.e. because of firewalled port) the above mentioned 
fallback is activated.

Regards, Frank



Re: I can't find qmail's log file.

2001-02-16 Thread Frank Tegtmeyer


 
 drwx--S---2 root root 1024 Feb 15 14:37 qmail

chown qmaill /var/log/qmail
chmod 700 /var/log/qmail

This should do it.



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer


 @domain1.name [EMAIL PROTECTED]
 
 means that mail sent to [EMAIL PROTECTED] is sent to [EMAIL PROTECTED]

You may catch this with a script or if this delivers locally you don't 
need to do anything at all.

Regards, Frank



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer

 If somebody has already such a script and want to send it to me, please
 do so.

For example if you want to catch all lightwerk.de accounts you can do the 
following:

1. Put into virtualdomains (be sure to remove lightwerk.de from locals):
lightwerk.de:lightwerk.de

2. Create ~alias/.qmail-lightwerk.de-default with the content:

#
#  change from lightwerk.de to lightwerk.com
#
| qmail-inject -f "$SENDER" "$[EMAIL PROTECTED]"


Regards, Frank 



Re: Missing sendmail's aliases in fastforward?

2001-02-14 Thread Frank Tegtmeyer

 Never do that. It can create irritating loops.
Oops, that's right.

 | forward "$[EMAIL PROTECTED]"

Agrre - much better :)

Regards, Frank



Re: Getting the most out of Qmail?

2001-02-10 Thread Frank Tegtmeyer

 Then tell us exactly what hardware you have, what kind of I/O subsystem and
 disk /var/qmail/queue is on, what disk you're logging to, how you're logging
 (splogger, multilog, etc).

I suspect that information about the type of internet access is required 
too. Maybe the line is saturated.
How is DNS access done? Maybe the DNS Cache doesn't work well. 

Regards, Frank



Re: How do you start smtp with svscan please

2001-02-08 Thread Frank Tegtmeyer


 What I need to know is how to enable smtp with svscan so that it is
 enabled after every reboot please

Install the daemontools package (http://cr.yp.to/daemontools.html) and 
read the FAQ entry "How do I run qmail-smtpd under tcpserver?"

Regards, Frank



Re: No transport provider was available for delivery to this rec

2001-01-25 Thread Frank Tegtmeyer

Sounds more like an internal Outlook-problem.

 thought maybe qmail-smtpd was not running when I sent them mailnot sure 

Possibly your concurrency setting for tcpserver (SMTP) is too low. Check 
the logs and correct the -c switch of tcpserver.

Regards, Frank 



Re: No transport provider was available for delivery to this rec

2001-01-25 Thread Frank Tegtmeyer


 How do I look to see what the tcpservers max connection limit 

If the -c switch is not used it's tcpservers standard setting of 40.
See http://cr.yp.to/ucspi-tcp/tcpserver.html

Frank



Re: qmail+virtualdomain

2001-01-25 Thread Frank Tegtmeyer

 thing for the user called "newuser"
 How can i solve this problem and split different users with different
 virtualdomain??

Is virtualdomain still in "locals"?



Re: qmail+virtualdomain

2001-01-25 Thread Frank Tegtmeyer


 Well, if i try to delete the virtualdomain from "locals" file,leaving it only in
 the "virtualdomains" file, i obtain:
 
 newuser@virtualdomain:
 Sorry, no mailbox here by that name. (#5.1.1)

Of course you have to provide a .qmail file that catches your address.
In the case of this address it would be ~newuser/.qmail-newuser or
~newuser/.qmail-default.

Try to understand how the extension mechanism in qmail works - after that
you will understand how virtual domains may be implemented.

Two packages that handle virtual domains for you are mentioned on 
www.qmail.org.

Regards, Frank



Re: Cc: in qmail

2001-01-25 Thread Frank Tegtmeyer


 Anyone done this?
Daily.

 Can qmail handle this?
Easily :)

 If so, how-to would be greatly
 appreciated!

Read the dot-qmail man page.
Short recipe:

Put this into ~user1/.qmail :

[EMAIL PROTECTED]
./Maildir/

This will send a copy to the given address and save the message in 
user1's Maildir.

You can make this more intelligent so that centralspy never generates any 
bounces but this does the job.

Regards, Frank



Re: Handling To: entries (defaulthost?)

2000-11-28 Thread Frank Tegtmeyer

 we have lately gotten tons of mails from external senders with weird To:

 so i now want to *stop* qmail from automatically expanding
 "To: whatever" into "To: [EMAIL PROTECTED]"

This has nothing to do with the To: header. Somehow you get the mail 
through SMTP (external senders?) - Then only the envelope receiver is 
used.

About qmail-smtpd:
Envelope recipient  addresses  without  @  signs  are
always allowed through.

To avoid this you would have to patch qmail-smtpd.

I doubt that the sender is really external - you wouldn't get the mail 
through SMTP because of missing MX records. I think there is a wild 
running script or a buggy SMTP client inside your network.

Regards, Frank



Re: return receipts

2000-11-21 Thread Frank Tegtmeyer


 But sorry i can't help you... I need return receipt too

Why didn't you try the way I described?
If it is too complicated, pay someone to do it.

Regards, Frank



Re: No local deliveries

2000-11-13 Thread Frank Tegtmeyer

Now for me: "What do the logs say? (tm)"



Re: No local deliveries

2000-11-13 Thread Frank Tegtmeyer


 tcpserver: fatal: unable to bind: address already used
 
 This came from /var/log/qmail/qmail-smtpd

That means that a second process is listening on port 25. Either you have 
still another MTA (sendmail, exim, smail, ...) running or you bound  inetd 
to this port.

To disable inetd comment out the line that begins with "smtp" in 
/etc/inetd.conf. After that look for the process id of inetd and issue the 
command:   kill -HUP pid_of_inetd

If this doesn't help it's the first thing (still running MTA).

Please test local delivery with qmail-inject, like the installation doc 
says. This eliminates other problems with SMTP.

Regards Frank



Re: UUCP Setup

2000-11-06 Thread Frank Tegtmeyer


 How do we setup Qmail to deliver mail fetched over UUCP to the local pop 
 mailboxes.?

Use the rmail program included in the BSMTP package on www.qmail.org

 2. How does the server Q1 send outgoing email to the central server Q2? We 
 have considered using SMTP, but since the dial up connection is available 
 only for less than an hour daily, it will not be possible for Qmail to pump 
 out all queued emails during that period. Can UUCP solve this problem?

Yes. Deliver to a maildir and use maildir2bsmtp from the above mentioned 
package.

Regards, Frank 



Re: maildir2mbox doesn't work

2000-11-02 Thread Frank Tegtmeyer


  MAILDIR=$HOME/Maildir/
  MAIL=$HOME/mbox
  MAILTMP=$HOME/.mailtemp
  maildir2mbox
 Error. MAILTMP not set   (or something like that)

Did you ever hear about the difference between environment variables and 
shell variables?

You need to do

export MAILDIR
export MAIL
export MAILTMP

Regards; Frank



Re: Local delivery

2000-11-02 Thread Frank Tegtmeyer

 I created a virtual domain for "dex.co.za" on the qmail box. 

Don't do that. dex.co.za has to go only into /var/qmail/control/rcpthosts.

 Is it possible that I can forward the email received for 
 "dex.co.za" locally over the LAN??

Yes, you may use the MX from DNS or better (for DNS outages) put an entry 
into /var/qmail/control/smtproutes:

dex.co.za:[ip-addr-of-exchange-server]


Regards, Frank 



RE: What to do about these barelinefeeds?

2000-10-27 Thread Frank Tegtmeyer


 but it seems that you'd never want the 451 in this case
 because obviously it will be the same mailer that will
 retry each time and it will continue to be broken for each
 try...

If you don't like this behaviour block him at the firewall or via 
tcpserver. At least for a while.

If you want to see what is going on at the smtp level you could patch 
qmail-smtpd to do some logging. There are some patches at www.qmail.org.
If you are interested, I have one that combines logging with the badrcptto 
patch.

Regards, Frank



Re: how to modified the send datetime?

2000-10-27 Thread Frank Tegtmeyer

 when I send message at 11:00 , but when I receive the letter, it 
 tell me the time is 2:00. 

What does the header contain? May be your MUA plays tricks with the date 
header to display local time.

 I trace the source program, the time which the qmail-inject get is 
 not right also.
 How to modify it?

qmail-inject inserts a date header only if there is none. If you don't 
like qmail-inject's behaviour to use UTC, you have to supply a date 
header when injecting mail.

Regards, Frank



Re: Sending mail to WWW

2000-10-26 Thread Frank Tegtmeyer

Hi Daniel,

first: the Internet is not the WWW although many people see them as the 
same. They are not.

 I have installed qmail and everything seems OK except for sending mail out
 to the WWW.  If I remove/rename the rcpthosts file I can then send mail out
 to any domain, but I presume this is not the correct way to solve this.

Do you use ucspi-tcp (tcpserver)? If not, you should do so and set the 
RELAYCLIENT environment variable for your internal network. 

This is explained in Dans FAQ, see
http://cr.yp.to/qmail/faq/servers.html#tcpserver-smtpd   and
http://cr.yp.to/qmail/faq/servers.html#authorized-relay

Regards, Frank



Re: SSL POP3

2000-10-23 Thread Frank Tegtmeyer


 Or is there any way to use an SSL wrapper and still know which IP can
 realy?

I think it's possible with tcpserver/stunnel. But I never tried it.

Regards, Frank



RE: tcpserver

2000-10-13 Thread Frank Tegtmeyer


   After some testing, it appears that adding the ':deny' string it
 will deny EVERYTHING comming into port 25 even othe MTA's.  I removed
 :deny and it now allows ALL IP's to relay from my server. Any other

Try :allow

Frank



Re: Changing a from address. Please help...

2000-09-27 Thread Frank Tegtmeyer

 program. How do I do this if these servers are just acting as relays and
 therefore never using any sort of local mail injection?? 

Have a look at the qmail FAQ 5.5 or look at
http://cr.yp.to/qmail/faq/servers.html#network-rewriting

In any case it would be better to fix the problem at the source - why 
can't you generate correct addresses in the first place?

 Visit our new website www.acnielsen.co.nz for free ACNielsen market insights.
 
 CAUTION - This message may contain privileged and confidential information ...

PLEASE turn off this bullshit when sending to mailinglists. And try to 
avoid overlong lines.

Regards, Frank



Re: is this possible with qmail

2000-09-27 Thread Frank Tegtmeyer


   is there any way by which  i can safely copy  the "var/qmail/queue " 
 ( queued/deffered Mails)  from one mechine running  qmail-1.03 , on to
 other mechine's queue /var/qmail/queue 

Let the second machine accept relaying for mails from the first.
Set  :[ip-addr of second machine] in /var/qmail/control/smtproutes
on the first machine.

Then restart qmail and eventually run qmail-tcpok.

This assumes that qmail-send/qmail-remote still are workable and makes the 
whole thing kind of pointless.
Transferring the files directly may(!) be possible when using the 
queue-fix script from www.qmail.org. I never tried it.

Regards, Frank.



Re: sending mails to all the users

2000-09-27 Thread Frank Tegtmeyer


is there any way by which  i can send mails to all these 20
 users  in one stroke 

Look for the qmail-popbull program at www.qmail.org.

Regards, Frank



Re: ipaddress in ~control/badmailsfrom

2000-09-27 Thread Frank Tegtmeyer


  is it possble to specify ip's with/without wilcards  
  rather than FQDNs and domain names  in
 ~control/badmailfrom  files   ,

Not with plain qmail. Blocking IP addresses can be done with tcpserver 
from the ucspi-tcp package.

 seperate it by ","  or by space or new entry goes on new lines, 

Every entry in badmailfrom has to go to a separate line.

Regards, Frank



Re: POP3 QUOTA

2000-09-26 Thread Frank Tegtmeyer


 Limiting their pop3 maximun storing account, i think all was good.
 Any ideas?

You could use the quota mechanism (if there is any) of your operating 
system. This has the disadvantage of rejecting mails when the limit is 
reached.

I prefer to run a cleaning job that deletes mail older than a policy
defined maximum if a policy defined maximum of space is allocated.
This way the user is allowed to exceed the limit for a defined amount of 
time and mails are normally not bounced.
The user should get a summary about deleted mails - these summaries should 
never be deleted.

Regards, Frank



Re: Please help (Resend !)

2000-09-22 Thread Frank Tegtmeyer

I would like to know is there any other documnetation about how to use qmail
 with MySQL.

Hi Mark,

it will not give you more audience if you always post your question 
multiple times. If nobody answers that means that nobody has an answer or 
that nobody cares.

  I know there is a HOWTO from qmail
 site, but that document is not detailed enough to get me pass through

Maybe that's the key point - such a setup is a complex thing and may be 
screwed up easily. If you don't have enough background to puzzle it 
together yourself fast (with that HOWTO) you probably should 
invest learning time to get it all done. If you do that it would be fine 
to improve the HOWTO with your experience.

If you don't have enough time to experiment and develop the solution, you 
should eventually look for a consultant who does (and documents!) it for 
you. www.qmail.org should give enough pointers for that.

Even if you would get some recpies from the list now and get it working 
without really understanding it, you would have a hard time when something 
starts to fail later.

Regards, Frank



Re: ISP mail server.

2000-09-22 Thread Frank Tegtmeyer


Does ISP mail server need to install mail virus scanner ??

You have to weight the arguments:

yes: centralized scanning allows easy update of virus signatures and 
 instant reaction to new problems

no:  - centralized scanning uses server resources that are expensive/rare 
   and that are massive available at the workstations
 - it makes DoS more likely to succeed (think of zip-bombs)
 - it creates delays in mail transfer that may be massive (I know
   of companies that had delays of up to 4 days)

I personally would not apply centralized scanning.

A compromise would be looking for several conditions in messages that 
could be done fast without unpacking and scanning attachments.

Regards, Frank



Re: mqueueu

2000-09-22 Thread Frank Tegtmeyer


 please help me on how can i transfer from /var/spool/mqueue file from
 sendmail to qmail.

There is a complete description in REMOVE.sendmail I think.

Regards, Frank 



Re: MAILING LIST

2000-09-22 Thread Frank Tegtmeyer

 I'm searching a very good mailing-list manager for qmail.

Look at the qmail website under "related packages". There is ezmlm 
mentioned.

Regards, Frank



Re: Oversize DNS packet patch

2000-09-21 Thread Frank Tegtmeyer

   I would like to know how to apply the Oversize DNS packet patch to Qmail.

Use the following command inside the qmail source directory:

  patch  qmail-103.patch

This assumes that the patch file was saved in the qmail source directory.
For a complete description of the patch command use `man patch´.

Regards, Frank



Re: qmail/perl and attachments

2000-09-21 Thread Frank Tegtmeyer


 Can someone point me in a direction to help him out? None of us are SMTP
 gurus. Has anyone done this before and could possibly give me a few ideas to
 pass along?

There are modules that can assemble a complete MIME message (I just cannot 
look for them). For sending you may use ANY SMTP server if you use 
Net::SMTP.

I find it rather annoying that most of the modules assume that the 
envelope recipients are to be extracted from the various headers. That's 
why I almost always use Net::SMTP.

Regards, Frank



RE: Mypoints.com is not nice to us qmail admins (was: C API for

2000-09-14 Thread Frank Tegtmeyer

 hadn't got around to complaining to them yet.  it appears that they
 don't care anyway.  pitty i may just have to block them too.

The world is full of such sites. For the case of "gone users still 
receiving mail" the badrcptto-patch is very useful.

Regards, Frank



Re: Good review of qmail on securityfocus.com

2000-09-13 Thread Frank Tegtmeyer


 http://www.securityfocus.com/focus/linux/articles/qmail.html
 Replacing your MTA with qmail

Hm. It's neither a review nor is the title correct.
It's only an excerpt from BLURB and INSTALL as far as I can see.

It's good to have qmail mentioned on securityfocus but this article could 
provide much more than it actually does.

Regards, Frank



Re: rcpthosts

2000-09-13 Thread Frank Tegtmeyer


 I have listed some domains in rcpthosts.
 But it is stupid add in rcpthosts ALL domains in world... (.com, .edu, .org, .net, 
.sk, )
 What I must type in rcpthosts (some widcards)?

No.
You should use tcpserver and set the RELAYCLIENT environment variable. 
This is explained in the FAQ (see 
http://cr.yp.to/qmail/faq/servers.html#authorized-relay )

If your client adresses are dynamically assigned you may use Russell 
Nelsons open-smtp patch for that. You can find it at
http://www.qmail.org/open-smtp4.tar.gz


Eventually look also at 
http://www.palomine.net/qmail/relaying.html

Regards, Frank



Re: REPOST: mail works, kmail/NS messenger doesn't on private WA

2000-09-13 Thread Frank Tegtmeyer

 - I can use "mail" to send mail from nsw to bcb no problem (therefore 
 rcpthosts and smtproutes should be OK) but Kmail and Netscape Messenger 
 fail

If you include both destinations in rcpthosts it should work.
Please provide rcpthosts, locals and smtproutes for both systems.

Regards, Frank



Re: REPOST: mail works, kmail/NS messenger doesn't on private W

2000-09-13 Thread Frank Tegtmeyer

 - Mail sent from the local workstation addressed to the me on the remote 
 server ([EMAIL PROTECTED]) gives the message:

Hm. Your setup should work. The only problems I can think of now are:

- Your qmail-smtpd does not pick the "right" rcpthosts. You may check if 
  you can send mail through SMTP to the local server (nsw). If that fails, 
  something with your qmail-smtpd is wrong.
- Your rcpthosts file contains strange (invisible?) characters. Try to add
  a line which contains
  .chu.com.au
  only (like Vince suggested).
  This must work then.

Regards, Frank.



Re: linuxpeople thread

2000-09-13 Thread Frank Tegtmeyer


 Yeah, right: "Nameless idiot helps ML reader to death after being flamed
 by a Bastard." Film at 11. Anyone feel like buying popcorn shares?

I suggest that everyone who feels that linuxpeople is stupid should ignore 
him NOW.
Everyone who thinks there is any hope he will get his system up should 
support him by private mail NOW.

Hopefully it will kill this idiotic thread fast.

Regards, Frank



Re: qmail t-online.de - NAME_lookup_failed_temporarily. bounda

2000-09-07 Thread Frank Tegtmeyer



 so, can somebody image what to do next ? note: the qmail-box is located
 behind a firewall (ipchains on linux). maybe this causes the problem ?

I use smtproutes to one of their MX. This breaks immediately if they shut 
that one MX down, but I will notice that quickly.

Regards, Frank



Re: maildirmake command is not found

2000-09-06 Thread Frank Tegtmeyer


  I am using Maildir format, now I want to create the Maildir box under
 the user's directory by using "Maildirmake Maildir".  But I got the error
 messages stating that bash: maildirmake: command ... 

Include /var/qmail/bin in your PATH environment variable.

And please don't use over-long lines for email conversation.

Regards, Frank



Re: Qmail DNS

2000-09-06 Thread Frank Tegtmeyer


 running qmail on needs also to be running DNS. Is it okay for this to be
 a name-caching only server with forwards to my ISP's DNS server?

Install dnscache on localhost. You can get it at
http://cr.yp.to/djbdns.html

Regards, Frank



Re: converting tai64n to something readable

2000-08-16 Thread Frank Tegtmeyer

Ben Beuchler wrote:

 of using libtai.  So I guess I would need a way of converting a specific
 time to it's tai64n equivalent.
 
 Thoughts?  Suggestions?

Look at
http://www.lightwerk.com/djbdns/isotai64.c

It generates only external TAI64, but a modification for external TAI64N
could be made with a Perl filter. Simply add the nanoseconds.

Regards, Frank



Re: MailDir

2000-07-24 Thread Frank Tegtmeyer


 I found this in the qmail-FAQ, Question 5.3: how do i set up qmail-pop3d.
 So there is a problem with my startup script ?

Definitely. You will not be able to get mails by POP3 for virtual
domains.

 created and i can log on the virtual pop account using sqwebmail.
That would surprise me. Are you sure?

 I think that there is problem with qmail giving the mail to vpopmail. Is it
 possible that
 my mistake in the startup script is responsible? If, what would be the
 correct startup
 command ?

The startup command for qmail is the same with and without using vpopmail
(Maildir delivery assumed).
What has to be different is the start of qmail-popup/qmail-pop3d because
the checkpassword is replaced.

I think your problem is either in virtualdomains or users/assign or simply
a missing restart of qmail.
Please post that files for further assistance.
Still this would better go to the vpopmail list.

Regards, Frank



Re: Want to know your potential multiple recipient savings?

2000-07-23 Thread Frank Tegtmeyer


 In his measurements that indicated that qmail used less bandwidth in
 real-life situations than sendmail, Dan counted the DNS traffic due to 
 sendmail.

And I have never seen numbers, only Dan's claims. It's hard to argue using 
them without being backed up by numbers.

Regards, Frank



RE: orbs.org accuses qmail of mailbomb relaying!

2000-07-21 Thread Frank Tegtmeyer


 Why do you use SMTP between them? Use qmtp or qmqp or 
 whatever the beast is called, and have the last qmail in the chain 
 do the expansion (or generate the only bounce).

Does QMTP avoid expansion? At this time it would also require
serialmail or is there a patched qmail-remote with qmtp support?

QMQP is not possible - all servers must be able to queue.

Regards, Frank



Re: orbs.org accuses qmail of mailbomb relaying!

2000-07-21 Thread Frank Tegtmeyer


 qmail doesn't do this by default, and manages to use resources much more
 efficiently than sendmail, which does this.  Why should qmail change?

It does break one of the basic rules on the Internet that many people fell 
ist still important. It produces bad reputation (based only on this one 
fact, ignoring all the other good things about qmail) for qmail and 
sometimes it's author. This is often extended to administrators using 
qmail.
Not that I do care about this - but it also hinders qmails spreading and 
that's a thing we could care about.

Regards, Frank



Re: orbs.org accuses qmail of mailbomb relaying!

2000-07-21 Thread Frank Tegtmeyer


 95% of the people on the internet care about 
 speed, not bandwidth consumption or resource usage.
Of course. That's why and for security I do use qmail.

 people have you observed saying "I am pulling down all the nifty 
 graphics from my website - it consumes too much resources."? 
The receiver (user) is able to do it.
A properly managed mail receiving system may do it too - this is the point 
most people overlook. There add false statements about qmail's "hammering" 
receiving systems. I think, you know the most used arguments against 
qmail.
It only would be nice to eliminate the worst of them.

Regards, Frank



Re: orbs.org accuses qmail of mailbomb relaying!

2000-07-21 Thread Frank Tegtmeyer


 The problem with re-using the same SMTP session for multiple messages, etc,
 is the high-latency inherent in the protocol.  DJB found an easy way around
 that.

That's not, what we are talking about. It's about creating multiple 
messages when it is really ONE with many receivers going to ONE 
destination. It may be that it is not a common case, but there are sites 
(mine is among them :)  where this IS a very common case.

If that multiplies with large sized messages (also common here - please 
forget hints about educating users to use other protocols ...)
qmail's delivery strategy is problematic.

Regards, Frank



numbers

2000-07-21 Thread Frank Tegtmeyer

Does anyone have a pointer to a comparison of qmail/sendmail/postfix/... 
that is done at a real world server over a longer period of time?

It should include bandwith use (including DNS) and performance data.

The only thing I remember were some graphs about mailer timings (DNS 
lookup, start of delivery and so on). That doesn't give the real world 
picture everyone is talking about.

Regards, Frank



Re: aol mail bouncing

2000-07-07 Thread Frank Tegtmeyer

 they utilize reply it is recieved at my mail server with no problem but if 
 they type a new mail and utilize the exact same address it bounces. lol

You should supply some more information:

- the receiver address
- content of your /var/qmail/control/rcpthosts file
- content of your /var/qmail/control/locals or virtualdomains file
- possibly users/assign
- relevant log file entries

Regards, Frank



Re: Strange problem

2000-06-08 Thread Frank Tegtmeyer

First give the two servers different locals.

 On our mail server we have a virtual domain under a user.
If you use a virtual domain anyway you can put the 4 user addresses 
into virtualdomains too. I didn't test if this takes precedence over the 
domain, but you may try it.

Else there is still the qmail-users mechanism.

Regards, Frank



Re: smtp relay setup (faq 5.4)

2000-06-05 Thread Frank Tegtmeyer


 Following FAQ 5.4 steps for relay rules, I was was unsuccessful, but
 tcpd is not where the faq says it will be, so could that be the problem?

Forget tcpd and use ucspi-tcp (tcpserver) instead. It's in the FAQ how to 
do it.

Regards, Frank



Re: Problems with tcpserver

2000-06-05 Thread Frank Tegtmeyer

 fine, but in some cases, it allows relaying (with setting RELAYCLIENT=""
 !!!) for ip-adresses which should be blocked.

Which addresses?

Frank



Re: How to get QMQP to work

2000-06-05 Thread Frank Tegtmeyer


 How can I get qmail to use QMTP between two boxes that there is a lot of
 traffic between? I tried putting the respective IP adresses in
 /var/qmail/control/qmqpservers, but that didn't do it.

qmqpservers is for QMQP, not for QMTP.

At the moment QMTP is supported by qmail-qmtpd and a program in the 
serialmail package.

Regards, Frank



Re: time until people get failure notice

2000-05-19 Thread Frank Tegtmeyer

 person who has sent a "This mail is being queued" message if there is a
 problem. The "queuelifetime" is how long it will sit on a letter, before

There is a program called qmail_bounce that works perfectly for this 
purpose. Look at www.qmail.org for

"Brian T. Wightman has written a delayed-mail notifier."


Regards, Frank



Re: alias with -

2000-05-18 Thread Frank Tegtmeyer

 This aliases are all the type: .qmail-prova-prova, .qmail-emanuele-bianchi
 and so on.

 In my /etc/passwd file there are the account "prova" and "emanuele".

These accounts always take precedence over aliases.

Use ~prova/.qmail-prova and ~emanuele/.qmail-bianchi instead of your 
current aliases.

Regards, Frank



Re: suse and qmail

2000-04-25 Thread Frank Tegtmeyer

 Does suse ship with qmail?

No. They told me that they never will. And they even refuse to reserve 
UIDs for qmail.

Regards, Frank



Re: AUTORESPONDER

2000-04-07 Thread Frank Tegtmeyer


 Any good autoresponder anyone can suggest

There is a rate limited autoresponder made by Eric Huss. It's at
http://www.netmeridian.com/e-huss/autorespond.tar.gz

Please be careful: this autoresponder was written to be used for automated 
accounts where no processing aufter the autoresponder is needed.
If you use it the way that you want to save the message after responding 
to it, you have to change most of the return values of autorespond.

If you don't know how, I can send you the changed file.

Regards, Frank



Re: Routing users - is this possible to implement?

2000-04-05 Thread Frank Tegtmeyer


 I am trying to set up qmail-frontend to our mailsystem, such way that
 some of mailboxes are on this qmail machine, and it SHOULD route all
 unknown mail to another server

Use .qmail-default for user alias or a virtual domain with exceptions 
through users/assign.

Regards, Frank



Re: VERP

2000-03-30 Thread Frank Tegtmeyer

 
 I have an application, which is communicating directly via SMTP with
 qmail. As I am sending to huge lists (up to 28000 recipients) I would
 like to use VERP.

Set up an ezmlm(-idx) list on the qmail host. Send to the list address via
SMTP. That's it.

Regards, Frank



Re: Virtual virtual domain...

2000-03-20 Thread Frank Tegtmeyer

 computer uses a dialup connection onto the internet... When this computer
 connects it should get all the mail for its "domain" and deliver it
 acordingly... Also all bounces should be handled here, because the first
 host (the one on the internet) has no idea what users are defined...

Simply deliver all mail for that domain to a Maildir. Then use turnmail or 
UUCP for transmission to the other host. There is a nice BSMTP-package on 
www.qmail.org that you can use for UUCP.

Regards, Frank



Re: Deferral when host doesn't exist

2000-03-17 Thread Frank Tegtmeyer


 Basically I suppose it's a risk of having a domain which is likely to
 have other domains with similar names, it's also a risk which is
 likely to increase as the net becomes bigger.
Whole life is a risk.

 Is there a way to ask qmail to send warning messages (to the user or
 to the postmaster) when such deferrals occur? 
Yes, there is a program call qmail_bounce. Look at www.qmail.org for
Brian T. Wightman and his delayed mail notifier.

Regards, Frank



Re: unknown user

2000-03-01 Thread Frank Tegtmeyer


 the original mail, but it should be a "normal" mail. I need the header with
 an information of the user to which the mail should be send originally.

You can use the -default extension vor any .qmail file. See 'man 
dot-qmail' for more info.

Regards, Frank



<    1   2   3   >