qmail Digest 8 Mar 2001 11:00:01 -0000 Issue 1297

Topics (messages 58527 through 58607):

Problem running second qmail on aliased interface...
        58527 by: Daniellek

Re: reverse DNS?
        58528 by: John Conover
        58554 by: David Dyer-Bennet
        58607 by: Jenny Holmberg

Mailbox migration from iPlanet
        58529 by: Juan de Castro Paredes
        58530 by: Jankok, Lucio
        58531 by: Juan de Castro Paredes
        58532 by: Jankok, Lucio

Re: Getting POP3d to record logging information in places other t han Maillog
        58533 by: Dave Sill

Re: ETRN / SLOW
        58534 by: Dave Sill

Re: What are these messages mean?
        58535 by: Dave Sill

Re: domain rewrites
        58536 by: Dave Sill
        58558 by: Benjamin Collar
        58563 by: schoon.amgt.com
        58564 by: Dave Sill

Re: POP3 Question
        58537 by: Dave Sill

Re: qmail postfix
        58538 by: Dave Sill

Re: no shell for qmail user (qmails, qmaill,...)
        58539 by: Kurth Bemis

Re: Qmail logs.
        58540 by: Charles Cazabon

Re: Yet another weird POP3 problem
        58541 by: Kirti S. Bajwa
        58545 by: Vince Vielhaber
        58546 by: Peter van Dijk
        58548 by: Kirti S. Bajwa
        58549 by: Kirti S. Bajwa
        58551 by: Vince Vielhaber
        58559 by: Kirti S. Bajwa
        58565 by: Dave Sill
        58601 by: Sean Coyle
        58604 by: Bedel, Pierre

qmail-popup syslog messages
        58542 by: Milivoj Ivkovic

qmail and MX
        58543 by: Alex Povolotsky
        58544 by: Peter van Dijk
        58547 by: Alex Povolotsky
        58550 by: Greg White
        58552 by: Peter van Dijk
        58555 by: Alex Povolotsky
        58557 by: Greg White
        58567 by: Peter van Dijk

virtual domains config
        58553 by: Flash

e-mail notification
        58556 by: info
        58560 by: Andy Bradford
        58561 by: Andy Bradford
        58569 by: Medi Montaseri

Still having mutiple delivery problems.
        58562 by: Kep Brown
        58568 by: Daniel Kelley
        58574 by: cfm.maine.com
        58576 by: Daniel Kelley
        58577 by: cfm.maine.com
        58582 by: Kep Brown
        58583 by: Daniel Kelley

Mail migration from MS Exchange PST
        58566 by: Medi Montaseri
        58570 by: schoon.amgt.com
        58572 by: Medi Montaseri
        58573 by: schoon.amgt.com

451_qq_crashed
        58571 by: gmo.gmx.de

NAKEDWIFE.EXE Virus - Filter available
        58575 by: Erwin Hoffmann
        58584 by: Jesse Sunday
        58590 by: Kari Suomela

Disable Single User
        58578 by: Andy Doller
        58579 by: Kris Kelley
        58580 by: Charles Cazabon
        58581 by: Greg White

POP3 is driving me crazy!!!
        58585 by: Kirti S. Bajwa
        58587 by: Adam McKenna
        58588 by: schoon.amgt.com
        58595 by: Timothy Legant

qmail smtp logs filling up
        58586 by: Rob Hines Jr.
        58591 by: Sean Chittenden

[Q] on messages not bouncing
        58589 by: Robert Fries

telnet localhost 25 failed!
        58592 by: Hatem

multilog vs. splogger
        58593 by: Hatem

Simple Question???
        58594 by: Kirti S. Bajwa
        58596 by: Timothy Legant

qmail equivalent of Sendmail's SMART_HOST?
        58597 by: Martin Gignac
        58598 by: Chris Johnson

delivery 2: deferral: Uh-oh:_home_directory_is_writable._(#4.7.0)
        58599 by: Hatem
        58600 by: Greg White

dns?
        58602 by: richard morris

Sorry, _message_has_wrong_owner._(#4.3.5)
        58603 by: Hatem

email for domain
        58605 by: pratibha
        58606 by: Paul Penda

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]


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


I have problem like this:

There's "qmail" binded to IP1 port 25
And there's "qmail2" binded to IP2 port 25

IP1 is on eth0
IP2 is an alias - eth0:0

My problem is that I want to pass some of mail's to "qmail2" using smtproutes,
but qmail'a seems to treat this mail as a local delivery and gives me errors
like:

> Hi. This is the qmail-send program at testserv.szi.pl.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

where [EMAIL PROTECTED] is recipient address.

How can I teach qmail to treat IP2 as a remote?

-- 
Daniel Fenert            --==> [EMAIL PROTECTED] <==--
==-P o w e r e d--b y--S l a c k w a r e-=-ICQ #37739641-==
Shhh.... be vewy, vewy quiet! I'm haunting wabbits!
===- http://daniellek.linux.krakow.pl/ -===< +48604628083 >





So, in my request for opinions, pls., some/most/many admins would like
to refuse messages from non-local machines that do not have a valid
RDNS for the HELO FQDN, but feel such a policy is inappropriate from
the user's POV.

I have a lot of users that have a common ~/.procmailrc, (mostly spam,
MS/Outlook frailties, stuff-its an ln -s from my ~/.procmailrc,) and
many of them agreed to participate in letting me put a header record
"Sending-Machine: unknown" in such messages-as opposed to refusing to
process the message.

We'll see how it goes for a month, or so, and see how many messages
would have been refused by such a policy, vs. how many should have
been refused.

        Thanks to all for the opinions,

        John

Erwin Hoffmann writes:
> Hi,
> 
> At 09:49 7.3.2001 +0000, James R Grinter wrote:
> >Erwin Hoffmann <[EMAIL PROTECTED]> writes:
> >> However, it makes sense to do DNS lookup f=FCr the MAIL FROM: address.=20
> >
> >If you have reliable DNS services - I've been on the other end of
> >that, a site permanently rejecting each mail (a 5xx code) because they
> >were having problems resolving the sending domain. Delegation and the
> >nameservers were fine, as it was the second address I tried (which
> >also failed with a 5xx code)
> >
> >Very messy, and not very good for their customers.
> >
> >James.
> 
> In particular to cope with this, my implementation lets you define for
> which Domains you dont want DNS Reverse Lookup: /var/qmail/control/nodnscheck.
> SPAMCONTROL does a logging on that, thus you easily can figure out, which
> Domains cause the problem.
> 
> 
> cheers.
> eh.
> 
> +-----------------------------------------------------------------------+
> |  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
> | ff          hh                                                        |
> | ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
> | fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
> | ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
> | ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
> | ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
> +-----------------------------------------------------------------------+
-- 

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  





Erwin Hoffmann <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I dont know, whether the HELO/EHLO from the MTA-Client means anything and
> whether it can be used for a reverse DNS lookup.
> 
> However, it makes sense to do DNS lookup für the MAIL FROM: address. 
> 
> This is alrady feasable by some qmail patches, including my SPAMCONTROL.
> Have a look at:
> 
> http://www.fehcom.de/qmail_en.html

It's not unreasonable to insist that that address be valid (including
<> and such).  I dont' think it's particularly *useful* for spam
control either, though; most spam comes with forged by "valid" return
addresses.  By insisting that spammers do that, all we're doing is
forcing them to pick some unlucky sysadmin to get the torrent of abuse
and bounces.  So the spam doesn't get blocked, *and* some innocent
victim is hurt.  No profit there!
-- 
David Dyer-Bennet      /      Welcome to the future!      /      [EMAIL PROTECTED]
SF: http://www.dd-b.net/dd-b/          Minicon: http://www.mnstf.org/minicon/
Photos: http://dd-b.lighthunters.net/




Charles Cazabon <[EMAIL PROTECTED]> writes:

> John Conover <[EMAIL PROTECTED]> wrote:
> > As a matter of policy, is it reasonable to reject messages that fail a
> > reverse DNS lookup on HELO's FQDN/authentication?
> 
> Very political question.  As long as you don't reject envelope senders of
> <> and <#@[]>, you won't be violating any RFCs.

It would be a violation of RFC 1123, which states:


      5.2.5  HELO Command: RFC-821 Section 3.5

         The sender-SMTP MUST ensure that the <domain> parameter in a
         HELO command is a valid principal host domain name for the
         client host.  As a result, the receiver-SMTP will not have to
         perform MX resolution on this name in order to validate the
         HELO parameter.

         The HELO receiver MAY verify that the HELO parameter really
         corresponds to the IP address of the sender.  However, the
         receiver MUST NOT refuse to accept a message, even if the
         sender's HELO command fails verification.

It's still OK to deny a non-syntactically-correct HELO, though.

-- 
"I live in the heart of the machine. We are one." 





 Hi all,

 We have got right now an iPlanet Messaging Server 4.15 Patch 2 that manages
around
50.000 users, and would like to migrate to QMail 1.03. Our main problem
right now
is the migration of the mailboxes of the users. Does anybody have any
experience in this kind of migration?

 I would really, really appreciate any help or tip or URL where I could find
any information about this issue.

 Thank you very much to all, regards,

 Juan.





maybe you could try qmail-ldap.
migrating the maiboxes is just a matter of
writing some shell scripts and using getmail
for instance. a few weeks ago we migrated isocor
to qmail-ldap.

regards,

Lucio

: -----Original Message-----
: From: Juan de Castro Paredes [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, March 07, 2001 1:00 PM
: To: [EMAIL PROTECTED]
: Subject: Mailbox migration from iPlanet
: 
: 
: 
:  Hi all,
: 
:  We have got right now an iPlanet Messaging Server 4.15 Patch 
: 2 that manages
: around
: 50.000 users, and would like to migrate to QMail 1.03. Our 
: main problem
: right now
: is the migration of the mailboxes of the users. Does anybody have any
: experience in this kind of migration?
: 
:  I would really, really appreciate any help or tip or URL 
: where I could find
: any information about this issue.
: 
:  Thank you very much to all, regards,
: 
:  Juan.
: 




Hi,

 Thanks for the answer.

 The *problem* I see with that procedure is that it is not transparent for
the user because the mails will not be kept the same, they will all appear
"From: theuser" and  "To: theuser". Is this right?

 Thanks again,

 Juan



-----Mensaje original-----
De: Jankok, Lucio [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 07 de marzo de 2001 13:01
Para: 'Juan de Castro Paredes'; [EMAIL PROTECTED]
Asunto: RE: Mailbox migration from iPlanet


maybe you could try qmail-ldap.
migrating the maiboxes is just a matter of
writing some shell scripts and using getmail
for instance. a few weeks ago we migrated isocor
to qmail-ldap.

regards,

Lucio

: -----Original Message-----
: From: Juan de Castro Paredes [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, March 07, 2001 1:00 PM
: To: [EMAIL PROTECTED]
: Subject: Mailbox migration from iPlanet
:
:
:
:  Hi all,
:
:  We have got right now an iPlanet Messaging Server 4.15 Patch
: 2 that manages
: around
: 50.000 users, and would like to migrate to QMail 1.03. Our
: main problem
: right now
: is the migration of the mailboxes of the users. Does anybody have any
: experience in this kind of migration?
:
:  I would really, really appreciate any help or tip or URL
: where I could find
: any information about this issue.
:
:  Thank you very much to all, regards,
:
:  Juan.
:





it will remain tranparent for the user.


: -----Original Message-----
: From: Juan de Castro Paredes [mailto:[EMAIL PROTECTED]]
: Sent: Wednesday, March 07, 2001 1:13 PM
: To: Jankok, Lucio; [EMAIL PROTECTED]
: Subject: RE: Mailbox migration from iPlanet
: 
: 
: Hi,
: 
:  Thanks for the answer.
: 
:  The *problem* I see with that procedure is that it is not 
: transparent for
: the user because the mails will not be kept the same, they 
: will all appear
: "From: theuser" and  "To: theuser". Is this right?

no, the from field will remain unchanged

: 
:  Thanks again,
: 
:  Juan




Sean Coyle <[EMAIL PROTECTED]> wrote:

>Well, I am using qmail-1.03+patches.tar.gz, ...

qmail + patches <> qmail

This kind of confusion and the resulting support nightmare is exactly
what Dan is trying to avoid with his distribute-unmodified-source-only
distribution terms. I'm sure this qmail+patches bundle complies with
the letter of the law by including the pristine qmail tarball to which
it applies the patches, but that violates Dan's intent.

-Dave




richard morris <[EMAIL PROTECTED]> wrote:

>is anyone familiar with the use of the ETRN command?

Yeah, familiar enough to know that qmail doesn't implement it.

-Dave




"Chrisanthy Carlane" <[EMAIL PROTECTED]> wrote:

>> Return-Path: <>
>#How come there is no return path?

Because it's a bounce message. This is normal.

>> Received: (qmail 25396 invoked from network); 7 Mar 2001 02:18:21 -0000
>> Received: from unknown (HELO sales) (10.10.10.127)
>#I think the HELO should be the name of the mail server?

The HELO parameter is just noise. It's supposed to be the name of the
client, but it's not validated in any way.

-Dave




Benjamin Collar <[EMAIL PROTECTED]> wrote:

>How do I rewrite a domain name on some incoming mail before passing it on?

Better question is why would you want to?

>For instance, the company I'm working for used to receive its mail at
>mail.aaa.com. Now it only wants aaa.com. This is not a virtual
>domain. Currently, they use a special sendmail rule to rewrite
>mail.aaa.com to aaa.com before forwarding the mail to the exchange
>server. How would I accomplish this with qmail?

Just add mail.aaa.com to control/locals and control/rcpthosts.
Rewriting headers is expensive, error prone, and just plain silly.

-Dave




On Wed, 7 Mar 2001, Dave Sill wrote:

Hi Dave,

Thank you for your answer. According to the mail people here, if mail
that's to [EMAIL PROTECTED] gets forwarded to the internal Exchange servers,
they'll explode (or at least return the mail).

Putting mail.aaa.com in rcpthosts and local would just tell qmail that
it's okay to move the mail along, right? That, then, wouldn't solve the
explosion problem.

If it's impossible then the client won't use qmail. They are using
sendmail now and it's causing LOTS of problems, and they hired me to find
another solution.

So please, what's the expensive, error prone way of handling it? Of
course, I'll let them know that it may be better to fiddle with the
Exchange servers so they'll accept mail.aaa.com, but they won't be happy
with that.

Thank you
Ben

 > Benjamin Collar <[EMAIL PROTECTED]> wrote:
> 
> >How do I rewrite a domain name on some incoming mail before passing it on?
> 
> Better question is why would you want to?
> 
> >For instance, the company I'm working for used to receive its mail at
> >mail.aaa.com. Now it only wants aaa.com. This is not a virtual
> >domain. Currently, they use a special sendmail rule to rewrite
> >mail.aaa.com to aaa.com before forwarding the mail to the exchange
> >server. How would I accomplish this with qmail?
> 
> Just add mail.aaa.com to control/locals and control/rcpthosts.
> Rewriting headers is expensive, error prone, and just plain silly.
> 
> -Dave
> 





I just finished this kind of installation. Here's what I've setup:

qmail running as gateway out on internet as mail.aaa.com .
Exchange 4.0 internal running pullmail known as aaa.com.

Setup qmail as a virtual domain for @aaa.com per Ch 11 of Running qmail
Setup qmail-pop3 per LWQ and various docs.
Put mail.aaa.com & localhost in control/locals - DO NOT PUT aaa.com in
locals!!
In .qmail-default put | echo "X-Envelope-To: $DEFAULT@$HOST"; cat) |
forward user-finaldelivery

In .qmail-finaldelivery - ./Maildir/

Setup pullmail to /r:X-Envelope-To into Exchange system. This fixes some
nasty problems with pullmail/exchange handling mailing lists, etc.

How this setup works for me is every 10 minutes pullmail is run on my
Exchange server to pop all mail for the virtual domain and shove it into
SMTP. The X-Envelope-To: field will contain the [EMAIL PROTECTED] and
pullmail will use that as the RCPT-TO and To: fields so Exchange can
handle the email properly. After this, read then reread all man pages,
and other docos available! Buy pizza/beer for the list!

HTH

.mark


>----------
>From:  Benjamin Collar[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, March 07, 2001 9:36 AM
>To:    [EMAIL PROTECTED]
>Subject:       Re: domain rewrites
>
>On Wed, 7 Mar 2001, Dave Sill wrote:
>
>Hi Dave,
>
>Thank you for your answer. According to the mail people here, if mail
>that's to [EMAIL PROTECTED] gets forwarded to the internal Exchange servers,
>they'll explode (or at least return the mail).
>
>Putting mail.aaa.com in rcpthosts and local would just tell qmail that
>it's okay to move the mail along, right? That, then, wouldn't solve the
>explosion problem.
>
>If it's impossible then the client won't use qmail. They are using
>sendmail now and it's causing LOTS of problems, and they hired me to find
>another solution.
>
>So please, what's the expensive, error prone way of handling it? Of
>course, I'll let them know that it may be better to fiddle with the
>Exchange servers so they'll accept mail.aaa.com, but they won't be happy
>with that.
>
>Thank you
>Ben
>
> > Benjamin Collar <[EMAIL PROTECTED]> wrote:
>> 
>> >How do I rewrite a domain name on some incoming mail before passing it on?
>> 
>> Better question is why would you want to?
>> 
>> >For instance, the company I'm working for used to receive its mail at
>> >mail.aaa.com. Now it only wants aaa.com. This is not a virtual
>> >domain. Currently, they use a special sendmail rule to rewrite
>> >mail.aaa.com to aaa.com before forwarding the mail to the exchange
>> >server. How would I accomplish this with qmail?
>> 
>> Just add mail.aaa.com to control/locals and control/rcpthosts.
>> Rewriting headers is expensive, error prone, and just plain silly.
>> 
>> -Dave
>> 
>
>
>





Benjamin Collar <[EMAIL PROTECTED]> wrote:

>Putting mail.aaa.com in rcpthosts and local would just tell qmail that
>it's okay to move the mail along, right? That, then, wouldn't solve the
>explosion problem.

No, that would try to deliver the mail locally.

>If it's impossible then the client won't use qmail.

Of course it's possible. :-)

>So please, what's the expensive, error prone way of handling it? Of
>course, I'll let them know that it may be better to fiddle with the
>Exchange servers so they'll accept mail.aaa.com, but they won't be happy
>with that.

I'm blissfully ignorant of the details of Exchange's operation. Does
it require only the envelope recipient or both the envelope recipient
and the header fields to contain aaa.com?

If it's just the envelope recipient that needs to change, put aaa.com
in control/rcpthosts and:

  aaa.com:alias-aaa.com

in control/virtualdomains. If aaa.com is in control/locals, remove
it. Then in ~alias/.qmail-aaa:com-default, put:

  |forward "$[EMAIL PROTECTED]"

If it requires the header to be rewritten, too, do the same as above,
but in the ~alias/.qmail-aaa:com-default, put:

  |sed '1,/^$/s/mail\.aaa\.com/aaa.com/g' | forward "$[EMAIL PROTECTED]"

(That may need to be EXT2...can't tell without testing it.)

-Dave




"Kirti S. Bajwa" <[EMAIL PROTECTED]> wrote:

>My question is too fundamental for all you qmail experts, but please reply
>anyway. I am a newbie. I installed qmail on a RH 6.2 LINUX system by
>following step-by-step guidelines of QMAIL-HOWTO ( I have also consulted
>Life with Qmail). 
>
>Two questions:
>
>1) Where do I install qmail-pop3 script (the one which runs under
>"tcpserver"). In Life With Qmail (page 39) it indicates to add the script
>"to your qmail startup script"!! Well it is good for all of you but I have
>not been able to figure out where to add it!!

I'm not that familiar with the HOWTO, but there must be a script
somewhere that runs /var/qmail/rc or qmail-start. You can add the pop3
invocation there.

>2) When I try to setup Outlook to connect and receive email, I get an error
>message saying that the User Name/Password is invalid! Do you think the
>problem may be carried over from item# 1.

Yes. Outlook won't be able to connect to your pop server until you
start it.

-Dave




Mate Wierdl <[EMAIL PROTECTED]> wrote:

>Thx for the info.  What I was curious about was also how  qmail
>scales.  For example, it requires patches sometimes.

Rarely. IMHO, people are way to eager to install unnecessary patches.

>Apparently with large mailinglists the bigtodo patch is needed.

big-concurrency, perhaps. big-todo is usually only necessary on
systems that handle *lots* of messages.

>Or it apparently needs the dns patch.

No. I've never needed it, and if you're using dnscache, it's
completely unnecessary.

>In other words, qmail does not seem be uptodate as new requirements
>come up.  I have a nagging feeling that Dan will not deal with qmail
>anymore, and perhaps he will concentrate on im2000 instead---or leaves
>email alone.

Well, there are no guarantees. Dan could get hit by a truck, as the
saying goes.

>It seems that as far as sysadm books are concerned, qmail is already
>buried.  For example, the new edition of the Nemeth et all book barely
>mentions qmail, and discusses only postfix configuration.  The same
>with the newest ( I forgot the author; endorsed by Raymond) Linux
>security book.

So what? How long did it take Nemeth, et al, to acknowledge Linux?
Are you trying select the most popular MTA or the best MTA for the
job? If the former, stick with Sendmail. If the latter, decide what's
important to you, evaluate the candidates, and select the best fit.

-Dave




At 06:41 AM 3/7/2001, MassimoQuintini wrote:

yeppers - use vipw on most linux systems...or just use pico and edit the 
passwd file - change the shell tp /bin/false

~kurth

>For security reason, can I disable shell in /etc/passwd for qmail users 
>(qmails, qmaill, ...ect,) setting the shell to /bin/false  ?
>
>
>Thanks
>
>Massimo Quintini
>Astronomical Observatory Collurania Teramo (Italy)
>





Grant <[EMAIL PROTECTED]> wrote:
> I changed directory to /var/log/qmail and noticed it has only kept logs
> since the 2nd of March. Is it possible to rotate the logs monthly and stop
> qmail from creating new log files twice per day?

qmail doesn't do any of this.  Your logging program or logrotate scripts 
might do this -- if so, change your configuration.  If you're using 
multilog, read the documentation about the "s" and "n" arguments.

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




Thanks for your reply. I am now more confused. So let's have each question
defined clearly:


1. POP3 script

You said to include it with /var/qmail/rc. Then you said that you used the
same switch statement to start ... What is the SWITCH statement. Please show
me what changes you will make to the following script (this is the exact
same script I plan to use):

        /var/qmail/rc

        #!/bin/sh
        exec env - PATH="/var/qmail/bin:$PATH" \
                qmail-start ./Maildir/

        /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
mail.tibonline.net \
        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
        /var/qmail/bin/splogger pop3d &



2. User Name/Password

In my case I have UserName/Password in the /etc/passwd file. User mail
account (/home/user/Maildir) is setup. It receives mail OK. My problem is
connecting from MS Outlook Express, which gives an error that UserName
and/or Password is not correct.

You said that in your case the problem was resolved by re-starting the qmail
via /var/qmail/bin/qmail-start. Dis you use the following commond:

        #/var/qmail/bin/qmail-start ./Maildir/

If not, what did you do exectly.


Thanks for your help.

Does anybody out in the qmail world can shed some light on this problem?


Kirti




-----Original Message-----
From: Bedel, Pierre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 5:46 AM
To: '[EMAIL PROTECTED]'
Subject: Yet another weird POP3 problem


Hi,

I got qmail to work (thanks Peter) and installed qmail-pop3d with a single
UID according to Paul Gregg's instructions. However I must have made a dumb
mistake along the way (probably in inetd.conf) :

when trying to retrieve mail I get a
-ERR this user has no $HOME/Maildir

On the local machine :
telnet 192.168.1.1 110
<...>
-ERR this user has no $HOME/Maildir

telnet 127.0.0.1 110
<...>
-ERR this user has no $HOME/Maildir

HOWEVER if I run :
/var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd
/var/qmail/bin/qmail-pop3d Maildir
and then
telnet 192.168.1.1 110
the user is authorized and everything works fine !!!

Here is my inetd.conf line :
pop3 stream tcp nowait root /var/qmail/bin/qmail-popup host.domain
/bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir

The user does have a Maildir :
users/assign:
=domain-user:popuser:511:511:/var/qmail/pop/popboxes/domain/user/:::
.

There is a .qmail file and a Maildir directory both owned by the single UID
popuser

Thanks for your help



**********************************************************************
In KPMG's opinion, non-encrypted communication via the Internet is not to be
considered secure.
For that reason, it is KPMG's policy that uninvited use of the Internet
concerning exchange of confidential information with our clients must not
take place.  When exchanging information, the client is held liable.

This e-mail may contain confidential information and is intended solely for
the addressee, and any disclosure of this information is strictly prohibited
and may be unlawful.  If you have received this e-mail by mistake, please
notify us immediately and delete this mail.

**********************************************************************




On Wed, 7 Mar 2001, Kirti S. Bajwa wrote:

> Thanks for your reply. I am now more confused. So let's have each question
> defined clearly:
>
>
> 1. POP3 script
>
> You said to include it with /var/qmail/rc. Then you said that you used the
> same switch statement to start ... What is the SWITCH statement. Please show
> me what changes you will make to the following script (this is the exact
> same script I plan to use):
>
>       /var/qmail/rc
>
>       #!/bin/sh
>       exec env - PATH="/var/qmail/bin:$PATH" \
>               qmail-start ./Maildir/
>

Are you certain you're getting past this point and executing the
lines below?


>       /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.tibonline.net \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &
>

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
         56K Nationwide Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







On Wed, Mar 07, 2001 at 10:49:29AM -0500, Vince Vielhaber wrote:
[snip]
> >     /var/qmail/rc
> >
> >     #!/bin/sh
> >     exec env - PATH="/var/qmail/bin:$PATH" \
> >             qmail-start ./Maildir/
> >
> 
> Are you certain you're getting past this point and executing the
> lines below?

I'm certain he isn't.

Greetz, Peter.




>       /var/qmail/rc
>
>       #!/bin/sh
>       exec env - PATH="/var/qmail/bin:$PATH" \
>               qmail-start ./Maildir/
>

>>Are you certain you're getting past this point and executing the
lines below?<<

I tried it and I don't think so!!!!

Any suggestion??? Remember I am using "qmail-HOWTO" to install and start
qmail. This particular HOWTO does not address the pop3 script.

Kirti



-----Original Message-----
From: Vince Vielhaber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:49 AM
To: Kirti S. Bajwa
Cc: 'Bedel, Pierre'; '[EMAIL PROTECTED]'
Subject: RE: Yet another weird POP3 problem


On Wed, 7 Mar 2001, Kirti S. Bajwa wrote:

> Thanks for your reply. I am now more confused. So let's have each question
> defined clearly:
>
>
> 1. POP3 script
>
> You said to include it with /var/qmail/rc. Then you said that you used the
> same switch statement to start ... What is the SWITCH statement. Please
show
> me what changes you will make to the following script (this is the exact
> same script I plan to use):
>
>       /var/qmail/rc
>
>       #!/bin/sh
>       exec env - PATH="/var/qmail/bin:$PATH" \
>               qmail-start ./Maildir/
>

Are you certain you're getting past this point and executing the
lines below?


>       /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.tibonline.net \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &
>

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
         56K Nationwide Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================






You are right, I am not. Can you suggest where I should place the pop3
script?

Kirti

-----Original Message-----
From: Peter van Dijk [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 11:05 AM
To: '[EMAIL PROTECTED]'
Subject: Re: Yet another weird POP3 problem


On Wed, Mar 07, 2001 at 10:49:29AM -0500, Vince Vielhaber wrote:
[snip]
> >     /var/qmail/rc
> >
> >     #!/bin/sh
> >     exec env - PATH="/var/qmail/bin:$PATH" \
> >             qmail-start ./Maildir/
> >
> 
> Are you certain you're getting past this point and executing the
> lines below?

I'm certain he isn't.

Greetz, Peter.




On Wed, 7 Mar 2001, Kirti S. Bajwa wrote:

> >     /var/qmail/rc
> >
> >     #!/bin/sh
> >     exec env - PATH="/var/qmail/bin:$PATH" \
> >             qmail-start ./Maildir/
> >
>
> >>Are you certain you're getting past this point and executing the
> lines below?<<
>
> I tried it and I don't think so!!!!
>
> Any suggestion??? Remember I am using "qmail-HOWTO" to install and start
> qmail. This particular HOWTO does not address the pop3 script.

Put them in a seperate script, or put them first in /var/qmail/rc or
even in your startup script or ...

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
         56K Nationwide Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================







In my case this approach will not work. I am starting qmail at boot from
/service directory using under svscan. I am not using the script as you have
suggested. In may case qmail is running fine, I can receive messages in
user's directories. 

Thanks.

Kirti




-----Original Message-----
From: Bill Andersen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 11:57 AM
To: Kirti S. Bajwa
Subject: RE: Yet another weird POP3 problem


I just installed Linux and qmail for the first time EVER
this weekend, so don't take this as an "expert" opinion,
however, mine IS working with qmail and pop3d...

I added the "tcpserver" command within the "start" command of
the /etc/init.d/qmail script...

case "$1" in
  start)
    echo -n "Starting qmail: svscan"
    cd /var/qmail/supervise
    env - PATH="$PATH" svscan &
    echo $! > /var/run/svscan.pid
    echo "."
    echo -n "Starting qmail-pop3d: svscan"
# What I added <<<<<
    tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.mydomain.com \
    /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 \
    /var/qmail/bin/splogger pop3d &
# End of what I added <<<<
    echo ".."
    ;;
  stop)


Works fine for me...

Bill

-----Original Message-----
From: Kirti S. Bajwa [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:21 AM
To: 'Vince Vielhaber'; '[EMAIL PROTECTED]'
Subject: RE: Yet another weird POP3 problem


>       /var/qmail/rc
>
>       #!/bin/sh
>       exec env - PATH="/var/qmail/bin:$PATH" \
>               qmail-start ./Maildir/
>

>>Are you certain you're getting past this point and executing the
lines below?<<

I tried it and I don't think so!!!!

Any suggestion??? Remember I am using "qmail-HOWTO" to install and start
qmail. This particular HOWTO does not address the pop3 script.

Kirti



-----Original Message-----
From: Vince Vielhaber [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:49 AM
To: Kirti S. Bajwa
Cc: 'Bedel, Pierre'; '[EMAIL PROTECTED]'
Subject: RE: Yet another weird POP3 problem


On Wed, 7 Mar 2001, Kirti S. Bajwa wrote:

> Thanks for your reply. I am now more confused. So let's have each question
> defined clearly:
>
>
> 1. POP3 script
>
> You said to include it with /var/qmail/rc. Then you said that you used the
> same switch statement to start ... What is the SWITCH statement. Please
show
> me what changes you will make to the following script (this is the exact
> same script I plan to use):
>
>       /var/qmail/rc
>
>       #!/bin/sh
>       exec env - PATH="/var/qmail/bin:$PATH" \
>               qmail-start ./Maildir/
>

Are you certain you're getting past this point and executing the
lines below?


>       /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.tibonline.net \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &
>

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH    email: [EMAIL PROTECTED]    http://www.pop4.net
         56K Nationwide Dialup from $16.00/mo at Pop4 Networking
        Online Campground Directory    http://www.camping-usa.com
       Online Giftshop Superstore    http://www.cloudninegifts.com
==========================================================================






"Kirti S. Bajwa" <[EMAIL PROTECTED]> wrote:

>In my case this approach will not work. I am starting qmail at boot from
>/service directory using under svscan. I am not using the script as you have
>suggested. In may case qmail is running fine, I can receive messages in
>user's directories. 

Look as your /service/qmail-smtpd scripts and copy/modify them as
appropriate for qmail-pop3d.

-Dave




Hello  :)

    I seem to be coming into this conversation a little late, and I don't
know who has had what fixed.  But there seems to be 3 different questions
for this thread.  Please correct any of these questions as I have defined
them below, and perhaps it may be easier for other people to follow this
message.


#########1 POP3 Start-up Script question
#########2 User Name/Password question
#########3 -ERR this user has no $HOME/Maildir



#######1 POP3 Start-up Script question:

Seems as though user needs a reliable way to start the qmail-pop3d service.
This question is going to be very interesting to answer.  Before we can even
step-up to the plate, we need to know a few things like:

Qmail version and distribution method?
If you used qmail+patches.xx.x.src.rpm then say so
Using ucspi-tcp-xx?  If so, what version and installation method, (eg rpm)
Using ucspi-unix-xx?  If so, what version and installation method?
Using daemontools-0.xx.x??  Same question as above
Using supervise-scripts??   Same question

Supervise scripts and Daemontools will make a big difference due to the
alternate ways they allow you to start Qmail.

UCSPI-TCP and UCSPI-UNIX are the recommended ways of starting the qmail
server on its run.  And in fact, using Daemontools will almost require (if I
am not correct, the use of UCSPI-TCP for the start of services.

#######2 User Name/Password question

User is having difficulties with the checkpoppassword or closely related
segment of the qmail installation

The first thing I noticed was this string:

#/var/qmail/bin/qmail-start ./Maildir/

First, I hope the '#' symbol is being used in that line to symbolize a
/bin/sh style prompt, otherwise that line is going to be ignored.

Under no circumstances should you ever have to 'restart' the server simply
to use the POP3 add-on correctly.  If that were the case, I would seriously
feel sorry for free mail providers like hotmail.com  (hrrm.. Anyone have any
ideas on how to force that into a start by hand process for those guys?)

This line, if I am correct should only be found in the 'rc' file.  My
contents are below:

-----------Begin File-------------
#!/bin/sh

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

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/
-----------End File-------------


POP3 should be started on an entirely separate run from the qmail-start
service, and if you plan on using inetd to start it, you should make sure
that the run command stays all on the same line NO LINE BREAKS within the
indetd.conf file.  Even the use of strategically placed '\' I find can cause
certain issues in there.   Thus why I chose to go with the UCSPI set.

If you are using USCPI and supervise-scripts with correctly installed and
running daemontools, then you are probably not having any issues right now.

You might also want to just double-check the password and username as well.
Because you did not give us any added information to your issue aside from
letting us know what is not working, it makes it difficult to sort out.

And Question #3 from Pierre:

#########3  -ERR this user has no $HOME/Maildir

When retrieving mail, user gets an -ERR this user has no $HOME/Maildir

Um, first a few things.  After boot-up or a quick -HUP on inetd, do you ever
see a process called qmail-popup or even perhaps qmail-pop3d running?

What happens when you send mail to the user?  To the account
[EMAIL PROTECTED]?

It would also help out a lot if you were able to send us the true domain
name and perhaps if you could send the output of a qmail-lint:

http://qmail.valueclick.com/qmail/qmail-lint-0.55

Download that server script, set it to a permissions of executable, and run
it.  Send the exact output to the list...

That will give a much better understanding of what is going on.  However,
you can also try and double check the privs on USER/Maildir/ as well as
making sure the user:group settings are correct.

Cheers, 

Sean

Kirti S. Bajwa wrote:

> Thanks for your reply. I am now more confused. So let's have each question
> defined clearly:
> 
> 
> 1. POP3 script
> 
> You said to include it with /var/qmail/rc. Then you said that you used the
> same switch statement to start ... What is the SWITCH statement. Please show
> me what changes you will make to the following script (this is the exact
> same script I plan to use):
> 
> /var/qmail/rc
> 
> #!/bin/sh
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Maildir/
> 
> /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
> mail.tibonline.net \
>       /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>       /var/qmail/bin/splogger pop3d &
> 
> 
> 
> 2. User Name/Password
> 
> In my case I have UserName/Password in the /etc/passwd file. User mail
> account (/home/user/Maildir) is setup. It receives mail OK. My problem is
> connecting from MS Outlook Express, which gives an error that UserName
> and/or Password is not correct.
> 
> You said that in your case the problem was resolved by re-starting the qmail
> via /var/qmail/bin/qmail-start. Dis you use the following commond:
> 
> #/var/qmail/bin/qmail-start ./Maildir/
> 
> If not, what did you do exectly.
> 
> 
> Thanks for your help.
> 
> Does anybody out in the qmail world can shed some light on this problem?
> 
> 
> Kirti
> 
> 
> 
> 
> -----Original Message-----
> From: Bedel, Pierre [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 07, 2001 5:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: Yet another weird POP3 problem
> 
> 
> Hi,
> 
> I got qmail to work (thanks Peter) and installed qmail-pop3d with a single
> UID according to Paul Gregg's instructions. However I must have made a dumb
> mistake along the way (probably in inetd.conf) :
> 
> when trying to retrieve mail I get a
> -ERR this user has no $HOME/Maildir
> 
> On the local machine :
> telnet 192.168.1.1 110
> <...>
> -ERR this user has no $HOME/Maildir
> 
> telnet 127.0.0.1 110
> <...>
> -ERR this user has no $HOME/Maildir
> 
> HOWEVER if I run :
> /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd
> /var/qmail/bin/qmail-pop3d Maildir
> and then
> telnet 192.168.1.1 110
> the user is authorized and everything works fine !!!
> 
> Here is my inetd.conf line :
> pop3 stream tcp nowait root /var/qmail/bin/qmail-popup host.domain
> /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir
> 
> The user does have a Maildir :
> users/assign:
> =domain-user:popuser:511:511:/var/qmail/pop/popboxes/domain/user/:::
> .
> 
> There is a .qmail file and a Maildir directory both owned by the single UID
> popuser
> 
> Thanks for your help
> 
> 
> 
> **********************************************************************
> In KPMG's opinion, non-encrypted communication via the Internet is not to be
> considered secure.
> For that reason, it is KPMG's policy that uninvited use of the Internet
> concerning exchange of confidential information with our clients must not
> take place.  When exchanging information, the client is held liable.
> 
> This e-mail may contain confidential information and is intended solely for
> the addressee, and any disclosure of this information is strictly prohibited
> and may be unlawful.  If you have received this e-mail by mistake, please
> notify us immediately and delete this mail.
> 
> **********************************************************************





#########3  -ERR this user has no $HOME/Maildir

Hi,

> Um, first a few things.  After boot-up or a quick -HUP on inetd, do you
ever
> see a process called qmail-popup or even perhaps qmail-pop3d running?

I only see a qmail-popup process when launching it by hand.
I must rectify a mistake I made in my previous mail: if i run qmail-popup by
hand I don't get the opportunity to telnet into my server, I am instead
instantly asked to authenticate myself. Also, if I run qmail-popup in the
background by adding '&' at the end, and then telnet into it I still get the
error message.

> What happens when you send mail to the user?  To the account
> [EMAIL PROTECTED]?

I am able to send mail to both my pop3 user and the few system accounts I
have.

> It would also help out a lot if you were able to send us the true domain
> name and perhaps if you could send the output of a qmail-lint:

Warning: users/assign checking not implemented.

Forgive any very stupid mistakes, I'm fighting a nasty flu :-(

Pierre


**********************************************************************
In KPMG's opinion, non-encrypted communication via the Internet is not to be 
considered secure.
For that reason, it is KPMG's policy that uninvited use of the Internet concerning 
exchange of confidential information with our clients must not take place.  When 
exchanging information, the client is held liable.

This e-mail may contain confidential information and is intended solely for the 
addressee, and any disclosure of this information is strictly prohibited and may be 
unlawful.  If you have received this e-mail by mistake, please notify us immediately 
and delete this mail.

**********************************************************************




Hi,

Several people asked this on the list before, but I have not found any 
reply. I hope to have better luck... :-)

Every time the mailbox is checked with POP3, syslog reports:

   Mar  7 15:40:48 net1 inetd[26701]: pid 26937: exit status 1

Other than the annoying message, everything seems fine.

This is what I have in inetd.conf:

pop3 stream tcp nowait root /usr/sbin/tcpd /opt/qmail/bin/qmail-popup 
net1.alma.ch /opt/qmail/bin/checkpassword /opt/qmail/bin/qmail-pop3d Maildir

(on 1 line of course)

Adding "qmail-popup" before the hostname doesn't solve it. (If I remember 
correctly, it breaks the service)

Changing "pop3" to "pop-3" breaks it as well, with another error I don't 
understand:

   Mar  7 14:41:36 net1 inetd[418]: pop-3/tcp: bind: Address already in use

The system is a redhat 6.2, in case it matters.

Thank you,

Milivoj





Hello!

I see strange problem with qmail:

it tries to deliver mail to the first MX only. 

I've looked at FAQ, and RTFM on qmail-remote; nothing cleared.

Before I'll dig myself into sources, tell me, is it a bug or a
feature?

Alex.




On Wed, Mar 07, 2001 at 06:31:30PM +0300, Alex Povolotsky wrote:
> Hello!
> 
> I see strange problem with qmail:
> 
> it tries to deliver mail to the first MX only. 
> 
> I've looked at FAQ, and RTFM on qmail-remote; nothing cleared.
> 
> Before I'll dig myself into sources, tell me, is it a bug or a
> feature?

How about you show us an example? I never see this behaviour.

Greetz, Peter.




On Wed, Mar 07, 2001 at 04:37:01PM +0100, Peter van Dijk wrote:
> > it tries to deliver mail to the first MX only. 
> How about you show us an example? I never see this behaviour.
Well - here it is:

> set type=mx
> mail.ru
Server:  localhost.2sun.ru
Address:  127.0.0.1

Non-authoritative answer:
mail.ru preference = 10, mail exchanger = mx.port.ru
mail.ru preference = 10, mail exchanger = mx1.port.ru
mail.ru preference = 10, mail exchanger = mx2.port.ru
mail.ru preference = 10, mail exchanger = mx3.port.ru
mail.ru preference = 10, mail exchanger = mx5.port.ru
mail.ru preference = 10, mail exchanger = mx6.port.ru
mail.ru preference = 10, mail exchanger = mx9.port.ru

Pretty clean, yes?

[DING!] runaway:~/pictures/mpg > telnet mx1.port.ru 25
Trying 194.67.23.32...
Connected to mx1.port.ru.
Escape character is '^]'.
421 mx1.port.ru: Too many concurrent SMTP connections; please try again later.
Connection closed by foreign host.

Understandable?

[19:00] runaway:~/pictures/mpg > telnet mx4.port.ru 25
Trying 194.67.23.39...
Connected to mx4.port.ru.
Escape character is '^]'.
220 mx.mail.ru ESMTP MAIL.RU Wed, 07 Mar 2001 19:03:18 +0300

at the same time, this one works

And now:

[19:00] runaway:~/pictures/mpg > tail /var/log/maillog
Mar  7 18:43:18 runaway qmail: 983979798.644869 delivery 66: deferral: 
Connected_to_194.67.23.42_but_greeting_failed./Remote_host_said:_421_mx6.port.ru:_Too_many_concurrent_SMTP_connections;_please_try_again_later./
Mar  7 18:43:18 runaway qmail: 983979798.645555 status: local 0/12 remote 0/20
Mar  7 18:45:44 runaway qmail: 983979944.672182 starting delivery 67: msg 103195 to 
remote [EMAIL PROTECTED]
Mar  7 18:45:44 runaway qmail: 983979944.673111 status: local 0/12 remote 1/20
Mar  7 18:45:45 runaway qmail: 983979945.362814 delivery 67: deferral: 
Connected_to_194.67.23.42_but_greeting_failed./Remote_host_said:_421_mx6.port.ru:_Too_many_concurrent_SMTP_connections;_please_try_again_later/
Mar  7 18:45:45 runaway qmail: 983979945.363485 status: local 0/12 remote 0/20
Mar  7 18:57:44 runaway qmail: 983980664.425602 starting delivery 68: msg 103192 to 
remote [EMAIL PROTECTED]
Mar  7 18:57:44 runaway qmail: 983980664.428845 status: local 0/12 remote 1/20
Mar  7 18:58:44 runaway qmail: 983980724.523675 delivery 68: deferral: 
Connected_to_194.67.23.42_but_greeting_failed./Remote_host_said:_421_mx6.port.ru:_Too_many_concurrent_SMTP_connections;_please_try_again_later./
Mar  7 18:58:44 runaway qmail: 983980724.524334 status: local 0/12 remote 0/20

I.e. qmail keeps trying one and only one MX!

Am I clear? What else should I post?

Alex.




On Wed, Mar 07, 2001 at 07:02:53PM +0300, Alex Povolotsky wrote:
> On Wed, Mar 07, 2001 at 04:37:01PM +0100, Peter van Dijk wrote:
> > > it tries to deliver mail to the first MX only. 
> > How about you show us an example? I never see this behaviour.

SNIP OK MX records etc.
> And now:
> 
> [19:00] runaway:~/pictures/mpg > tail /var/log/maillog
> Mar  7 18:43:18 runaway qmail: 983979798.644869 delivery 66: deferral: 
>Connected_to_194.67.23.42_but_greeting_failed./Remote_host_said:_421_mx6.port.ru:_Too_many_concurrent_SMTP_connections;_please_try_again_later./
SNIP more logs.

It seems to me that qmail will only try the other MXs if it cannot
_connect_ to the MX it tries -- an opened but failed connection means
that it will continue to try the best-preference MX (similar to multiple
DNS servers in /etc/resolv.conf). Masters of the qmail Source (tm) can
probably confirm this for us. Not sure if this is covered in the RFCs or
not, but is seems reasonable behaviour to me -- if this host is
overloaded, why accept the connection at all? Opening up a new TCP
connection in an attempt to defer mail seems to me to defeat the purpose
of deferring it in the first place. ;) tcpserver, at its connection
limit, does not open a connection at all, neither does inetd.

Try black-holing or firewalling port 25 on the best-preference MX and
see if I'm right -- I'll bet if you can't reach SMTP on that host at
all, mail will go to the next MX and all will be well.


-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
                -- John F. Kennedy




On Wed, Mar 07, 2001 at 08:36:58AM -0800, Greg White wrote:
[snip]
> It seems to me that qmail will only try the other MXs if it cannot
> _connect_ to the MX it tries -- an opened but failed connection means
> that it will continue to try the best-preference MX (similar to multiple
> DNS servers in /etc/resolv.conf). Masters of the qmail Source (tm) can
> probably confirm this for us. Not sure if this is covered in the RFCs or
> not, but is seems reasonable behaviour to me -- if this host is
> overloaded, why accept the connection at all? Opening up a new TCP
> connection in an attempt to defer mail seems to me to defeat the purpose
> of deferring it in the first place. ;) tcpserver, at its connection
> limit, does not open a connection at all, neither does inetd.
> 
> Try black-holing or firewalling port 25 on the best-preference MX and
> see if I'm right -- I'll bet if you can't reach SMTP on that host at
> all, mail will go to the next MX and all will be well.

This is correct, as far as I know.

Greetz, Peter.




On Wed, Mar 07, 2001 at 08:36:58AM -0800, Greg White wrote:
> It seems to me that qmail will only try the other MXs if it cannot
> _connect_ to the MX it tries -- an opened but failed connection means
> that it will continue to try the best-preference MX (similar to multiple
> DNS servers in /etc/resolv.conf). Masters of the qmail Source (tm) can
Well... I see it...

But:

nslookup mx.port.ru
Server:  localhost.2sun.ru
Address:  127.0.0.1

Non-authoritative answer:
Name:    mx.port.ru
Addresses:  194.67.23.42, 194.67.23.46, 194.67.23.32, 194.67.23.33
          194.67.23.37, 194.67.23.40

and qmail ALWAYS connects to .42, didn't you mention? THIS behaviour
is definitely wrong... or am I definitely wrong? ;-)

Alex.




On Wed, Mar 07, 2001 at 08:01:29PM +0300, Alex Povolotsky wrote:
> On Wed, Mar 07, 2001 at 08:36:58AM -0800, Greg White wrote:
> > It seems to me that qmail will only try the other MXs if it cannot
> > _connect_ to the MX it tries -- an opened but failed connection means
> > that it will continue to try the best-preference MX (similar to multiple
> > DNS servers in /etc/resolv.conf). Masters of the qmail Source (tm) can
> Well... I see it...
> 
> But:
> 
> nslookup mx.port.ru
> Server:  localhost.2sun.ru
> Address:  127.0.0.1
> 
> Non-authoritative answer:
> Name:    mx.port.ru
> Addresses:  194.67.23.42, 194.67.23.46, 194.67.23.32, 194.67.23.33
>           194.67.23.37, 194.67.23.40
> 

I may have to take back what I said about the MX records -- I cannot get
any ns for mail.ru to tell me anything but mx.port.ru for the MX record
for mail.ru. It appears they're trying to load-balance based on
round-robin DNS (which strikes me as silly for MX records in most cases)
with a large (for round-robin -- 12H) TTL. That kinda defeats the
purpose of round-robin, no? So mx.port.ru is broken (IMHO) in more than
one way....

If the OP's MX record information was correct, my advice would have
been correct. Given what I see now, for at _least_ twelve hours, qmail
will keep trying the IP address that the local resolver has in its cache
for mx.port.ru, and the only way to get mail to deliver to this domain
would be (and feel free to correct me on this) to flush the cache of the
local resolver and hope that it caches a different A record.

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
                -- John F. Kennedy




On Wed, Mar 07, 2001 at 09:40:30AM -0800, Greg White wrote:
[snip]
> 
> I may have to take back what I said about the MX records -- I cannot get
> any ns for mail.ru to tell me anything but mx.port.ru for the MX record
> for mail.ru. It appears they're trying to load-balance based on
> round-robin DNS (which strikes me as silly for MX records in most cases)
> with a large (for round-robin -- 12H) TTL. That kinda defeats the
> purpose of round-robin, no? So mx.port.ru is broken (IMHO) in more than
> one way....

No, this kind of round-robin DNS isn't TTL-based. It does, however,
rely on sending MTAs to try A records randomly or sequentially.

All our MXes (for about 60.000 domains) used to be

example.com MX 3 inbound.vuurwerk.nl
example.com MX 7 fallback.vuurwerk.nl

where inbound.vuurwerk.nl has 2 A records. The first server mentioned
in the zonefile would get *way* more mail than the other.

We now changed this to
example.com MX 12800 in1.mail.vuurwerk.net
example.com MX 12800 in2.mail.vuurwerk.net
example.com MX 12816 fallback.vuurwerk.nl

the load seems to be spread more evenly now. (altho we got rid of a
couple of looping messages on the overloaded server as well, so we
have no real evidence).

[yes, I know in-bailiwick MXes are better but I'm not adminning the
DNS and it's all scripted. Will fix that :)]

> If the OP's MX record information was correct, my advice would have
> been correct. Given what I see now, for at _least_ twelve hours, qmail
> will keep trying the IP address that the local resolver has in its cache
> for mx.port.ru, and the only way to get mail to deliver to this domain
> would be (and feel free to correct me on this) to flush the cache of the
> local resolver and hope that it caches a different A record.

Uh, no. The local resolver will have all IPs in it's cache. dnscache
however returns them in the same *order*. Most applications only use
the first IP in the list they get back. I don't know what qmail does.

Greetz, Peter.




Salutations to all:

What extra functionality and/or versatility is provided by fastforward
compared to virtualdomains?

If a hosted-domain client wants mail to [EMAIL PROTECTED] and
[EMAIL PROTECTED], this is handled by locals.

But if we want [EMAIL PROTECTED] to land in user1's mailbox and
<anyaddressee>@hosteddomain.com to land in user2's mailbox, what is the
preferred (and cleanest) arrangement?

What about a similar situation with all users on a foriegn system ?

And as I understand it, with fastforward, ALL domains are locals and the
.qmail-default and aliases files handle the re-arrangement, correct?

Thanks in advance,
Flash
aka Bob Gieger
Flash Systems, Inc.
504.482.4854





Hi all
is there a way to notify me that i've received an e-mail for the account [EMAIL PROTECTED] into my other account [EMAIL PROTECTED] , without forwarding a copy of the e-mail?
 
Thank You
Nicola




On Wed, 07 Mar 2001 17:19:39 PST, "info" wrote:

> is there a way to notify me that i've received an e-mail for the account 
>[EMAIL PROTECTED] into my other account [EMAIL PROTECTED] , without forwarding a copy of the 
>e-mail?
> 

Something like:

| sed -n -f $HOME/headers.sed | qmail-inject -f$SENDER [EMAIL PROTECTED]; exit 0

where headers.sed is:

/^From:/p
/^Subject:/p

Seems to work pretty good for me.  I'm sure there are cleaner ways than 
this because this will also match text within the body of the message.

Andy





On Wed, 07 Mar 2001 17:19:39 PST, "info" wrote:

> is there a way to notify me that i've received an e-mail for the account 
>[EMAIL PROTECTED] into my other account [EMAIL PROTECTED] , without forwarding a copy of the 
>e-mail?
> 

Oops, forgot one thing...  Don't forget to put the normal delivery 
instruction for that user after that command. i.e.

./Maildir/

Andy





Put the following in your .forward (or equiv ) in email1

\medi, "| egrep -e '^From:|Subject:' | Mail -s YouGotMail
[EMAIL PROTECTED]"

Which basically says,

keep a copy for medi, then only send the From and Subject to a new email
address.

info wrote:

> Hi allis there a way to notify me that i've received an e-mail for the
> account [EMAIL PROTECTED] into my other account [EMAIL PROTECTED] , without
> forwarding a copy of the e-mail? Thank YouNicola

--
=======================================================================
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================







Ok I am still having problems with the same emails getting delivered multiple times. And am baffled by what to do.  The higher ups are pushing REAL hard to switch to Microsoft Exchange so I need at least some ideas on what to try next.
 
History,
   Certain email messages, sent from outside our local network, with the Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local ISPs email server, get delivered multiple times.  It is not consistant, one time a message sent to certain users will only get delivered once, the next time a message sent to the same users will start looping, get delivered multiple times.
 
Information
   Far servers logs show a lost connection while sending end of data.
   local sever shows no errors in maillog or messages.  With recordio turned on the conversations look the same for correctly delivered messages as incorrectly delivered messages.
 
ANY help or suggestions or.......... would be greatly appreciated.
 
Thanks
Kep


  ants.com scout

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991

e: [EMAIL PROTECTED]


 





i am having the *exact* same problem.  it only happens with mails
originating outside our domain, and tehre's no rhyme or reason to it.  
our logs do show 

seems to happen more often with hotmail and yahoo.  it's also happend with
this list!  the only constant i can see between the three is that they all
(i think) use qmail for outgoing mail.  

i can't comfirm that this has happend at all when the mail server is
anything but qmail.  how could this be the common link?

dan

On Wed, 7 Mar 2001, Kep Brown wrote:

> Ok I am still having problems with the same emails getting delivered
> multiple times. And am baffled by what to do.  The higher ups are pushing
> REAL hard to switch to Microsoft Exchange so I need at least some ideas on
> what to try next.
> 
> History,
>    Certain email messages, sent from outside our local network, with the
> Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local
> ISPs email server, get delivered multiple times.  It is not consistant, one
> time a message sent to certain users will only get delivered once, the next
> time a message sent to the same users will start looping, get delivered
> multiple times.
> 
> Information
>    Far servers logs show a lost connection while sending end of data.
>    local sever shows no errors in maillog or messages.  With recordio turned
> on the conversations look the same for correctly delivered messages as
> incorrectly delivered messages.
> 
> ANY help or suggestions or.......... would be greatly appreciated.
> 
> Thanks
> Kep
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
>      Kep Brown
>       Systems, Network and Database Administrator
>       phone: (805) 560-3781
>       fax: (805) 560-3991
>       e: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 





On Wed, Mar 07, 2001 at 03:03:20PM -0500, Daniel Kelley wrote:
> 
> i am having the *exact* same problem.  it only happens with mails
> originating outside our domain, and tehre's no rhyme or reason to it.  
> our logs do show 
> 
> seems to happen more often with hotmail and yahoo.  it's also happend with
> this list!  the only constant i can see between the three is that they all
> (i think) use qmail for outgoing mail.  
> 
> i can't comfirm that this has happend at all when the mail server is
> anything but qmail.  how could this be the common link?

Are you seeing this as SMTP level?  We get duplicated messages frequently
but it's always (as far as I can tell) a pop issue.  It is always solved by
deleting an improperly formatted multipart mime message, almost always
from outlook.  The logs show somthing like "unable to lock mailbox; connection
lost" or something similar.  That's with cucipop.

> 
> dan
> 
> On Wed, 7 Mar 2001, Kep Brown wrote:
> 
> > Ok I am still having problems with the same emails getting delivered
> > multiple times. And am baffled by what to do.  The higher ups are pushing
> > REAL hard to switch to Microsoft Exchange so I need at least some ideas on
> > what to try next.
> > 
> > History,
> >    Certain email messages, sent from outside our local network, with the
> > Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local
> > ISPs email server, get delivered multiple times.  It is not consistant, one
> > time a message sent to certain users will only get delivered once, the next
> > time a message sent to the same users will start looping, get delivered
> > multiple times.
> > 
> > Information
> >    Far servers logs show a lost connection while sending end of data.
> >    local sever shows no errors in maillog or messages.  With recordio turned
> > on the conversations look the same for correctly delivered messages as
> > incorrectly delivered messages.
> > 
> > ANY help or suggestions or.......... would be greatly appreciated.
> > 
> > Thanks
> > Kep
> > 
> > 
> > ----------------------------------------------------------------------------
> > ----
> > 
> >      Kep Brown
> >       Systems, Network and Database Administrator
> >       phone: (805) 560-3781
> >       fax: (805) 560-3991
> >       e: [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > 
> > 

-- 

Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux





aha!  we use cucipop as well.  there's only one 'error locking' message in
the logs, but there are plenty of these:

cucipop[20914]: Invalid command capa - -

i've tried to figure out what this means, but i have no clue.  could this
be indicative of what you're talking about?

if outlook clients are sending messages that cause this, what steps can be
taken to prevent it?

thanks-

dan


On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:

> On Wed, Mar 07, 2001 at 03:03:20PM -0500, Daniel Kelley wrote:
> > 
> > i am having the *exact* same problem.  it only happens with mails
> > originating outside our domain, and tehre's no rhyme or reason to it.  
> > our logs do show 
> > 
> > seems to happen more often with hotmail and yahoo.  it's also happend with
> > this list!  the only constant i can see between the three is that they all
> > (i think) use qmail for outgoing mail.  
> > 
> > i can't comfirm that this has happend at all when the mail server is
> > anything but qmail.  how could this be the common link?
> 
> Are you seeing this as SMTP level?  We get duplicated messages frequently
> but it's always (as far as I can tell) a pop issue.  It is always solved by
> deleting an improperly formatted multipart mime message, almost always
> from outlook.  The logs show somthing like "unable to lock mailbox; connection
> lost" or something similar.  That's with cucipop.
> 
> > 
> > dan
> > 
> > On Wed, 7 Mar 2001, Kep Brown wrote:
> > 
> > > Ok I am still having problems with the same emails getting delivered
> > > multiple times. And am baffled by what to do.  The higher ups are pushing
> > > REAL hard to switch to Microsoft Exchange so I need at least some ideas on
> > > what to try next.
> > > 
> > > History,
> > >    Certain email messages, sent from outside our local network, with the
> > > Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local
> > > ISPs email server, get delivered multiple times.  It is not consistant, one
> > > time a message sent to certain users will only get delivered once, the next
> > > time a message sent to the same users will start looping, get delivered
> > > multiple times.
> > > 
> > > Information
> > >    Far servers logs show a lost connection while sending end of data.
> > >    local sever shows no errors in maillog or messages.  With recordio turned
> > > on the conversations look the same for correctly delivered messages as
> > > incorrectly delivered messages.
> > > 
> > > ANY help or suggestions or.......... would be greatly appreciated.
> > > 
> > > Thanks
> > > Kep
> > > 
> > > 
> > > ----------------------------------------------------------------------------
> > > ----
> > > 
> > >      Kep Brown
> > >       Systems, Network and Database Administrator
> > >       phone: (805) 560-3781
> > >       fax: (805) 560-3991
> > >       e: [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> 
> -- 
> 
> Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
> MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> 1.207.657.5078                                       http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
> 





On Wed, Mar 07, 2001 at 04:00:29PM -0500, Daniel Kelley wrote:
> 
> aha!  we use cucipop as well.  there's only one 'error locking' message in
> the logs, but there are plenty of these:
> 
> cucipop[20914]: Invalid command capa - -
> 
> i've tried to figure out what this means, but i have no clue.  could this
> be indicative of what you're talking about?
> 
> if outlook clients are sending messages that cause this, what steps can be
> taken to prevent it?
> 
> thanks-
> 
> dan

It looks like this:
Mar  5 18:02:29 gray cucipop[15401]: Error locking hwware's mailbox 
Mar  5 18:02:29 gray cucipop[15401]: lost hwware 208.148.249.48 240, 16 (752895), 0 (0)

Note that this is a client issue, not qmail.  You need to find out
what "getting delivered multiple times" **really** means.  Get the headers.
Anytime anyone uses passive tense to describe what is going on - red flags.

> On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:
> 
> > On Wed, Mar 07, 2001 at 03:03:20PM -0500, Daniel Kelley wrote:
> > > 
> > > i am having the *exact* same problem.  it only happens with mails
> > > originating outside our domain, and tehre's no rhyme or reason to it.  
> > > our logs do show 
> > > 
> > > seems to happen more often with hotmail and yahoo.  it's also happend with
> > > this list!  the only constant i can see between the three is that they all
> > > (i think) use qmail for outgoing mail.  
> > > 
> > > i can't comfirm that this has happend at all when the mail server is
> > > anything but qmail.  how could this be the common link?
> > 
> > Are you seeing this as SMTP level?  We get duplicated messages frequently
> > but it's always (as far as I can tell) a pop issue.  It is always solved by
> > deleting an improperly formatted multipart mime message, almost always
> > from outlook.  The logs show somthing like "unable to lock mailbox; connection
> > lost" or something similar.  That's with cucipop.
> > 
> > > 
> > > dan
> > > 
> > > On Wed, 7 Mar 2001, Kep Brown wrote:
> > > 
> > > > Ok I am still having problems with the same emails getting delivered
> > > > multiple times. And am baffled by what to do.  The higher ups are pushing
> > > > REAL hard to switch to Microsoft Exchange so I need at least some ideas on
> > > > what to try next.
> > > > 
> > > > History,
> > > >    Certain email messages, sent from outside our local network, with the
> > > > Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local
> > > > ISPs email server, get delivered multiple times.  It is not consistant, one
> > > > time a message sent to certain users will only get delivered once, the next
> > > > time a message sent to the same users will start looping, get delivered
> > > > multiple times.
> > > > 
> > > > Information
> > > >    Far servers logs show a lost connection while sending end of data.
> > > >    local sever shows no errors in maillog or messages.  With recordio turned
> > > > on the conversations look the same for correctly delivered messages as
> > > > incorrectly delivered messages.
> > > > 
> > > > ANY help or suggestions or.......... would be greatly appreciated.
> > > > 
> > > > Thanks
> > > > Kep
> > > > 
> > > > 
> > > > ----------------------------------------------------------------------------
> > > > ----
> > > > 
> > > >      Kep Brown
> > > >       Systems, Network and Database Administrator
> > > >       phone: (805) 560-3781
> > > >       fax: (805) 560-3991
> > > >       e: [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > 
> > -- 
> > 
> > Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
> > MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> > 1.207.657.5078                                       http://www.maine.com/
> > Content management, electronic commerce, internet integration, Debian linux
> > 

-- 

Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux




For my site it is not a pop issue.

The progress for a message is as follows. (taking mail from our co-lo as an
example but it happens from multiple external systems)

Process on App Server attempts to send an email in house using a mail server
at our co-lo.

External Email Server
Co-lo mailserver attempts to deliver the message in house recieves an looses
connection while sending end of data.
Co-lo mailserver then waits 30-90 minutes and attempts to deliver the
message again, recieves the sam error repeats process for 2 days until it
gives up.

On the internal side.
Email server accepts connection and delivers the message normally, 30-90
minutes later accepts the same message and redelivers it normally.  Meaning
no errors in Maillog or Messages.

Kep

  _____

  ants.com <http://www.ants.com>  scout <http://www.ants.com/scout>

Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>




Are you seeing this as SMTP level?  We get duplicated messages frequently
but it's always (as far as I can tell) a pop issue.  It is always solved by
deleting an improperly formatted multipart mime message, almost always
from outlook.  The logs show somthing like "unable to lock mailbox;
connection
lost" or something similar.  That's with cucipop.

--

Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux







On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:

> On Wed, Mar 07, 2001 at 04:00:29PM -0500, Daniel Kelley wrote:
> > 
> > aha!  we use cucipop as well.  there's only one 'error locking' message in
> > the logs, but there are plenty of these:
> > 
> > cucipop[20914]: Invalid command capa - -
> > 
> > i've tried to figure out what this means, but i have no clue.  could this
> > be indicative of what you're talking about?
> > 
> > if outlook clients are sending messages that cause this, what steps can be
> > taken to prevent it?
> > 
> > thanks-
> > 
> > dan
> 
> It looks like this:
> Mar  5 18:02:29 gray cucipop[15401]: Error locking hwware's mailbox 
> Mar  5 18:02:29 gray cucipop[15401]: lost hwware 208.148.249.48 240, 16 (752895), 0 
>(0)
> 
> Note that this is a client issue, not qmail.  You need to find out
> what "getting delivered multiple times" **really** means.  Get the headers.
> Anytime anyone uses passive tense to describe what is going on - red flags.

ok, i'm now pretty sure that this is a qmail/SMTP issue:

in examining the mboxes of those affected, they each have many copies of
the duplicate emails, so it's not the case that cucipop is simply
making it appear as if they have received the message 100 times;  there
are actually 100 copies of the mail in the box.

the date sent is identical on every message, but the message is actually
being received many times by qmail on our end.  

here are two examples of the exact same message being delivered twice
(from this mailing list).  i know that qmail tries to verify delivery, so
some situation must exist where my qmail installation is not providing
that confirmation to the remote mailserver.  

here are the messages:

message 1:

>From [EMAIL PROTECTED] Wed Mar 07 22:04:21
2001
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 20442 invoked from network); 7 Mar 2001 22:04:20 -0000
Received: from muncher.math.uic.edu (131.193.178.181)
  by mx1.ny.otec.com with SMTP; 7 Mar 2001 22:04:20 -0000
Received: (qmail 23799 invoked by uid 1002); 1 Mar 2001 19:13:31 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 24628 invoked from network); 1 Mar 2001 19:13:31 -0000
Received: from mat.tgd.net (HELO man.tgd.net) (64.81.67.116)
  by muncher.math.uic.edu with SMTP; 1 Mar 2001 19:13:31 -0000
Received: (qmail 82115 invoked by uid 1000); 1 Mar 2001 19:12:41 -0000
Date: Thu, 1 Mar 2001 11:12:41 -0800
From: Sean Chittenden <[EMAIL PROTECTED]>
To: "Rob Hines Jr." <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Scalable Mail Solution
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="0DcgAuOrObJpcAxl"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
 

message 2:

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 11264 invoked from network); 2 Mar 2001 01:12:55 -0000
Received: from muncher.math.uic.edu (131.193.178.181)
  by mx1.ny.otec.com with SMTP; 2 Mar 2001 01:12:55 -0000
Received: (qmail 23799 invoked by uid 1002); 1 Mar 2001 19:13:31 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 24628 invoked from network); 1 Mar 2001 19:13:31 -0000
Received: from mat.tgd.net (HELO man.tgd.net) (64.81.67.116)
  by muncher.math.uic.edu with SMTP; 1 Mar 2001 19:13:31 -0000
Received: (qmail 82115 invoked by uid 1000); 1 Mar 2001 19:12:41 -0000
Date: Thu, 1 Mar 2001 11:12:41 -0800
From: Sean Chittenden <[EMAIL PROTECTED]>
To: "Rob Hines Jr." <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Scalable Mail Solution
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="0DcgAuOrObJpcAxl"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i



> 
> > On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:
> > 
> > > On Wed, Mar 07, 2001 at 03:03:20PM -0500, Daniel Kelley wrote:
> > > > 
> > > > i am having the *exact* same problem.  it only happens with mails
> > > > originating outside our domain, and tehre's no rhyme or reason to it.  
> > > > our logs do show 
> > > > 
> > > > seems to happen more often with hotmail and yahoo.  it's also happend with
> > > > this list!  the only constant i can see between the three is that they all
> > > > (i think) use qmail for outgoing mail.  
> > > > 
> > > > i can't comfirm that this has happend at all when the mail server is
> > > > anything but qmail.  how could this be the common link?
> > > 
> > > Are you seeing this as SMTP level?  We get duplicated messages frequently
> > > but it's always (as far as I can tell) a pop issue.  It is always solved by
> > > deleting an improperly formatted multipart mime message, almost always
> > > from outlook.  The logs show somthing like "unable to lock mailbox; connection
> > > lost" or something similar.  That's with cucipop.
> > > 
> > > > 
> > > > dan
> > > > 
> > > > On Wed, 7 Mar 2001, Kep Brown wrote:
> > > > 
> > > > > Ok I am still having problems with the same emails getting delivered
> > > > > multiple times. And am baffled by what to do.  The higher ups are pushing
> > > > > REAL hard to switch to Microsoft Exchange so I need at least some ideas on
> > > > > what to try next.
> > > > > 
> > > > > History,
> > > > >    Certain email messages, sent from outside our local network, with the
> > > > > Reply to header set to our home domain, ie. [EMAIL PROTECTED] sent using local
> > > > > ISPs email server, get delivered multiple times.  It is not consistant, one
> > > > > time a message sent to certain users will only get delivered once, the next
> > > > > time a message sent to the same users will start looping, get delivered
> > > > > multiple times.
> > > > > 
> > > > > Information
> > > > >    Far servers logs show a lost connection while sending end of data.
> > > > >    local sever shows no errors in maillog or messages.  With recordio turned
> > > > > on the conversations look the same for correctly delivered messages as
> > > > > incorrectly delivered messages.
> > > > > 
> > > > > ANY help or suggestions or.......... would be greatly appreciated.
> > > > > 
> > > > > Thanks
> > > > > Kep
> > > > > 
> > > > > 
> > > > > ----------------------------------------------------------------------------
> > > > > ----
> > > > > 
> > > > >      Kep Brown
> > > > >       Systems, Network and Database Administrator
> > > > >       phone: (805) 560-3781
> > > > >       fax: (805) 560-3991
> > > > >       e: [EMAIL PROTECTED]
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > 
> > > -- 
> > > 
> > > Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
> > > MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> > > 1.207.657.5078                                       http://www.maine.com/
> > > Content management, electronic commerce, internet integration, Debian linux
> > > 
> 
> -- 
> 
> Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
> MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
> 1.207.657.5078                                       http://www.maine.com/
> Content management, electronic commerce, internet integration, Debian linux
> 








Hi,

We are moving away from Microsoft Exchange Server to Linux/Qmail/IMAP
and
was wondering if there is any migration tool-sets available. Or
ideas/roadmaps.

Any tips?

--
=======================================================================
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================







Well, I'm in the process of going the same route. So far, Outlook can
support importing information out of MAPI based systems into IMAP/LDAP
systems. I am planning on replacing Exchange 4.0 with TradeServer from
bynari. So far it looks to be a good fit!

HTH

.mark


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/IT/O d- s+ a C++++$ L++++$> P+++$> L++ E--- W-- N+ o K- w-- !O
M- !V PS+ PE+ Y+ PGP t+ !5 X R- tv b+++ DI+ D- G e++ h--- r+++ z++++
------END GEEK CODE BLOCK------




>----------
>From:  Medi Montaseri[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, March 07, 2001 3:53 AM
>To:    [EMAIL PROTECTED]
>Subject:       Mail migration from MS Exchange PST
>
>Hi,
>
>We are moving away from Microsoft Exchange Server to Linux/Qmail/IMAP
>and
>was wondering if there is any migration tool-sets available. Or
>ideas/roadmaps.
>
>Any tips?
>
>--
>=======================================================================
>Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
>Prepass Inc, IT/Operations, Software Eng.
>=======================================================================
>
>
>
>
>





Assuming you mean Exchange "EXPORTING", then what format do you
ask it to export.

Also, where does the LDAP come in the picture...

[EMAIL PROTECTED] wrote:

Well, I'm in the process of going the same route. So far, Outlook can
support importing information out of MAPI based systems into IMAP/LDAP
systems. I am planning on replacing Exchange 4.0 with TradeServer from
bynari. So far it looks to be a good fit!

HTH

.mark

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/IT/O d- s+ a C++++$ L++++$> P+++$> L++ E--- W-- N+ o K- w-- !O
M- !V PS+ PE+ Y+ PGP t+ !5 X R- tv b+++ DI+ D- G e++ h--- r+++ z++++
------END GEEK CODE BLOCK------

>----------
>From:  Medi Montaseri[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, March 07, 2001 3:53 AM
>To:    [EMAIL PROTECTED]
>Subject:       Mail migration from MS Exchange PST
>
>Hi,
>
>We are moving away from Microsoft Exchange Server to Linux/Qmail/IMAP
>and
>was wondering if there is any migration tool-sets available. Or
>ideas/roadmaps.
>
>Any tips?
>
>--
>=======================================================================
>Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
>Prepass Inc, IT/Operations, Software Eng.
>=======================================================================
>
>
>
>
>

-- 
=======================================================================
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=======================================================================
 



I haven't played with this a great deal, so you're going to have to bite
the bullet and give it a test yourself. From what I've seen there is a
way to export messages out of a MAPI based system and put them into an
LDAP/IMAP system. In other words you'll probably end up with two email
systems - one to export from and the other to import into....  It all
depends on what platfrom you are moving to.

HTH

.mark

>----------
>From:  Medi Montaseri[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, March 07, 2001 4:38 AM
>To:    Mark Schoonover
>Cc:    [EMAIL PROTECTED]
>Subject:       Re: Mail migration from MS Exchange PST
>
><<File: ATT00184.html>>
>Assuming you mean Exchange "EXPORTING", then what format do you
>ask it to export.
>
>Also, where does the LDAP come in the picture...
>
>[EMAIL PROTECTED] wrote:
>
>> Well, I'm in the process of going the same route. So far, Outlook can
>> support importing information out of MAPI based systems into IMAP/LDAP
>> systems. I am planning on replacing Exchange 4.0 with TradeServer from
>> bynari. So far it looks to be a good fit!
>>
>> HTH
>>
>> .mark
>>
>> -----BEGIN GEEK CODE BLOCK-----
>> Version: 3.1
>> GCS/E/IT/O d- s+ a C++++$ L++++$> P+++$> L++ E--- W-- N+ o K- w-- !O
>> M- !V PS+ PE+ Y+ PGP t+ !5 X R- tv b+++ DI+ D- G e++ h--- r+++ z++++
>> ------END GEEK CODE BLOCK------
>>
>> >----------
>> >From:  Medi Montaseri[SMTP:[EMAIL PROTECTED]]
>> >Sent:  Wednesday, March 07, 2001 3:53 AM
>> >To:    [EMAIL PROTECTED]
>> >Subject:       Mail migration from MS Exchange PST
>> >
>> >Hi,
>> >
>> >We are moving away from Microsoft Exchange Server to Linux/Qmail/IMAP
>> >and
>> >was wondering if there is any migration tool-sets available. Or
>> >ideas/roadmaps.
>> >
>> >Any tips?
>> >
>> >--
>> >=======================================================================
>> >Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
>> >Prepass Inc, IT/Operations, Software Eng.
>> >=======================================================================
>> >
>> >
>> >
>> >
>> >
>
>--
>=======================================================================
>Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
>Prepass Inc, IT/Operations, Software Eng.
>=======================================================================
>
>
>
>





Hello,

When i want sent a mail, i got an error message from recipient:
The recipient runs qmail 1.03 with qmail-scanner-queue.pl (0.96)

(sendmail: stat=Deferred: 451 qq crashed(#4.3.0)) or
(qmail: deferral:
192.168.1.1_failed_after_I_sent_the_message./Remote_host_said:_451_qq_crashed_(#4.3.0)

What's the problem?

thanks and best regards

Gustav

-- 
Sent through GMX FreeMail - http://www.gmx.net





Hi,

today a virus warning was launched concerning E-Mails including a
NAKEDWIFE.EXE attachment.
The virus is virulent under MS Outlook and deletes COM, EXE, DLL, and INI
files. See announcement of the major Anti-Virus vendors.

I made a shortcut filter for those attachements.
Feel free to apply it.

http://www.fehcom.de/qmail/filter.html

cheers.
eh.
+-----------------------------------------------------------------------+
|  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
| ff          hh                                                        |
| ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
| fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
| ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
| ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
| ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
+-----------------------------------------------------------------------+






        Awesome!   Thanks so much!!!

    Jesse


----- Original Message ----- 
From: "Erwin Hoffmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 3:11 PM
Subject: NAKEDWIFE.EXE Virus - Filter available


: Hi,
: 
: today a virus warning was launched concerning E-Mails including a
: NAKEDWIFE.EXE attachment.
: The virus is virulent under MS Outlook and deletes COM, EXE, DLL, and INI
: files. See announcement of the major Anti-Virus vendors.
: 
: I made a shortcut filter for those attachements.
: Feel free to apply it.
: 
: http://www.fehcom.de/qmail/filter.html
: 
: cheers.
: eh.
: +-----------------------------------------------------------------------+
: |  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
: | ff          hh                                                        |
: | ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
: | fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
: | ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
: | ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
: | ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
: +-----------------------------------------------------------------------+
: 






Wednesday March 07 2001 21:11, Erwin Hoffmann wrote to All:

 EH> I made a shortcut filter for those attachements.
 EH> Feel free to apply it.

 EH> http://www.fehcom.de/qmail/filter.html

Neat! I installed them as instructed, but 'checkattach' gives 'file not 
found'. The other two seem to be ok.

 KS

   KARICO Business Services
   Toronto, ON Canada
   http://www.ksbase.com

... Beauty is skin deep; ugly goes right to the bone.






I have reciently inherited a system with qmail and I am not totally
familiar with every aspect message delivery.  I would like to stop the
delivery of email to a single user. Is there a way to do this?  I
thought I could put /dev/null in the users .forward but all messages get
delivered to postmaster saying that the message was undeliverable.  I
want to do this becuase the user doesn't use the account for email (just
for login and computations) and their mail box is filling up and taking
up to much space. I don't have the option of putting qmail on another
machine. I'll take a polite RTFM if you can show me explictly where.

Thanks,
Andy

_________________________________________________________________________

     [EMAIL PROTECTED]      http://www.acs.psu.edu/users/andy

 Here:                             There:                    Everywhere:
 217 Applied Science Bldg    306 W. Nittany Ave       1806 Green Tree Ln
 State College, PA 16804  State College, PA  16801 Duncanville, TX 75137
 814-863-4115                    814-861-5491               972-780-0920 
_________________________________________________________________________

On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:

> Date: Wed, 07 Mar 2001 19:51:06 +0000
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: ezmlm response
> 
> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
> 
> Acknowledgment: I have added the address
> 
>    [EMAIL PROTECTED]
> 
> to this mailing list.
> 
> 
> See http://pobox.com/~djb/qmail.html for more information about qmail.
> 
> Please read http://pobox.com/~djb/qmail/faq.html before sending your
> question to the qmail mailing list.
> 
> 
> --- Here are the ezmlm command addresses.
> 
> I can handle administrative requests automatically.
> Just send an empty note to any of these addresses:
> 
>    <[EMAIL PROTECTED]>:
>    Receive future messages sent to the mailing list.
> 
>    <[EMAIL PROTECTED]>:
>    Stop receiving messages.
> 
>    <[EMAIL PROTECTED]>:
>    Retrieve a copy of message 12345 from the archive.
> 
> DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
> If you do, I won't see them, and subscribers will yell at you.
> 
> To specify [EMAIL PROTECTED] as your subscription address, send mail
> to <[EMAIL PROTECTED]>.
> I'll send a confirmation message to that address; when you receive that
> message, simply reply to it to complete your subscription.
> 
> 
> --- Below this line is a copy of the request I received.
> 
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 7909 invoked from network); 7 Mar 2001 19:51:06 -0000
> Received: from f04s07.cac.psu.edu (HELO f04n07.cac.psu.edu) (128.118.141.35)
>   by muncher.math.uic.edu with SMTP; 7 Mar 2001 19:51:06 -0000
> Received: from sabine.acs.psu.edu (sabine.acs.psu.edu [146.186.24.233])
>       by f04n07.cac.psu.edu (8.9.3/8.9.3) with ESMTP id OAA256314
>       for 
><[EMAIL PROTECTED]>; Wed, 
>7 Mar 2001 14:50:42 -0500
> Date: Wed, 7 Mar 2001 14:50:40 -0500 (EST)
> From: Andy Doller <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: ezmlm response
> In-Reply-To: <[EMAIL PROTECTED]>
> Message-ID: <[EMAIL PROTECTED]>
> MIME-Version: 1.0
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> 
> On Wed, 7 Mar 2001 [EMAIL PROTECTED] wrote:
> 
> > Date: Wed, 07 Mar 2001 19:28:51 +0000
> > From: [EMAIL PROTECTED]
> > Reply-To:
>     [EMAIL PROTECTED]
>     o
> > To: [EMAIL PROTECTED]
> > Subject: ezmlm response
> > 
> > Hi! This is the ezmlm program. I'm managing the
> > [EMAIL PROTECTED] mailing list.
> > 
> > To confirm that you would like
> > 
> >    [EMAIL PROTECTED]
> > 
> > added to this mailing list, please send an empty reply to this address:
> > 
> >    [EMAIL PROTECTED]
> > 
> > Your mailer should have a Reply feature that uses this address automatically.
> > 
> > This confirmation serves two purposes. First, it verifies that I am able
> > to get mail through to you. Second, it protects you in case someone
> > forges a subscription request in your name.
> > 
> > 
> > See http://pobox.com/~djb/qmail.html for more information about qmail.
> > 
> > Please read http://pobox.com/~djb/qmail/faq.html before sending your
> > question to the qmail mailing list.
> > 
> > 
> > --- Here are the ezmlm command addresses.
> > 
> > I can handle administrative requests automatically.
> > Just send an empty note to any of these addresses:
> > 
> >    <[EMAIL PROTECTED]>:
> >    Receive future messages sent to the mailing list.
> > 
> >    <[EMAIL PROTECTED]>:
> >    Stop receiving messages.
> > 
> >    <[EMAIL PROTECTED]>:
> >    Retrieve a copy of message 12345 from the archive.
> > 
> > DO NOT SEND ADMINISTRATIVE REQUESTS TO THE MAILING LIST!
> > If you do, I won't see them, and subscribers will yell at you.
> > 
> > To specify [EMAIL PROTECTED] as your subscription address, send mail
> > to <[EMAIL PROTECTED]>.
> > I'll send a confirmation message to that address; when you receive that
> > message, simply reply to it to complete your subscription.
> > 
> > 
> > --- Below this line is a copy of the request I received.
> > 
> > Return-Path: <[EMAIL PROTECTED]>
> > Received: (qmail 15961 invoked from network); 7 Mar 2001 19:28:50 -0000
> > Received: from f04s01.cac.psu.edu (HELO f04n01.cac.psu.edu) (128.118.141.31)
> >   by muncher.math.uic.edu with SMTP; 7 Mar 2001 19:28:50 -0000
> > Received: from sabine.acs.psu.edu (sabine.acs.psu.edu [146.186.24.233])
> >     by f04n01.cac.psu.edu (8.9.3/8.9.3) with ESMTP id OAA51526
> >     for <[EMAIL PROTECTED]>; Wed, 7 Mar 2001 14:28:26 -0500
> > Date: Wed, 7 Mar 2001 14:28:23 -0500 (EST)
> > From: Andy Doller <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Message-ID: <[EMAIL PROTECTED]>
> > MIME-Version: 1.0
> > Content-Type: TEXT/PLAIN; charset=US-ASCII
> > 
> > 
> > 
> 
> 





Andy $ wrote:

> I would like to stop the
> delivery of email to a single user. Is there a way to do this?
> I'll take a polite RTFM if you can show me explictly where.

man dot-qmail

man bouncesaying

Perhaps a .qmail file for this user that reads:

   | bouncesaying 'This address does not accept email.'

---Kris Kelley





Andy Doller <[EMAIL PROTECTED]> wrote:
> 
> I have reciently inherited a system with qmail and I am not totally
> familiar with every aspect message delivery.  I would like to stop the
> delivery of email to a single user. Is there a way to do this?  I
> thought I could put /dev/null in the users .forward but all messages get
> delivered to postmaster saying that the message was undeliverable.  I
> want to do this becuase the user doesn't use the account for email (just
> for login and computations) and their mail box is filling up and taking
> up to much space. I don't have the option of putting qmail on another
> machine. I'll take a polite RTFM if you can show me explictly where.

`man dot-qmail` and `man qmail-command`.  However, since you were polite,
you could throw away all mail for the user by doing
    `echo "#" >~user/.qmail`
or bounce all mail for that user with
    `echo "|bouncesaying \"No such user.\"" >~user/.qmail`

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 Wed, Mar 07, 2001 at 03:28:13PM -0500, Andy Doller wrote:
> 
> I have reciently inherited a system with qmail and I am not totally
> familiar with every aspect message delivery.  I would like to stop the
> delivery of email to a single user. Is there a way to do this?  I
> thought I could put /dev/null in the users .forward but all messages get
> delivered to postmaster saying that the message was undeliverable.  I
> want to do this becuase the user doesn't use the account for email (just
> for login and computations) and their mail box is filling up and taking
> up to much space. I don't have the option of putting qmail on another
> machine. I'll take a polite RTFM if you can show me explictly where.
> 
> Thanks,
> Andy
> 

Wow. Quite a lot of extras on the end of that one. ;)

If, by 'stop delivery', you mean that mail will be accepted and silently
dropped in the bitbucket, try 'man dot-qmail'. See specifically the
section on exit codes.

If, by 'stop delivery', you mean that mail will be accepted and queued
up for the queue lifetime, again see 'man dot-qmail' -- the section on
safely editing .qmail files.

HTH,

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
                -- John F. Kennedy




For the last two days I have done nothing else but to setup "pop3" to run
under qmail. I installed qmail by following "qmail-HOWTO"
(http://www.flunder.net/qmail/qmail-howto.html) procedure. "svscan" is
starting qmail from "/service" directory. I have two directories
"/var/qmail/supervise/qmail-send" & "/var/qmail/supervise/qmail-smtpd" which
has "run" scripts to start each of these service (as outlined in
"qmail-HOWTO").

My question is "where" to add the script to start pop3. For the last two
days I have tried everything under the sun and nothing seems to work. Two of
the following procedures I tried to adopt, should have worked but they did
not. PLEASE LET ME KNOW WHY NEITHER OF THEM IS WORKING???? 

First Try:
=======

I added a new directory as follows:

        /var/qmail/supervise/qmail-send                 (existing directory)
        /var/qmail/supervise/qmail-smtpd                        (existing
directory)
        /var/qmail/supervise/qmail-pop3                 (new directory)

In the new directory I added a "run" script with the following to start
pop3:

        #!/bin/sh
        exec /usr/local/bin/tcpserver -v -R 0 pop3
/var/qmail/bin/qmail-popup mail.tibonline.net \
          /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
          /var/qmail/bin/splogger pop3d &

RESULT:
pop3 does not start ( I use "ps auwx | grep qmail" to check whether it
started or not). All other scripts which are in directories qmail-send &
qmail-smtpd are starting!!!


Second Try:
=========
        
I added the script to start pop3 into the "run" script which is in
"/var/qmail/supervise/qmail-smtpd". This "run" script looks like the
following:

        #!/bin/sh
        QMAILDUID=`id -u qmaild`
        NOFILESGID=`id -g qmaild`
        exec /usr/local/bin/softlimit -m 2000000 \
         /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
         -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
        exec /usr/local/bin/tcpserver -v -R 0 pop3
/var/qmail/bin/qmail-popup mail.tibonline.net \
            /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
            /var/qmail/bin/splogger pop3d &

RESULT:
pop3 does not start.



What am I doing wrong? What can I do to remedy this problem?

Kirti





Kirti




On Wed, Mar 07, 2001 at 06:18:33PM -0500, Kirti S. Bajwa wrote:
> 
> RESULT:
> pop3 does not start.
> 
> What am I doing wrong? What can I do to remedy this problem?

What do the logs say?

--Adam

-- 
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes, 
http://flounder.net/publickey.html   |  technology's just a bunch of wires 
GPG: 17A4 11F7 5E7E C2E7 08AA        |  connected to a bunch of other wires."
     38B0 05D0 8BF7 2C6D 110A        |  Joe Rogan, _NewsRadio_
  3:43pm  up 16 days, 23:29,  9 users,  load average: 0.21, 0.22, 0.10




What's the rights on the pop3d run file?? The qmail-pop3d directory
under supervise?? In my run file, I end it with splogger pop3d 2>&1...
What happens when you try running the run file from the command line??

.mark

>----------
>From:  Kirti S. Bajwa[SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, March 07, 2001 3:18 PM
>To:    '[EMAIL PROTECTED]'
>Subject:       POP3 is driving me crazy!!!
>
>For the last two days I have done nothing else but to setup "pop3" to run
>under qmail. I installed qmail by following "qmail-HOWTO"
>(http://www.flunder.net/qmail/qmail-howto.html) procedure. "svscan" is
>starting qmail from "/service" directory. I have two directories
>"/var/qmail/supervise/qmail-send" & "/var/qmail/supervise/qmail-smtpd" which
>has "run" scripts to start each of these service (as outlined in
>"qmail-HOWTO").
>
>My question is "where" to add the script to start pop3. For the last two
>days I have tried everything under the sun and nothing seems to work. Two of
>the following procedures I tried to adopt, should have worked but they did
>not. PLEASE LET ME KNOW WHY NEITHER OF THEM IS WORKING???? 
>
>First Try:
>=======
>
>I added a new directory as follows:
>
>       /var/qmail/supervise/qmail-send                 (existing directory)
>       /var/qmail/supervise/qmail-smtpd                        (existing
>directory)
>       /var/qmail/supervise/qmail-pop3                 (new directory)
>
>In the new directory I added a "run" script with the following to start
>pop3:
>
>       #!/bin/sh
>       exec /usr/local/bin/tcpserver -v -R 0 pop3
>/var/qmail/bin/qmail-popup mail.tibonline.net \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &
>
>RESULT:
>pop3 does not start ( I use "ps auwx | grep qmail" to check whether it
>started or not). All other scripts which are in directories qmail-send &
>qmail-smtpd are starting!!!
>
>
>Second Try:
>=========
>       
>I added the script to start pop3 into the "run" script which is in
>"/var/qmail/supervise/qmail-smtpd". This "run" script looks like the
>following:
>
>       #!/bin/sh
>       QMAILDUID=`id -u qmaild`
>       NOFILESGID=`id -g qmaild`
>       exec /usr/local/bin/softlimit -m 2000000 \
>        /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>        -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
>       exec /usr/local/bin/tcpserver -v -R 0 pop3
>/var/qmail/bin/qmail-popup mail.tibonline.net \
>           /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>           /var/qmail/bin/splogger pop3d &
>
>RESULT:
>pop3 does not start.
>
>
>
>What am I doing wrong? What can I do to remedy this problem?
>
>Kirti
>
>
>
>
>
>Kirti
>
>
>





On Wed, Mar 07, 2001 at 06:18:33PM -0500, Kirti S. Bajwa wrote:
> For the last two days I have done nothing else but to setup "pop3" to run
> under qmail. I installed qmail by following "qmail-HOWTO"
> (http://www.flunder.net/qmail/qmail-howto.html) procedure. "svscan" is
> starting qmail from "/service" directory. I have two directories
> "/var/qmail/supervise/qmail-send" & "/var/qmail/supervise/qmail-smtpd" which
> has "run" scripts to start each of these service (as outlined in
> "qmail-HOWTO").
> 
> My question is "where" to add the script to start pop3. For the last two

Your first try, below, looks pretty good. But... did you remember to

  ln -s /var/qmail/supervise/qmail-pop3 /service/

You have to make a link in the /service directory for svscan to notice
it.

[snip...]

> First Try:
> =======
> 
> I added a new directory as follows:
> 
>       /var/qmail/supervise/qmail-send                 (existing directory)
>       /var/qmail/supervise/qmail-smtpd                        (existing
> directory)
>       /var/qmail/supervise/qmail-pop3                 (new directory)
> 
> In the new directory I added a "run" script with the following to start
> pop3:
> 
>       #!/bin/sh
>       exec /usr/local/bin/tcpserver -v -R 0 pop3
> /var/qmail/bin/qmail-popup mail.tibonline.net \
>         /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>         /var/qmail/bin/splogger pop3d &


Tim




Okay, I admit it, I'm stumped. I have logs in /var/log/qmail/send that
are filling up with this message:

@400000003aa683a12a69c3e4 tcpserver: fatal: unable to bind: address
already used
@400000003aa683a23441f7c4 tcpserver: fatal: unable to bind: address
already used
@400000003aa683a23444c29c tcpserver: fatal: unable to bind: address
already used
@400000003aa683a301e223bc tcpserver: fatal: unable to bind: address
already used
@400000003aa683a301eab324 tcpserver: fatal: unable to bind: address
already used
@400000003aa683a40d0b31fc tcpserver: fatal: unable to bind: address
already used
@400000003aa683a40d2d96ac tcpserver: fatal: unable to bind: address
already used

Here's my run script under /var/qmail/supervise/qmail-smtpd/run which is
the only place I can find that is using tcpserver:

[2:03pm] rhines@mail:/etc> more /var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 4000000 \
    /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/var/qmail/bin/qmail-smtpd /bin/
checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1 &
exec /usr/local/bin/softlimit -m 4000000 \
    /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" 
\
        -u "$QMAILDUID" -g "$NOFILESGID" 0 ghost-smtp
/var/qmail/bin/qmail-smtpd
 /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1 &

[2:03pm] rhines@mail:/etc> 

My /etc/tcp.smtp is pretty simple since I'm using smtp_auth:

[2:03pm] rhines@mail:/etc> more /etc/tcp.smtp 
127.:allow,RELAYCLIENT=""
[2:04pm] rhines@mail:/etc>

I annot find where I'm generating those dern fatal errors. To the best
of my knowledge, /var/qmail/supervise/qmail-smtpd/run is the only place
I'm using tcpserver. I would appreciate any advice.

-- 
Rob Hines Jr.




        You have inetd already binding the port (25).  Check your
/etc/inetd.conf file (don't forget to hup the server) or to see if
sendmail is running.  You can check to see if there's something
already binding on port 25 by using 'netstat' or 'netstat -na'.  -sc

On Wed, Mar 07, 2001 at 01:56:46PM -0500, Rob Hines Jr. wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> Date: Wed, 07 Mar 2001 13:56:46 -0500
> From: "Rob Hines Jr." <[EMAIL PROTECTED]>
> Organization: JobOptions.com Network
> X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
> X-Accept-Language: en,pdf
> To: Qmail Mail List <[EMAIL PROTECTED]>
> Subject: qmail smtp logs filling up
> 
> Okay, I admit it, I'm stumped. I have logs in /var/log/qmail/send that
> are filling up with this message:
> 
> @400000003aa683a12a69c3e4 tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a23441f7c4 tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a23444c29c tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a301e223bc tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a301eab324 tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a40d0b31fc tcpserver: fatal: unable to bind: address
> already used
> @400000003aa683a40d2d96ac tcpserver: fatal: unable to bind: address
> already used
> 
> Here's my run script under /var/qmail/supervise/qmail-smtpd/run which is
> the only place I can find that is using tcpserver:
> 
> [2:03pm] rhines@mail:/etc> more /var/qmail/supervise/qmail-smtpd/run
> #!/bin/sh
> QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
> NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 4000000 \
>     /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
> "$MAXSMTPD" \
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
> /var/qmail/bin/qmail-smtpd /bin/
> checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1 &
> exec /usr/local/bin/softlimit -m 4000000 \
>     /usr/local/bin/tcpserver -v -H -R -l 0 -x /etc/tcp.smtp.cdb -c
> "$MAXSMTPD" 
> \
>         -u "$QMAILDUID" -g "$NOFILESGID" 0 ghost-smtp
> /var/qmail/bin/qmail-smtpd
>  /bin/checkpassword /bin/true /bin/cmd5checkpw /bin/true 2>&1 &
> 
> [2:03pm] rhines@mail:/etc> 
> 
> My /etc/tcp.smtp is pretty simple since I'm using smtp_auth:
> 
> [2:03pm] rhines@mail:/etc> more /etc/tcp.smtp 
> 127.:allow,RELAYCLIENT=""
> [2:04pm] rhines@mail:/etc>
> 
> I annot find where I'm generating those dern fatal errors. To the best
> of my knowledge, /var/qmail/supervise/qmail-smtpd/run is the only place
> I'm using tcpserver. I would appreciate any advice.
> 
> -- 
> Rob Hines Jr.

-- 
Sean Chittenden                [EMAIL PROTECTED]

PGP signature





I think I'm having a problem (unless I just don't understand how this 
works) ...

I sent a few outgoing emails, and watched /var/log/mail/info as they went out.

Three of them got errors from the remote SMTP server about invalid users, 
or a user was over the quota.

I never received a bounce email for the three that failed.

In qmail/queue/bounce, there is a file containing three entries (one for 
each failed message), so it appears that qmail knows these SHOULD be bounced.

Everything else in qmail is working for me - I can send/receive email with 
no problem.  I don't think it's a problem where qmail it trying to deliver 
the bounce messages - there's nothing in the logs like that at all.

Could someone explain how the bounce process works, what this file in 
qmail/queue/bounce is, and what I may be missing here?

Thanks,

Robert





I did it, .. I blew everything away, and went step by step carefuly with Life with qmail!!
but when I had to test the telnet localhost 25
it connects, and gave me this:
Trying 127.0.0.1...
Connected to firegate.hahlabs.com
Escape character is '^]'.
 
and that is it..
if I typed anything it goes nowhere!!
 
Can someone help!!
 
thanks.
 




hi,
I am just wondering , if I am using splogger then the file to look at is :/var/log/syslog
now if I am using multilog, then which file to look at?
thanks. is it /var/log/mail.log?
 




I recently installed RH 6.2 LINUX on two machines, I will call them:
ns1.mydomain.com & ns2.mydomain.com.

The first server (ns1.mydomain.com, is purely used for DNS inquiries. I am
using "djbdns". DNS is working fine. On the second machine
(ns2.mydomain.com), I have installed Apache, SSL, mySQL, PHP, qmail, etc.
The second server also support dial-in into my domain.

I am having problem connecting to qmail. Each time I try to make a
connection from MS Outlook, I get a response that the connection is refused
because of an invalid userid or password. I know that both user id and
password are correct because I can dial-in and log into the system. I am
using /Maildir/ & I believe the user directories (/home/myname/..) are setup
correctly. As a matter of fact I can send mail to the user and it is sitting
in its directory.

Can some one tell me what do I need to check or do to make it work? 

Also do I need to install "qmail" on both computers? 

Thanks.






Kirti 




On Wed, Mar 07, 2001 at 09:13:24PM -0500, Kirti S. Bajwa wrote:

[snip]

> I am having problem connecting to qmail. Each time I try to make a
> connection from MS Outlook, I get a response that the connection is refused
> because of an invalid userid or password.

How did you install qmail? Did you follow Life With Qmail? Did you patch
it? And when you say that you have trouble connecting, do you mean when
you try to *send* mail or when you try to *retrieve* mail?

> Also do I need to install "qmail" on both computers? 

No.

> Thanks.
> 
> Kirti 

Tim




Hi,

If I have a mail server behind a firewall, I know I can use the SMART_HOST
feature in Sendmail to send all non-local outgoing mail to a predetermined
relay somewhere beyond the firewall who will take care of sending mail out
onto the Internet.

Now in qmail, how do I achieve the same behaviour? Do I need to use the
'smtproute' file, or is there a more 'standard' way of doing it?

Thanks,
-Martin





On Wed, Mar 07, 2001 at 11:07:12PM -0500, Martin Gignac wrote:
> If I have a mail server behind a firewall, I know I can use the SMART_HOST
> feature in Sendmail to send all non-local outgoing mail to a predetermined
> relay somewhere beyond the firewall who will take care of sending mail out
> onto the Internet.
> 
> Now in qmail, how do I achieve the same behaviour? Do I need to use the
> 'smtproute' file, or is there a more 'standard' way of doing it?

echo :your.smart.server.name > /var/qmail/control/smtproutes

That's it! All non-local mail will be forwarded to your.smart.server.name. You
don't even have to restart anything.

Chris

PGP signature





Is there anyone familiar with the above error?
I got it from the log file after I attempt to use
#echo to: me | /var/qmail/bin/qmail-inject
 
!!
your help is appreciated!
 
thanks.




On Wed, Mar 07, 2001 at 09:24:10PM -0800, Hatem wrote:
> Is there anyone familiar with the above error?
> I got it from the log file after I attempt to use
> #echo to: me | /var/qmail/bin/qmail-inject

Search any search engine or qmail archive with the exact text of your
subject line. This is a FAQ.
> 
> !!
> your help is appreciated!
> 
> thanks.

HTH,

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
                -- John F. Kennedy




hi.

the problem i am experiencing is as follows:-

if our mail server is receiving mail from our isp via etrn, local client
connections to the server are slow (connected,............waiting,
waiting,waiting, then it finally connects - the send receive is really
fast); when the server is not connected to our isp it's really, really fast.
i have included the -H -R options in tcpserver. i have found that if i
remove any entries from dns (the dns entries in there were the addesses of
our isp's dns servers) this problem no longer persists, but when issuing the
etrn command we cannot specify the server name we must use the ip address?
our router does nat? any ideas?


richard.





I executed the following command (as a root):
echo to: hah0569 | /var/qmail/bin/qmail-inject
and got this error from qmail-start...
Sorry, _message_has_wrong_owner
 
 




hello

i have a domain hosted named test123.com (for eg ) and i need an email
address [EMAIL PROTECTED] and redirect to [EMAIL PROTECTED] automatically . 
What should i do ?? i already have my MX entries in DNS. When i try to send
email to [EMAIL PROTECTED] i get the following MAILER-DAEMON

Sorry. Although I'm listed as a best-preference MX or A for that host, 
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)

I have added &[EMAIL PROTECTED] in .qmail-test123-abc under alias.

Please help


Thank you


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01





Let see your ~control/locals file.

Paul

pratibha wrote:

> hello
>
> i have a domain hosted named test123.com (for eg ) and i need an email
> address [EMAIL PROTECTED] and redirect to [EMAIL PROTECTED] automatically .
> What should i do ?? i already have my MX entries in DNS. When i try to send
> email to [EMAIL PROTECTED] i get the following MAILER-DAEMON
>
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
>
> I have added &[EMAIL PROTECTED] in .qmail-test123-abc under alias.
>
> Please help
>
> Thank you
>
>   ------------------------------------------------------------------------
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01



Reply via email to