Re: Backup Servers.

2001-04-03 Thread Kirill Miazine

* Alan Lee <[EMAIL PROTECTED]> [20010403 21:44]:
> I have 2 qmail servers.
> 
> One sitting on .10 and the other on .11
> 
> Both are diffrent machines.
> 
> Whats the best way to make .11 a backup server? Would I have to add the
> username's/passwords to both servers or what?

I assume you mean that 11 should take care of email if 10 goes down and
forward it to 10 when it comes up again.
Just make sure that both boxes are mx's for your domains and add your domains
to 11's rcpthosts.

Hope that helped

> 
> Regards
> 
-- 
Kirill



Re: RE: Never gets delivered?

2001-04-03 Thread Kirill Miazine

* Marcus Ouimet <[EMAIL PROTECTED]> [20010402 13:40]:
> In inetd.conf the following was added:
> 
> pop-3   stream  tcp nowait  root  /var/qmail/bin/qmail-popup qmail-popup
> mail.videomoviehouse.com /bin/checkpassword /var/qmail/bin/qmail-pop3
> Maildir
> 
> Killed inetd with HUP (kill all -HUP inetd)
> 
> Maildir created same as user and also made sure the /etc/passwd file was the
> same. Checkpassword is working correctly when running. ie:
> 
> +OK <[EMAIL PROTECTED]>
> user info
> +OK
> pass testing
> +OK
> 
> Yes I am in root.
> 
> I also restarted qmail ie - qmail restart. Qmail seems to be running fine:
> 
> [root@www /]# ps -auxx | grep qmail
> root 27540  0.0  0.1  1088  116 ?SMar20   0:00 supervise
> qmail-s
> root 27542  0.0  0.1  1088  116 ?SMar20   0:00 supervise
> qmail-s
> qmaill   27545  0.0  0.0  1100   32 ?SMar20   0:00
> /usr/local/bin/mu
> qmaill   27554  0.0  0.0  11000 ?SW   Mar20   0:00 [multilog]
> qmails4740  0.0  0.6  1140  396 ?S12:16   0:00 qmail-send
> qmaild4742  0.0  0.7  1152  472 ?S12:16   0:00
> /usr/local/bin/tc
> root  4752  0.0  0.5  1100  348 ?S12:16   0:00 qmail-lspawn
> ./Ma
> qmailr4753  0.0  0.5  1100  340 ?S12:16   0:00 qmail-rspawn
> qmailq4754  0.0  0.5  1092  352 ?S12:16   0:00 qmail-clean
> root 12532  0.0  0.8  1364  524 pts/2S13:34   0:00 grep qmail
> 
> 
> Is that enough info to make some sense of this?

Nice :)
One more thing I'd like to ask: can you show user info's .qmail? And your
qmail startup file (/var/qmail/rc). Are you delivering to ./Maildir/ by
default or is Mailbox youe default delivery?

> 
> Thanks in advance by the way :-)
> 
> -Original Message-
> From: Kirill Miazine [mailto:[EMAIL PROTECTED]]
> Sent: April 2, 2001 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Never gets delivered?
> 
> 
> * Marcus Ouimet <[EMAIL PROTECTED]> [20010402 12:45]:
> > I finally got Qmail working well almost anyways :-) I have setup an
> e-mail
> > account in Outlook 2000 after everything was tested and created. The
> account
> > is authorized with no errors. But mail never seems to come through, and it
> > never comes back with an error? I just the server and can't seem to find
> any
> > new messages in the Maildir. Any suggestions?
> 
> Please provide more info. How do you start pop3d? Have you tried to telnet
> to yourhost:110 and to login manually?
> 
> >
> >
> --
> Kirill
> 
> 
-- 
Kirill



Re: Never gets delivered?

2001-04-02 Thread Kirill Miazine

* Marcus Ouimet <[EMAIL PROTECTED]> [20010402 12:45]:
>   I finally got Qmail working well almost anyways :-) I have setup an e-mail
> account in Outlook 2000 after everything was tested and created. The account
> is authorized with no errors. But mail never seems to come through, and it
> never comes back with an error? I just the server and can't seem to find any
> new messages in the Maildir. Any suggestions?

Please provide more info. How do you start pop3d? Have you tried to telnet
to yourhost:110 and to login manually?

> 
> 
-- 
Kirill



postings messed up

2001-03-26 Thread Kirill Miazine

I have noticed that some of the postings appear several times. The messages
are exactly the same, but the From: address is set to
[EMAIL PROTECTED]

See for yourself: message 65233 and message 65295 (Subject: Subject: Re:
Sending attachments with qmail-inject)

What's going on?

-- 
Kirill



Re: procmail

2001-03-26 Thread Kirill Miazine

* MOkondo <[EMAIL PROTECTED]> [20010326 21:21]:
> I am trying to filter email using procmail.
> what i was doing put a line below on ~/.qmail file:
> 
> | preline procmail  
> 
> The result is filtered emails delivered to ~/Mail/anyfile (one file)
> but unfiltered email delivered to /var/spool/mail/
> 
> my question is:
> How to make procmail work with Maildir and as reliable as Maildir? 
> what i have to write on ~/.qmail file ?

Read man procmail, there's an environment variable that tells what do do with
all mail after all rules has been completed and none of them matched.

> 
> -- 
> MOkondo
> i am an atheist, thank god !
-- 
Kirill



Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 12:23]:
> hi,
> Kirill Miazine wrote:
> > 
> > * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:41]:
> > > hi,
> > > but isn't it possible to do it like in sendmail in the mailertable?
> > >
> > > if you take the smtproutes of qmail it is nearly the same than the
> > > mailertable of sendmail but you cannot add a line like this
> > > domain.com:[EMAIL PROTECTED] .is this true?
> > 
> > mailertable is used to redirect mail for entire domain to another host, not
> > a user
> 
> yes it is possible, because i did it for a client of us :-))

Of course, stupid me, I was talking about qmail's smtproutes

> 
> cu ycae
> > 
> > >
> > > i don't want that the server will act as a popserver and then forward
> > > it. i want the smtp to forward directly.
> > 
> > There's no pop here, every incoming mail for your domain simply gets
> > forwarded.
> > 
> > >
> > > cu ycae
> > >
> > >
> > 
> > P.S. I'm on the list, don't Cc messages to me
> > 
> > --
> > Kirill
> 
> --
> Yves Caetano
> Server Support Engineer
> Tel: +352 295383 254
> Fax: +352 295383 222
> email: [EMAIL PROTECTED]http://www.incotech.lu
-- 
Kirill



Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 11:41]:
> hi,
> but isn't it possible to do it like in sendmail in the mailertable?
> 
> if you take the smtproutes of qmail it is nearly the same than the
> mailertable of sendmail but you cannot add a line like this
> domain.com:[EMAIL PROTECTED] .is this true?

mailertable is used to redirect mail for entire domain to another host, not
a user

> 
> i don't want that the server will act as a popserver and then forward
> it. i want the smtp to forward directly.

There's no pop here, every incoming mail for your domain simply gets
forwarded.

> 
> cu ycae
> 
> 

P.S. I'm on the list, don't Cc messages to me


-- 
Kirill



Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]:
> hi,
> 
> is it possible to forward all the emails for one domain to one email
> address??
> 
> like : @domain.com -> [EMAIL PROTECTED]

Yes,

echo domain.com:user-domain >> /var/qmail/control/virtualdomains
echo domain.com >> /var/qmail/control/rcpthosts
HUP qmail-send
echo [EMAIL PROTECTED] ~user/.qmail-domain-default

> 
> thanks
> 
> cu ycae
> --
> Yves Caetano
> Server Support Engineer
> Tel: 295383 254
> Fax: 295383 222
> email: [EMAIL PROTECTED]http://www.incotech.lu
-- 
Kirill



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: 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: Problem??

2001-03-24 Thread Kirill Miazine

On Sat, Mar 24, 2001 at 03:25:22PM +0530, Sumith wrote:
> > On Sat, Mar 24, 2001 at 02:22:24PM +0530, Sumith wrote:
> > > tail /var/service/qmail/log/main/current
> > > @40003abc5fdb26224e64 status: local 0/10 remote 0/20
> > > @40003abc5fdb26225a1c end msg 1376739
> > > @40003abc5fe02596d744 starting delivery 22760: msg 1376709 to local
> > > [EMAIL PROTECTED]
> > > @40003abc5fe02596f684 status: local 1/10 remote 0/20
> > > @40003abc5fe025b15484 delivery 22760: deferral:
> > > Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
> > > @40003abc5fe025b16fdc status: local 0/10 remote 0/20
> > > @40003abc5ff025970624 starting delivery 22761: msg 1376777 to local
> > > [EMAIL PROTECTED]
> > > @40003abc5ff02597294c status: local 1/10 remote 0/20
> > > @40003abc5ff025b4f24c delivery 22761: deferral:
> > > Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
> > > @40003abc5ff025b5118c status: local 0/10 remote 0/20
> > >
> > > Local 10 and remote 20what would be the same number to increase this
> to
> > > for 500+ v domains.on P3, 512, IDE
> > >
> > > @40003abc5ff025b4f24c delivery 22761: deferral:
> > > Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
> >
> > remove execute bit from the .qmail file
> >
> >
> which .qmail filethese files are created by vpopmail.is that a bug
> in vpopmail

dunno, but logs says that .qmail has_file_delivery¸ shouldn't that be a
delivery to a program? Sorry, I can't tell you more, I'm not using vpopmail.

> 
> - Sumith
> 
-- 
Kirill



Re: Problem??

2001-03-24 Thread Kirill Miazine

On Sat, Mar 24, 2001 at 02:22:24PM +0530, Sumith wrote:
> tail /var/service/qmail/log/main/current
> @40003abc5fdb26224e64 status: local 0/10 remote 0/20
> @40003abc5fdb26225a1c end msg 1376739
> @40003abc5fe02596d744 starting delivery 22760: msg 1376709 to local
> [EMAIL PROTECTED]
> @40003abc5fe02596f684 status: local 1/10 remote 0/20
> @40003abc5fe025b15484 delivery 22760: deferral:
> Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
> @40003abc5fe025b16fdc status: local 0/10 remote 0/20
> @40003abc5ff025970624 starting delivery 22761: msg 1376777 to local
> [EMAIL PROTECTED]
> @40003abc5ff02597294c status: local 1/10 remote 0/20
> @40003abc5ff025b4f24c delivery 22761: deferral:
> Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/
> @40003abc5ff025b5118c status: local 0/10 remote 0/20
> 
> Local 10 and remote 20what would be the same number to increase this to
> for 500+ v domains.on P3, 512, IDE
> 
> @40003abc5ff025b4f24c delivery 22761: deferral:
> Uh-oh:_.qmail_has_file_delivery_but_has_x_bit_set._(#4.7.0)/

remove execute bit from the .qmail file

> 
> Whats this error...I hope this isn't serious.
> 
> Regards
> Sumith
> 
-- 
Kirill



Re: What is the default value of these control files

2001-03-24 Thread Kirill Miazine

On Sat, Mar 24, 2001 at 02:29:50PM +0900, ÀÌÈñº¹ wrote:
> Hi all!
> 
> I am a beginner about Qmail.
> Now I am going to install Qmail.
> And I have some question.
> 
> 1. If these control files don't exist, what the default values are?
> concurrencylocal, concurrencyremote, defaultdomain, defaulthost, databytes

run qmail-showctl, it'll tell you that

> 
> 2. What is difference between locals control file and virtualdomains control file?
> 
> 3. Can I put the values to rcpthosts file by IP address?
> 
> Could you answer about my questions?
> Thank you.
> 
-- 
Kirill



Re: filtering with perl

2001-03-22 Thread Kirill Miazine

You first submit a message to the perl prog, it does its stuff and happily exits 
without doing something with the content
What if you open a pipe from the program to /usr/local/bin/ezmlm/ezmlm-send 
'/home/list/test'?

something like

#!/usr/bin/perl
my $from = 'From: [EMAIL PROTECTED]';
my $list = 'To: [EMAIL PROTECTED]';
open PIPE, '|/usr/local/bin/ezmlm/ezmlm-send /home/list/test';
while (<>) {
s/From:\s.+$/$from/io;
s/To:\s.+$/$list/io;
print PIPE $_;
}
close PIPE;

On Thu, Mar 22, 2001 at 05:21:52AM -0500, Todd Finney wrote:
> I've been thrashing at this for a couple of hours, and I'm starting to 
> wonder if I'm even on the right track.
> 
> The short question:
> I'd like to strip a few headers from messages sent to a particular 
> address, for the purpose of setting up a anonymous remailer for a 
> mailing list.  I have a small perl script that I think should do this, 
> but it isn't working.   Is this possible without qmail-filter?  It 
> seems like it should be, but I'm starting to doubt it.

There's more than one way to do it :)

> 
> 
> The longer question:
> I have set up the appropriate .qmail file, which points to a file 
> inside DIR called anonymizer.  Inside that file is:
> 
> |/usr/local/bin/ezmlm/anonymizer.pl
> |/usr/local/bin/ezmlm/ezmlm-send '/home/list/test'
> 
> anonymizer.pl, in its barest form, is this:
> 
> #!/usr/bin/perl
> my $from = 'From: [EMAIL PROTECTED]';
> my $list = 'To: [EMAIL PROTECTED]';
> while (<>) {
>  s/From:\s.+$/$from/o;
>  s/To:\s.+$/$list/o;
> }
> exit 0;
> 
> I have confirmed that the messages are actually hitting the script by 
> changing the exit code to 100 and catching the bounce.
> 
> The script works as expected from the command line:
> 
> [alias@sonata alias]$ /usr/local/bin/ezmlm/anonymizer.pl
> here
> here
> From: [EMAIL PROTECTED]
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> However, messages sent to that test-anonymizer@ address come through 
> with neither header altered.
> 
> Can someone put me on the right track?
> 
> thanks,
> Todd
> 
> 
> 
> 
> 
> 
> 
> 
> 
-- 
Kirill



Re: question

2001-03-21 Thread Kirill Miazine

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

Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h. Recompile qmail. Put 
./msg-log into ~alias/.qmail-log

On Wed, Mar 21, 2001 at 04:55:47PM +0200, Ciprian Iftode wrote:
> Hi,
> Is there any solution to have a copy of all emails that the server
> process, I mean all the emails that users send thru this server, and all the
> emails the server receives, and the emails the server routes?
>I tried with the option recordio of tcpserver who starts qmail-send, but
> I want a human readable and still useful copy of that emails, not some io
> logging; even the attachemnts are fully logged.
> 
> PS: qmail + vpopmai + courier-imap
> 
>Ciprian Iftode,
> 
> Professional Systems Romania
> str. Moara de Foc, nr.35, et.5, Iasi, 6600
> tel/fax: +40-32-219907
> 
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such a case, you should destroy this message and
> kindly notify the sender by reply e-mail.
> 
> 
-- 
Kirill



Re: /usr/bin/sendmail -t

2001-03-20 Thread Kirill Miazine

On Tue, Mar 20, 2001 at 10:03:13AM -0800, Alex Le Fevre wrote:
> > EOF -- close the fd.
> 
> If I'm actually typing my info in -- after calling
> /usr/bin/sendmail -t from a command line -- is that
> Ctrl-z? 

Ctrl-d

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



Re: Delivering to pipe - I need "Return-Path:"

2001-03-20 Thread Kirill Miazine

A similar thing has been discussed today, read 'man preline' and/or use something like 

|preline -f /your/command

in your .qmail-default


On Tue, Mar 20, 2001 at 09:13:42AM -0700, Roger Walker wrote:
>   We need to set up something special for a domain and to do so, we
> need to capture all of the headers, including the "Return-Path:". If we
> pipe the messages to a script in the ".qmail-default", qmail-local strips

from 'man qmail-command':

   WARNING: The mail  message  does  not  begin  with  qmail-
   local's usual Return-Path and Delivered-To lines.


> off that and other headers we may need. Is there any way to over-ride
> this behavior or otherwise force qmail-local to provide those headers to
> the pipe?
> 
>   Thanks.
> 
> -- 
> Roger Walker 
> Voice/Fax 1-780-440-2685 
> "HIS Pain; YOUR Gain"
> 
> 
-- 
Kirill



Re: virtual domains

2001-03-20 Thread Kirill Miazine

On Tue, Mar 20, 2001 at 08:42:47AM -0500, Peter Green wrote:
> > 
> > qmail doesn't add the Return-Path and Delivered-To lines when delivering
> > to programs:
> 
> Gotcha.
> 
> > vpopmail adds Return-Path and Delivered-To itself:
> > 
> > from vdelivermail.c:
> > [...]   
> > sprintf(msgbuf, "%sDelivered-To: %s@%s\n",
> > getenv("RPLINE"), TheUser, TheDomain);
> > [...]
> 
> But as far as I can tell, vpopmail doesn't have anything to say about the
> format of the Delivered-To: line, since qmail-send has already ``mangled''
> the local part of the e-mail address, right? I guess vpopmail could revert
> the local information to a pre-virtualdomains state before writing the
> Delivered-To: line, but that doesn't seem like it would make much sense...

Assumed I understood you correctly, that's exactly what vpopmail does, but it 
constructs it's own Delivered-To line rather than reverting anything

> 
> /pg
> -- 
> Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
> ---
> panic("Splunge!");
> (Panic message in the kernel.)
> 
-- 
Kirill



Re: virtual domains

2001-03-20 Thread Kirill Miazine

On Tue, Mar 20, 2001 at 08:25:38AM -0500, Peter Green wrote:
> * Kirill Miazine <[EMAIL PROTECTED]> [010320 08:21]:
> > On Tue, Mar 20, 2001 at 08:11:40AM -0500, Peter Green wrote:
> > > * Frank Tegtmeyer <[EMAIL PROTECTED]> [010320 08:08]:
> > > > > [EMAIL PROTECTED] Is it possible to configure that all mail
> > > > > to [EMAIL PROTECTED] whill be with line [EMAIL PROTECTED] in the
> > > > > Delivered to line not with [EMAIL PROTECTED] ?
> > > > 
> > > > Not that I like this behaviour: the vpopmail package does that.
> > > 
> > > Not strictly speaking; qmail-send does that.
> > 
> > well, he's talking about vpopmail's Delivere-To line, it's
> > [EMAIL PROTECTED] in this case
> 
> I'm not sure what you mean. If ``example.com'' is in virtualdomains as, say:
> 
>   example.com:exampleuser
> 
> Then the Delivered-To: line of:
> 
>   [EMAIL PROTECTED]
> 
> will be added for <[EMAIL PROTECTED]> regardless of whether vpopmail is
> being used or not. For instance, I see this exact same behavior with
> vmailmgr.

qmail doesn't add the Return-Path and Delivered-To lines when delivering to programs:

from `man qmail-command':
[...]
   WARNING: The mail  message  does  not  begin  with  qmail-
   local's usual Return-Path and Delivered-To lines.
[...] 


vpopmail adds Return-Path and Delivered-To itself:

from vdelivermail.c:
[...]   
sprintf(msgbuf, "%sDelivered-To: %s@%s\n",
getenv("RPLINE"), TheUser, TheDomain);
[...]

> 
> But maybe I'm just misunderstanding...wouldn't be the first time. :-)
> 
> /pg
> -- 
> Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
> ---
> panic("esp: Mr. Potatoe Head is on the loose!");
> (Panic message in the kernel.)
> 
-- 
Kirill



Need testing.

2001-03-19 Thread Kirill Miazine

Hi,
I've made a mail-system. It's perl/qmail/postgre based. I need some testing and bug 
reports before I can release the code to the public.

https://devnull.krot.org/signup

nb: max 100 test users and 25 megs per user.

please send bugs/questions/comments to [EMAIL PROTECTED]

-- 
Kirill



Re: username logging

2001-03-15 Thread Kirill Miazine

Paul Gregg has a checkpasswd that logs pop usernames,
http://www.pgregg.com/projects/qmail/checkpoppasswd.c

On Thu, Mar 15, 2001 at 11:20:02AM -0500, Kurth Bemis wrote:
> last week i think that there was a discussion about how to get tcpserver to 
> log usernames from pop3d.  I can't find the message anywhere.  does anyone 
> have the information on how to log the usernames with pop3d?
> 
> ~kurth
> 
-- 
Kirill



Re: vpopmail and qmail installed outside /var/qmail

2001-03-14 Thread Kirill Miazine


./configure --enable-qmaildir=/your/path


On Tue, Mar 13, 2001 at 09:30:40PM +0100, Jesús Arnáiz wrote:
> Hi!
> 
> I have installed qmail outside /var/qmail and I see vpopmail don't work, if I create 
>a
> symbolic link from /var/qmail to it, the program works.
> 
> Can anybody tell me how to install vpopmail if qmail is in a different directory of
> /var/qmail?
> 
> Thanks in advance.
> 
> 
> --
> Jesús Arnáiz
> 0z0ne Inc I+D/IT Manager
> http://www.0z0ne.com
> mailto:[EMAIL PROTECTED]
> 
-- 
Kirill



Re: canonical name in DNS

2001-03-13 Thread Kirill Miazine

You can use ./config-fast to configure qmail. or add an A record for sanfransisco.

On Tue, Mar 13, 2001 at 06:13:23PM +0700, Essy Ren wrote:
> When I follow the config command to configure the qmail, it's say something like 
>this :
> 
> ./config
> Your hostname is sanfransisco.
> hard error
> Sorry, I couldn't find your host's canonical name in DNS.
> You will have to set up control/me yourself.
> 
> And here's is my DNS setting :
> 
> $TTL 86400
> erakarsa.local. IN SOA sanfransisco.erakarsa.local. essy.erakarsa.local. (
> 1   ; Serial
> 10800   ; Refresh after 3 hours
> 3600; Retry after 1 hour
> 604800  ; Expire after 1 week
> 14400 ); Minimum TTL of 1 day
> 
> erakarsa.local. IN NS sanfransisco.erakarsa.local.
> 
> localhost.erakarsa.local.   IN  A   127.0.0.1
> koni.erakarsa.local.IN  A   192.168.1.23
> 
> erakarsa.local. IN  MX  10 mail.erakarsa.local.
> mail.erakarsa.local.IN  A   192.168.1.23
> 
> Can you help me  
-- 
Kirill