qmail Digest 27 Apr 2001 10:00:01 -0000 Issue 1347

Topics (messages 61491 through 61557):

RedHat 7.1 and qmail+vpopmail
        61491 by: Thomas Rokamp
        61497 by: K. F. YIm
        61498 by: Robin S. Socha

autoresponder
        61492 by: Lars Kirchhoff

Re: svscan on linux
        61493 by: Subba Rao
        61505 by: Mate Wierdl
        61512 by: Subba Rao

deliver to 2 POP accounts: .qmail file doesn't work, but .qmail-user does
        61494 by: Barry Hill
        61496 by: Frank Tegtmeyer
        61499 by: Barry Hill
        61501 by: Frank Tegtmeyer
        61504 by: Wagner Teixeira

Qmail Patch Memory leak
        61495 by: Keary Suska

Problems with /var/qmail/boot
        61500 by: Pablo Buenaventura

Re: bounce messages
        61502 by: Charles Cazabon
        61545 by: Bruce Guenter

| preline -f sed -n p ... => Is it dangerous/improper?
        61503 by: qmail
        61507 by: Charles Cazabon
        61515 by: qmail
        61516 by: qmail
        61519 by: Charles Cazabon
        61520 by: Charles Cazabon
        61530 by: Markus Stumpf
        61534 by: qmail

Re: qmail as Back up MX box
        61506 by: mick

Inserting messages into Maildir?
        61508 by: Steven Katz
        61509 by: Charles Cazabon
        61510 by: Henning Brauer
        61553 by: Gjermund Sorseth

Win x Linux x Recipient Pile
        61511 by: Adren
        61513 by: Charles Cazabon
        61514 by: Andreas D. Landmark
        61532 by: minimus.starmedia.com

newbie question
        61517 by: John Hogan
        61518 by: Barry Hill
        61521 by: Charles Cazabon
        61522 by: John Hogan
        61524 by: Peter van Dijk
        61525 by: John Hogan
        61529 by: John Hogan

Qmail, double-bounces, and RFC2821
        61523 by: Patrick J. LoPresti

off topic qmail compiling error Clock skew detected
        61526 by: Linux!audimed
        61527 by: alexus
        61528 by: Robin S. Socha
        61531 by: dan.kelley

Re: Maildirmake...
        61533 by: Ruprecht Helms
        61536 by: Kris Kelley
        61540 by: Tim Legant

qmail-masq released
        61535 by: Davide Giunchi

Problems making QMAILQUEUE patch work
        61537 by: Jos� Luis Domingo L�pez

Help abot qmail and vpomail
        61538 by: Desarrollo y Sistemas

Re: CAN'T Send to lists!
        61539 by: Marco Calistri

replacing attachments with links?
        61541 by: Grier Ellis

TCPserver; ucspi-tcp; inetd
        61542 by: jx001
        61543 by: dan.kelley
        61544 by: Andreas D. Landmark

Cyrus IMAP newbie
        61546 by: question question

receivedIP
        61547 by: John Conover

Cyrus IMAP newbie - more questions
        61548 by: question question

Remote server connects then QUIT's, why?
        61549 by: Jay Swackhamer

Re: Cyrus IMAP newbie - LDAP?
        61550 by: question question
        61555 by: Henning Brauer

Please help! I'm so close to getting qmail up...
        61551 by: Foo Ji-Haw
        61554 by: Oleg Polyakov

SMTP AUTH question
        61552 by: Jerry Chow

"A news.newusers.questions's Guide to Qmail"
        61556 by: Robin S. Socha
        61557 by: Peter van Dijk

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!
 
Does anyone know, if there would be any promblems installing qmail+vpopmail using Maildir's on a RedHat 7.1 installation? I'm hosting a few domains...
I already have it installed on an earlier version of RedHat, but I'm planning to reinstall the server. My only concern is about qmail...
 
I'm also looking for some webmail software, that will work on the above installation. Any suggestions?
 
Regards,
 
Thomas Rokamp




 
KF
----- Original Message -----
Sent: Thursday, April 26, 2001 7:27 PM
Subject: RedHat 7.1 and qmail+vpopmail

Hi!
 
Does anyone know, if there would be any promblems installing qmail+vpopmail using Maildir's on a RedHat 7.1 installation? I'm hosting a few domains...
I already have it installed on an earlier version of RedHat, but I'm planning to reinstall the server. My only concern is about qmail...
 
I'm also looking for some webmail software, that will work on the above installation. Any suggestions?
 
Regards,
 
Thomas Rokamp




* K. F. YIm <[EMAIL PROTECTED]> [010426 09:09]:
>   Thomas Rokamp 

>> Does anyone know, if there would be any promblems installing
>> qmail+vpopmail using Maildir's on a RedHat 7.1 installation? I'm
>> hosting a few domains...  I already have it installed on an earlier
>> version of RedHat, but I'm planning to reinstall the server. My only
>> concern is about qmail...

WFM

>> I'm also looking for some webmail software, that will work on the
>> above installation. Any suggestions?
> 
> Webmail www.netwinsite.com.

|http://www.netwinsite.com/dmailweb/download.htm
|DMailWeb & CWMail are products of Netwin Ltd. You may download and use
|this software for one month. At the end of this evaluation period you
|must register your copy of the software and purchase a software license,
|or stop using it. 

Let me recap: you're a dyslexic spammer without a clue who prefers to
point and click instead of  reading http://learn.to/edit_messages/ 
[x] FOAD

Thomas, read http://qmail.org/top.html#usersoft
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.




Hallo qmailer ;)

i  tried  to  install  the  autoresponder  from Bruce Guenter and it's
working,   inspite of the fact that the responded message doesn't have
any    sender    address.    the   sender   alway   look   like   this
<"">""@ieb.net.
Does any have a hint for me.


ciao Lars
_______________________________________________________________

Lars Kirchhoff
Institute of Electronic Business e.V. Tel. : +49 30 7262 983 20
Chausseestr. 8                        Fax  : +49 30 7262 983 9                   
10115 Berlin                          eMail: [EMAIL PROTECTED]

                    --  http://www.ieb.net/  --






On  0, Mark Delany <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 25, 2001 at 08:32:12PM +0000, Subba Rao wrote:
> > 
> > I have followed the instructions on DJB's site to install and start svscan.
> > 
> > On Linux and other SVR4-based systems with /etc/inittab, add SV:123456:respawn
> > :env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service </dev/null
> > >/dev/console 2>/dev/console to the end of /etc/inittab, and type kill -HUP 1. 
> > 
> > I am not seeing the svscan process running. Am I missing any step here?
> 
> 1.    Is the inittab entry all on one line? Show us.
> 2.    What was printed on the console after the kill?
> 3.    Does /service exist? Show us with ls.
> 4.    Is svscan installed ok and executable? Show us with ls.
> 


The / directory has:

        drwxr-xr-x   2 root     root         4096 Apr 25 18:20 service/

The svscan binary is installed and executable:

-rwxr-xr-x   1 root     bin         13532 Aug 15  2000 /usr/local/bin/svscan*

In inittab, I tried various combinations after 'svscan /service' and the run
level too:

SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service 
</dev/null 2>/dev/console

SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service 
</dev/null 2>/dev/console

Each time I made changes to inittab, I did run:

        # kill -HUP 1
  or
        # init q
  or
        # telinit q

The run level on this system is 4.

The 'ps waux | grep svscan' will not list svscan.

The only command that seems to work is:

        # csh -cf 'svscan /service &'

I would definitely prefer to start svscan from /etc/inittab rather than via
the startup scripts. I did reboot the system after making changes to inittab
and that did not start svscan.

-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217




Okidoki, so more precise instructions: show us the output of all the
commands below.

On Thu, Apr 26, 2001 at 08:17:27AM +0000, Subba Rao wrote:
> > 1.  Is the inittab entry all on one line? Show us.

Do 

grep "^SV" /etc/inittab

> > 3.  Does /service exist? Show us with ls.

Do 

ls -ld /service

> > 4.  Is svscan installed ok and executable? Show us with ls.
> > 
> 

Do
ls -l /usr/local/bin/svscan


> SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service 
></dev/null 2>/dev/console

Try:

SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service

insert a newline at the end.  Then run

init 1
init 4

and then do 

ps auxww|grep svsc

Mate




On  0, Subba Rao <[EMAIL PROTECTED]> wrote:
> > On Wed, Apr 25, 2001 at 08:32:12PM +0000, Subba Rao wrote:
> > > 
> > > I have followed the instructions on DJB's site to install and start svscan.
> > > 
> > > On Linux and other SVR4-based systems with /etc/inittab, add SV:123456:respawn
> > > :env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service </dev/null
> > > >/dev/console 2>/dev/console to the end of /etc/inittab, and type kill -HUP 1. 
> > > 
> > > I am not seeing the svscan process running. Am I missing any step here?
> > 
> 
> The / directory has:
> 
>         drwxr-xr-x   2 root     root         4096 Apr 25 18:20 service/
> 
> The svscan binary is installed and executable:
> 
> -rwxr-xr-x   1 root     bin         13532 Aug 15  2000 /usr/local/bin/svscan*
> 
> In inittab, I tried various combinations after 'svscan /service' and the run
> level too:
> 
> SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service 
></dev/null 2>/dev/console
> 
> SV:2345:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan /service 
></dev/null 2>/dev/console
> 
> Each time I made changes to inittab, I did run:
> 
>         # kill -HUP 1
>   or
>         # init q
>   or
>         # telinit q
> 
> The run level on this system is 4.
> 
> The 'ps waux | grep svscan' will not list svscan.
> 

This finally worked,

        # init u

The "ps" command lists the svscan process.

After rebooting, I have to run "init u" manually as root user.

Now, the extension question is, how can you set init to start with the "u"
option? Or should I make it the last call in the init scripts?

-- 

Subba Rao
[EMAIL PROTECTED]
http://members.home.net/subba9/

GPG public key ID 27FC9217




Hi all!


I'm new to this list and haven't found a solutions in the archives.
Rather, I found a solution which should have worked, but didn't.

My setup is qmail 1.03, vpopmail, SuSE Linux.

I need all incoming mails for a certain user to be copied to 2 POP
accounts, i.e. all incoming mails to [EMAIL PROTECTED] should go to:
/home/vpopmail/domains/mydomain.com/test/Maildir/
&
/home/vpopmail/domains/mydomain.com/test1/Maildir/

The archives said that I should simply set up a .qmail file in user
"test"'s homedir ( /home/vpopmail/domains/mydomain.com/test/)
containing the 2 lines:
/home/vpopmail/domains/mydomain.com/test/Maildir/
/home/vpopmail/domains/mydomain.com/test1/Maildir/

But that doesn't work: mails get routed to
[EMAIL PROTECTED]

After panicking, as this is important, I set up a .qmail-test file in
/home/vpopmail/domains/mydomain.com/, containing the 2 above lines.
And this worked. But is it The Right Thing to do?

BTW: forwarding works fine in the .qmail file, it's just the Maildir
delivery which is treated as a forard, too :-( I've tried absolute and
relative paths, but nothing :-(


Can anyone help me here?


Best regards,

 Barry Hill






Barry Hill <[EMAIL PROTECTED]> writes:

> Can anyone help me here?

I'm sure there are many competent people on the vpopmail list.

Regards, Frank




Hi,


Thursday, April 26, 2001, 1:54:44 PM, you wrote:

>> Can anyone help me here?
FT> I'm sure there are many competent people on the vpopmail list.


Aha? I assumed it was a qmail issue, because .qmail files are
evaluated by qmail itself, regardless of where they are ... But thanks
for the pointer - I'll subscribe to that, too.




Best regards,

 Barry                            mailto:[EMAIL PROTECTED]






Barry Hill <[EMAIL PROTECTED]> writes:

> Aha? I assumed it was a qmail issue, because .qmail files are
> evaluated by qmail itself, regardless of where they are ...

That's the case for your successful try. Inside a user directory
the delivery is done by a vpopmail program.
Look at .qmail-default in a domain directory to see what is used.

Regards, Frank




> I need all incoming mails for a certain user to be copied to 2 POP
> accounts, i.e. all incoming mails to [EMAIL PROTECTED] should go to:
> /home/vpopmail/domains/mydomain.com/test/Maildir/
> &
> /home/vpopmail/domains/mydomain.com/test1/Maildir/
>
> The archives said that I should simply set up a .qmail file in user
> "test"'s homedir ( /home/vpopmail/domains/mydomain.com/test/)
> containing the 2 lines:
> /home/vpopmail/domains/mydomain.com/test/Maildir/
> /home/vpopmail/domains/mydomain.com/test1/Maildir/
>
> But that doesn't work: mails get routed to
> [EMAIL PROTECTED]
>
> After panicking, as this is important, I set up a .qmail-test file in
> /home/vpopmail/domains/mydomain.com/, containing the 2 above lines.
> And this worked. But is it The Right Thing to do?

I think that's right, Barry. vpopmail makes qmail treat each virtual domain
as a single user, so /home/vpopmail/domains/mydomain.com/test is not a user
dir. qmail just sees .qmail-ext files on /home/vpopmail/domains/mydomain.com
directory. Take a look in .qmail-default and you'll see a call to vpopmail's
vdelivermail, witch is the program that actually routes the messages to each
"user" tha doesn't have a .qmail-user file.

I haven't found it explicitly written on any doc...

Cheers.
Wagner.





Has anyone seen a memory leak problem with qmail using any or all of the
following patches:

- Outgoing IP Patch
- 0.0.0.0 patch
- badrcptto patch
- tarpit patch

after making and installing the memory would go to almost nothing (with
minimal swapping, however) and qmail would constantly report out of memory
deferral errors with qmail-remote. I believe I downloaded these from the
qmail site (although it is possible one or another was downloaded from a
different site).

Regards,

Keary Suska
Mgr., Information Technologies
Frequent Flyer Services
http://www.webflyer.com/
mailto: [EMAIL PROTECTED]
(719) 597-8899 x737
(719) 597-6855 (fax)






I am looking to HOWTO Mail Administrator:
----- 6.1.5.  Testing qmail
  Now it is configured, try: 
      sh -cf '/var/qmail/rc &'
  
  to launch qmail (it won't interfere with your    
localMTA), then:
       echo to: mylogin | /var/qmail/bin/qmail-inject
  You should receive this mail in the format
you'vechosen in  /var/qmail/boot/.
-----------------------------------------------
My question is about /var/qmail/boot"
. How could I configurate it?
. There are a lot of files in it and I don�t know what
they mean.

I had sent an email to user=pablo with qmail-inject
and I cannot find it. Where is it?

Thanks



_______________________________________________________________
Do You Yahoo!?
Env�a mensajes instant�neos y recibe alertas de correo con 
Yahoo! Messenger - http://messenger.yahoo.es




Chris Hellberg <[EMAIL PROTECTED]> wrote:
> 
> As in the life with qmail document, I'm told that qmail doesn't give
> deffered delievery messages like Sendmail does, but I've heard from the
> archives that there's a patch to turn it on.

Well, I think it's actually an add-on (a Perl script run from cron).  The one
we use is called qmail_bounce (IIRC), and you should be able to find it at
qmail.org or on Google.  If not, post to the list again, and I can put it up
somewhere.

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.
-----------------------------------------------------------------------




On Thu, Apr 26, 2001 at 08:20:24AM -0600, Charles Cazabon wrote:
> Chris Hellberg <[EMAIL PROTECTED]> wrote:
> > As in the life with qmail document, I'm told that qmail doesn't give
> > deffered delievery messages like Sendmail does, but I've heard from the
> > archives that there's a patch to turn it on.
> Well, I think it's actually an add-on (a Perl script run from cron).  The one
> we use is called qmail_bounce (IIRC)

You could also use qmail-notify at
        http://em.ca/~bruceg/qmail-notify/
which has the advantage of being compiled C code instead of Perl, and is
rather easier to configure (don't have to edit source code).  The
current development version can also include the original message as an
attachment, if anybody's interested.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature






Hy all,

I need to redirect all unrecognized messages for a virtual domain to a
directory where another program(maildirsmtp) will catch it and send it to
another mailserver.

To let the unrecognized messages into the specified directory, i'm using
the following .qmail-default command line:

| preline -f sed -n p > ./some_user/Maildir/new/mail-"$$"

=> "| preline -f": creates the two message header lines maildirsmtp needs
to work and feeds the standard input of the next command(sed).
=> "sed -n p > ./...": just print what it reads from the standard input to
the stout, which I'm redirecting to a file. This makes the "deliver" of the
unrecognized messages to the specified directory.
=> "mail-"$$"": is the file name that sed will attribute to the messages. I
chase $$(the runnig process PID number) in order to the arriving messages
don't overwrite each other.

I'd like to ask you: is this procedure dangerous? There is the possibility
of loosing messages, receive attacks, or something I can't imagine now?

You can ask me " Why don't you use the "| forward ..." command?"
Because it makes the $SENDER of the messages turn to the forwarded user
when resending the messages - and this doesn't fit my needs. I need the
original $SENDER of the messages preserved when sending the messages again
with the maildirsmtp.

Thank you all,
Bruno




qmail <[EMAIL PROTECTED]> wrote:
> 
> I need to redirect all unrecognized messages for a virtual domain to a
> directory where another program(maildirsmtp) will catch it and send it to
> another mailserver.
> 
> To let the unrecognized messages into the specified directory, i'm using
> the following .qmail-default command line:
> 
> | preline -f sed -n p > ./some_user/Maildir/new/mail-"$$"
[...] 
> I'd like to ask you: is this procedure dangerous? There is the possibility
> of loosing messages, receive attacks, or something I can't imagine now?

Yes.  You said $$ was the PID; that can wrap (especially if you're on a system
with 15- or 16--bit PIDs), and you get a filename collision -- and lose mail.

> You can ask me " Why don't you use the "| forward ..." command?"
> Because it makes the $SENDER of the messages turn to the forwarded user
> when resending the messages - and this doesn't fit my needs. I need the
> original $SENDER of the messages preserved when sending the messages again
> with the maildirsmtp.

So why not do something like ``NEWSENDER="$SENDER" forward ...'' ?

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.
-----------------------------------------------------------------------





> > I'd like to ask you: is this procedure dangerous? There is the 
> > possibility
> > of loosing messages, receive attacks, or something I can't imagine now?

> Yes.  You said $$ was the PID; that can wrap (especially if you're on a > 
> system
> with 15- or 16--bit PIDs), and you get a filename collision -- and lose 
> mail.
Oh, don't say that! Are you shure??


> So why not do something like ``NEWSENDER="$SENDER" forward ...'' ?
I didn't understand your suggestion. Could you explain it better?

Thanks,
Bruno.
> 
> 
> > 
> > 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.
> > -----------------------------------------------------------------------





 
 OH, do you know the variable name wich refers to the qmail-local messages
 names? If I use the same name that qmail-local uses I wouldn't have name
 collisions, right? 
 Is it possible?
 
 
> Charles Cazabon escritas:
> 
> > qmail <[EMAIL PROTECTED]> wrote:
> > > 
> > > I need to redirect all unrecognized messages for a virtual domain to a
> > > directory where another program(maildirsmtp) will catch it and send it to
> > > another mailserver.
> > > 
> > > To let the unrecognized messages into the specified directory, i'm using
> > > the following .qmail-default command line:
> > > 
> > > | preline -f sed -n p > ./some_user/Maildir/new/mail-"$$"
> > [...] 
> > > I'd like to ask you: is this procedure dangerous? There is the possibility
> > > of loosing messages, receive attacks, or something I can't imagine now?
> > 
> > Yes.  You said $$ was the PID; that can wrap (especially if you're on a system
> > with 15- or 16--bit PIDs), and you get a filename collision -- and lose mail.
> > 
> > > You can ask me " Why don't you use the "| forward ..." command?"
> > > Because it makes the $SENDER of the messages turn to the forwarded user
> > > when resending the messages - and this doesn't fit my needs. I need the
> > > original $SENDER of the messages preserved when sending the messages again
> > > with the maildirsmtp.
> > 
> > So why not do something like ``NEWSENDER="$SENDER" forward ...'' ?
> > 
> > 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.
> > -----------------------------------------------------------------------




qmail <[EMAIL PROTECTED]> wrote:
> 
> > > I'd like to ask you: is this procedure dangerous? There is the
> > > possibility of loosing messages, receive attacks, or something I can't
> > > imagine now?
> 
> > Yes.  You said $$ was the PID; that can wrap (especially if you're on a >
> > system with 15- or 16--bit PIDs), and you get a filename collision -- and
> > lose mail.

> Oh, don't say that! Are you shure??

Yes.  You said you're creating all files named mail-PID -- a 15-bit PID space
might wrap in an hour on a moderately busy server.  If you've got mail in the
.../new/ directory that's an hour old, you could lose mail.

As for forwarding, you can set NEWSENDER to be whatever you want, and the
message will go out with that as the envelope sender.

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.
-----------------------------------------------------------------------




qmail <[EMAIL PROTECTED]> wrote:
> 
>  OH, do you know the variable name wich refers to the qmail-local messages
>  names? If I use the same name that qmail-local uses I wouldn't have name
>  collisions, right? 
>  Is it possible?

Yes, it's possible -- but there's no environment variable holding the filename
which qmail-local would have used.  Instead, you construct it yourself
according to the rules Dan set up for them.  You can read about it at
http://cr.yp.to/proto/maildir.html , in the section titled "How are unique
filenames created?" .  My own POP3 mail retriever, getmail, follows these
rules for delivering to Maildirs.

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.
-----------------------------------------------------------------------




On Thu, Apr 26, 2001 at 06:04:36PM +0000, qmail wrote:
>  OH, do you know the variable name wich refers to the qmail-local messages
>  names? If I use the same name that qmail-local uses I wouldn't have name
>  collisions, right? 
>  Is it possible?

As Charles mentioned there is no variable.
But you could use
    ./some_user/Maildir/new/"`/bin/date '+%s'`"."$$"."`/bin/hostname`"
which would mimic qmails naming system at the cost of two program calls.

Please test on the command line
    $ /bin/date '+%s'
as not all date commands support the '+%s' format.

        \Maex

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.





Thank you, it's working fine!


Markus Stumpf escritas:

> On Thu, Apr 26, 2001 at 06:04:36PM +0000, qmail wrote:
> >  OH, do you know the variable name wich refers to the qmail-local messages
> >  names? If I use the same name that qmail-local uses I wouldn't have name
> >  collisions, right? 
> >  Is it possible?
> 
> As Charles mentioned there is no variable.
> But you could use
>     ./some_user/Maildir/new/"`/bin/date '+%s'`"."$$"."`/bin/hostname`"
> which would mimic qmails naming system at the cost of two program calls.
> 
> Please test on the command line
>     $ /bin/date '+%s'
> as not all date commands support the '+%s' format.
> 
>       \Maex
> 
> -- 
> SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
> Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
> Stress is when you wake up screaming and you realize you haven't fallen
> asleep yet.




[tail between my legs]
burned by my fat fingers again! fixed the type-o in my SOA
record and it worked great.

Thanks everyone for your responses. Very helpfull as usual.



On Thu, 26 Apr 2001, Willy De la Court wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Wednesday, April 25, 2001 23:40, mick [SMTP:[EMAIL PROTECTED]]
> wrote:
> > It resolves to an IP:
> >  [root@ns2 log]# ping bogus.mtco.net
> > PING bogus.mtco.net (24.17.22.210): 56 octets data
> 
> Here is a paste of the results i get
> > set type=mx
> > mtco.net
> Server:  stargate.speedy.home
> Address:  192.168.1.253
> 
> Non-authoritative answer:
> mtco.net        preference = 30, mail exchanger = ns2.mtco.com
> mtco.net        preference = 20, mail exchanger = bogus.mtco.com
> 
> Authoritative answers can be found from:
> mtco.net        nameserver = ns2.mtco.com
> mtco.net        nameserver = ns.mtco.com
> ns2.mtco.com    internet address = 207.179.200.10
> ns.mtco.com     internet address = 207.179.200.2
> > server 207.179.200.10
> Default Server:  ns2.mtco.com
> Address:  207.179.200.10
> 
> > set type=a
> > bogus.mtco.com
> Server:  ns2.mtco.com
> Address:  207.179.200.10
> 
> *** ns2.mtco.com can't find bogus.mtco.com: Non-existent host/domain
> 
> so it seems there is a problem with your dns
> i can't seem to resolve the bogus.mtco.com
> hmm just noticed your pinging to bogus.mtco.net and not to
> bogus.mtco.com as in the mx record
> 
> 
> > An IP that is not going to respond.... To simulate a primary MX
> > going down. Which is the point of a backup MX server. If the
> > primary were responding and running smpt it wouldn't matter :)
> > 
> > 
> > On Wed, 25 Apr 2001, Willy De la Court wrote:
> > 
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > > 
> > > 
> > > On Wednesday, April 25, 2001 22:30, mick [SMTP:[EMAIL PROTECTED]]
> > > wrote:
> > > > There is a bogus MX record setup for testing:
> > > > ;
> > > > ;MX Records for mtco.net
> > > > ;
> > > > mtco.net.       IN      MX      20      bogus.mtco.com.
> > > > mtco.net.       IN      MX      30      ns2.mtco.com.
> > > > 
> > > > It points to a non-responsive IP address to simulate the
> > > > primary server going down.
> > > > 
> > > 
> > > that looks good but bogus.mtco.com does not resolve to an ip that
> > > maybe 
> > > the problem the dns resolving of qmail probably disregards this
> > > hostname.
> > > try to add an a record so that bogus.mtco.com resolves to an ip
> > > of a machine 
> > > that does run smtp
> > > 
> > > Willy De la Court
> > > Quint NV
> > > http://www.quint.be/projects
> > > 
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: PGPfreeware 6.5.3 for non-commercial use
> > > <http://www.pgp.com>  
> > > 
> > > iQA/AwUBOuctcP4IaGw3x6aJEQI9QQCcCs0WbflKbwO/Fky9POMYXn7ZC94AoNU4
> > > ZjArn/Qew1wCgjeQEWzEnq6n
> > > =2eBP
> > > -----END PGP SIGNATURE-----
> > > 
> > > 
> > 
> > *****************************************
> > Mick Dobra
> > Systems Administrator
> > MTCO Communications
> > 1-800-859-6826
> *****************************************
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
> 
> iQA/AwUBOudBTf4IaGw3x6aJEQIfzQCdEgKGvXdtM74vx5G/VhYUSqLaUWgAoKN8
> bss2+jeaYTY/2ncmdLH0rk3b
> =/zTs
> -----END PGP SIGNATURE-----
> 
> 

*****************************************
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*****************************************





I backed up the contents of a few Maildirs and now I'd like to put 
these messages into the new Maildirs. What's the best way to do this? 
Is it safe to simply copy them in?

Thanks,
Steven





Steven Katz <[EMAIL PROTECTED]> wrote:
> I backed up the contents of a few Maildirs and now I'd like to put 
> these messages into the new Maildirs. What's the best way to do this? 
> Is it safe to simply copy them in?

Yes.  The Maildir naming convention Dan uses prevents filename collisions.
Just make sure the files are owned by the owner of the Maildir.

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.
-----------------------------------------------------------------------




On Thu, Apr 26, 2001 at 09:42:53AM -0700, Steven Katz wrote:
> I backed up the contents of a few Maildirs and now I'd like to put 
> these messages into the new Maildirs. What's the best way to do this? 
> Is it safe to simply copy them in?

yes


-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany

Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)





  >   I backed up the contents of a few Maildirs and now I'd like to put 
  >   these messages into the new Maildirs. What's the best way to do this? 
  >   Is it safe to simply copy them in?


In practice it's often safe to copy them in. You don't risk
overwriting anything because of the unique filenames, for example.

There is the theoretical possibility of leaving partially truncated
messages in the maildir (if someone trips over the power cord in the
middle of your copying or your program crashes). Or if a POP server
accesses the mailbox while mesages are being written the user might
not see the whole message.

It's far better to restore the messages into the tmp subdirectory
(or create your own temporary directory for this) and then mv them
into whatever directory they go in (cur or new).

Gjermund




I�m using the qmail server under linux enviroment but my "costumers" are
using my software under the Windows platform.
My Win software was created in C language and it is a very rush program,thus
it overloads the qmail recipient pile.
So, I had been wondering about a way to retrieve how many messages are
waiting for delivery (from qmail server).
Do you have an idea to do that ?






Adren <[EMAIL PROTECTED]> wrote:
> So, I had been wondering about a way to retrieve how many messages are
> waiting for delivery (from qmail server).

qmail-qstat (or mailq) will give you this information, among other bits.
You just need a way to get it to whoever cares; that could be as simple as a
web page or fingerd server.

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.
-----------------------------------------------------------------------




At 26.04.2001 18:36, you wrote:
>I�m using the qmail server under linux enviroment but my "costumers" are
>using my software under the Windows platform.
>My Win software was created in C language and it is a very rush program,thus
>it overloads the qmail recipient pile.
>So, I had been wondering about a way to retrieve how many messages are
>waiting for delivery (from qmail server).
>Do you have an idea to do that ?

You could easily use pop3 to do it, (or IMAP if you like), just log in and
run the uidl or list command, and then read up untill the first whitespace
in the last line returned (actually the line before the last, the last line 
should
be a . (dot) shouldn't it?)


-- 
andreas landmark / noXtension
[EMAIL PROTECTED]
We are Pentium of Borg.  Division is futile.  You will be approximated.





About your question below,
I had that problem too, however I fixed it opening
the original code of qmail (qmail-1.03.tar.gz)
and sharing a common folder wrote a shared temporary file
to comunicate between qmail to my program.
In add you must not use my entire solution that was
originate some share troubles.
I suggest that you use TCPIP demon under LINUX to fix your
problem. Of course that if you have time, you can figure out the entire process from 
the original code (qmail-1.03.tar.gz)


Minimus, the UnSpanIsh 
--------------------------------------------------


>I�m using the qmail server under linux enviroment but >my "costumers" are
>using my software under the Windows platform.
>My Win software was created in C language and it is a very >rush program,thus
>it overloads the qmail recipient pile.
>So, I had been wondering about a way to retrieve how many >messages are
>waiting for delivery (from qmail server).
>Do you have an idea to do that ?


------------------------------------------------------------------------------

Abra gr�tis sua conta no StarMedia Email. Inscreva-se agora mesmo!  
http://www.br.starmedia.com

------------------------------------------------------------------------------






i have qmail all configured, tested and working in a local environment... when i send 
a message to [EMAIL PROTECTED], the message is not downloaded by a third-party UA and is 
only available at the command line (pine)

any ideas?

- hogan


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Hi John,


Thursday, April 26, 2001, 7:16:38 PM, you wrote:

JH> i have qmail all configured, tested and working in a local
JH> environment... when i send a message to [EMAIL PROTECTED], the
JH> message is not downloaded by a third-party UA and is only
JH> available at the command line (pine)
JH> any ideas?

You need a POP server, such as popper (included with most
Linux distributions) if you're storing your messages in
/var/spool/mail, or some other POP server if you're using mbox or
Maildir. 


Best regards,

 Barry                            mailto:[EMAIL PROTECTED]






John Hogan <[EMAIL PROTECTED]> wrote:
> i have qmail all configured, tested and working in a local environment...
> when i send a message to [EMAIL PROTECTED], the message is not downloaded by a
> third-party UA and is only available at the command line (pine)

If NFS is involved, make sure that the system clocks between all the machines
are synchronized (with xntpd, clockspped, or equivalent).  qmail-pop3d won't
see messages which are dated in the future.

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.
-----------------------------------------------------------------------




yep, popper's running...

qmail is configured to ~/Mailbox, tests, performs local delivery and receipt

new messages are received in Pine just fine, but not by a remote UA

- hogan

At 07:42 PM 4/26/2001 +0100, Barry Hill wrote:
>Hi John,
>
>
>Thursday, April 26, 2001, 7:16:38 PM, you wrote:
>
>JH> i have qmail all configured, tested and working in a local
>JH> environment... when i send a message to [EMAIL PROTECTED], the
>JH> message is not downloaded by a third-party UA and is only
>JH> available at the command line (pine)
>JH> any ideas?
>
>You need a POP server, such as popper (included with most
>Linux distributions) if you're storing your messages in
>/var/spool/mail, or some other POP server if you're using mbox or
>Maildir. 
>
>
>Best regards,
>
> Barry                            mailto:[EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





On Thu, Apr 26, 2001 at 01:53:50PM -0500, John Hogan wrote:
> yep, popper's running...
> 
> qmail is configured to ~/Mailbox, tests, performs local delivery and receipt

What popper? qmail-pop3d only does Maildir.

Greetz, Peter.




i was running just regular, old, linux distribution flavored popper... must i switch?

- hogan

At 09:17 PM 4/26/2001 +0200, Peter van Dijk wrote:
>On Thu, Apr 26, 2001 at 01:53:50PM -0500, John Hogan wrote:
>> yep, popper's running...
>> 
>> qmail is configured to ~/Mailbox, tests, performs local delivery and receipt
>
>What popper? qmail-pop3d only does Maildir.
>
>Greetz, Peter. 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





thanks for the off-list advice...

i thought i'd let everyone know - building a sym-link from /var/spool/mail/username to 
~(username)/Mailbox did the trick... popper must have been looking at the old 
/var/spool.... i'll have to figure out a way to change popper and release those nasty 
sym-links

thanks again

- hogan

At 02:40 PM 4/26/2001 -0500, John Hogan wrote:
>i was running just regular, old, linux distribution flavored popper... must i switch?
>
>- hogan
>
>At 09:17 PM 4/26/2001 +0200, Peter van Dijk wrote:
>>On Thu, Apr 26, 2001 at 01:53:50PM -0500, John Hogan wrote:
>>> yep, popper's running...
>>> 
>>> qmail is configured to ~/Mailbox, tests, performs local delivery and receipt
>>
>>What popper? qmail-pop3d only does Maildir.
>>
>>Greetz, Peter. 
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com 


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





(I searched the mail archives briefly but did not see any discussion
of this.  My apologies if I missed it.)

This is the new RFC which supersedes RFC821 as the SMTP specification:

  http://www.faqs.org/rfcs/rfc2821.html

The grammar in sections 4.1.2 and 4.1.3 appears not to permit [] as
the domain portion of a mailbox in an address.  In particular, the
address "#@[]", which Qmail uses as the envelope sender for
double-bounces, is not syntactically valid according to this grammar.

Feel free to double-check me on this, as I would be happy to be wrong.

Comments?  Thoughts?

 - Pat

P.S.  Incidentally, the Lotus Domino SMTP server already rejects Qmail
double-bounce messages as syntactically invalid.  Until a few days
ago, I could claim that Domino was in violation of the relevant RFC
(821).  But by this new RFC, Domino is right and Qmail is wrong.  And
now that RFC2821 has been released, I fear that other MTAs may start
rejecting these messages too.




I know it is a off topic. 

what can it be ?
######################compiling qmail....
make: warning:  Clock skew detected.  Your build may be incomplete.
#####################
THX.





date of yoru computer is either in way long in future or somethin like 1979
or somethin:) use ntpdate to update your clock

----- Original Message -----
From: "Linux!audimed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 3:48 PM
Subject: off topic qmail compiling error Clock skew detected


> I know it is a off topic.
>
> what can it be ?
> ######################compiling qmail....
> make: warning:  Clock skew detected.  Your build may be incomplete.
> #####################
> THX.
>
>





* Linux!audimed <[EMAIL PROTECTED]> [010426 16:05]:
> I know it is a off topic. 

Then why don't you choose an appropriate forum? /join #lusers

> make: warning:  Clock skew detected.  Your build may be incomplete.

man date - and remember, kids: reboots are for hardware changes.
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.





what it probably means is that you're building across an NFS mount, and that the
machine you're compiling on is reading a modification time for the source file
as being in the future.  

biggest possible problem is make not properly determining which source files
have been altered, and not recompiling them.

dan

On Thu, 26 Apr 2001, alexus wrote:
> date of yoru computer is either in way long in future or somethin like 1979
> or somethin:) use ntpdate to update your clock
> 
> ----- Original Message -----
> From: "Linux!audimed" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 26, 2001 3:48 PM
> Subject: off topic qmail compiling error Clock skew detected
> 
> 
> > I know it is a off topic.
> >
> > what can it be ?
> > ######################compiling qmail....
> > make: warning:  Clock skew detected.  Your build may be incomplete.
> > #####################
> > THX.
> >
> >




Hi,

 >Preferred permissions are 700.

By my last qmail-installation I've given the maildirs the right 703.
I think that is also a good setting for that.

Some time ago I've asked about the rights for the maildirs, with 703 I 
think there is a good security for the maildirs.

Regards,
Ruprecht






Ruprecht Helms wrote:
> By my last qmail-installation I've given the maildirs the right 703.
> I think that is also a good setting for that.

Uh, sure, if you don't mind any fool process or user writing stuff in your
mail directories.  Remember, qmail assumes the rights and permissions of
the user in question before writing to his/her mail directories, so there
is no reason to have any world or even group permissions on those
directories.  700 is highly recommended.

---Kris Kelley





On Thu, Apr 26, 2001 at 11:10:01PM +0200, Ruprecht Helms wrote:
> Some time ago I've asked about the rights for the maildirs, with 703 I 
> think there is a good security for the maildirs.

Well, if you have a good reason to let every user on the system write
anything they want into your maildirs, then great! I sure don't.

Tim




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I've written "qmail-masq":

This is a perl program that works with qmail, it masquerade the internal mail 
users address with an external one when sending email from local network 
users to the external internet users.

you can reach it at    http://www.folug.linux.it/qmail-masq.html

qmail-masq works with qmail-qfilter.
I've written it because it's a feature i need and it doesn't exist for qmail 
(but for sendmail yes).

I hope that will be useful.

Regards.
- -- 
Davide Giunchi.
Membro del FoLUG (Forl� Linux User Group) - http://folug.linux.it
Linux: The GNU economy!
GPG Key available on http://www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjromUwACgkQGalmx82r0NXJMwCgp6fSfEAoGHtU12HSW4OqbPds
QtIAnRpAOBYFn+06jOlBxG/5TW28lYqq
=r4SX
-----END PGP SIGNATURE-----




Hi everyone:

I can't make qmail-queue patch work: I always get "451 unable to exec qq
(#4.3.0)" when finishing DATA with a . on a line by itself (telnet to port
25). The interesting part is, whenever QMAILQUEUE environment variable is
set, no matter its value, the mail doesn't end in qmail-queue.

However, unsetting QMAILQUEUE makes mail delivery work as expected. I've
been looking at the source code, and the problem appears to be in
qmail.c:qmail_open() (just appears to be, because I've been unable to
build the Debian package binaries with debugging information).

As long as "451 unable to exec qq (#4.3.0)" is errorcode 120, the possible
point of failure is either on "if (fd_move(.." or on "execv(.."

Am I missing something ?. My setup is as follows.

Debian Woody's qmail-src package, as of release 18 (that is, original
qmail 1.03 plus netscape progress bar and big DNS patches). Apart from
that, 0.0.0.0, remote authentication, mail from authentication and
qmail-queue patches cleanly applied.

As Debian places qmail binaries under /usr/sbin, qmail-queue patch was
modified to reflect the change on the paths. My /etc/tcp.smtp includes:
192.168.1.10:allow,MFCHECK="1",QMAILQUEUE="/usr/sbin/qmail-queue"

I've tried many scripts as values for QMAILQUEUE and always get "unable to
exec qq". If QMAILQUEUE is not set, no problems.

Any help is highly appreciated. Thank you all.

-- 
Jos� Luis Domingo L�pez
Linux Registered User #189436     Debian GNU/Linux Potato (P166 64 MB RAM)
 
jdomingo EN internautas PUNTO org  => � Spam ? Atente a las consecuencias
jdomingo AT internautas DOT   org  => Spam at your own risk





Hi:

I have a Linux platform Red Hut 7.0 working on qmail, vopmail, qmailadmin
and sqlwebmail. My virtual domains work great. I have the following inquiry
as follow:

- I have an NT with an application with domain xxx.com name of with the
following IP address.xxx.xxx.xxx.38


- I created a vopmail in my virtual domain with the same name as the NT
domain name xxx.com on my Linux platform Red Hut 7.0. The Linux server has
the following IP address xxx.xxx.xxx.47


 I need to :

Modify the MX in order to point from my virtual domain to the Linux IP
adress xxx.xxx.xxx.47 . Right now point to xxx.xxx.xxx.38


If an email cuenta.xxx.com arrives to the vopmail and the email or account
cuenta.xxx.com does not exist then it should  qmail should solve the problem
and the qmail should send the information to the NT server. And this last
one NT, work with this count.


If an cuenta.xxx.com arrives to vopmail and exists then qmail should take
care of the email or account and workds

Is possible to do it?

Thanks a lot for your help

Best Regards,

Alexandra Murillo









On 26-Apr-2001 Tim Legant wrote:
> On Thu, Apr 26, 2001 at 05:54:20AM +0200, Marco Calistri wrote:
[..cut] 
>> > 5. Do you actually have the following, individual machines on your
>> > network?
>> > 
>> >    a. ik5bcu.ampr.org
>> >    b. linux.ik5bcu.ampr.org
>>  
>> Yes,on "b" I have qmail and fetchmail and this is not
>> a FQDN, while "a" is LAN connected.
> 
> Ok. Let's start simple and work our way up. First, let's get your
> "official Internet address" working. I know that you have a LAN; I
> believe you mentioned before that your private IP addresses are in the
> 192.168.2.xxx block. For now, we're going to ignore them.
> 
> You say machine (b), above, has qmail. I assume that machine (b) is
> connected to the Internet and that machine (a) is connected to machine
> (b) through your local network.

True!

> One of the problems we have to solve is that your mail comes to 'tin.it'
> but that is not your home domain. When you retrieve mail using fetchmail
> and feed that mail into qmail-smtpd, you complicate things for yourself.
> 
> I recommend the following:
> 
> 1. For now, do NOT run qmail-smtpd. If you are using DJB's daemontools
>    (supervise, etc) to run qmail-smtpd, type the following as root:
> 
> cd /service/qmail-smtpd
> rm /service/qmail-smtpd
> svc -dx . ./log
 
What's the last line stays for?

>    NOTE: I don't know what you called your 'qmail-smtpd' link in /service.
>          Use that name instead of 'qmail-smtpd' if it's different.
> 
> 2. Use Charles Cazabon's getmail program
> 
> http://www.qcc.sk.ca/~charlesc/software/getmail-2.0/getmail.html
 
I already tested getmail and I commented here that it's very good,
but I need to pass internet mail to "a" machine as well,
and I do it via fetchmail/qmail.

>    instead of fetchmail. getmail won't let you send your mail to an SMTP
>    server like qmail-smtpd. It will deliver it directly into your mailbox.
>    In your situation, that's the simplest and it's what you want.
> 
> 3. In the /var/qmail/control/ directory you should have this file:
> 
> me
> 
>    For now, delete all the rest. You don't need them yet or maybe at
>    all.
 
Since I need to forward mail (hopefully filtered one of these days)
to "a" machine I have rcpthosts and smtproutes for it.

> 4. In your /var/qmail/control/me file you should have this line:
> 
> linux.ik5bcu.ampr.org

Yes that is there!

>    After you remove all the files but 'me', type the following as root:
> 
> svc -t /service/qmail-send
> 
> Now, a ps waux | grep qmail should show you something like this:
> 
> root     217  0.0  0.4   Mon01PM   0:00.26 supervise qmail-send
> qmaill   230  0.0  0.4   Mon01PM   0:02.03 /usr/local/bin/multilog t
> /var/log/qmail
> qmails  1043  0.0  0.7   Mon03PM   0:07.97 qmail-send
> root    1045  0.0  0.5   Mon03PM   0:01.71 qmail-lspawn ./Maildir/
> qmailr  1046  0.0  0.6   Mon03PM   0:00.16 qmail-rspawn
> qmailq  1047  0.0  0.6   Mon03PM   0:01.30 qmail-clean
> 
> At this point, qmail will not /accept/ any mail from the outside world but
> it is capable of /sending/ your mail to the outside world. You should be
> using getmail to retrieve all of your tin.it mail and deliver it
> directly to your mailbox with no qmail involved.

Ok,I see...

> -----
> Now you need to configure your system and your local email client (XFMail, if
> I recall
> correctly) so that you can send mail using qmail-inject and still have
> the 'From:' header look like you want.
> 
> 1. In your '.profile', the same one where you set the QMAILMFTFILE, set
>    the following variables:
> 
> export QMAILSUSER=ik5bcu
> export QMAILSHOST=tin.it
> 
> 2. In XFMail, you should be able to set your From address. Set it to
>    whatever you like, something like:
> 
> Marco Calistri <[EMAIL PROTECTED]>
> 
>    Note that this From: header and the QMAILSUSER and QMAILSHOST
>    variables that we set in client step 1 refer to completely 
>    different things. This one is the address people will reply to. The
>    one in the QMAILSxxx variables is called the "envelope sender". When
>    qmail sends mail to other SMTP servers, it tells them that the mail
>    is being sent by $QMAILSUSER@$QMAILSHOST. You don't really care, as
>    long as it's valid.

That's valid for internet world!

> 3. Finally, configure XFMail to use /var/qmail/bin/sendmail to send your
>    mail, rather than SMTP. This will end up calling qmail-inject which
>    will use the list of mailing lists in $QMAILMFTFILE to create the
>    Mail-Followup-To: header.
> 
> 
> Once this is successfully running and you can join all the lists you
> want and you can post to all the lists, we can talk about other
> questions, such as allowing all the machines on your LAN to send mail.
> 
> Good luck,
> 
> Tim

Tim I'll save this nice qmail how-to for future reference.
For the moment I'll stay a bit more on the safest (for me)
qmail-SMTP since I lost a lot of e-mails and mailing-lists
accounts working around my configuration files.
I guess that setting the variables as you explained,
I could also avoid to stop qmail-smtpd.
Wonder if would be better if I continue this topic
writing directly to your personal address because
I think to abuse to much on this list with my small problems.

-- 
Regards,: Marco Calistri <[EMAIL PROTECTED]>
gpg key available on http://www.qsl.net/ik5bcu
Xfmail 1.4.7p2 on linux RedHat 6.2 kernel-2.4.2
--
Excellent day to have a rotten day.






I've convinced management (at my current employer) to give me a 
chance to replace our Netscape (and, hopefully soon, MS Exchange)
server(s) with qmail.  I installed, configured, and managed a qmail
(+vpopmail+sqwebmail) server at my previous employer, after dumping
the Netscape server I had *originally* installed.

The problem is that our users are used to sending *huge* attachments
(up to 100Mb), and you know how much users hate change.  They also
*love* IMAP, and keep everything forever.

My first thought was a script that either stores a message as usual, 
or creates a hard link to a single copy stored somewhere else.  Sort
of like Russell Nelson's (and Peter Samuel's) eliminate-dups, but 
used on a domain-wide basis.

Then, I realized that inter-site traffic (we have several offices
spread across the country, most of which have their own MS Exchange
servers) would still kill me, because qmail will send multiple
copies of the *huge* attachments.  

Of course, I agree with the whole single recipient philosophy.  It 
wouldn't be a problem if it weren't for the damned *users*!

I can't stop thinking about how I can switch over to qmail and friends,
so my latest thinking is about a script to strip attachments, replace
them with links (WTF, they're already full of HTML and MIME, too,
not to mention the friggin' winmail.dat files :-(, to files on an
FTP server.

Has anyone tried something like this?  Am I insane for thinking 
about it?  Should I just buckle, and let MS Exchange take over?

grier




When I did  install the ucspi-tcp package I receive the following
error-message (var/log/qmail/qmail-smtpd):
"tcpserver: fatal: unable to bind: adress already use"

I did install ucspi-tcp as described (http://cr.yp.to/ucspi-tcp.html)

There must be some problems with inetd...

How can I solve this problem?

THX

Joe






you already have a service listening on port 25.  a likely culprit is
sendmail.  make sure that it's shut off, and make sure that you check
/etc/inetd.conf.  if there's something in there listening on the smtp
port, comment it out, and kill -HUP inetd's pid.

dan

On Fri, 27 Apr 2001, jx001 wrote:

> When I did  install the ucspi-tcp package I receive the following
> error-message (var/log/qmail/qmail-smtpd):
> "tcpserver: fatal: unable to bind: adress already use"
> 
> I did install ucspi-tcp as described (http://cr.yp.to/ucspi-tcp.html)
> 
> There must be some problems with inetd...
> 
> How can I solve this problem?
> 
> THX
> 
> Joe
> 





At 27.04.2001 02:20, you wrote:
>When I did  install the ucspi-tcp package I receive the following
>error-message (var/log/qmail/qmail-smtpd):
>"tcpserver: fatal: unable to bind: adress already use"
>
>I did install ucspi-tcp as described (http://cr.yp.to/ucspi-tcp.html)
>
>There must be some problems with inetd...
>
>How can I solve this problem?

remove/comment out the line in /etc/inetd.conf that starts a smtpserver.

The line should resemble something like this:
smtp  stream  tcp     nowait  root    /usr/sbin/tcpd  sendmail -bs
place a # (hash) infront of that line and give inetd a HUP and then
try to restart your qmail-smtpd...



-- 
andreas landmark / noXtension
[EMAIL PROTECTED]
#distributed :
20001003 [23:27:04] <froggie_> I like the feeling of a TCP socket you get 
in a DCC chat.. 





I'm going through all of the qmail/djbdns/etc. archives, but it is slow 
going.

I've used sendmail/DNS/BIND on various unix boxes for years and am 
absolutely sick of them.

I would like to use qmail and Cyrus IMAP and djbdns, etc. on a single Redhat 
7.0 server that has 8 IP addresses for 8 virtual websites.

I've printed off reams of the documentation from D. J. Bernstein's website 
about qmail, tcpserver, djbdns, ucspi-tcp, daemontools, etc.

My initial understanding was that qmail was a straight MTA replacement for 
sendmail so that I would be able to use Cyrus Imap. The Cyrus Imap is not 
supposed to require Unix accounts/homedirectories, so it scales for a larger 
number of webmail clients.

In my reading of the Cyrus IMAP website, it only refers to postfix. I saw 
the sendmail/postfix April fool's joke, and it was quite funny.

However, why do I not see any info about using qmail with either UW or Cyrus 
IMAP? Or am I missing something obvious?


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





There are sources for a database that is compatible with procmail(1)
scripts, qmail, etc., and audits the IP addresses in "Received: "
headers at:

    http://www.johncon.com/john/receivedIP/

in case anyone wants to construct a personal BL for offline/uucp
systems.

        John

BTW, would whoever is in charge of such things include this in the
www.qmail.org page? Thanks.

-- 

John Conover        Tel. 408.370.2688  [EMAIL PROTECTED]
631 Lamont Ct.      Cel. 408.772.7733  http://www.johncon.com/
Campbell, CA 95008  Fax. 408.379.9602  





Actually, I submitted my prior email too quickly.

I have also found the info about Courier IMAP/VMailMgr, and the omail info 
as well.

It seems to me that MailDirs still require a login account/home directory 
for each webmail user. Please correct me if I am wrong.

Please advise.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





I've been seeing a lot of the following ever since I started accepting mail
for a particular domain.

> 988341350.667080 tcpserver: pid 10036 from 138.220.29.7
> 988341350.668046 tcpserver: ok 10036 matrixit.net:216.58.86.3:25
> :138.220.29.7::2037
> 988341350.672839 10036 > 220 matrixit.net ESMTP ready^M
> 988341350.739657 10036 < EHLO worldbank.org^M
> 988341350.739847 10036 > 250-matrixit.net^M
> 988341350.739958 10036 > 250-SIZE 10485760^M
> 988341350.740083 10036 > 250-PIPELINING^M
> 988341350.740182 10036 > 250 8BITMIME^M
> 988341350.808618 10036 < QUIT^M
> 988341350.808958 tcpserver: end 10036 status 0

The remote mail server at 138.220.29.7 just connects, then QUIT's
immediately, NOT delivering the mail it has for me (and yes, it does have
some). So it's not like qmail is refusing the mail, the remote just decides
to QUIT before sending it. It has been doing this every 5 minutes over the
past few days. Everything else is honky-dory. I'm totally at a loss for why
this is happening. Any possible explanations?

>From the occasional messages I have received, it appears to be running Lotus
Domino Release 5.0.5 and Mailsweeper SMTPRS 4.2.1

> Received: from worldbank.org ([138.220.29.7])
>           by WBLN0014.worldbank.org (Lotus Domino Release 5.0.5)
>           with ESMTP id 2001042623080385:20693 ;
>           Thu, 26 Apr 2001 23:08:03 -0400
> Received: from matrixit.net (matrixit.net) by worldbank.org
>  (Content Technologies SMTPRS 4.2.1)

I'm going to contact the postmaster, but I doubt that'll give me any clue.






I guess qmail-LDAP will eliminate the need to have user accounts/home 
directories for the webmail users.

I don't see any documentation in the Life with Qmail/Ldap about virtual 
domains, although I do see info about virtual users.

I guess VMailMgr (with Qmail/LDAP) will allow me to set up virtual domains 
on the same machine?


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





On Fri, Apr 27, 2001 at 12:57:31AM -0500, question question wrote:
> I don't see any documentation in the Life with Qmail/Ldap about virtual 
> domains, although I do see info about virtual users.

You don't need virtual domains on qmail-ldap (although they exist), you just
have users with one ore more mail addresses in one or more domains.

-- 
Henning Brauer     | BS Web Services
Hostmaster BSWS    | Roedingsmarkt 14
[EMAIL PROTECTED] | 20459 Hamburg
http://www.bsws.de | Germany

Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)




Hi all,
 
Some background:
-I'm trying to run qmail on my Freebsd 4.2.
-I'm using qmail from the freebsd cd package.
-I read the FAQs, bought the Qmail book from SAMS, and prepared the qmail daemons. They are up and running exactly as depicted in the book.
-I tried a simple test to send a local mail to myself with the following command:
 
cat test | /var/qmail/bin/qmail-inject
 
The mail did not get processed. I found this in the maillog:
 
Apr 27 13:42:48 markus qmail: 988350168.284945 delivery 32: deferral: mail.local
:_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
Apr 27 13:42:48 markus qmail: 988350168.285228 status: local 1/10 remote 0/20
Apr 27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo failed; error cod
e 75
Apr 27 13:43:10 markus qmail: 988350190.305262 delivery 33: deferral: mail.local
:_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
Apr 27 13:43:10 markus qmail: 988350190.305477 status: local 0/10 remote 0/20
 
I trid setting /var/mail to drwxrwxrwx, then I get this error:
 
Apr 27 14:16:00 markus qmail: 988352160.082426 delivery 54: deferral: mail.local
:_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
Apr 27 14:16:00 markus qmail: 988352160.082655 status: local 0/10 remote 0/20
Apr 27 14:17:38 markus qmail: 988352258.085002 starting delivery 55: msg 454 to
local [EMAIL PROTECTED]
Apr 27 14:17:38 markus qmail: 988352258.085580 status: local 1/10 remote 0/20
Apr 27 14:17:38 markus mail.local: setreuid(0, 1000): Operation not permitted (r
=1000, e=1000)
Apr 27 14:17:38 markus qmail: 988352258.149416 delivery 55: deferral: mail.local
:_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
Apr 27 14:17:38 markus qmail: 988352258.149625 status: local 0/10 remote 0/20
 
Can someone please tell me what to do? I'm so darn close to getting qmail up!!!




I've got some explanation, but no solution..

qmail for local delivery into /var/mail/$user
uses part of sendmail - mail.local (for BSD systems).
As from FreeBSD version 4.2 mail.local is no more
setuid and could not be used directly by user for
local mail delivery. You have to call sendmail for it
which in turn passes message to mail.local.  

I believe you use script binm1 or binm1+df for running
qmail. And maybe this part should be rewritten to do
local mail deliveries as root. 

Oleg

--- Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> Some background:
> -I'm trying to run qmail on my Freebsd 4.2.
> -I'm using qmail from the freebsd cd package. 
> -I read the FAQs, bought the Qmail book from SAMS, and
> prepared the qmail daemons. They are up and running exactly as
> depicted in the book.
> -I tried a simple test to send a local mail to myself with the
> following command:
> 
> cat test | /var/qmail/bin/qmail-inject
> 
> The mail did not get processed. I found this in the maillog:
> 
> Apr 27 13:42:48 markus qmail: 988350168.284945 delivery 32:
> deferral: mail.local
> :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
> Apr 27 13:42:48 markus qmail: 988350168.285228 status: local
> 1/10 remote 0/20
> Apr 27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo
> failed; error cod
> e 75 
> Apr 27 13:43:10 markus qmail: 988350190.305262 delivery 33:
> deferral: mail.local
> :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
> Apr 27 13:43:10 markus qmail: 988350190.305477 status: local
> 0/10 remote 0/20
> 
> I trid setting /var/mail to drwxrwxrwx, then I get this error:
> 
> Apr 27 14:16:00 markus qmail: 988352160.082426 delivery 54:
> deferral: mail.local
> :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
> Apr 27 14:16:00 markus qmail: 988352160.082655 status: local
> 0/10 remote 0/20
> Apr 27 14:17:38 markus qmail: 988352258.085002 starting
> delivery 55: msg 454 to 
> local [EMAIL PROTECTED]
> Apr 27 14:17:38 markus qmail: 988352258.085580 status: local
> 1/10 remote 0/20
> Apr 27 14:17:38 markus mail.local: setreuid(0, 1000):
> Operation not permitted (r
> =1000, e=1000)
> Apr 27 14:17:38 markus qmail: 988352258.149416 delivery 55:
> deferral: mail.local
> :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
> Apr 27 14:17:38 markus qmail: 988352258.149625 status: local
> 0/10 remote 0/20
> 
> Can someone please tell me what to do? I'm so darn close to
> getting qmail up!!!
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Hi, All
I am using with vpopmail, sqwebmail,
and I wana my email system with smtp authorazition.
 
to replace the original source in qmail,
and then complie, install .....
 
and my auth run script is as following:

          /usr/local/bin/tcpserver  -H -R -l 0 -t 1  -c 100 -x/etc/tcp.smtp.cdb -u604 -g601 \
          0 smtp /var/qmail/bin/qmail-smtpd.auth /home/vpopmail/bin/vchkpw /bin/true 2>&1 \
          | /var/qmail/bin/splogger smtpd 3 & 
604.601 is uid.gid of qmaild
 and then I set suid/sgid to vchkpw
chmod 4755 /home/vpopmail/bin/vchkpw
 
but I failed, qmail can work with it, why ??
who can help me??
and is there another resolvement for auth of qmail-smtp relay ???
Thx!
 




Does anyone else not find this overly impressive, either?
http://www.securityfocus.com/templates/forum_message.html?forum=2&head=5418&id=5418

I particularlyl like the "Closing remarks":

|Please direct any questions regarding Qmail, dot-forward, fastforward,
|and/or EZMLM to Dan Bernstein . 

Bet they'll never publish my comments...
-- 
Robin S. Socha  - Look, Ma, it's all green... http://my.gnus.org/users/robin/




On Fri, Apr 27, 2001 at 05:35:01AM -0400, Robin S. Socha wrote:
> Does anyone else not find this overly impressive, either?
> http://www.securityfocus.com/templates/forum_message.html?forum=2&head=5418&id=5418
> 
> I particularlyl like the "Closing remarks":
> 
> |Please direct any questions regarding Qmail, dot-forward, fastforward,
> |and/or EZMLM to Dan Bernstein . 
> 
> Bet they'll never publish my comments...

He does mention the list, but says [EMAIL PROTECTED], which
probably doesn't work.

Greetz, Peter.


Reply via email to