Re: RE: authorization failed

2001-03-25 Thread Kirill Miazine

On Mon, Mar 26, 2001 at 02:25:34PM +0700, Roy Naldo wrote:
> 
> 
>   ok, here is what i did to my system...
>   
>   i am using qmail-1.03 , vpopmail-4.9.4, mysql-3.23.33 
>   
>   there is no problem installing the qmail package using maildir , i
> already test the mail delivery locally and it works. 
>   
>   my configure script for mysql :
>   ./configure --prefix=/usr/local/mysql
>   make
>   make install
>   ./mysql_installdb
>   ./mysqladmin -u root password 'newpassword'
> 
>   then i edit the vmysql.h file and change the mysql password 'gipgap'
> to the one i created above 'newpassword'.
> 
>   here is my configure script for vpopmail :
>   ./configure --enable-mysql=y
> --enable-sqlincdir=/usr/local/mysql/include 
>   --enable-sqllibdir=/usr/local/mysql/lib/mysql
> --enable-ucspi-dir=/usr/local/src/ucspi-tcp-0.88 
>   --enable-tcpserver-file=/etc/tcp.smtp
> --enable-qmaildir=/usr/local/src/qmail-1.03 

Oops, is your qmail installed under /usr/local/src/qmail-1.03?
I bet it's not!

>   --enable-tcprules-prog=/usr/local/bin/tcprules
> --enable-apop=n
>   
>   make
>   make install-strip
> 
>   there is no problem compiling vpopmail,
>   The problem arise, when i execute the "vadddomain" command , i got
> this message " could not open assign file ".

It couldn't open users/assign - indication that qmail is not installed
under /usr/local/src/qmail-1.03 (that's what you told vpopmail when
compiling it)

>   but the new domains directory still created under the
> /home/vpopmail/domains directory. even when i execute the
>   "vadduser " command , the user directory is created under the
> virtual domains directory. so for a moment i thought that
>   everything was properly installed. 
>   but when i when i try to pop my newly created virtual email ,
>   localhost# telnet localhost 110
>   Trying 127.0.0.1...
>   Connected to localhost. Escape character is '^]'.
>   +OK <[EMAIL PROTECTED]>
>   user [EMAIL PROTECTED]
>   +OK
>   pass passsword
>   -ERR authorization failed
>   Connection closed by foreign host.
>   localhost#
> 
>   any idea about what might my problem is ?
>   thanks.

How do you start pop? What's the path to chechpasswd?

> 
> 
>   best regards,
> 
>   roy
> 
>   
> 
> 
> -Original Message-
> From: Sumith [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 24, 2001 5:31 PM
> To: Roy Naldo; [EMAIL PROTECTED]
> Subject: Re: authorization failed
> 
> 
> Well..friend it'd help if you'd give us more details on what all you did, to
> set up your system..
> 
> - Sumith
> - Original Message -
> From: Roy Naldo <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 24, 2001 2:47 PM
> Subject: RE: authorization failed
> 
> 
> >
> > i already did that, but i still doesn't works. ;(
> >
> >
> >
> >
> > -Original Message-
> > From: Sumith [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 24, 2001 3:56 PM
> > To: Roy Naldo; [EMAIL PROTECTED]
> > Subject: Re: authorization failed
> >
> >
> > This question should be posted to vpopmail list
> >
> > anyway did u include --enable-mysql=y in your vpopmail configure line and
> > included the root mysql password in vmysql.h in vpopmail source.
> >
> > Hope this helps
> >
> > - Sumith
> >
> > > hiii ,
> > >
> > > i am running : qmail-1.03
> > >  mysql-3.23.35
> > >  vpopmail-4.9.4
> > >
> > > i didn't find any error while compiling thoses packages.
> > > here is what i got in my rc scripts :
> > >
> > > --my rc scripts -
> > >
> > > #!/bin/bashcan
> > > csh -cf '/var/qmail/rc &'
> > > csh -cf '/usr/local/mysql/bin/safe_mysqld &'
> > >
> > > csh -cf 'env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0
> > > pop-3 /var/qmail/bin/qmail-popup my.domain.name
> /home/vpopmail/bin/vchkpw
> > > /var/qmail/bin/qmail-pop3d Maildir & '
> > >
> > > tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
> > > tcpserver -x /etc/tcp.smtp.cdb -u 102 -g 101 0 smtp
> > > /var/qmail/bin/qmail-smtpd &
> > >
> > > end of my rc scripts
> > > -
> > >
> > >
> > > everything is working, except one , i can't authenticate any user
> > > created by vadduser .
> > >
> > > root@ my.domain]# telnet localhost 110
> > > Trying 127.0.0.1...
> > > Connected to localhost. Escape character is '^]'.
> > > +OK <[EMAIL PROTECTED]>
> > > user [EMAIL PROTECTED]
> > > +OK
> > > pass passsword
> > > -ERR authorization failed
> > > Connection closed by foreign host.
> > >
> > > can anybody help me solve this problem ?.. .thanks.
> > > roy
> > >
> > >
> >
-- 
Kirill



RE: authorization failed

2001-03-25 Thread Roy Naldo



ok, here is what i did to my system...

i am using qmail-1.03 , vpopmail-4.9.4, mysql-3.23.33 

there is no problem installing the qmail package using maildir , i
already test the mail delivery locally and it works. 

my configure script for mysql :
./configure --prefix=/usr/local/mysql
make
make install
./mysql_installdb
./mysqladmin -u root password 'newpassword'

then i edit the vmysql.h file and change the mysql password 'gipgap'
to the one i created above 'newpassword'.

here is my configure script for vpopmail :
./configure --enable-mysql=y
--enable-sqlincdir=/usr/local/mysql/include 
--enable-sqllibdir=/usr/local/mysql/lib/mysql
--enable-ucspi-dir=/usr/local/src/ucspi-tcp-0.88 
--enable-tcpserver-file=/etc/tcp.smtp
--enable-qmaildir=/usr/local/src/qmail-1.03 
--enable-tcprules-prog=/usr/local/bin/tcprules
--enable-apop=n

make
make install-strip

there is no problem compiling vpopmail,
The problem arise, when i execute the "vadddomain" command , i got
this message " could not open assign file ".
but the new domains directory still created under the
/home/vpopmail/domains directory. even when i execute the
"vadduser " command , the user directory is created under the
virtual domains directory. so for a moment i thought that
everything was properly installed. 
but when i when i try to pop my newly created virtual email ,
localhost# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost. Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass passsword
-ERR authorization failed
Connection closed by foreign host.
localhost#

any idea about what might my problem is ?
thanks.


best regards,

roy




-Original Message-
From: Sumith [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 24, 2001 5:31 PM
To: Roy Naldo; [EMAIL PROTECTED]
Subject: Re: authorization failed


Well..friend it'd help if you'd give us more details on what all you did, to
set up your system..

- Sumith
- Original Message -
From: Roy Naldo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 24, 2001 2:47 PM
Subject: RE: authorization failed


>
> i already did that, but i still doesn't works. ;(
>
>
>
>
> -Original Message-
> From: Sumith [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 24, 2001 3:56 PM
> To: Roy Naldo; [EMAIL PROTECTED]
> Subject: Re: authorization failed
>
>
> This question should be posted to vpopmail list
>
> anyway did u include --enable-mysql=y in your vpopmail configure line and
> included the root mysql password in vmysql.h in vpopmail source.
>
> Hope this helps
>
> - Sumith
>
> > hiii ,
> >
> > i am running : qmail-1.03
> >  mysql-3.23.35
> >  vpopmail-4.9.4
> >
> > i didn't find any error while compiling thoses packages.
> > here is what i got in my rc scripts :
> >
> > --my rc scripts -
> >
> > #!/bin/bashcan
> > csh -cf '/var/qmail/rc &'
> > csh -cf '/usr/local/mysql/bin/safe_mysqld &'
> >
> > csh -cf 'env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0
> > pop-3 /var/qmail/bin/qmail-popup my.domain.name
/home/vpopmail/bin/vchkpw
> > /var/qmail/bin/qmail-pop3d Maildir & '
> >
> > tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
> > tcpserver -x /etc/tcp.smtp.cdb -u 102 -g 101 0 smtp
> > /var/qmail/bin/qmail-smtpd &
> >
> > end of my rc scripts
> > -
> >
> >
> > everything is working, except one , i can't authenticate any user
> > created by vadduser .
> >
> > root@ my.domain]# telnet localhost 110
> > Trying 127.0.0.1...
> > Connected to localhost. Escape character is '^]'.
> > +OK <[EMAIL PROTECTED]>
> > user [EMAIL PROTECTED]
> > +OK
> > pass passsword
> > -ERR authorization failed
> > Connection closed by foreign host.
> >
> > can anybody help me solve this problem ?.. .thanks.
> > roy
> >
> >
>



Re: local mail routing help

2001-03-25 Thread Brett Randall

Make sure server1.mydomain.com is accepting mail for
server1.mydomain.com in the rcpthosts file, and that
server2.mydomain.com (is it a qmail box?) is allowed to receive mail
for server2.mydomain.com and mydomain.com . Restart qmail on each box
and it should work. By the way, if no mail is stored on server 1, you
shouldn't need the locals file.

Brett.


> "Jean" == Jean  <[EMAIL PROTECTED]> writes:

> Can someone help me with local mail routing?  My setup is as
> follows.   

> servers= server1.mydomain.com & server2.mydomain.com

> server1's smtproutes file = mydomain.com:server2.mydomain.com

> server1's locals file = server1.mydomain.com

> server1's me file = server1.mydomain.com

>  

> I want server1 to route all mydomain.com email to server2, but it's
> not working.  With the above setup, everything stays on server1,
> nothing routed to server2.  What other files do I need to look at?

>  

> TIA,

> jean

-- 
"This 'telephone' has too many shortcomings to be seriously considered
as a means of communication. The device is inherently of no value to
us."

- Western Union internal memo, 1876



local mail routing help

2001-03-25 Thread Jean





Can someone help me with local mail routing?  
My setup is as follows.
 
servers= server1.mydomain.com & 
server2.mydomain.com
server1's smtproutes 
file = mydomain.com:server2.mydomain.com
server1's locals file = 
server1.mydomain.com
server1's me file = 
server1.mydomain.com
 
I want server1 to route all mydomain.com email to 
server2, but it's not working.  With the above setup, everything stays on 
server1, nothing routed to server2.  What other files do I need to look 
at?
 
TIA,
jean


Re: Sending attachments with qmail-inject

2001-03-25 Thread Kirill Miazine

On Fri, Mar 23, 2001 at 09:16:44PM -0500, Todd Goldenbaum wrote:
> Hi,
> 
> I am using perl to construct and send qmail messages, and I've found it very
> easy with qmail-inject.  But I'm confused about attachments... I found this
> suggestion from the archives of this list:

Did you try MIME::Tools? Check your nearest CPAN mirror for more info. Or
run following:

perl -MCPAN -e 'readme("MIME::Tools")'

> 
> % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
> 
> however, when the mail comes in, it looks something like this:
> 
>   Date: 24 Mar 2001 02:06:32 -
>   From: [EMAIL PROTECTED]
>   Cc: recipient list not shown:  ;
> 
>   begin 664 ngc2903_hst_big.jpg
>   M_]C_X``02D9)1@`!`@``9`!D``#_[``11'5C:WD``0`$4```_^X`#D%D
>   M;V)E`&3``?_;`(0``@("`@("`@("`@,"`@(#!`,"`@,$!00$!`0$!08%
>   M!04%!04&!@<'"`<'!@D)"@H)"0P,#`P,#`P,#`P,#`P,#`$#`P,%!`4)!@8)
>   M#0L)"PT/#@X.#@\/#`P,#`P/#PP,#`P,#`\,#`P,#`P,#`P,#`P,#`P,#`P,
>   M#`P,#`P,#`P,_\``$0@%W@7&`P$1``(1`0,1`?_$`:('`0$!`0$`
>   M`
> 
> I'm not very familiar with the standard email spec, but it seems like there
> might be a way to just include a line in the email header that indicates
> a file in the local filesystem to attach, maybe assumiing it's been uuencoded?
> 
> thanks,
> Todd
> 
-- 
Kirill



Re: Sending attachments with qmail-inject

2001-03-25 Thread Kirill Miazine

On Sun, Mar 25, 2001 at 05:45:01PM -0500, Todd Goldenbaum wrote:
> On Sun, 25 Mar 2001, Charles Cazabon wrote:
> 
> > Todd Goldenbaum <[EMAIL PROTECTED]> wrote:
> > >
> > > I am using perl to construct and send qmail messages, and I've found it very
> > > easy with qmail-inject.  But I'm confused about attachments... I found this
> > > suggestion from the archives of this list:
> > >
> > > % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
> > [...]
> >
> > Install mutt.  Then just do the following, to create MIME-type file
> > attachments:
> >
> > echo "This is the message body.
> > It can have multiple lines." \
> >   | mutt -a /path/to/file1 -a /path/to/file2 recipient1 recipient2 ...
> 
> wow, and then if qmail is installed i guess that's what mutt would use to
> actually send it?

Yeah, to be absolutely sure add following to your .muttrc:

set sendmail="/var/qmail/bin/qmail-inject"

> 
> todd
> 
-- 
Kirill



Re: very large queue list (qmail-qread)

2001-03-25 Thread Andy Bradford

Thus said "Ross Davis - Data Anywhere" on Sun, 25 Mar 2001 21:53:02 PST:

> when I run qmail-qread I get 108,000 lines of emails, most of which have
> sent.  When I run qmail-qstat is says that there typically about 250 emails
> that in queue.
> 
> Is that normal to have that may lines returned from qmail-qread?

Yep, however, you might want to only show those that haven't been 
delivered yet:

qmail-qread | grep -v done

Andy
-- 
[---[system uptime]]
 11:17pm  up 39 days, 23:20,  6 users,  load average: 1.54, 1.73, 1.70





very large queue list (qmail-qread)

2001-03-25 Thread Ross Davis - Data Anywhere

when I run qmail-qread I get 108,000 lines of emails, most of which have
sent.  When I run qmail-qstat is says that there typically about 250 emails
that in queue.

Is that normal to have that may lines returned from qmail-qread?

qmail-clean is running and is started along with the other processes.

I have qmHandle that really helps to see what is in the queue, but is there
another way to get all of the items that are waiting to be delivered and all
of the bounces, with the reason that things are being bounced?

Right now the only way I can tell what is up with an email when it is not
working is to look in the log, run qmHandle and check the bounce directory.

I am using vpopmail and only processing about 40,000 emails a day.

Thanks in advance.





Unable to authenticate through POP3

2001-03-25 Thread Sunil .

I managed to install QMail for the first time 2 weeks back.
I also installed the utilities available at inter7.com. They include
vpopmail, qmailadmin and sqwebmail.

I tried retrieving my mails using pop3 with my ms outlook client and they 
gave me an error saying something like "invalid password, authentication 
error...blah...blah"

I am very sure that the password i have been trying is correct because i am 
able to login to my mail account using sqwebmail's web interface client. 
Everything seems to be working fine except for this.

Currently, i am only able to send and retrieve mails using sqwebmail only. I 
also installed this "checkpassword" thing after trying out some online help. 
It didn't work either.

Please help.
Regards
Sunil
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: QMQP Problems

2001-03-25 Thread Russell Nelson

Tyrone Mills writes:
 > I'm having some difficulties getting QMQP working in my environment. Here's
 > the setup:

 > I get the following error: qmail-inject: fatal: connection to mail server
 > rejected (#4.4.1)

Are you actually running qmqpd?

-- 
-russ nelson will be speaking at http://www.osdn.com/conferences/brie/
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!



Re: Log entry: success: did_0+0+0???

2001-03-25 Thread Russell Nelson

Sam Laffere writes:
 > delivery 28: success: did_0+0+0/
 > 
 > and the messages are nowhere to be found.

Yup.  qmail is telling you that it didn't deliver to a mailbox, didn't 
forward the mail, and didn't run a program delivery.

-- 
-russ nelson will be speaking at http://www.osdn.com/conferences/brie/
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!



Re: E-mail Addresses Not Converted to Lowercase Letters

2001-03-25 Thread Russell Nelson

Hans Edwards writes:
 > QMail is supposed to convert email addresses it receives to all   
 > lower-case letters.  Our installation is NOT doing that.  

qmail-getpw lowercases the name before looking it up in /etc/passwd.
If you're using a qmail-getpw replacement, then it may or may not
lowercase the name.  qmail-lspawn lowercases usernames before it looks
them up in users/assign.  Other delivery methods hook onto
~alias/.qmail-default.  They may or may not ignore case.

-- 
-russ nelson will be speaking at http://www.osdn.com/conferences/brie/
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!



Re: a tool/script to print the biggest mail servers in queue

2001-03-25 Thread James R Grinter

"Simon K. Grabowski" <[EMAIL PROTECTED]> writes:
> I have noticed that whenever a large mail server is down
> (i.e. mail.com or yahoo.com) queue gets much bigger.
> This is normal and understandable, but sometimes a huge
> queue lags message delivery to mail servers that are working okay.

Yup, been there, seen that.. too frequently, sadly.

> Is there a tool / script that'd print the biggest mail servers
> in queue. i.e. in a list...
> yahoo.com5684 (messages in queue)
> mail.com1243 etc.
> 
> I know that postfix has a tool that does that...
> 
> What about qmail?

I've not taken it as far as pulling out all the domains, but I have a
few scripts that I use on a regular basis as follows. These are not
models of efficiency, but they do the job:

qusers:
  #!/bin/sh
  # show number of messages queued up per address
  /var/qmail/bin/qmail-qread | grep remote | grep -v done | sort | uniq -c | sort -n 

qyahoo:
  #!/bin/sh
  # summarise number of messages queued for a domain
  qusers | awk '$3 ~ /@yahoo\./ { sum=sum+$1 } END { print sum }'

Just for you, here's a freshly written script that counts things by
domain part. It doesn't attempt to establish what mail server they're
queued for (qmail doesn't store that information handily, one would
have to go through the log files and try and deduce it from the
information):

qdomains:
  #!/bin/sh
  /var/qmail/bin/qmail-qread | nawk '$1 ~ /remote/ { sub(/^.*@/,"",$2); 
domains[$2]=domains[$2]+1 } END { for ( domain in domains ) { print domains[domain], 
domain; } }' | sort -n

hope that helps,

James.



Re: Sending attachments with qmail-inject

2001-03-25 Thread Todd Goldenbaum

On Sun, 25 Mar 2001, Charles Cazabon wrote:

> Todd Goldenbaum <[EMAIL PROTECTED]> wrote:
> >
> > I am using perl to construct and send qmail messages, and I've found it very
> > easy with qmail-inject.  But I'm confused about attachments... I found this
> > suggestion from the archives of this list:
> >
> > % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
> [...]
>
> Install mutt.  Then just do the following, to create MIME-type file
> attachments:
>
> echo "This is the message body.
> It can have multiple lines." \
>   | mutt -a /path/to/file1 -a /path/to/file2 recipient1 recipient2 ...

wow, and then if qmail is installed i guess that's what mutt would use to
actually send it?

todd




Re: Sending attachments with qmail-inject

2001-03-25 Thread Charles Cazabon

Todd Goldenbaum <[EMAIL PROTECTED]> wrote:
> 
> I am using perl to construct and send qmail messages, and I've found it very
> easy with qmail-inject.  But I'm confused about attachments... I found this
> suggestion from the archives of this list:
> 
> % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
[...]

Install mutt.  Then just do the following, to create MIME-type file
attachments:

echo "This is the message body.
It can have multiple lines." \
  | mutt -a /path/to/file1 -a /path/to/file2 recipient1 recipient2 ...

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



File permissions needed to run qfilter

2001-03-25 Thread Jean-Christophe Debosschère



Hi all,
Could someone please tell me exactly what are the 
permissions (+ UID/GID) I have to set for : 
/var/qmail/qfilter  
   (directory)
 
/var/qmail/qfilter/tmp  
   (directory)  (needed to compile 
qfilter as I read in qfilter's README file)
 
/var/qmail/qfilter/qfilter-test   
   (file)  containing :     
#!/usr/sh    exec /usr/bin/qmail-qfilter 
/var/qmail/bin/qmail-inject -n
 
/var/qmail/bin/qmail-queue 
(file)
 
/usr/bin/qmail-qfilter (file)
I searched solutions in archives but I jumped from 
errors to errors... now I'm lost 
:-(TIAJean-Christophe


RE: Attachments via /usr/bin/sendmail

2001-03-25 Thread Todd Goldenbaum

On Sun, 25 Mar 2001, Paul J. Schinder wrote:
> >Hmmm...I thought I had it, but not quite. For some
> >reason, my Perl script is outputting to the screen,
> >not my mailwrapper. Are there any limitations on what
> >you can send to the mailwrapper? My program is below:
> >
> >#!/usr/bin/perl
> >
> >$fileout = system("/bin/cat
> >/home/www/schnarff/images/chili.jpg |
> >/usr/bin/uuencode /home/www/schnarff/chili.jpg");
> >$bound = "---bound";
> >
> >open (MAIL, "|/usr/bin/sendmail -t");
> >print MAIL "To: alexlefevre\@yahoo.com\n";
> >print MAIL "Mime-Version: 1.0\n";
> >print MAIL "Content-Type: multipart/mixed;
> >boundary=\"$bound\"; charset=\"iso-8859-1\"\n";
> >print MAIL "$bound\n";
> >print MAIL "Content-Type: image/jpg;
> >name=\"chili.jpg\"\n";
> >print MAIL "Content-Disposition: attachment;
> >filename=\"chili.jpg\"";
> >print MAIL "Content-Transfer-Encoding: uuencode";
> >print MAIL "$fileout";
> >close MAIL;
>
> This may be a little late, but why don't you simply use one of the
> many Perl modules that deal with MIME and know how to do it right,
> for example, MIME::Lite?  Go to .

Would the above solution (and the equiv. using MIME::Lite apply to
qmail-inject as well?  I'm trying to send attachments from a perl
script, too.

thanks,
todd





qmailadmin master passwd?

2001-03-25 Thread Bill Parker

Hello All,

How does one change the master password on qmail-admin
(the web based interface for vpopmail)?  I don't find any man
pages for vpopmail?  I'm running qmailadmin-0.26c and vpopmail-3.4.11
if that helps at all?

Also, how difficult is it to upgrade to the latest versions
of these two packages w/out breaking anything which is currently
running well?

-Bill




QMQP Problems

2001-03-25 Thread Tyrone Mills

I'm having some difficulties getting QMQP working in my environment. Here's
the setup:

I've got a web server that needs to send E-Mails (confirmation e-mails,
etc), so I set it up as a QMQP client. I've followed the instructions at
http://cr.yp.to/qmail/mini.html for both the client and the server.

When I do a simple test on the web server: ls | mail [EMAIL PROTECTED]

I get the following error: qmail-inject: fatal: connection to mail server
rejected (#4.4.1)

So I've been pulling my hair out, looking for where I went wrong in the
configuration. It seems to indicate that the problem is on the server side.
Here are the contents of some relevant config files:

Mail Server /etc/tcp.qmqp   :   216.232.111.156:allow
:deny

Mail Server /etc/tcp.smtp:  127.:allow,RELAYCLIENT=""

216.232.111.156:allow,RELAYCLIENT=""

Mail Server /var/qmail/control/rcpthosts:   mail.itsallgeek.net
www.itsallgeek.net

Mail Server /var/qmail/control/locals:  mail.itsallgeek.net
www.itsallgeek.net

Web Server /var/qmail/control/idhost:   www.itsallgeek.net

Web Server /var/qmail/control/qmqpservers:  216.232.111.154 

Any help or hints would be greatly appreciated.

Thanks,

Tyrone

UNIX is user-friendly, it's just picky about who its friends are... 


 winmail.dat


RE: Forwarding to another system.

2001-03-25 Thread schoon

Roger,

Do a quick search in the qmail archives - your answer awaits!! I have
nearly the same setup - qmail server outside and Exchange 4.0 inside
I use pullmail to poll the qmail server via pop3 and it get sent to the
Exchange server via smtp. Works pretty well.

HTH

.mark

>--
>From:  Roger Walker[SMTP:[EMAIL PROTECTED]]
>Sent:  Saturday, March 24, 2001 3:47 PM
>To:qmail ML
>Subject:   Forwarding to another system.
>
>   I need to forward all mail from the mailhost (2 domains) which is
>on the public LAN through a VPN to an Exchange box for actual distribution
>(The latter part is not my choice or decision.).
>
>   The FAQ 7.4 describes using .qmail files to forward everything to
>the explicit host.
>
>   The qmail-remote(8) man page describes using the smtproutes file,
>which may also work in this case.
>
>   What would be the most effective way to do so? The QMAIL box is
>only there to receive everything from the Internet and send it to the
>Exchange box.
>
>   Thanks.
>
>-- 
>Roger Walker 
>Voice/Fax 1-780-440-2685 
>"HIS Pain; YOUR Gain"
>
>
>
>




RE: Attachments via /usr/bin/sendmail

2001-03-25 Thread Paul J. Schinder

>Hmmm...I thought I had it, but not quite. For some
>reason, my Perl script is outputting to the screen,
>not my mailwrapper. Are there any limitations on what
>you can send to the mailwrapper? My program is below:
>
>#!/usr/bin/perl
>
>$fileout = system("/bin/cat
>/home/www/schnarff/images/chili.jpg |
>/usr/bin/uuencode /home/www/schnarff/chili.jpg");
>$bound = "---bound";
>
>open (MAIL, "|/usr/bin/sendmail -t");
>print MAIL "To: alexlefevre\@yahoo.com\n";
>print MAIL "Mime-Version: 1.0\n";
>print MAIL "Content-Type: multipart/mixed;
>boundary=\"$bound\"; charset=\"iso-8859-1\"\n";
>print MAIL "$bound\n";
>print MAIL "Content-Type: image/jpg;
>name=\"chili.jpg\"\n";
>print MAIL "Content-Disposition: attachment;
>filename=\"chili.jpg\"";
>print MAIL "Content-Transfer-Encoding: uuencode";
>print MAIL "$fileout";
>close MAIL;

This may be a little late, but why don't you simply use one of the 
many Perl modules that deal with MIME and know how to do it right, 
for example, MIME::Lite?  Go to .


>
>Alex
>
>__
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/

-- 
--
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693
[EMAIL PROTECTED]



E-mail Addresses Not Converted to Lowercase Letters

2001-03-25 Thread Hans Edwards

I've discovered a problem that QMail is having and need some help  
on finding out why this is happening and how to fix the problem ...  

QMail is supposed to convert email addresses it receives to all   
lower-case letters.  Our installation is NOT doing that.  

To prove this to myself and others, I did the following: I sent an   
email to one of my qmail e-mail accounts from my work account -  
BUT, purposely used uppercase letters in the address:  

For example, I made [EMAIL PROTECTED] into:  
[EMAIL PROTECTED] and [EMAIL PROTECTED]  

When I checked my [EMAIL PROTECTED] account, the email I   
sent from my work account was not there.  When I logged into the  
postmaster account for my domain, the mail I tried to send to my   
"hans" account was there...undelivered to me.  

I've skimmed through the QMail book I bought to confirm that QMail
is supposed to be converting addresses to lower-case, but I   
couldn't find any information about what to do if QMail is NOT   
converting.  

This has caused a BIG problem for my customers over the past   
couple of months and I have been trying to figure out what the hell   
was going on; why they weren't receiving email.  Then I   
remembered to check the postmaster accounts and there were a   
ton of messages there...all with Capital letters in the addresses.

Can anyone help me with a solution to this problem? Thanks.

Hans  



RE: Forwarding to another system.

2001-03-25 Thread Alexander Jernejcic

hi,

Roger Walker wrote:

>   I need to forward all mail from the mailhost (2 domains) which is
> on the public LAN through a VPN to an Exchange box for actual 
> distribution
> (The latter part is not my choice or decision.).
..snip..
>   What would be the most effective way to do so? The QMAIL box is
> only there to receive everything from the Internet and send it to the
> Exchange box.

i would suggest the smtproutes file with the following content:

domain-a.xyz:ip.of.exchange.box
domain-b.xyz:ip.of.exchange.box

if you want to let your ISP's mailserver relay your outgoing 
mail, the last line of your smtproutes should be

:smtp.ofyour.isp

this results in a mail hub that will happily forward any mail
to your internal m$ exchange server. don't forget to put the 
domains into rcpthosts and to set up tcp.smtp properly. 
you really do not want to be an open relay - do you?

hope that helps
;) alexander





Re: [announce] oSpam version 0.01 - new project started

2001-03-25 Thread Olivier M.

Hi Stefan,

On Sun, Mar 25, 2001 at 02:12:54PM +0300, Stefan Laudat wrote:
> If the first feature is quite useful, I find the second one rather nazi :)

:)  then [EMAIL PROTECTED] is "nazi", like you say. The first time you
send a mail there, you get something like that in return:

--
Subject: Request for Confirmation [automatic reply] [5526ba3c03d2348cc94e2b8947e61905]
From: "PHP Group" <[EMAIL PROTECTED]>
Date: 20 Mar 2001 22:45:23 -
To: [EMAIL PROTECTED]
 
Hi,
 
This is an automatic reply to an email you sent to the PHP Group.
 
Please verify your email address by simply replying to this email.
Your email address will then be stored so that future emails will be
accepted instantly.
 
Address to be registered: [EMAIL PROTECTED]
 
This is a simple form of spam protection which aims at saving the valuable
time of the volunteers working on the PHP Project.
 
Sorry for the extra hassle, and thank you.
--

That is exactely what I want for my account.

> I don't imagine my boss being asked to confirm he doesn't spam me from now on...

well, you can add his address to the accept.txt file directely... :)
I'll add a maildir and addressbook parser to get all the current addresses,
this way all your friends won't event notice that you are using oSpam...


> I'd rather use rblsmtpd with qmail for checking the maps.vix.com's rbl database.
> And I'm actually doing it.

yes, the rblsmtpd is als helpful, but not enough IMHO. 

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


Re: [announce] oSpam version 0.01 - new project started

2001-03-25 Thread Stefan Laudat

> 2 main features:
> 
> 1) use it for your usenet postings: as From: address, you get
>an "[EMAIL PROTECTED]" address, which will be
>valid one week. After this delay, the mails sent to this
>address will be put in "quarantaine", waiting for a confirmation
>from the author, which will never happen if it is a spam.
> 
> 2) use it as your main email address: put all your friends
>addresses in your accepted.txt file. If somebody which isn't
>in the list send you a mail, he will get a small and unique 
>confirmation request, and then the mail(s) will be delivered
>transparentely.

If the first feature is quite useful, I find the second one rather nazi :)
I don't imagine my boss being asked to confirm he doesn't spam me from now on...
I'd rather use rblsmtpd with qmail for checking the maps.vix.com's rbl database.
And I'm actually doing it.

-- 
Stefan Laudat
CCNA & CCAI
-
There's more than one way to skin a cat:
Way number 15 -- Krazy Glue and a toothbrush.



qmail Digest 25 Mar 2001 11:00:00 -0000 Issue 1314

2001-03-25 Thread qmail-digest-help


qmail Digest 25 Mar 2001 11:00:00 - Issue 1314

Topics (messages 59645 through 59657):

omail-admin doesn't work with vmailmgr
59645 by: Mark Lo

Re: What is the default value of these control files
59646 by: Alexander Jernejcic

what rpm of vmailmgr do i need
59647 by: Mark Lo

Re: no mailbox here(#5.1.1) - don't works!
59648 by: Tetsu Ushijima

Re: bounce mail
59649 by: Tetsu Ushijima

Re: [vmailmgr] what rpm of vmailmgr do i need
59650 by: Olivier M.

Re: local vs remote delivery
59651 by: Tom Beer

Personal mail server
59652 by: Sridhar

Forwarding to another system.
59653 by: Roger Walker

Fatal qq error
59654 by: Tyrone Mills

[announce]  oSpam version 0.01 - new project started
59655 by: Olivier M.

Re: redundant mail servers
59656 by: Russell Nelson

Log entry: success: did_0+0+0???
59657 by: Sam Laffere

Administrivia:

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

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

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

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


--



Hi,

I am trying to use omail-admin with vmailmgr, I can adduser or deluser
or add virtualdomains under the console windows.  But, When I run it under
the web using omail-admin, An error messages stating that "Failed to open
socket file, is daemon running ?".  I have installed vmailmgr-0.96.9-1 ,
vmailmgr-php-0.96.9-1, and vmailmgr-daemon-0.96.9-1 from rpm.

Please help me out

Thank you





hi,
[mailto:[EMAIL PROTECTED]] had many questions ...

have a look at http://www.lifewithqmail.org/
there you will find the answers and some really usefull background
information

:) alexander





Hi,

   I would like to know what vmailmgr rpm do I need to run vmailmgr under
omail-admin.

Re: where can I get the rpm version of ucspi-tcp.  I need this rpm to work
with vmailmgr-daemon-tcp-0.96.9-2.i386.rpm.



Thank you

Mark





Kep Brown writes:
> One hack is to write a simple shell script, mine is called qmail-aliasemail,
> that calls fastforward then runs another process if the user is still not
> found.

No need to write a script; just use the pass-through option
of fastforward:

-p  Pass through. If fastforward does not find the
recipient in cdb, it exits 0, giving the message to
further commands in .qmail-default. If fastforward
finds the recipient, it forwards the message and
exits 99, so that further commands are skipped.

The .qmail-default file would look like:

|fastforward -d -p /etc/aliases.cdb
&postmaster

-- 
Tetsu Ushijima




Charles Cazabon writes:
> > Connected_to_203.184.222.2_but_sender_was_rejected./Remote_host_said:_553_Re
> > quested_action_not_taken:_mailbox_name_not_allowed/
> 
> You sent mail to an address which doesn't exist.  The remote server bounced
> it.  End of story.

No. It's the _sender_ address that was rejected. A similar
problem was reported on this list several months ago. See:

http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/11/msg00482.html

-- 
Tetsu Ushijima




On Sat, Mar 24, 2001 at 08:48:15PM +0800, Mark Lo wrote:
>I would like to know what vmailmgr rpm do I need to run vmailmgr under
> omail-admin.

The best way (which allways worked for me) is to take the .tar.gz
files, and to compile and install the stuff yourself.

Regards,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch




Hi,

> > I'll try to set up my local delivery in qmail and been stuck in the
moment
> > and can't get out of it. I can use qmail for remote delivery. But if I
try to
> > make a local delivery it connects to teh net and delivers the message
via the
> > net to my pop box. Can anyone give me the path where to start from for
> > troubleshooting?
>
> Your logs make it look like the local delivery instruction contained a
> forwarding address which was remote.
>
> Post the results of `qmail-showctl`

user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1004, 1005, 1006, 0, 1007, 1008, 1009, 1010.
group ids: 101, 102.

badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is daemon.system.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is system.
defaulthost: (Default.) Default host name is daemon.system.
doublebouncehost: (Default.) 2B recipient host: daemon.system.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoath