local-local delivery error (newbie)

2001-08-13 Thread Jean-Christian Imbeault

I think I have qmail up and running after following the instructions in lwq. 
I am now trying the tests in TEST.deliver.

However I get an error at the first test, local-local delivery/

status: local 0/10 remote 0/20
starting delivery 1: msg 508836 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/20
delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
status: local 0/10 remote 0/20

Is this an error in my installationof qmail? Did I need to setup user mail 
directories?

Jc

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




qmail, avoid spam mail

2001-08-13 Thread KY Lui
Title: qmail, avoid spam mail





Hello


recently, i found that someone using my qmail server to send mail.
how can i avoid this?
thanks
regards
KY





Re: qmail, avoid spam mail

2001-08-13 Thread Brett Randall

 On Mon, 13 Aug 2001 14:28:53 +0800, KY Lui [EMAIL PROTECTED] said:

 Hello recently, i found that someone using my qmail server to send
 mail.  how can i avoid this?

1. Include logs in your mail
2. Tell us how they used your qmail server to send mail
3. Reinstall using www.lifewithqmail.org
-- 
Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.



Re: local-local delivery error (newbie)

2001-08-13 Thread Johan Almqvist

* Jean-Christian Imbeault [EMAIL PROTECTED] [010813 08:25]:
 I think I have qmail up and running after following the instructions in lwq. 
 I am now trying the tests in TEST.deliver.
 However I get an error at the first test, local-local delivery/
 Is this an error in my installationof qmail? Did I need to setup user mail 
 directories?

Yes. Have you read
INSTALL.mbox
INSTALL.vsm
and INSTALL.maildir?

What default delivery instruction does your qmail run script contain?

BTW, you'd be better with an installation following
http://www.lifewithqmail.org/

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Cannot find host with name... error

2001-08-13 Thread Sito Garcia

Dear friends:
I'm newbie with qmail. Tried to install it last friday, but I got some 
errors after all the COMPLEX proccess. (I'm installing on a Mandrake 8.0 
linux server).

The first one is this:

In the firsts steps of the config proccess, I had to launch the 
config-fast script wich is supposed to set up my hostname, in this way:

./config-fast comarcal2 (wich is my host name, obviously)

Well, after all steps, and keeping the instructions about testing, I make a 
ps -aux, and I found properly the four daemons running:
qmail-send
qmail-lspawn ./Mailbox
qmail-rspawn
qmail-clean
with the propers users. Then, I try to send to myself an message:

echo to: myname | /var/qmail/bin/qmail-inject

and then I go to watch the syslog file to see the result and I found the 
next error:

delivery 8: failure: 
Sorry,_I_couldn't_find_any_host_named_comarcal2.comarcal2._(#5.1.2)

How can this be happening if put so fine the name of my host in the script 
above??

Some suggestion??

Thanks in advance!!

Alfonso García

_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp




checkpassword and IMAP

2001-08-13 Thread meling

Hi,

I'm running both IMAP and POP servers. Both are using the same 
authvchpw authentication module by IMAP.

I run pop as:
/usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup FQDN \
/home/mail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 |
/var/qmail/bin/splogger pop3d 

I run imap as:
/usr/local/bin/tcpserver -v -R 0 imap /usr/local/courier/bin/imapd 21


However, I'm always having problems making vpopmail and courier-imap
work together.
(Compiling courier-imap with --with-authvchpw always give me problems),
thus I want to
use checkpassword for IMAP authentication. This means that I want to
install IMAP
independent of vpopmail, and use checkpassword for authentication.

What's the proper tcpserver syntax to do this? Or, can checkpassword
work with authvchkpw?

Regards, 

--mel.



Re: Cannot find host with name... error

2001-08-13 Thread meling

 ./config-fast comarcal2 (wich is my host name, obviously)

try ./config-fast yourhostname.yourdomain
the config files for this is in the /var/qmail/control directory

--mel



Re: local-local delivery error (newbie)

2001-08-13 Thread Jean-Christian Imbeault

From: Johan Almqvist [EMAIL PROTECTED]

Yes. Have you read
INSTALL.mbox
INSTALL.vsm
and INSTALL.maildir?

Just read those three documents and none of them say that I *have* to do 
anything. Seems mostly like recommendation on what to do if you want to keep 
using /var/spool/mail or to configure MUA's to use Maildir.

Also this machien is to be a mail server. There won't any user on the 
machine itslef. So setting up ~usr/Maildir directories seems give of strange 
...

Jc

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




overwrite locals

2001-08-13 Thread Peter Marenbach

Hi everyone,

I'm planning to use qmail in a ASP type setup.
Therefore, I would like to overwrite the locals table
with respect to the IP address of the SMTP client.
With tcpserver it is possible to set environment
variables depending on the client address. However, I
did not find a way to set the locals through this
mechanism.

Now, I would like to know whether there exists a way
to do that or whether it would be at least possible to
patch qmail somwhow to do that.

Thanks in advance,
Peter


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Question about Process Usage and running problems (newbie)

2001-08-13 Thread Dave Lewis


I just recently switched from sendmail to qmail and I've noticed that my
process usage seems to be alot higher than it used to be.   Below is a ps
incuding all the qmail processes.  I don't transfer that much mail and
I've been told that Qmail is supposed to be better.. When I ran sendmail 
my usage was under 1 usually .50 or something.. now it's almost 3 ??

Is there something wrong ??? how can I fix it..  or is this normal ?


root  3445  0.0  0.0  1152   60 ?SAug11   0:00 tcpserver -R -H 0 pop3 
/var/qmail/bin/qmail-popup mail.domain.com
   
/var/spool/mail/popmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 
root 18160  0.0  0.2  1124  340 ?SAug11   0:00 svscan
root 18161  3.5  0.2  1088  320 ?SAug11 101:22 supervise qmail-pop3d
root 18162  0.0  0.2  1088  320 ?SAug11   0:00 supervise log
root 18163  0.0  0.2  1088  320 ?SAug11   0:00 supervise qmail-send
root 18164  0.0  0.2  1088  320 ?SAug11   0:00 supervise log
root 18165  0.0  0.2  1088  320 ?SAug11   0:00 supervise qmail-smtpd
root 18166  0.0  0.2  1088  320 ?SAug11   0:00 supervise log
qmaill   18168  0.0  0.2  1100  312 ?SAug11   0:00 /usr/local/bin/multilog 
t /var/log/qmail/pop3d
qmaill   18169  0.0  0.2  1100  312 ?SAug11   0:00 /usr/local/bin/multilog 
-t s250 /var/log/qmail/qmail-smtpd
qmaild   18170  0.0  0.0  1152   68 ?SAug11   0:00 
/usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 520 
   -g 519 0 smtp 
/var/qmail/bin/qmail-smtpd 21
qmaill   18171  0.0  0.0  1104  116 ?SAug11   0:00 /usr/local/bin/multilog 
t s 250 /var/log/qmail/qmail-send
#517 18172  0.0  0.1  1148  160 ?SAug11   0:00 qmail-send
root 18178  0.0  0.2  1100  344 ?SAug11   0:00 qmail-lspawn 
|dot-forward .forward?./Maildir/
#516 18179  0.0  0.0  11000 ?SW   Aug11   0:00 [qmail-rspawn]
#515 18180  0.0  0.0  1092   92 ?SAug11   0:00 qmail-clean
qmaild   27733  0.0  0.2  1104  332 ?S03:29   0:00 
/var/qmail/bin/qmail-smtpd
root 31318  0.0  0.5  1648  748 ?R03:30   0:00 sh ./run
root 31319  0.0  0.1  1436  236 ?R03:30   0:00 sh ./run


ALSO , when I run the svscan startup file I get a bind error, already in
use  I have a feeling that this may be part of it.. but there is
nothing listening on those ports other than qmail.. I've tripple checked
the inetd.conf file and all the mail type commands are #'d out.  

Is there something I've done wrong ??? or just missed 

If more information is needed.. I'd be glad to post it or deal with
someone off list...

Any help would be appreciated. Thanks in advance


Dave




Re: local-local delivery error (newbie)

2001-08-13 Thread Johan Almqvist

* Jean-Christian Imbeault [EMAIL PROTECTED] [010813 09:15]:
 Just read those three documents and none of them say that I *have* to do 
 anything. Seems mostly like recommendation on what to do if you want to keep 
 using /var/spool/mail or to configure MUA's to use Maildir.
 Also this machien is to be a mail server. There won't any user on the 
 machine itslef. So setting up ~usr/Maildir directories seems give of strange 

If you don't want to configure local deliveries, why are you trying to
test them?

If you want to do local deliveries, you will have to follow one of
INSTALL.vsm, INSTALL.mbox or INSTALL.maildir.

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: temporary qmail-inject error

2001-08-13 Thread Ross Cooney

On Mon, Aug 13, 2001 at 11:28:10AM +0800, KY Lui wrote:
 hello
 
 i found temporary qmail-inject error in qmail log file
 what's the meaning?
 

It means that you have messed with the qmail-queue or qmail-inject files.

Please post more information, versions of software, output of log files, and 
start up scripts.



_
Ross Cooney

Virus Scanner: http://www.antivirus.ie/index.mv?free_scan=1
Perl Tutorial: http://www.cyber-sentry.com/perl/tut.mv?art=1




Re: Cannot find host with name... error

2001-08-13 Thread Sito Garcia

As I explain in another mail, what I want is to install qmail ready to serve 
mails belong users of my intranet through my Linux server (actually, 
webmail). I believe this can be done. Or doesn't?

Thanks in advance

From: meling [EMAIL PROTECTED]
To: Sito Garcia [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Cannot find host with name... error
Date: Mon, 14 Aug 2006 15:17:29 +0800

  ./config-fast comarcal2 (wich is my host name, obviously)

try ./config-fast yourhostname.yourdomain
the config files for this is in the /var/qmail/control directory

--mel


_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp




qmail Digest 13 Aug 2001 10:00:00 -0000 Issue 1455

2001-08-13 Thread qmail-digest-help


qmail Digest 13 Aug 2001 10:00:00 - Issue 1455

Topics (messages 67735 through 67761):

Re: qmail-lspawn patch for hosting multiple local domains
67735 by: Andre Oppermann
67738 by: Henning Brauer

Re: Perl and Qmail
67736 by: Henning Brauer

Re: pop3d question
67737 by: Henning Brauer

qmail  anti-virii
67739 by: Averroes
67742 by: Eduardo Augusto Alvarenga
67743 by: Noel Mistula
67744 by: Bill Arlofski

rblsmtpd and 'tagging' emails
67740 by: Qmail
67741 by: Henning Brauer

Qmail, tcpserver, environment variables, and qmail-smtpd
67745 by: Bill Arlofski

temporary qmail-inject error
67746 by: KY Lui
67760 by: Ross Cooney

qmail-pop3d
67747 by: qmail
67748 by: Greg White

local-local delivery error (newbie)
67749 by: Jean-Christian Imbeault
67752 by: Johan Almqvist
67756 by: Jean-Christian Imbeault
67759 by: Johan Almqvist

qmail, avoid spam mail
67750 by: KY Lui
67751 by: Brett Randall

Cannot find host with name... error
67753 by: Sito Garcia
67755 by: meling
67761 by: Sito Garcia

checkpassword and IMAP
67754 by: meling

overwrite locals
67757 by: Peter Marenbach

Question about Process Usage and running problems (newbie)
67758 by: Dave Lewis

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



MarkD wrote:
 
 On Sat, Aug 11, 2001 at 11:41:52AM +0200, Andre Oppermann allegedly wrote:
  MarkD wrote:
  
argument, the name of the local user to verify.  This patch makes
qmail-lspawn call qmail-getpw with two arguments; the name and the domain
of the local user to verify.  This, together with a modified qmail-getpw,
will enable qmail to differentiate between the local domains that the
server is hosting.
  
   I have never checked, but I wonder whether the qmail-ldap guys have
   had to do the same thing?
 
  No, we did not have to. We're simply ignoring locals and virtualdomains
  alltogether for the ldap lookup. We simply take the whole address and
  do the lookup. An entry in either locals or virtualdomains is still
  neccessary because of the check for a valid domain. Unless you run it
  in mixed mode (ldap and normal) it doesn't matter whether you put the
  domain into locals or virtualdomains.
 
 Oh. So LDAP lookups are run out of a .qmail-default or similar? FWIW,
 the original motive for the patch was to authentication using LDAP but
 we wanted to avoid the double queue insertion of a .qmail-default as
 it was a high-volume site. By writing an LDAP aware qmail-getpw and
 apply the patch we achieved that.

No, qmail-ldap is not doing .qmail-default. Instead it sort of replaces
the users file. The ldap lookup code is integrated into qmail(-spawn)
itself. Also checkpassword is adjusted for this. It can either interpret
the password field itself or do a connect to the ldap server with the
specified user name and password. Then the ldap server is checking the
password.

 Of course that was prior to the existence of either qmail-ldap or
 maildrop which presumably could be combined to achieve almost the same
 results - assuming single-uid delivery is acceptable.

You can specify the UID/GID for every user in the ldap object.

-- 
Andre




On Fri, Aug 10, 2001 at 08:26:43PM +, MarkD wrote:
  argument, the name of the local user to verify.  This patch makes
  qmail-lspawn call qmail-getpw with two arguments; the name and the domain
  of the local user to verify.  This, together with a modified qmail-getpw,
  will enable qmail to differentiate between the local domains that the
  server is hosting.
 
 I have never checked, but I wonder whether the qmail-ldap guys have
 had to do the same thing?

No. You need to forget aboy some qmail stuff when using qmail-ldap. We just
have user accounts and assigned mail addresses. VEry straightforward. A
simple (simplyfied) user entry looks like

dn: cn=brahe, ou=intern, dc=bsws, dc=de
cn: brahe
userPassword: {crypt}censored
uid: brahe
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]

and so on.
Basically, in qmail-lspawn a search using the filter
(|(mail=address)(mailalternateaddress=address))
is done, where address is the full rcpt address.

For auth'ing the uid and userPassword attributes count. There is no need in
qmail-ldap to distinguisch between local part and domain part in an address,
and there is no relation between email addresses and uids except that they
belong to an user account. 
-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   

Re: Cannot find host with name... error

2001-08-13 Thread Robin S. Socha

On Mon, Aug 13, 2001 at 11:37:15AM +0200, Sito Garcia wrote:
 meling [EMAIL PROTECTED]
 Sito Garcia wrote

  ./config-fast comarcal2 (wich is my host name, obviously)

Yes. And which part of INSTALL.ctl did you not understand?

 try ./config-fast yourhostname.yourdomain
 the config files for this is in the /var/qmail/control directory

 As I explain in another mail, what I want is to install qmail ready
 to serve mails belong users of my intranet through my Linux server
 (actually, webmail). 

That is quite irrelevant. If anything, you should have provided the
relevant part of qmail-showctl's output.

 Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp

If that translates into shoot every supporter of MSN repeatedly, I'm
all for it.



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: Hot to add POP3 users to qmail? (newbie)

2001-08-13 Thread Anton Pirnat

yes, you for sure are right this questions are answered in a FAQ or lWQ
i guess ;)

qmail serves all unix users on your local system as .. umm local users
even :) 
They have to have a home dir and a Maildir (depending on your setup
using LWQ) as regular unix have, thats how it works. 

But, not just for the comfort, i recommend you using vpopmail
(www.inter7.com/vpopmail), because it supports so called virtual
domains. And also the main domain can be a virtual.

Whats the most advantage part of it, also on small systems? IMHO its
because, regular users do have its own UID and GID (user id group id),
virtual users (using vpopmail) only takes one UID/GID to manage them
all. 
Another advantage, there are good tools to administer them all with your
webbrowser. Just have a try at www.inter7.com/qmailadim. YOu can
add/del/ set their passwords etc etc.. 

hth
Anton Pirnat




Jean-Christian Imbeault wrote:
 
 I've gone throuhg lwq and have just finished installing qmail-pop3d and
 checkpassword for qmail. They seem to be working.
 
 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).
 
 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.
 
 Thanks!
 
 Jc
 
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp



Re: Cannot find host with name... error

2001-08-13 Thread Sito Garcia

Dear Robin, first of all thanks for your time and answer:

From: Robin S. Socha [EMAIL PROTECTED]

That is quite irrelevant. If anything, you should have provided the
relevant part of qmail-showctl's output.

I didn't know that programs exists!! OK, I've launched, and I obtained a lot 
of information, betweend them:

bouncehost: (Default.) Bounce host name is comarcal2.
(what's is bouncehost?? this me)

defaultdomain: Default domain name is comarcal2.
defaulthost: Default host name is comarcal2.

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

Messages for comarcal2 are delivered locally.
Messages for comarcal2 are delivered locally.
(twice)

plusdomain: Plus domain name is comarcal2.

I can't resolv what are these lines refered. Can anyone help me?


  Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp

AARGHH!!

If that translates into shoot every supporter of MSN repeatedly, I'm
all for it.

Not, not... I'm linux user and I'm trying to install a complete intranet in 
my job (medium size hospital) on two linux servers. By the moment 
apache+php+mysql are running properly, but qmail resists!!! I use hotmail 
because I can read mail from a lot of places. I don't know how to avoid this 
final message in my mails!

_
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp




Re: Cannot find host with name... error

2001-08-13 Thread Robin S. Socha

On Mon, Aug 13, 2001 at 12:48:11PM +0200, Sito Garcia wrote:
 From: Robin S. Socha [EMAIL PROTECTED]

 That is quite irrelevant. If anything, you should have provided the
 relevant part of qmail-showctl's output.
 
 I didn't know that programs exists!! OK, I've launched, and I
 obtained a lot of information, betweend them:
 
 bouncehost: (Default.) Bounce host name is comarcal2.
 (what's is bouncehost?? this me)

This is explained in man 8 qmail-send.

 defaultdomain: Default domain name is comarcal2.
 defaulthost: Default host name is comarcal2.

That is _not_ correct. Read man 8 qmail-inject. 

 I can't resolv what are these lines refered. Can anyone help me?

Yes. TFM you should have R'ed. Also, you might want to take a look at
Dave Sill's http://www.lifewithqmail.org/lwq.html#configuration

Additionally, you may want to take a look at
http://cr.yp.to/djbdns.html and read a bit about DNS. I would
recommend the DNS-HOWTO, which is most likely already on your system,
if it weren't BIND-ridden. Take a look at
http://www.linuxdoc.org/HOWTO/Net-HOWTO/ and
http://www.linuxdoc.org/HOWTO/Net-HOWTO/x413.html in particular.

  Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp
 AARGHH!!

Indeed, indeed.

 If that translates into shoot every supporter of MSN repeatedly, I'm
 all for it.
 
 Not, not... I'm linux user and I'm trying to install a complete intranet in 
 my job (medium size hospital) on two linux servers.

Good luck and check your private mail...



AW: How to add alias

2001-08-13 Thread Wolfgang Pichler


try touch .qmail-lokeshkhanna
becuase the bash interprets the  sign as internal command
-Ursprüngliche Nachricht-
Von: lokesh khanna [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 10. August 2001 13:04
An: QMail Mailling List
Betreff: How to add alias


Dear all,

I am using qmail 1.03-30 on redhat 6.2 box and its working very very fine.
I am facing a problem while adding a new alias.
I want to create a alias by the name lokeshkhanna (  sign ) but when i am
running touch .qmail-lokeshkhanna its giving below message

[1] 16495
bash: khanna: command not found

I think its not allowing me to add a user whose username is having  ( and
sign )

Is there any way by which i can add this user ?

lokesh
Engg ISG OPR.





Re: checkpassword and sasl

2001-08-13 Thread jeremy brand


Hi Charles,

 Can SASL be made to work with PAM, and does your OS support PAM?  If so,
 you could use a PAM-enabled checkpassword -- there is at least one
 version out there, mentioned at qmail.org, I believe.

Ah, that is a good thought.  I will have to check into that.

FYI, sasl:
  http://asg2.web.cmu.edu/sasl/

SASL can use PAM, I don't know if PAM can use SASL.

Jeremy





Drive out of space

2001-08-13 Thread John Portwin

Our /var drive partition ran completely out of space earlier; it houses
the queue and the logs. /home is on a different partition, and has plenty
of space. A quick rm -rf sorted that one out, and a new drive is on its
way in, but..

How would this have affected qmail? Could we have lost any mail, or
would it be deferred (to our secondary MX)?

Thanx
John








Re: Drive out of space

2001-08-13 Thread MarkD

On Mon, Aug 13, 2001 at 02:55:35PM +0100, John Portwin allegedly wrote:
 Our /var drive partition ran completely out of space earlier; it houses
 the queue and the logs. /home is on a different partition, and has plenty
 of space. A quick rm -rf sorted that one out, and a new drive is on its
 way in, but..
 
 How would this have affected qmail? Could we have lost any mail, or
 would it be deferred (to our secondary MX)?

You will not have lost any mail that comes via qmail-smtpd. Whether
these attempted deliveries were deferred or sent to your secondary MX
is a decision that the sending end makes. Probably a mixture of both.

One issue that this sort of problem brings up is that very few
scripts/local programs properly check the results of an email
submission via qmail-inject (or the sendmail wrapper). So, if you had
scripts or cronjobs that submitted mail during that time, that mail
may have never made it to the queue.


Regards.



How to copy outoging messages?

2001-08-13 Thread qmail

Can qmail manager each outgoing email?
if yes,then how to manager each email account that will  send a copy of 
message to his/her manager?





Re: How to copy outoging messages?

2001-08-13 Thread Peter van Dijk

On Mon, Aug 13, 2001 at 10:01:24PM +0800, qmail wrote:
 Can qmail manager each outgoing email?
 if yes,then how to manager each email account that will  send a copy of 
 message to his/her manager?

FAQ 8.2.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



multiple locations within one domain

2001-08-13 Thread Romeo Kienzler

Hi !
I have 3 Locations in different towns, but all are in one single domain. 
How can I tell qmail to deliver some Users local ans others to an other Mailserver ?

I found no answer matching to my problem in the Qmmail.-List-Archive,sorry ..

Thank you very much for your answers !


Romeo Kienzler, GHB 2-9-3, D-78120 Furtwangen, Germany
Fon: 0170 / 60 150 62, Telefax: 0180 / 50 52 55 37 72 49 
eMail: [EMAIL PROTECTED], http://www.ormium.de

___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de





Re: How to copy outoging messages?

2001-08-13 Thread Robin S. Socha

On Mon, Aug 13, 2001 at 10:01:24PM +0800, qmail wrote:
 Can qmail manager each outgoing email?

http://cr.yp.to/qmail/faq/admin.html#copies

 if yes,then how to manager each email account that will  send a copy of 
 message to his/her manager?

Parse error. What exactly are you trying to achieve?
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).
`In Germany, they are not referred to as network administrators. They
prefer to be called Sons Of The Third Reich.' (Kate: www.katewerk.com)



Re: Qmail, tcpserver, environment variables, and qmail-smtpd

2001-08-13 Thread Charles Cazabon

Bill Arlofski [EMAIL PROTECTED] wrote:
 
 I am trying to understand the purpose of being able to set environment 
 variables like $TCPREMOTEHOST with tcpserver for incoming connections 
 (ie: using the -h option or -p 'paranoid' option to perform reverse DNS 
 lookups) and set or unset the $TCPREMOTEHOST variable based on DNS 
 information. when qmail-smtpd does not seem to care, or make any use of it.
 
 Is a shell script to be called in place of qmail-smtpd to check 
 environment variables, then pass control back onto qmail-smtpd?  

Yes.  Write a small wrapper that checks either for the presence of the
appropriate environment variable, or checks that the given variable is
non-empty, and either execs the rest of its commandline (if the variable
meets your criteria) or exits otherwise.  Then insert this wrapper in
the tcpserver commandline before qmail-smtpd.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: overwrite locals

2001-08-13 Thread Charles Cazabon

Peter Marenbach [EMAIL PROTECTED] wrote:
 
 I'm planning to use qmail in a ASP type setup.  Therefore, I would
 like to overwrite the locals table with respect to the IP address of
 the SMTP client.  With tcpserver it is possible to set environment
 variables depending on the client address. However, I did not find a
 way to set the locals through this mechanism.

What problem are you trying to solve?  It sounds like you should be
using a virtual domain manager package (like vmailmgr), but you haven't
described what you are trying to accomplish -- instead, you've told us
what your proposed solution is.

Instead, tell us the original problem.  Then we can suggest solutions;
if you're not familiar with qmail, then the right solution frequently
isn't an obvious one.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



off topic

2001-08-13 Thread Wolfgang Pichler

Hi
  It's a little bit off topic, but does anywhere know which ports to open on
my firewall so that qmail works correctly. At the moment I've opend dns,smtp
and pop3 but when i activate the firewall some messages can't be delivered
(wasn't able to establish an smtp connection), but when i try to telnet to
the specified rcpt-server everything works really fine. So what happend here
? (if i open the firewall for everything, then the messages are leaving the
queue)


Pichler Wolfgang

Dialog Austria
Software  Telekommunikation Ges.m.b.H.
Goethestrasse 93
A-4020 Linz

Tel +43 (0) 70 662774 37
Fax +43 (0) 70 662774 22
Mailmailto:[EMAIL PROTECTED]
Web www.dialog-gruppe.at

+++





Re: off topic

2001-08-13 Thread Brett Randall

 On Mon, 13 Aug 2001 16:56:32 +0200, Wolfgang Pichler 
[EMAIL PROTECTED] said:

 Hi

Mornin.

 It's a little bit off topic,

comp.security.firewalls
comp.os.linux.networking

 but does anywhere know which ports to open on my firewall so that
 qmail works correctly.

25 outbound if you only want to send e-mail to external sites. 25
inbound as well if you have a mail server in a DMZ.

 At the moment I've opend dns,smtp and pop3 but when i activate the
 firewall some messages can't be delivered (wasn't able to establish
 an smtp connection),

Log entries? Kernel details? OS even? There is a big diff between
Linux and FreeBSD. Hec, there is a big diff between Linux v2.0, v2.2
and v2.4 firewalling. How are we meant to help you if we don't even
know the foundation?

 but when i try to telnet to the specified rcpt-server everything
 works really fine.

rcpt-server = really crazy parrot tarot-server? What do you mean,
rcpt-server? Do you mean the remote MX?

 So what happend here ? (if i open the firewall for everything, then
 the messages are leaving the queue)

Nice... I think it's probably safer you leave the firewall
open. Really.
-- 
Bubble Memory, n.: A derogatory term, usually referring to a person's
intelligence. See also vacuum tube.

- The Devil's Dictionary to Computer Studies



In need of opinion.

2001-08-13 Thread Yves Berthiaume

Hi,

First of all i'd like to thank the people who helped me with my qmail set-up
lately. Your input was greatly appreciated. Thanks!

Now, if possible. I'd like to get some opinions/pointers on a project I'm
working on.

I've just finished setting-up qmail/ucspi/daemontools/qmail-pop3d on a
server.

The set-up has been done this way so far:

apache, php4, qmail, emumail, mysql.

The goal is to achieve a webbased email system made of virtual user(not
local users)whose username and passwords reside in a mysql table. There is
already a user authentication scheme(php4/mysql) on the server(for webpage
display) since it's a private server.

I've been looking at qmail-mysql patch http://iain.cx/unix/qmail/mysql.php
Any pros and cons for this?

Also I know Emumail supports embedded perl and I've installed the perl-mysql
rpm.

Also should I switch to an imap server?

Any ideas, opinions on this?

Thanks in advance.











AW: off topic

2001-08-13 Thread Wolfgang Pichler

OS: Linux 2.4.4-smp with iptables v 1.2.1a
with rcpt-server i mean the mean the highest prior MX server from the dns
server.
I have no mail server in DMZ
I've used the following rule:
  iptables -A OUTPUT -p tcp --dport smtp -s myip -j -m state --state
NEW,ESTABLISHED ACCEPT

-Ursprüngliche Nachricht-
Von: Brett Randall [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 13. August 2001 17:18
An: Wolfgang Pichler
Cc: QMail Mailling List
Betreff: Re: off topic


 On Mon, 13 Aug 2001 16:56:32 +0200, Wolfgang Pichler
[EMAIL PROTECTED] said:

 Hi

Mornin.

 It's a little bit off topic,

comp.security.firewalls
comp.os.linux.networking

 but does anywhere know which ports to open on my firewall so that
 qmail works correctly.

25 outbound if you only want to send e-mail to external sites. 25
inbound as well if you have a mail server in a DMZ.

 At the moment I've opend dns,smtp and pop3 but when i activate the
 firewall some messages can't be delivered (wasn't able to establish
 an smtp connection),

Log entries? Kernel details? OS even? There is a big diff between
Linux and FreeBSD. Hec, there is a big diff between Linux v2.0, v2.2
and v2.4 firewalling. How are we meant to help you if we don't even
know the foundation?

 but when i try to telnet to the specified rcpt-server everything
 works really fine.

rcpt-server = really crazy parrot tarot-server? What do you mean,
rcpt-server? Do you mean the remote MX?

 So what happend here ? (if i open the firewall for everything, then
 the messages are leaving the queue)

Nice... I think it's probably safer you leave the firewall
open. Really.
--
Bubble Memory, n.: A derogatory term, usually referring to a person's
intelligence. See also vacuum tube.

- The Devil's Dictionary to Computer Studies




Re: overwrite locals

2001-08-13 Thread Peter Marenbach

 --- Charles Cazabon [EMAIL PROTECTED]
wrote:
  
  I'm planning to use qmail in a ASP type setup. 
 Therefore, I would
  like to overwrite the locals table with respect to
 the IP address of
  the SMTP client.  With tcpserver it is possible to
 set environment
  variables depending on the client address.
 However, I did not find a
  way to set the locals through this mechanism.
 
 What problem are you trying to solve?  It sounds
 like you should be
 using a virtual domain manager package (like
 vmailmgr), but you haven't
 described what you are trying to accomplish --
 instead, you've told us
 what your proposed solution is.
 
 Instead, tell us the original problem.  Then we can
 suggest solutions;
 if you're not familiar with qmail, then the right
 solution frequently
 isn't an obvious one.

Okay, let me try to describe what I want to do. The
server should host the mailservice for multiple VPNs.
Each of these VPNs accesses the server through a proxy
with a dedicated IP address. Up to now everything is
fine. Now, I want to add a virus wall or other
security services for some of the VPNs. This would
mean that I want the server only accept those domains
for local delivery that belong to the IP address (i.e.
to the VPN) they came in from. Mail to other domains,
even if they are hosted on the same server, should be
relayed to an public mailserver and would then be
treated as any other incoming mail from the internet. 

a small picture to make things clearer


 FW A  -  VPN A  - PX A
  /  \
the   -  FW B  -  VPN B  - PX B  - qmail
internet  \  / server
^FW C  -  VPN C  - PX C  |
||
|---non-local mail relay-|


legend:
  - VPN x are different virtual private networks
  - FW x are VPN specific firewalls
  - PX x are VPN specific mail proxies

The goal is to 
  - use a common qmail server
  - not need to have multiple firewalls for each VPN

Hope that helps,
Peter


__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Re: overwrite locals

2001-08-13 Thread Charles Cazabon

Peter Marenbach [EMAIL PROTECTED] wrote:
   
   I'm planning to use qmail in a ASP type setup.  Therefore, I would
   like to overwrite the locals table with respect to the IP address
   of the SMTP client.  With tcpserver it is possible to set
   environment variables depending on the client address.  However, I
   did not find a way to set the locals through this mechanism.
  
  What problem are you trying to solve?  It sounds like you should be
  using a virtual domain manager package (like vmailmgr), but you
  haven't described what you are trying to accomplish -- instead,
  you've told us what your proposed solution is.
  
  Instead, tell us the original problem.  Then we can suggest
  solutions; if you're not familiar with qmail, then the right
  solution frequently isn't an obvious one.
 
 Okay, let me try to describe what I want to do. The server should host
 the mailservice for multiple VPNs.  Each of these VPNs accesses the
 server through a proxy with a dedicated IP address. Up to now
 everything is fine. Now, I want to add a virus wall or other security
 services for some of the VPNs. This would mean that I want the server
 only accept those domains for local delivery that belong to the IP
 address (i.e.  to the VPN) they came in from. Mail to other domains,
 even if they are hosted on the same server, should be relayed to an
 public mailserver and would then be treated as any other incoming mail
 from the internet. 
 
 a small picture to make things clearer
 
 
  FW A  -  VPN A  - PX A
   /  \
 the   -  FW B  -  VPN B  - PX B  - qmail
 internet  \  / server
 ^FW C  -  VPN C  - PX C  |
 ||
 |---non-local mail relay-|
 
 
 legend:
   - VPN x are different virtual private networks
   - FW x are VPN specific firewalls
   - PX x are VPN specific mail proxies
 
 The goal is to 
   - use a common qmail server
   - not need to have multiple firewalls for each VPN

I'm sorry, but it's still not clear.  Let's be concrete.  You haven't
given us real domain names or anything, so this is more difficult -- I
will have to use made-up names.

qmail will operate on one box (mail.yourdomain.tld).  It hosts mail
services for several customers (customer-a.tld, customer-b.tld,
customer-c.tld).

The part which is really confusing is this:  you said I want the server
only accept those domains for local delivery that belong to the IP
address they came in from.  I don't understand.  Does this mean you
want qmail to only accept mail for cutomer-a.tld if the connection
originates from the IP address of the proxy (What kind of proxy?) for
customer-a?  What if mail comes from somewhere on the internet addressed
to [EMAIL PROTECTED]?  That mail bounces?

Then, you say Mail to other domains, even if they are hosted on the
same server, should be relayed to an public mailserver and would then be
treated as any other incoming mail from the internet.  I have no idea
what you mean; someone on the local machine injects mail to a local
domain, but you want qmail to NOT deliver it locally?  

We need a _much_ better and clearer explanation.  I still think you're
trying to explain your proposed solution to a problem when you haven't
yet explained what the actual problem is.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: In need of opinion.

2001-08-13 Thread Robin S. Socha

On Mon, Aug 13, 2001 at 12:27:55AM -0400, Yves Berthiaume wrote:
 The goal is to achieve a webbased email system made of virtual user(not
 local users)whose username and passwords reside in a mysql table. There is
 already a user authentication scheme(php4/mysql) on the server(for webpage
 display) since it's a private server.

I'm running the setup described on http://mail.socha.net/about/
including MySQL support for vpopmail and ezmlm-idx. Works.

 Also should I switch to an imap server?

Absolutely. http://www.inter7.com/courierimap/
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).



AW: off topic

2001-08-13 Thread Wolfgang Pichler


uuups: i mean
iptables -A OUTPUT -p tcp --dport smtp -s myip -m state --state
NEW,ESTABLISHED -j ACCEPT

-Ursprüngliche Nachricht-
Von: Wolfgang Pichler [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 13. August 2001 17:34
An: QMail Mailling List
Betreff: AW: off topic


OS: Linux 2.4.4-smp with iptables v 1.2.1a
with rcpt-server i mean the mean the highest prior MX server from the dns
server.
I have no mail server in DMZ
I've used the following rule:
  iptables -A OUTPUT -p tcp --dport smtp -s myip -j -m state --state
NEW,ESTABLISHED ACCEPT

-Ursprüngliche Nachricht-
Von: Brett Randall [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 13. August 2001 17:18
An: Wolfgang Pichler
Cc: QMail Mailling List
Betreff: Re: off topic


 On Mon, 13 Aug 2001 16:56:32 +0200, Wolfgang Pichler
[EMAIL PROTECTED] said:

 Hi

Mornin.

 It's a little bit off topic,

comp.security.firewalls
comp.os.linux.networking

 but does anywhere know which ports to open on my firewall so that
 qmail works correctly.

25 outbound if you only want to send e-mail to external sites. 25
inbound as well if you have a mail server in a DMZ.

 At the moment I've opend dns,smtp and pop3 but when i activate the
 firewall some messages can't be delivered (wasn't able to establish
 an smtp connection),

Log entries? Kernel details? OS even? There is a big diff between
Linux and FreeBSD. Hec, there is a big diff between Linux v2.0, v2.2
and v2.4 firewalling. How are we meant to help you if we don't even
know the foundation?

 but when i try to telnet to the specified rcpt-server everything
 works really fine.

rcpt-server = really crazy parrot tarot-server? What do you mean,
rcpt-server? Do you mean the remote MX?

 So what happend here ? (if i open the firewall for everything, then
 the messages are leaving the queue)

Nice... I think it's probably safer you leave the firewall
open. Really.
--
Bubble Memory, n.: A derogatory term, usually referring to a person's
intelligence. See also vacuum tube.

- The Devil's Dictionary to Computer Studies





Re: off topic

2001-08-13 Thread Robin S. Socha

On Mon, Aug 13, 2001 at 05:48:57PM +0200, Wolfgang Pichler wrote:
 Brett Randall [mailto:[EMAIL PROTECTED]]
  On Mon, 13 Aug 2001 16:56:32 +0200, Wolfgang Pichler [EMAIL PROTECTED] 
said:

   It's a little bit off topic,
  comp.security.firewalls
  comp.os.linux.networking

Tell me, Wolfgang, which part of off topic did you misinterpret?

   but does anywhere know which ports to open on my firewall so that
   qmail works correctly.

  25 outbound if you only want to send e-mail to external sites. 25
  inbound as well if you have a mail server in a DMZ.

 I have no mail server in DMZ

Do you have a DMZ at all? How do you expect *any*one to correctly
guess your setup?

   At the moment I've opend dns,smtp and pop3 but when i activate the
   firewall some messages can't be delivered (wasn't able to establish
   an smtp connection),
 
  Log entries? Kernel details? OS even? 

 OS: Linux 2.4.4-smp with iptables v 1.2.1a 

http://kernel.org/: 
The latest stable version of the Linux kernel is:  2.4.8  2001-08-11 04:13 UTC  

http://netfilter.samba.org/: 
May 07 2001  iptables 1.2.2

S... you're running a stock Linux distribution. You have all the
necessary information for setting up your toy-firewall right at your
fscking fingertips. Why are you asking your question in the *wrong
forum*?

   but when i try to telnet to the specified rcpt-server everything
   works really fine.

  rcpt-server = really crazy parrot tarot-server? What do you mean,
  rcpt-server? Do you mean the remote MX?

 with rcpt-server i mean the mean the highest prior MX server from
 the dns server.  

Then why didn't you say so? And before you submit your question to
news:comp.os.linux.networking, make sure to write a protocol of that
session.

   So what happend here ? (if i open the firewall for everything, then
   the messages are leaving the queue)

  Nice... I think it's probably safer you leave the firewall open.
  Really.

 iptables -A OUTPUT -p tcp --dport smtp -s myip -m state --state NEW,ESTABLISHED -j 
ACCEPT

Without the output of iptables -L, this is rubbish. WTF is myip? Why
did you not read http://learn.to/edit_messages/ before writing in a
technical forum? Why is your MUA setup totally broken? Nudlaug...
-- 
Robin S. Socha http://socha.net  Do not Cc: me. Ever.



$HOME/Maildir

2001-08-13 Thread teste

Hi,

It's my first instalation of QMAIL and I am having one trouble to setup the
POP3 users.

First: I have a Red Hat 7.0 running in a Pentium II computer, and I 
instaled
QMAIL using RPM binnary:

qmail-1.03-17

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

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

service pop3
{
socket_type = stream
protocol= tcp
wait= no
user= root
server  = /var/qmail/bin/qmail-popup
server_args = inteliweb.com.br /bin/checkpassword
/var/qmail/bin/qmail-pop3d /home/inteliweb
log_type= FILE /var/log/xinetd.log
log_on_success  = HOST
log_on_failure  = HOST RECORD
}

And using VMAILMGR (loged as inteliweb) I added the user test password 
test,
creating the /home/inteliweb/users/test/ ...tree (cur, new, tmp).

I wrote the /var/qmail/control/rcpthosts to:
localhost
inteliweb.com.br

And in the virtualdomains:
inteliweb.com.br:inteliweb

Where inteliweb was an user created to this domain.

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
to /var/qmail/usres/assign without sucess receiving the error code:
qmail-pw2u: fatal: unable to find alias user.

With this trouble I manualy assigned writing to 
the /var/qmail/users/assign:

=inteliweb:inteliweb:519:505:/home/inteliweb:::
+inteliweb-:inteliweb:519:505:/home/inteliweb:=::



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: $HOME/Maildir

2001-08-13 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 It's my first instalation of QMAIL and I am having one trouble to
 setup the POP3 users.
 
 First: I have a Red Hat 7.0 running in a Pentium II computer, and I
 instaled QMAIL using RPM binnary:
 
 qmail-1.03-17

Never heard of it.  Or do you mean Bruce Guenter's
qmail-1.03+patches-17 source RPM?

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

qmail-pop3d, you mean.  inetd and xinetd are deprecated.
 
 Follow the instructions in the Life with qmail I added the ./Mailbox to the
 /var/qmail/control/defaultdelivery,

Can't do this -- qmail-pop3d only understands Maildirs, not mbox files.

 qmail-pw2u: fatal: unable to find alias user.

You've got much more basic problems here.  Uninstall qmail and
everything else related, and then re-install according to the
instructions in Life with qmail at http://lifewithqmail.org .  Follow
all of the instructions to the letter.

Charles 
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RE: $HOME/Maildir

2001-08-13 Thread Yves Berthiaume


 You've got much more basic problems here.  Uninstall qmail and
 everything else related, and then re-install according to the
 instructions in Life with qmail at http://lifewithqmail.org .  Follow
 all of the instructions to the letter.

It *really* does work! Give it a try, You can almost do a cut and paste
install from this how-to since its so complete.

Cheers.




Qmail deferred messages..

2001-08-13 Thread Leonardo


Hello Guys, 

I need to change the time of deferred messages in qmail. My server is =
very busy and I need retry to send every 15 minutes the messages.
How and where I can change in the source code to make this? 


Thankz a lot. 




Re: Qmail deferred messages..

2001-08-13 Thread Charles Cazabon

Leonardo [EMAIL PROTECTED] wrote:
 
 I need to change the time of deferred messages in qmail. My server is =
 very busy and I need retry to send every 15 minutes the messages.
 How and where I can change in the source code to make this? 

Don't.  qmail doesn't try every 10 minutes or every five minutes.
It retries with a quadratic backoff algorithm, less frequently as the
message ages.

What problem are you trying to solve?  Perhaps your hardware is
under-spec'ed for the amount of mail you're trying to handle.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: stop relay messages :-)

2001-08-13 Thread Charles Cazabon

Severin Olloz [EMAIL PROTECTED] wrote:
 
 127.0.0.1:allow,RELAYCLIENT=
 
 So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
 over this smtp-server?

You've misconfigured something.  What does `cat
/var/qmail/control/rcpthosts` do?

By the way, shut qmail-smtpd down until you've diagnosed and repaired
this problem.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



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: stop relay messages :-)

2001-08-13 Thread Henrique Pantarotto

Severin,

I bet you don't have a control/rcpthosts file.

I was having the same problem.  I don't know if this is a qmail problem,
or if it's a qmail-ldap problem (I'm using an old qmail-ldap patch, so
this might be even fixed).

Try creating a control/rcpthosts file, ok?



Good luck,

Henrique Pantarotto



 -Original Message-
 From: Severin Olloz [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Mon, 13 Aug 2001 21:53:38 +0200
 Subject: stop relay messages :-)

 Hello...
 
 I want to stop spammers, but qmail-smtp doesn't want :-(
 
 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
 
 /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=
 
 So why can I send now emails form remote hosts with other IPs than 127.0.0.1 
 over this smtp-server?
 
 I have try all things, but my server relays message at all!
 
 Any ideas?
 
 Thanks: Severin Olloz


___
Henrique Pantarotto
Suporte Nacional - Terra Networks - São Paulo
Tel: (11) 5501-7085 - [EMAIL PROTECTED]




Re: overwrite locals

2001-08-13 Thread Peter Marenbach

 ...
 We need a _much_ better and clearer explanation.  I
 still think you're
 trying to explain your proposed solution to a
 problem when you haven't
 yet explained what the actual problem is.

Okay, let me try to start from the beginning. The
normal way how mails are delivered to closed
networks like VPNs is through a firewall which is
acting as a relay. This relay forwards mails coming
from the internet to a server inside the VPN or vice
versa.

 
  FW A  -  VPN A with mailserver
   /   
 the   -  FW B  -  VPN B with mailserver
 internet  \  
  FW C  -  VPN C with mailserver


The MX records in DNS point to the public firewall
interface and so on ... nothing special.

Now, what if customers B and C don't want to setup and
manage their mailserver on their own. They might have
mailboxes on a internet mail server (such as yahoo)
but that means that all his mail traffic would be
routed through the internet. Another opportunity would
be to let a provider setup a private mailserver being
part of the VPN. Instead of setting up a dedicated
mail host for each VPN the provider finally wants to
offer some kind of a virtual private mailserver. This
means on host which behaves like many separate
mailservers.


 FW A  -  VPN A  with mailserver
  /  
the   -  FW B  -  VPN B  - PX B  - virtual private
internet  \  /mailserver
 FW C  -  VPN C  - PX C  



This means e.g. that a mail send from [EMAIL PROTECTED]
to [EMAIL PROTECTED] should be delivered localy. If
[EMAIL PROTECTED] sends a mail to [EMAIL PROTECTED]
the mailserver should forward the mail through
firewall FW B to the internet. And finally, if 
[EMAIL PROTECTED] send a mail to [EMAIL PROTECTED] the
mail should again be at first routed through FW B to
the internet and then transfered through FW C to the
private mailserver of VPN C (which is actually the
same server as the private server of VPN B).

I know this looks pretty confusing at first sight.
However, the advantage is that one can make full use
of the firewall functionallity of FW B and FW C (for
virus scans etc.) This would not be possible if the
server treats mail from one VPN to another as local.

Thanks for your patience
Peter

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de



Re: overwrite locals

2001-08-13 Thread Charles Cazabon

Peter Marenbach [EMAIL PROTECTED] wrote:
  ...  We need a _much_ better and clearer explanation.  I still think
  you're trying to explain your proposed solution to a problem when
  you haven't yet explained what the actual problem is.
[...] 
 
  FW A  -  VPN A  with mailserver
   /  
 the   -  FW B  -  VPN B  - PX B  - virtual private
 internet  \  /mailserver
  FW C  -  VPN C  - PX C  
 
 This means e.g. that a mail send from [EMAIL PROTECTED] to
 [EMAIL PROTECTED] should be delivered localy. If [EMAIL PROTECTED] sends a
 mail to [EMAIL PROTECTED] the mailserver should forward the mail
 through firewall FW B to the internet.

Okay, this is a much clearer explanation.  Everything you've said so far
is easy to do with qmail, virtualdomains, and whatnot.

 And finally, if [EMAIL PROTECTED] send a mail to [EMAIL PROTECTED] the
 mail should again be at first routed through FW B to the internet and
 then transfered through FW C to the private mailserver of VPN C (which
 is actually the same server as the private server of VPN B).

This is the problem.  I don't think there's an easy way to do this.

You want several domains to be handled by qmail; the normal way to do
this is to make them all virtualdomains.  Often, you'll use a virtual
domain manager package (such as vmailmgr) to provide POP/IMAP access to
these virtual domains, along with management services.

But when you send mail from one of these domains (i.e. it ends up
injected into the local queue), to another virtual domain on the same
box, qmail knows it also handles the second domain.  It will then
deliver directly to that domain.  Making qmail deliver via SMTP to
another machine is problematic -- the other machine turns around and
sends it back, but now you want qmail to handle the domain locally, not
handing it off to the firewall again.

 I know this looks pretty confusing at first sight.  However, the
 advantage is that one can make full use of the firewall functionallity
 of FW B and FW C (for virus scans etc.) This would not be possible if
 the server treats mail from one VPN to another as local.

I really don't think it can be done -- at least not easily.  Your
description involves sometimes treating a domain as local, and sometimes
treating it as remote -- but there's no way for qmail to distinguish
between the two.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



relay to valid users

2001-08-13 Thread remo

Hi guys, I have some users that I would like to 
allow relaying but their ip always changes. Any 
suggestions?

REMO



Re: relay to valid users

2001-08-13 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi guys, I have some users that I would like to allow relaying but
 their ip always changes. Any suggestions?

This has been asked and answered thousands of times on the mailing list.
See qmail.org and the qmail list archives.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RE: relay to valid users

2001-08-13 Thread J.P. Racine

Remo,

 You have the option of having authenticated SMTP relays if you look at

http://www.palomine.net/qmail/relaying.html

and your answer lies in

http://www.davideous.com/smtp-poplock/

It's amazing what you will find at http://www.qmail.org

J.P. Racine


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: August 13, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: relay to valid users

Hi guys, I have some users that I would like to 
allow relaying but their ip always changes. Any 
suggestions?

REMO




Re: overwrite locals

2001-08-13 Thread Henning Brauer

On Mon, Aug 13, 2001 at 03:33:23PM -0600, Charles Cazabon wrote:
 Peter Marenbach [EMAIL PROTECTED] wrote:
  And finally, if [EMAIL PROTECTED] send a mail to [EMAIL PROTECTED] the
  mail should again be at first routed through FW B to the internet and
  then transfered through FW C to the private mailserver of VPN C (which
  is actually the same server as the private server of VPN B). 
 This is the problem.  I don't think there's an easy way to do this. 

You are missing the obvious solution: use two qmail instances on this box.
The first one is used for receiving all mails from external and has the
domains in locals/virtualhosts and locals. The second one only has its own
hostname in locals and rcpthosts and is _only_ used to relay messages from
own clients/customers/whatever to the world. The world could include the
secoand qmail instance on this box.

I'm doing similar things, though for totally different reasons: I seperate
customer relaying and MX. Different queues, different settings (databytes
for example; SMTP AUTH offering and so on), and a hacked qmail-ldap cluster
support to prevent in-cluster deliveries inside one box (but delivering
directly to the maildirs instead).


-- 
* 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)



Loser ? Become Winner !

2001-08-13 Thread Gary

You just haven't had the right Breaks yet !
This program can solve, as it has for many, your money woes or help you get that 
special 
something  you have been wanting.

This program works for me 24/7/365 .

For more information on how you can easily get cash in your mailbox, simply email me 
at:
[EMAIL PROTECTED]
I will provide you with a link to my website instantly!

Chow !!


To be removed from future mailings send an email with Unsubscribe in the subject line 
to:
[EMAIL PROTECTED]



Re: relay to valid users

2001-08-13 Thread Henning Brauer

On Mon, Aug 13, 2001 at 04:08:20PM -0600, [EMAIL PROTECTED] wrote:
 Hi guys, I have some users that I would like to 
 allow relaying but their ip always changes. Any 
 suggestions?

spend some seconds on qmail.org and look for SMTP after POP ans/or SMTP
AUTH.
Don't expect us to do your homework.

-- 
* 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)



Qmail-Scanner

2001-08-13 Thread Craig Spiers

Hi All, Im using qmail-scanner etc.. 

I have one problem however, im using fastforward to do aliasing, and qmail-
scanner scan's and print's headers on the email's twice .. 

is there any way to make qmail-scanner leave an email it has been scanned 
allready? 

Regards,
Craig



Quick question

2001-08-13 Thread mike

I'm fairly new to qmail. I was a sendmail fan forever till I got bored and 
decided to switch to qmail.  So far I love it. I started readin the 
lifewithmail homepage and decided to try it out.  I've got everything 
installed and running but 1 thing puzzles me, I know it's probably a goofy 
question and please no harsh comments  ;)  but why so many process running 
as root?  Here's my process list.  I understand all of it except the first 5 
process all running as root.  I know this is probably some easy thing but 
I'm the paranoid type and it makes me curious.  Thanks for any info

root   954  1.0  0.6  1244  380 ?S16:59   0:00 svscan 
/service
root   955  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-send
root   956  0.0  0.5  1204  348 ?S16:59   0:00 supervise log
root   957  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-smtpd
root   958  0.5  0.5  1204  348 ?S16:59   0:00 supervise log
qmaill 959  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail
qmails 960  1.5  0.6  1264  424 ?S16:59   0:00 qmail-send
qmaill 962  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail/smtpd
root   963  0.5  0.5  1216  360 ?S16:59   0:00 qmail-lspawn 
./Maildir/
qmailr 964  0.0  0.5  1216  360 ?S16:59   0:00 qmail-rspawn
qmailq 965  0.0  0.6  1212  376 ?S16:59   0:00 qmail-clean
qmaild 966  1.0  1.1  1768  712 ?S16:59   0:00 
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.
root   970  0.0  1.3  2568  840 pts/0R16:59   0:00 ps aux 



Re: why does Hotmail put Qmail emails to Junk Mail?

2001-08-13 Thread CD Baby

Sorry - I forwarded one I sent to my Hushmail account, because Hotmail 
doesn't let you see the full and complete headers.

So - YES - email sent to my hotmail account had the exact address in the 
To: header.  It wasn't CC:'d or anything - it was a unique email sent.

So . . . maybe Hotmail is doing some kinda reverse lookup? (though my 
Qmail-SMTP box has its own reversed domain  IP... fully legit.)

I thought maybe it was something else in the headers - because when I use 
that Qmail SMTP server with Eudora things go through fine.

Again - I'll put the headers below if anyone might have any insight?


  Does anyone know why Hotmail would put any of my Qmail-sent emails into the
  Junk Mail folder automatically?
 
  How do they determine what's junk mail?   Or - rather - how do I prove to
  them this is not junk mail?

To my knowledge, their only criteria is whether the recipient address
appears in the To: or cc: headers.  If it doesn't (mailing list mail,
bcc'd mail), it's junk mail.

  To : [EMAIL PROTECTED]
   From : [EMAIL PROTECTED]

The hotmail address doesn't appear in the To: header -- ergo, it's junk mail.




Here are my Qmail headers (when sent to hushmail - which can show you full 
headers.)

---

Return-Path : [EMAIL PROTECTED]
X-Sieve : cmu-sieve 2.0
Return-Path : [EMAIL PROTECTED]
Received : from smtp1.hushmail.com (smtp1.hushmail.com [64.40.111.31])
by imap1.hushmail.com (Postfix) with ESMTP id 2BB615F02C7
for [EMAIL PROTECTED]; Mon, 13 Aug 2001 
11:27:41 -0700 (PDT)
Received : from mail.hitmedia.com (unknown [65.169.21.164])
by smtp1.hushmail.com (Postfix) with SMTP id 8D9881378B
for [EMAIL PROTECTED]; Mon, 13 Aug 2001 11:24:36 -0700 (PDT)
Received : (qmail 17552 invoked from network); 13 Aug 2001 18:25:50 -
Received : from unknown (HELO qmail.hitmedia.com) (65.169.21.163)
   by 65.169.21.164 with SMTP; 13 Aug 2001 18:25:50 -
To : [EMAIL PROTECTED]
 From : [EMAIL PROTECTED]
Subject : Testing this little mail to [EMAIL PROTECTED]
Message-Id : [EMAIL PROTECTED]
Date : Mon, 13 Aug 2001 11:24:36 -0700 (PDT)

[EMAIL PROTECTED] -

Hey - how are you?

Just testing this thing.





Re: Qmail-Scanner

2001-08-13 Thread Robert Sander

On 14 Aug 2001 02:47:18 +0200,
 Craig Spiers [EMAIL PROTECTED] wrote:
 is there any way to make qmail-scanner leave an email it has been scanned 
 allready? 

You do not want to do this, because between two runs of the qmail-scanner
is one .qmail file, where it is very simple to add a virus...

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics RDwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



qmail + Courrier-IMAP vs just Courrier-IMAP server (newbie)

2001-08-13 Thread Jean-Christian Imbeault

My original plan was to install qmail - VMailMgr - Courrier-IMAP. But after 
a little reading I find out that Courrier-IMAP has it own email server 
implementation. So it seems that qmail is not needed?

Am I right? If so what are the advantages/disadvantages to either using 
qmail with the Courrier-IMAP engine or just using Courrier as the mail and 
IMAP server?

Thanks!

Jc

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




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: why does Hotmail put Qmail emails to Junk Mail?

2001-08-13 Thread Henning Brauer

On Mon, Aug 13, 2001 at 02:20:54PM -0700, CD Baby wrote:
 Return-Path : [EMAIL PROTECTED]
 From : [EMAIL PROTECTED]

This _may_ be the reason. I'm not sure, though. Try using qmail-inject's -f
options to set the envelope sender.

-- 
* 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)



Re: why does Hotmail put Qmail emails to Junk Mail?

2001-08-13 Thread CD Baby


  Return-Path : [EMAIL PROTECTED]
  From : [EMAIL PROTECTED]
This _may_ be the reason.


That was it!
It was the headers.
They need to have an X-Sender, X-Mailer, RFC 822 formatted date, and 
Return-Path, or Hotmail puts it in the Junk Mail folder automatically.

Thanks Henning  everyone who helped.