[vchkpw] Re: BCC related

2003-09-29 Thread Stephane Bouvard [ML]
Bonjour,

,- - [ Le dimanche 28 septembre 2003 vers 21:01 X-Istence écrivait: ] - -
|
 The BCC will get removed at the first SMTP server, some mail clients
 even create a new connection for each BCC to send the message for more 
 security :)
|
`- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

In fact, the BCC field is never transmitted, even to the first SMTP server...
in some case the mail client specify multiple rcpt-to address, but never send
any BCC: memo header, BCC is only a mail client functionality, not an SMTP
one...


Best regards...
 _
(_'
,_)téphane Bouvard [antarex AT freenet DOT be] http://www.antarex.be

-- 




[vchkpw] vpopmail bounce-no-mailbox problems

2003-09-29 Thread seitan
Hello,

i need help with this problem:
senders do not get notification if they send mail to not existing mail box
i use vpopmail with my qmail, and in
vpopmail/domains/mydomain.com/.qmail-default
is written the folowing line:
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

but it doesn't work  - on sending mail to not existed user, qmail log shows:
sorry_no_mailbox after that it tires to send (as I think) notification
to sender, bet it fails
with trouble injecting bounce... message.

So I tried the other thing:
to redirect any non-existing mailbox to one user

so in .qmail-default file i entered the folowing line:
|/home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/mydomain.com/user
An gues what? - all undeliverable mails are redirected to this user.

So just the bounce-no-mailbox doesn't work
Does nayone has any ideas i this one... - I'm desperate, - sender do not
receive notification, if they send mail to
non-existing users

Thank you
ICQ: 169434041
_
Seitan end Yvl





Re: [vchkpw] vpopmail bounce-no-mailbox problems

2003-09-29 Thread J. Kendzorra
seitan:
 with trouble injecting bounce... message.

Did you already check the archives for that?




[vchkpw] vpopmail+maildrop, sql valias loses mails

2003-09-29 Thread Leto Tokarev
Hi!


vpopmail 5.2.1+seekable 
maildrop 1.5.1
(same results with mdrop1.6, 1.6.1, vpop5.3.27)

.qmail-default:
| preline /usr/local/bin/maildrop mailfilter


very simple mailfilter:
logfile x
import EXT
import HOST
VPOP=| /var/vpopmail/bin/vdelivermail '' bounce-no-mailbox
to $VPOP



[EMAIL PROTECTED] is a Maildir.

valias [EMAIL PROTECTED] - [EMAIL PROTECTED] comes from mysql table.

Out of 10 mails sent to [EMAIL PROTECTED] usually 4 lose, 6 gets
delivered.

What should I look for?

I debugged what's happening with vdelivermail:

It always gets the mail, and looks up the valias.
When things okay, it runs a second delivery, but this time to the final
Maildir.
Sometimes this step missing.

More strange: 100% success when an alias comes from dot-qmail file, or
when the valias points to a different domain (no matter if local or
remote).



Leto




Re: [vchkpw] vpopmail bounce-no-mailbox problems

2003-09-29 Thread seitan
I'm afraid there are no description of this problem in older posts
ICQ: 169434041
_
Seitan end Yvl
- Original Message - 
From: J. Kendzorra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 29, 2003 1:45 PM
Subject: Re: [vchkpw] vpopmail bounce-no-mailbox problems


 seitan:
  with trouble injecting bounce... message.
 
 Did you already check the archives for that?
 
 



Re: [vchkpw] vpopmail bounce-no-mailbox problems

2003-09-29 Thread seitan
Ok, just found the problem:
there was wrong permisions on qmail-queue, - group was uneble to execute it
:)


ICQ: 169434041
_
Seitan end Yvl
- Original Message - 
From: seitan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:18 PM
Subject: Re: [vchkpw] vpopmail bounce-no-mailbox problems


 I'm afraid there are no description of this problem in older posts
 ICQ: 169434041
 _
 Seitan end Yvl
 - Original Message - 
 From: J. Kendzorra [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, September 29, 2003 1:45 PM
 Subject: Re: [vchkpw] vpopmail bounce-no-mailbox problems


  seitan:
   with trouble injecting bounce... message.
 
  Did you already check the archives for that?
 
 





[vchkpw] question about exit code of vdelivermail

2003-09-29 Thread thomas.hendrich
Hi everybody,

I´ve got a question concerning the internal strucutre of vpopmail.
I´ve set up a qmail system together with vpopmail ( qmail 1.03  vpopmail 5.2 ).
I´m testing with two different domains and everything is working fine for me.

What I now wanted to do is set up some kind of simple anti-spam tool to avoid the huge 
amount of spam in some Maildirs. I tried to get a php script to work ( php script 
called from a .qmail file ) that sould analyse the mail and in case of spam it should 
copy it to some destination and then the script should return a exit code to tell the 
delivery process to stop delivering the message.

What I´m not shure is which program does the delivery in this case.
The .qmail file ( created with qmailadmin ) resides inside the vpopmail structure of 
the virtual domain and looks like

|/path-to-phpscript/phpscript.php
/path/to-vpopmail/domains/virtualdomain1/adress/Maildir/new/

but everytime I send a mail to that adress, the php script tells me that it is spam, 
it copies it to the sepcial destionation ( so the script works fine to me ) BUT the 
mail delivery process is not stopped, the mail gets into the Maildir asif my script 
did not return an exit code.

I´ve tried it with return code 99  100 ( according to the .qmail-command manpages and 
some notes I found on the return codes of vdelivermail ) but nothing happened.

So my question is, have I missed something?
Which value should my returncode have, the one qmail is expecting or the one 
vdelivermail is expecting?
And why does nothing happen to that delivery process?

Thank you for your help!

Thomas



[vchkpw] exec: /usr/sbin/sendmail: Permission denied

2003-09-29 Thread Julian Zeiler
Hello everyone,
I hope I post to the right mailing list. Somewhere I read sqwebmail plus
vpopmail related questions go here. So here it goes:
1) I installed qmail with Life with Qmail
2) I installed vpopmail
3) I installed sqwebmail
4) I get the error message
exec: /usr/sbin/sendmail: Permission denied
when trying to send mail via sqwebmail. Can anyone help me with this problem
please?
Thanks in advance
Julian Zeiler

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++




Re: [vchkpw] question about exit code of vdelivermail

2003-09-29 Thread thomas.hendrich
I´ve found the solution myself ... in the ChangeLog it sais that with version 5.2.1 
EXITCODE checking for vdelivermail has been put in and I´m currently using 5.2 :(

So forget about my question, please give me an answer for this one:

Is it save to upgrade from 5.2 to 5.2.1 on an running system?
Is there anything I should be aware of or is it just backuping the /bin/ directory and 
just making the ./configure  make  make-install ?

Thanks again

Thomas


-- Sie schrieben: --

 Hi everybody,

 I´ve got a question concerning the internal strucutre of vpopmail.
 I´ve set up a qmail system together with vpopmail ( qmail 1.03  vpopmail 5.2 ).
 I´m testing with two different domains and everything is working fine for me.

 What I now wanted to do is set up some kind of simple anti-spam tool to avoid the 
 huge amount of spam in some Maildirs. I tried to get a php script to work ( php 
 script called from a .qmail file ) that sould analyse the mail and in case of spam 
 it should copy it to some destination and then the script should return a exit code 
 to tell the delivery process to stop delivering the message.

 What I´m not shure is which program does the delivery in this case.
 The .qmail file ( created with qmailadmin ) resides inside the vpopmail structure of 
 the virtual domain and looks like

 |/path-to-phpscript/phpscript.php
 /path/to-vpopmail/domains/virtualdomain1/adress/Maildir/new/

 but everytime I send a mail to that adress, the php script tells me that it is spam, 
 it copies it to the sepcial destionation ( so the script works fine to me ) BUT the 
 mail delivery process is not stopped, the mail gets into the Maildir asif my script 
 did not return an exit code.

 I´ve tried it with return code 99  100 ( according to the .qmail-command manpages 
 and some notes I found on the return codes of vdelivermail ) but nothing happened.

 So my question is, have I missed something?
 Which value should my returncode have, the one qmail is expecting or the one 
 vdelivermail is expecting?
 And why does nothing happen to that delivery process?

 Thank you for your help!

 Thomas



 



Re: [vchkpw] question about exit code of vdelivermail

2003-09-29 Thread X-Istence
[EMAIL PROTECTED] wrote:

I´ve found the solution myself ... in the ChangeLog it sais that with version 5.2.1 EXITCODE checking for vdelivermail has been put in and I´m currently using 5.2 :(

So forget about my question, please give me an answer for this one:

Is it save to upgrade from 5.2 to 5.2.1 on an running system?
Is there anything I should be aware of or is it just backuping the /bin/ directory and just 
making the ./configure  make  make-install ?
Thanks again

Thomas

 

Just before you do the upgrade, shut down the install, upgrade and 
restart :).




AW: AW: WG: [vchkpw] lock account after login failures

2003-09-29 Thread Feucht, Florian



 Perhaps he did, but locked out CONNECTIONS from that IP for 10
minutes
 reads differently to me.  If Tom had meant what you said, then I would
 have expected something like locked out authentication attempts from
 that username/IP pair for 10 minutes.

This idea is great, but doesn't work for me, because all traffic passes
a proxy firewall (including a esmtp daemon) - so the firewall is the one
and only entity which makes a connection to the mailserver...

But for others this might be the best solution...! Thanks for the
information.

about the DoS attack: sure, it's possible to knock somebody out of his
mailbox... but i think this is better than if somebody takes it over...

Personally i feel much better if i know that my mailbox gets locked
before somebody takes my mail away (via pop3) (my opinion)

if it happens that somebody starts DDoS this way, i can do the
following:
- look at my firewall log
- find out his (or her's ;) ) IP Address
- block the IP(-Pool)
- contact the ISP, if it doesn't stop.

MfG Florian






Re: [vchkpw] BCC related

2003-09-29 Thread Tom Collins
On Sunday, September 28, 2003, at 11:58  AM, Catalin :: Braescu wrote:
I want to be able to see the BCC field of messages arriving to one mail
account.
CC stands for carbon copy.  It tells everyone involved that the 
message is intended for the To recipient, but that everyone in the 
CC field has received a copy.

BCC stands for blind carbon copy.  The idea is that BCC recipients 
get copies, but no one knows about it.

In all cases, the email program shouldn't include the BCC header when 
sending.  I did use a program (ccMail by Lotus) about 10 years ago that 
DID actually include the BCC field (which could be quite embarrassing).

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] exec: /usr/sbin/sendmail: Permission denied

2003-09-29 Thread Tom Collins
On Monday, September 29, 2003, at 07:04  AM, Julian Zeiler wrote:
exec: /usr/sbin/sendmail: Permission denied
when trying to send mail via sqwebmail. Can anyone help me with this 
problem
This isn't really a vpopmail related question...

Did you remove sendmail before installing qmail on that machine?

What are the permissions on /usr/sbin/sendmail?  Is it world executable?

When installing qmail, it creates a link from /var/qmail/bin/sendmail 
to /usr/sbin/sendmail.  If that link isn't there, you can recreate it 
with `ln -s /var/qmail/bin/sendmail /usr/bin/sendmail`.

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Getting vpopmaildir set to something other than vpopmail home dir

2003-09-29 Thread Todd Charron
Changing the home dir in /etc/passwd during build time still doesn't resolve 
the problem since the resulting binaries will always be looking for the build 
dir instead of /home/vpopmail (or whatever the current home dir is set as).

For example, I set the build dir to a temporary directory built and packaged 
the files fine, but once installed, something like vadddomain fails with

Error: Unable to chdir to vpopmail/domains/domain directory

An strace of this reveals that it's trying to chdir to the build directory 
which doesn't exist (different machine).  This seems to be a very 
non-portable build method to me, or am I missing something?

Todd


On September 25, 2003 06:02 pm, Tom Collins wrote:
 On Thursday, September 25, 2003, at 01:21  PM, Todd Charron wrote:
  I'm using vpopmail 5.2.1 and I'm trying to set vpopmaildir to
  something other
  than what the vpopmail user has as their home directory.  Is there an
  easy
  way to do this?  Something like --enable-vpopmaildir=?  It seems odd,
  that
  you can't specify that in any of the configure switches.  Any ideas?
  Thanks,

 I recently looked into this on the development version of vpopmail, and
 there isn't a configure option.

 You'll have to edit /etc/passwd and set the target directory to be
 vpopmail's home directory.

 --
 Tom Collins
 [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/




[vchkpw] Outlook unable to relay, Kmail can...

2003-09-29 Thread David Benson
I've got Qmail/VPopmail (5.2.1) running on a Slackware 9 box and I am unable 
to relay outgoing messages from any of our Windows/Outlook clients.  However, 
I can relay from the Linux/KDE/KMail clients...

I've gone over the Outlook 2000 settings again and again, and I've also tried 
using Outlook express.  Searches on Google haven't turned up much yet but I 
am still looking...  I have also confirmed that I am not using SSL or any 
other secure auth for SMTP...

I can't remember if I configured with --enable-roaming-users=y but I did find 
a #define POP_AUTH_OPEN_RELAY 1 in the config.h file which suggests that I 
did (that and the fact that everything works fine on the Linux boxes).

I have set this server up by carefully following the steps outlined in The 
qmail Handbook by Dave Sill and I have tried in good faith to solve this on 
my own but I'm running out of ideas fast and could really use a push in the 
right direction this time...

My only thought is that the Outlook clients are failing to auth on send and 
qmail defaults to the rcpthosts file...  If I add the target domain to 
rcpthost and try again from the Outlook client, it works - but, of course, 
this is not at all the solution...  


David Benson
Real Networks




Re: [vchkpw] Getting vpopmaildir set to something other than vpopmail home dir

2003-09-29 Thread Tom Collins
On Monday, September 29, 2003, at 11:11  AM, Todd Charron wrote:
An strace of this reveals that it's trying to chdir to the build 
directory
which doesn't exist (different machine).  This seems to be a very
non-portable build method to me, or am I missing something?
You are correct, it is not very portable.

Should the code be updated to look up ~vpopmail instead of using a 
hard-coded pathname in the binaries?  The various tools need to know 
the full path to the vdelivermail binary, the /etc directory and the 
domains directory.

Note that if someone performs an install, runs for awhile, and then 
tries to change the home directory, they'll run into numerous problems 
(because the expanded ~vpopmail path is in users/assign, all 
.qmail-default files, and intertwined in ezmlm configuration files).

I would like to improve on vpopmail's portability as much as possible.  
If anyone can make recommendations (or even better, submit tested 
patches), we'll try to integrate them into future releases.

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



[vchkpw] Romaing User problems

2003-09-29 Thread John Boynton
I have installed qmail and vpopmail.



I have used --enable-roaming-users=y and I am able to send and receive mail,
if the IP address is listed in the /etc/tcp.smtp file.

When a user logs in to get authenticated by pop a new file is created in the
/home/vpopmail/etc dir with a name of open-smtp.tmp.23486, with different
numbers.

These files are all blank.

If I edit any of the files in the /home/vpopmail/etc dir  the is no
difference.

If I edit /etc/tcp.smtp, manually add the IP and reload the cdb it will
allow the user to send.

I am certain it is something in my configuration for qmail-smtpd.


Any help that you can offer I would greatly appreciate it.

Thanks in advance,
John B


/var/qmail/supervise/qmail-smtpd/run:

#!/bin/sh

QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`

if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ];
then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi

if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open
relay
exit 1
fi

exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
$MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
21



/var/qmail/supervise/qmail-smtpd/log/run:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail/smtpd


/var/qmail/supervise/qmail-send/run:


#!/bin/sh
exec /var/qmail/rc


/var/qmail/supervise/qmail-send/log/run:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
/var/log/qmail


/var/qmail/rc

#!/bin/sh

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

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







RE: [vchkpw] Converting Large Sites from CDB to MySQL

2003-09-29 Thread Mark Spieth
I partially found the problem but not the solution. It seems that the
domains I cannot convert are from our first qmail toaster. Vpopmail was
not compiled in with clear text passwords back then. Is there any way to
convert the cdb at this point. I do not relish the though of having to
get 500+ passwords and entering them in all manually.

-Original Message-
From: Mark Spieth [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 27, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Converting Large Sites from CDB to MySQL

I am converting an existing qmail/vpopmail site using cdb over to a new
server running vpopmail 5.3.8 and MySQL. vconvert does fine for smaller
sites with under 50 users, but does not work for large sites. I also
tried
vconvert-cdb-sql-big.pl which works fine, However it does not create the
pw_clear_passwd portion of the database table and therefore the
converted
domain does not work.


Any ideas?


Thanks

Mark






[vchkpw] Migrating to a new machine question?

2003-09-29 Thread Jesus Ruiz
Hi, i have to migrate my qmail (qmail + vpopmail 5.2.1 +spamcontrol2.0.9) 
box to a new linux machine.

The problem is that my clients don't want to lose the email they save in 
the old server. When we change they account to the new server.

Any suggestion?

Thanks in advance

Jesus Bernardo Ruiz Flores




Re: [vchkpw] Converting Large Sites from CDB to MySQL

2003-09-29 Thread Tom Collins
On Monday, September 29, 2003, at 12:29  PM, Mark Spieth wrote:
I partially found the problem but not the solution. It seems that the
domains I cannot convert are from our first qmail toaster. Vpopmail was
not compiled in with clear text passwords back then. Is there any way 
to
convert the cdb at this point. I do not relish the though of having to
get 500+ passwords and entering them in all manually.
Take a look at the enable-learn-password option.  If you leave the 
password field blank, vpopmail will learn it the first time the user 
picks up their email.

Do you really need the clear password though?  Can't you take the MD5 
passwords from CDB and insert them into MySQL?

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] Romaing User problems

2003-09-29 Thread Brah Mon
Something to try..

I use mysql roaming users vs. cdb, but it seems your problem could be the
run file for qmail-smtpd

 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
 $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
 21

vpopmail is whats creating the files in ~vpopmail/etc, and smtpd is using
/etc/tcp.smtp.cdb..
try -x /home/vpopmail/etc/tcp.smtp.cdb and see if mail gets through, but
backup your cdb files first..


- Original Message -
From: John Boynton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 29, 2003 3:30 PM
Subject: [vchkpw] Romaing User problems


 I have installed qmail and vpopmail.



 I have used --enable-roaming-users=y and I am able to send and receive
mail,
 if the IP address is listed in the /etc/tcp.smtp file.

 When a user logs in to get authenticated by pop a new file is created in
the
 /home/vpopmail/etc dir with a name of open-smtp.tmp.23486, with different
 numbers.

 These files are all blank.

 If I edit any of the files in the /home/vpopmail/etc dir  the is no
 difference.

 If I edit /etc/tcp.smtp, manually add the IP and reload the cdb it will
 allow the user to send.

 I am certain it is something in my configuration for qmail-smtpd.


 Any help that you can offer I would greatly appreciate it.

 Thanks in advance,
 John B


 /var/qmail/supervise/qmail-smtpd/run:
 
 #!/bin/sh

 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
 LOCAL=`head -1 /var/qmail/control/me`

 if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z
$LOCAL ];
 then
 echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
 echo /var/qmail/supervise/qmail-smtpd/run
 exit 1
 fi

 if [ ! -f /var/qmail/control/rcpthosts ]; then
 echo No /var/qmail/control/rcpthosts!
 echo Refusing to start SMTP listener because it'll create an open
 relay
 exit 1
 fi

 exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c
 $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
 21

 

 /var/qmail/supervise/qmail-smtpd/log/run:
 
 #!/bin/sh
 exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
 /var/log/qmail/smtpd
 

 /var/qmail/supervise/qmail-send/run:
 

 #!/bin/sh
 exec /var/qmail/rc
 

 /var/qmail/supervise/qmail-send/log/run:
 
 #!/bin/sh
 exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
 /var/log/qmail
 

 /var/qmail/rc
 
 #!/bin/sh

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

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