qmail Digest 12 Mar 2001 11:00:01 -0000 Issue 1301

Topics (messages 58829 through 58895):

Re: Administrivia: Mailing List Software]
        58829 by: Andre Oppermann
        58853 by: Scott Gifford

Re: what link for /bin/mail !?!?
        58830 by: Eric Stanley
        58843 by: Scott D. Yelich

Re: question with qmail-remote
        58831 by: Markus Stumpf
        58842 by: Peter van Dijk

qmail installation problem
        58832 by: Mohammed Omar
        58836 by: Noah Sematimba
        58837 by: Thomas Beer
        58883 by: Lazyman Lay (HGC - Systems Engineer, ITMM)
        58884 by: Lazyman Lay (HGC - Systems Engineer, ITMM)

Re: Redirect email!
        58833 by: Kirti S. Bajwa
        58834 by: Kirti S. Bajwa
        58838 by: Noah Sematimba
        58839 by: Kirti S. Bajwa
        58859 by: Todd A. Jacobs
        58860 by: Kirti S. Bajwa
        58861 by: Timothy Legant
        58862 by: Todd A. Jacobs
        58871 by: Kurth Bemis
        58874 by: Kirti S. Bajwa
        58876 by: Kirti S. Bajwa
        58877 by: Kirti S. Bajwa

2 questions
        58835 by: Alberto Dainotti
        58854 by: Andy Bradford
        58886 by: David Dyer-Bennet
        58887 by: Andy Bradford

Re: qmail-pop3d bug
        58840 by: Peter van Dijk
        58856 by: Mark Delany
        58857 by: Mark Delany
        58864 by: Peter van Dijk
        58865 by: Peter van Dijk
        58866 by: John R. Levine
        58867 by: Peter van Dijk
        58879 by: Mark Delany
        58891 by: Vincent Schonau

Re: file descriptors
        58841 by: Peter van Dijk

Hiding internal server info
        58844 by: Subba Rao
        58848 by: Peter van Dijk

recordio / logging problem
        58845 by: Daniel Kelley
        58858 by: Michael T. Babcock

Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [again]
        58846 by: Thomas Beer
        58847 by: Thomas Beer

/var/qmail/bin/sendmail
        58849 by: Alex Le Fevre

/var/qmail/bin/sendmail (addendum)
        58850 by: Alex Le Fevre

Re: wrong threat [is:Re: Sorry,_no_mailbox_here_by_that_name._(#5.1.1) [again]]
        58851 by: Thomas Beer

I thank anyone in advance who can help me...
        58852 by: Avery Brooks
        58855 by: Greg White

Does anyone have a copy of NAKEDWIFE.EXE???  ~  Re: NAKEDWIFE.EXE Virus - Filter 
available
        58863 by: Jesse Sunday

Qmail-Popup Problem
        58868 by: Keary Suska
        58869 by: Peter van Dijk
        58870 by: Paul J. Schinder

qmail-remote_auth_smtp.patch
        58872 by: Henning Brauer

451 timeout
        58873 by: Daniel Kelley

How to use qmailanalog?
        58875 by: ling
        58895 by: Todd A. Jacobs

About splogger's fac? 2? 3?
        58878 by: ling
        58880 by: Todd A. Jacobs
        58882 by: Adrian Ho
        58889 by: Todd A. Jacobs

where do I add the patch?
        58881 by: Ross Cooney

Re: concurrency
        58885 by: David Dyer-Bennet
        58888 by: Todd A. Jacobs

Re: Quota Exceeded and Procmail
        58890 by: Todd A. Jacobs

Starting qmail from /etc/init.d/...
        58892 by: Eric Pretorious
        58894 by: Todd A. Jacobs

Re: Please help!!!
        58893 by: Sean Coyle

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]


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


Mark Delany wrote:
> 
> On Sat, Mar 10, 2001 at 11:49:08PM +0100, Andre Oppermann wrote:
> > Hey guys,
> >
> > lets make this poor man happy and let us all tell him about how well
> > qmail/ezmlm works!
> >
> > This guy is Elias Levy (aleph1) and he runs the Bugtraq mailing list.
> >
> > Please send an email directly to him if you want to suggest qmail/ezmlm
> > for running a large mailing list with a secure piece of software. And
> > he also is sick of handling bounces...
> 
> Whilst bounce processing is indeed a sale point for ezmlm, much of
> what Elias wants is above and beyond ezmlm. For example categorization
> and subscription by category. Sure you can (painfully) make a sublist
> for each category, as long as they don't invent and rename categories
> on the fly.

If he'd run off ezmlm-idx with a database backend I think this should
be no problem?

> Elias also talks about an emulation layer for LISTSERV. I've not heard
> of anyone providing that for ezmlm.

I don't know if there is any mailing list software out there having
an emulation layer for LISTSERV... Worst case he has to write one.

> This is not to under-rate ezmlm, as a base toolkit it would perform
> admirably, but the BUGTRAQ dood wants a lot of value-adds that are not
> part of ezmlm.

"There is no such as a free lunch" maybe? Some effort is required.

-- 
Andre




Andre Oppermann <[EMAIL PROTECTED]> writes:

> Mark Delany wrote:
[ ... ]
> > Elias also talks about an emulation layer for LISTSERV. I've not heard
> > of anyone providing that for ezmlm.
> 
> I don't know if there is any mailing list software out there having
> an emulation layer for LISTSERV... Worst case he has to write one.

the ezmlm-idx FAQ implies that this is possible and straightforward:

    FAQ>     15.2 Setting up ezmlm to respond to host-centric
    FAQ> commands.

    FAQ> The ezdomo.tar.gz file included in the ezmlm-idx>=0.31
    FAQ> distribution contains the basic files needed to set up ezmlm
    FAQ> to respond to host-centric command syntax. See the following
    FAQ> section for the format and utilization of such syntax for the
    FAQ> major non-ezmlm mailing list managers available today. This
    FAQ> section will set up majordomo@host as the example. The setup
    FAQ> for other command addresses, such as listproc or listserv are
    FAQ> the same, except the contents of DIR/inlocal and DIR/outlocal
    FAQ> need to be changed appropriately.

    FAQ> The ezmlm-idx>=0.31 distribution also contains a script,
    FAQ> ezmlm-glmake(1) that will set up the global interface for
    FAQ> you. It works in a manner similar to ezmlm-make(1) and will
    FAQ> in ezmlm-idx-0.32 be replaced with a special ezmlm-make(1)
    FAQ> config file. See the description below for details on what
    FAQ> ezmlm-glmake(1) does, or if you prefer to set this up
    FAQ> manually.

    FAQ> [ detailed instructions omitted ]

    FAQ> 15.3 Commands of other mailinglist managers recognized by
    FAQ> ezmlm.

    FAQ> Listproc/Listserv.

    FAQ> When set up as above, substituting ``listproc'' or
    FAQ> ``listserv'' for ``majordomo'' as appropriate, ezmlm will
    FAQ> recognize and respond to the following commands placed in the
    FAQ> body of the e-mail with the syntax below. Note: ezmlm will
    FAQ> only respond to one command per message.

    FAQ> syntax: command listname [subscribe@host]

    FAQ> Supported commands
    
    FAQ>     subscribe, sub, unsubscribe, unsub, list, help, review.
    FAQ> Additional supported commands
    
    FAQ>     All ezmlm commands, such as ``thread'', ``index'' and
    FAQ> ``get'' as well as the list owner's commands.

    FAQ> This interfaced makes information available via command
    FAQ> messages to the appropriate mailing list. Thus, ``list'' and
    FAQ> ``review'' will send a subscriber list only to remote
    FAQ> administrators and only if specifically allowed by the list
    FAQ> owner.

------ScottG.




I run qmail on Slackware 7.1 as well.  On my system /bin/mail,
/bin/Mail and /bin/mailx are all symbolic links to /usr/bin/mail.  The
difference here may be that I never install the sendmail packages.  At
any rate I always just leave the above 4 links/files alone since
/usr/bin/mail is a usable mailer.
 
HTH,
 
Eric

On Sun, Mar 11, 2001 at 11:36:32AM +0100, Alberto Dainotti wrote:
> I'm sorry if this is a stupid question, but
> I've read the documentation and I'm missing something..
> In "REMOVE.binmail":
> ---------------------------------------------------------------------
> 3. If the binmail binary was /bin/mail, make sure that ``mail'' still
>    invokes a usable mailer. Under SVR4 you may want to link mail to
>    mailx.
> ---------------------------------------------------------------------
> 
> My question is: to what do I have to link /bin/mail ???
> /bin/mailx and /bin/mail were links to /bin/Mail, which I chmoded to 0
> following the instructions in "REMOVE.binmail"
> (My system is a slackware 7.1.)
> 
> I tried to link /bin/mail to /var/qmail/bin/qmail-local .. seemed
> resonable to me .. and that's the result:
> 
> ---------------------------------------------------------------
> 03/11/01 11:24 los:qmail-1.03#  ( echo 'Alberto Dainotti'; cat `cat SYSDEPS` ) | 
>mail [EMAIL PROTECTED]
> qmail-local: usage: qmail-local [ -nN ] user homedir local dash ext domain sender 
>aliasempty
> ---------------------------------------------------------------
> 
> Thank you,
>                                               Alberto.
> 
> 




On Sun, 11 Mar 2001, Alberto Dainotti wrote:
> I'm sorry if this is a stupid question, but
> I've read the documentation and I'm missing something..
> In "REMOVE.binmail":
> ---------------------------------------------------------------------
> 3. If the binmail binary was /bin/mail, make sure that ``mail'' still
>    invokes a usable mailer. Under SVR4 you may want to link mail to
>    mailx.
> ---------------------------------------------------------------------
> My question is: to what do I have to link /bin/mail ???
> /bin/mailx and /bin/mail were links to /bin/Mail, which I chmoded to 0
> following the instructions in "REMOVE.binmail"
> (My system is a slackware 7.1.)
> 
> I tried to link /bin/mail to /var/qmail/bin/qmail-local .. seemed
> resonable to me .. and that's the result:

This is a difficult one.  For instance, under Solaris, if you 
link to mailx, then files in /etc such as .login and profile
will generate errors at login because Solaris mailx
doesn't understand the -E option.

Scott






On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote:
> I recently installed qmail on my server with virtual domain support, and I found 
>this snapshot while checking the processes.
> 
> 1141 ?        S      0:00 qmail-remote newsletter.join4free.com  
>[EMAIL PROTECTED]
> 
> This domain was never allowed to relay on my qmail configuration. And it seems that 
>this domain is trying to email his mailing list through my qmtp server.

Why do you think it got relayed?
I'd say it's a bounce resulting from a SPAM to a non existing user.
The line indicated that the messsage will be delivered to
[EMAIL PROTECTED]  and the host it will be delivered to is
newsletter.join4free.com

> How would I block off this domain through qmail configuration?

Add
    @newsletter.join4free.com
to
    /var/qmail/control/badmailfrom

        \Maex

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




On Sun, Mar 11, 2001 at 02:43:50PM +0100, Markus Stumpf wrote:
> On Fri, Mar 09, 2001 at 10:41:36PM -0800, Rick Yang wrote:
> > I recently installed qmail on my server with virtual domain support, and I found 
>this snapshot while checking the processes.
> > 
> > 1141 ?        S      0:00 qmail-remote newsletter.join4free.com  
>[EMAIL PROTECTED]
> > 
> > This domain was never allowed to relay on my qmail configuration. And it seems 
>that this domain is trying to email his mailing list through my qmtp server.
> 
> Why do you think it got relayed?
> I'd say it's a bounce resulting from a SPAM to a non existing user.
> The line indicated that the messsage will be delivered to
> [EMAIL PROTECTED]  and the host it will be delivered to is
> newsletter.join4free.com
> 
> > How would I block off this domain through qmail configuration?
> 
> Add
>     @newsletter.join4free.com
> to
>     /var/qmail/control/badmailfrom

Or unsubscribe the user. join4free are double opt-in spammers that let
you unsubscribe honestly and easily.

Greetz, Peter.




dear all
i have a problem in installing qmail
 
after i gunzip and untar the file , then i added the required users and groups ,  the i wrote  make setup check
i found this problem :
 
 
[root@linux qmail-1.03]# make setup check
./compile qmail-local.c
make: ./compile: Command not found
make: *** [qmail-local.o] Error 127
[root@linux qmail-1.03]#
 
 
 
so  what i have to do  , i use redhat linux 6.2
 
                                                                                                    thanks




if you're in the directory in which you unpacked qmail, check the
permissions on the compile file. If it is not excutable it will be
reported as not found. I usually unpack my files witha -p option in order
to preserve permissions. i.e tar xvzpf file.tar.gz

On Sun, 11 Mar 2001, Mohammed Omar wrote:

> dear all
> i have a problem in installing qmail
> 
> after i gunzip and untar the file , then i added the required users and groups ,  
>the i wrote  make setup check
> i found this problem :
> 
>  
> [root@linux qmail-1.03]# make setup check
> ./compile qmail-local.c
> make: ./compile: Command not found
> make: *** [qmail-local.o] Error 127
> [root@linux qmail-1.03]#
> 
> 
> 
> so  what i have to do  , i use redhat linux 6.2 
> 
>                                                                                      
>               thanks
> 





Hi,

[root@linux qmail-1.03]# make setup check
./compile qmail-local.c
make: ./compile: Command not found
make: *** [qmail-local.o] Error 127
[root@linux qmail-1.03]#

make cd /usr/src

so  what i have to do  , i use redhat linux 6.2


thanks





check for the command /bin/sh is valid or not
 
Regards,
Lazyman
-----Original Message-----
From: Mohammed Omar [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 9:50 PM
To: [EMAIL PROTECTED]
Subject: qmail installation problem

dear all
i have a problem in installing qmail
 
after i gunzip and untar the file , then i added the required users and groups ,  the i wrote  make setup check
i found this problem :
 
 
[root@linux qmail-1.03]# make setup check
./compile qmail-local.c
make: ./compile: Command not found
make: *** [qmail-local.o] Error 127
[root@linux qmail-1.03]#
 
 
 
so  what i have to do  , i use redhat linux 6.2
 
                                                                                                    thanks




check for the command /bin/sh is valid or not

Regards,
Lazyman

-----Original Message-----
From: Thomas Beer [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 10:30 PM
To: Mohammed Omar
Cc: [EMAIL PROTECTED]
Subject: Re: qmail installation problem


Hi,

[root@linux qmail-1.03]# make setup check
./compile qmail-local.c
make: ./compile: Command not found
make: *** [qmail-local.o] Error 127
[root@linux qmail-1.03]#

make cd /usr/src

so  what i have to do  , i use redhat linux 6.2


thanks




I have read Life with qmail about 20 times.

"put the account on the second machine in your .qmail file..."

Which account. Are you talking about my login account or what? Where
(section #) is it explained on LWQ? I must have missed it. Appreciate your
help.

Kirti



-----Original Message-----
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 10:08 PM
To: Kirti S. Bajwa; '[EMAIL PROTECTED]'
Subject: Re: Redirect email!


At 12:10 PM 3/10/2001, Kirti S. Bajwa wrote:

put the account on the second machine in your .qmail file...
did you read life with qmail yet?  i don't think that you did.....as you'd 
know because its in there :-)

~kurth

>I have two LINUX servers. One server ns1.mydomain.com is a DNS server
>(djbdns). The second server ns2.mydomain.com handles email (qmail), web,
>etc.
>
>When I am logging onto ns1.mydomain.com, I get a message on the screen that
>"You have new mail", even though I have no email application installed on
>it. I think the message is a "system" generated message that I have "news"
>account missing on the server or something similar.
>
>How can I setup qmail so that any system message generated on the first
>server ns1.mydomain.com are automatically directed to my mail server, which
>is mail.mydomain.com (located on ns2.mydomain.com)?
>
>Is this question for the dns mailing list??
>
>Kirti




Todd: 

Thanks for your reply. 

"Put your desired address into your .qmail file."

When you refer to "desired address", is it the UID (which is "root") or
something else? I have setup .qmail files and would appreciate which folder
this particular .qmail file you are referring to?

Kirti



-----Original Message-----
From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 11:00 PM
To: Kirti S. Bajwa
Cc: '[EMAIL PROTECTED]'
Subject: Re: Redirect email!


On Sat, 10 Mar 2001, Kirti S. Bajwa wrote:

> How can I setup qmail so that any system message generated on the
> first server ns1.mydomain.com are automatically directed to my mail
> server, which is mail.mydomain.com (located on ns2.mydomain.com)?

Put your desired address into your .qmail file.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





I think what you need to do is this:
Set up your second server to accept mail for the domain ns1.mydomain.com
by editing /var/qmail/control/locals and adding ns1.mydomain.com to that
file on the second server. Then on ns1.mydomain.com edit
/var/qmail/control/locals and remove ns1.mydomain.com from there so that
mail for that domain will now be regarded as non local mail. Then set up
an mx record in your dns pointing ns1.mydomain.com to the second server
say
ns1.mydomain.com. IN MX 10 ns2.mydomain.com. or alternatively you can
attempt direct smtp delivery by editing /var/qmail/control/smtproutes
All these instructions are in /var/qmail/doc/FAQ
regards,
Sematimba Noah.
East African Help Desk.
 On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> Todd: 
> 
> Thanks for your reply. 
> 
> "Put your desired address into your .qmail file."
> 
> When you refer to "desired address", is it the UID (which is "root") or
> something else? I have setup .qmail files and would appreciate which folder
> this particular .qmail file you are referring to?
> 
> Kirti
> 
> 
> 
> -----Original Message-----
> From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 10, 2001 11:00 PM
> To: Kirti S. Bajwa
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Redirect email!
> 
> 
> On Sat, 10 Mar 2001, Kirti S. Bajwa wrote:
> 
> > How can I setup qmail so that any system message generated on the
> > first server ns1.mydomain.com are automatically directed to my mail
> > server, which is mail.mydomain.com (located on ns2.mydomain.com)?
> 
> Put your desired address into your .qmail file.
> 
> -- 
> Todd A. Jacobs
> CodeGnome Consulting, LTD
> 
> 





Great. Your reply is much clear & I will try it.

Kirti

-----Original Message-----
From: Noah Sematimba [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 9:46 AM
To: Kirti S. Bajwa
Cc: 'Todd A. Jacobs'; '[EMAIL PROTECTED]'
Subject: RE: Redirect email!


I think what you need to do is this:
Set up your second server to accept mail for the domain ns1.mydomain.com
by editing /var/qmail/control/locals and adding ns1.mydomain.com to that
file on the second server. Then on ns1.mydomain.com edit
/var/qmail/control/locals and remove ns1.mydomain.com from there so that
mail for that domain will now be regarded as non local mail. Then set up
an mx record in your dns pointing ns1.mydomain.com to the second server
say
ns1.mydomain.com. IN MX 10 ns2.mydomain.com. or alternatively you can
attempt direct smtp delivery by editing /var/qmail/control/smtproutes
All these instructions are in /var/qmail/doc/FAQ
regards,
Sematimba Noah.
East African Help Desk.
 On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> Todd: 
> 
> Thanks for your reply. 
> 
> "Put your desired address into your .qmail file."
> 
> When you refer to "desired address", is it the UID (which is "root") or
> something else? I have setup .qmail files and would appreciate which
folder
> this particular .qmail file you are referring to?
> 
> Kirti
> 
> 
> 
> -----Original Message-----
> From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 10, 2001 11:00 PM
> To: Kirti S. Bajwa
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Redirect email!
> 
> 
> On Sat, 10 Mar 2001, Kirti S. Bajwa wrote:
> 
> > How can I setup qmail so that any system message generated on the
> > first server ns1.mydomain.com are automatically directed to my mail
> > server, which is mail.mydomain.com (located on ns2.mydomain.com)?
> 
> Put your desired address into your .qmail file.
> 
> -- 
> Todd A. Jacobs
> CodeGnome Consulting, LTD
> 
> 




On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> When you refer to "desired address", is it the UID (which is "root")
> or something else? I have setup .qmail files and would appreciate
> which folder this particular .qmail file you are referring to?

No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a
deliverable email address. You put it in $HOME/.qmail for whichever user
you want to forward mail for.

Please read http://www.lifewithqmail.org/ before asking these sorts of
questions. It's one thing to be confused about something in the docs (I
often am, since they aren't very extensive), but it helps to at least have
a foundation to understand the answers people give you.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






I have read "Life with Qmail" about 20+ times. I believe I did not make my
question clear as your answer does not answer my question (or it does not
seem to):

In my case, ns1.mydomain.com has no mail package installed. On this server
when a "Cron" job runs, it does not find a user account "news" because I
deleted it (as part of another write-up recommendation). Therefore, the
"Cron" job creates a message to "[EMAIL PROTECTED]" informing that it
did not find the "news" user account.

This message display only during LOGIN process. Here is the login sequence:
--------------------------------------

        ns1 login: root                                 ; user id root is
entered
        Password: rootpassword                          ; Password is
entered
        Last login: Sun Mar 11 15:06:21 on tty1 ; This message is displayed
back
        You have mail                                   ; System displays
the mail message
        [root@ns1 /root]# mail                          ; I enter "mail"

        (system displays the mail messages...)
        (messages are addressed to "[EMAIL PROTECTED] and are generated
by Daily Cron job)

--------------------------------------
        
Having explained it, I don't believe, "LWQ" or any other write-up discusses
this type of problem, if it does can you point the section where this type
of situation is covered in "LWQ".

My original question was "How can I re-direct the email messages generated
on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded on
ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does
not have any mail application on it. ns2.mydomain.com does have qmail. 

Again, my question is; how email messages generated on ns1.mydomain.com can
be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is
listed in /var/qmail/control/local?

Kirti


PS: I re-read "LWQ" before sending this message.





-----Original Message-----
From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 3:08 PM
To: Kirti S. Bajwa
Cc: '[EMAIL PROTECTED]'
Subject: RE: Redirect email!


On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> When you refer to "desired address", is it the UID (which is "root")
> or something else? I have setup .qmail files and would appreciate
> which folder this particular .qmail file you are referring to?

No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a
deliverable email address. You put it in $HOME/.qmail for whichever user
you want to forward mail for.

Please read http://www.lifewithqmail.org/ before asking these sorts of
questions. It's one thing to be confused about something in the docs (I
often am, since they aren't very extensive), but it helps to at least have
a foundation to understand the answers people give you.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD





On Sun, Mar 11, 2001 at 04:13:04PM -0500, Kirti S. Bajwa wrote:
> Having explained it, I don't believe, "LWQ" or any other write-up discusses
> this type of problem, if it does can you point the section where this type
> of situation is covered in "LWQ".

That's correct. You need help for whichever mail software is installed
on ns1.mydomain.com. Most likely sendmail is installed by default.

> Again, my question is; how email messages generated on ns1.mydomain.com can
> be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is
> listed in /var/qmail/control/local?

I'm not a sendmail guy - perhaps someone on the list can help. You could
also try man sendmail or try to dig up some other sendmail docs.

Tim




On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> My original question was "How can I re-direct the email messages
> generated on ns1.mydomain.com?". Your answer will make sense if I have
> qmail loaded on ns1.mydomain.com. In my original message, I said that
> ns1.mydomain.com does not have any mail application on it.
> ns2.mydomain.com does have qmail.

You can't. If you don't have an MTA on the system (qmail, sendmail,
postfix, whatever), mail will never leave the localhost.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






At 04:13 PM 3/11/2001, Kirti S. Bajwa wrote:

set the MX for ns1 to point to ns2.  then sent mail to 
[EMAIL PROTECTED] will goto ns2

you'll still need some sort of mail app on ns1.  just install qmail on both 
machines.......:-)

why don't you want to install qmail on ns1?

~kurth

>I have read "Life with Qmail" about 20+ times. I believe I did not make my
>question clear as your answer does not answer my question (or it does not
>seem to):
>
>In my case, ns1.mydomain.com has no mail package installed. On this server
>when a "Cron" job runs, it does not find a user account "news" because I
>deleted it (as part of another write-up recommendation). Therefore, the
>"Cron" job creates a message to "[EMAIL PROTECTED]" informing that it
>did not find the "news" user account.
>
>This message display only during LOGIN process. Here is the login sequence:
>--------------------------------------
>
>         ns1 login: root                                 ; user id root is
>entered
>         Password: rootpassword                          ; Password is
>entered
>         Last login: Sun Mar 11 15:06:21 on tty1 ; This message is displayed
>back
>         You have mail                                   ; System displays
>the mail message
>         [root@ns1 /root]# mail                          ; I enter "mail"
>
>         (system displays the mail messages...)
>         (messages are addressed to "[EMAIL PROTECTED] and are generated
>by Daily Cron job)
>
>--------------------------------------
>
>Having explained it, I don't believe, "LWQ" or any other write-up discusses
>this type of problem, if it does can you point the section where this type
>of situation is covered in "LWQ".
>
>My original question was "How can I re-direct the email messages generated
>on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded on
>ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does
>not have any mail application on it. ns2.mydomain.com does have qmail.
>
>Again, my question is; how email messages generated on ns1.mydomain.com can
>be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is
>listed in /var/qmail/control/local?
>
>Kirti
>
>
>PS: I re-read "LWQ" before sending this message.
>
>
>
>
>
>-----Original Message-----
>From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, March 11, 2001 3:08 PM
>To: Kirti S. Bajwa
>Cc: '[EMAIL PROTECTED]'
>Subject: RE: Redirect email!
>
>
>On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:
>
> > When you refer to "desired address", is it the UID (which is "root")
> > or something else? I have setup .qmail files and would appreciate
> > which folder this particular .qmail file you are referring to?
>
>No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a
>deliverable email address. You put it in $HOME/.qmail for whichever user
>you want to forward mail for.
>
>Please read http://www.lifewithqmail.org/ before asking these sorts of
>questions. It's one thing to be confused about something in the docs (I
>often am, since they aren't very extensive), but it helps to at least have
>a foundation to understand the answers people give you.
>
>--
>Todd A. Jacobs
>CodeGnome Consulting, LTD





Kurth:

Thanks for your reply.

"you'll still need some sort of mail app on ns1.  just install qmail on both

machines.......:-)"

I understand that now!

"why don't you want to install qmail on ns1?"

Last week I posted a question, asking qmail list if I need to install qmail
on both machine. I got one response (Do not from whom), which said that
there was no need to install qmail on both machines. 

Thanks again..

Kirti




-----Original Message-----
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 6:58 PM
To: Kirti S. Bajwa; 'Todd A. Jacobs'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Redirect email!


At 04:13 PM 3/11/2001, Kirti S. Bajwa wrote:

set the MX for ns1 to point to ns2.  then sent mail to 
[EMAIL PROTECTED] will goto ns2

you'll still need some sort of mail app on ns1.  just install qmail on both 
machines.......:-)

why don't you want to install qmail on ns1?

~kurth

>I have read "Life with Qmail" about 20+ times. I believe I did not make my
>question clear as your answer does not answer my question (or it does not
>seem to):
>
>In my case, ns1.mydomain.com has no mail package installed. On this server
>when a "Cron" job runs, it does not find a user account "news" because I
>deleted it (as part of another write-up recommendation). Therefore, the
>"Cron" job creates a message to "[EMAIL PROTECTED]" informing that it
>did not find the "news" user account.
>
>This message display only during LOGIN process. Here is the login sequence:
>--------------------------------------
>
>         ns1 login: root                                 ; user id root is
>entered
>         Password: rootpassword                          ; Password is
>entered
>         Last login: Sun Mar 11 15:06:21 on tty1 ; This message is
displayed
>back
>         You have mail                                   ; System displays
>the mail message
>         [root@ns1 /root]# mail                          ; I enter "mail"
>
>         (system displays the mail messages...)
>         (messages are addressed to "[EMAIL PROTECTED] and are
generated
>by Daily Cron job)
>
>--------------------------------------
>
>Having explained it, I don't believe, "LWQ" or any other write-up discusses
>this type of problem, if it does can you point the section where this type
>of situation is covered in "LWQ".
>
>My original question was "How can I re-direct the email messages generated
>on ns1.mydomain.com?". Your answer will make sense if I have qmail loaded
on
>ns1.mydomain.com. In my original message, I said that ns1.mydomain.com does
>not have any mail application on it. ns2.mydomain.com does have qmail.
>
>Again, my question is; how email messages generated on ns1.mydomain.com can
>be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is
>listed in /var/qmail/control/local?
>
>Kirti
>
>
>PS: I re-read "LWQ" before sending this message.
>
>
>
>
>
>-----Original Message-----
>From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, March 11, 2001 3:08 PM
>To: Kirti S. Bajwa
>Cc: '[EMAIL PROTECTED]'
>Subject: RE: Redirect email!
>
>
>On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:
>
> > When you refer to "desired address", is it the UID (which is "root")
> > or something else? I have setup .qmail files and would appreciate
> > which folder this particular .qmail file you are referring to?
>
>No, I mean an actual, deliverable email address. "[EMAIL PROTECTED]" is a
>deliverable email address. You put it in $HOME/.qmail for whichever user
>you want to forward mail for.
>
>Please read http://www.lifewithqmail.org/ before asking these sorts of
>questions. It's one thing to be confused about something in the docs (I
>often am, since they aren't very extensive), but it helps to at least have
>a foundation to understand the answers people give you.
>
>--
>Todd A. Jacobs
>CodeGnome Consulting, LTD




Tim:

Thanks. Here is an interesting situation. I thought you would like to know:

" Most likely sendmail is installed by default."

No. I remove sendmail. I think the message I am getting at login time, is
coming from something built into RH 6.2. If somebody is following this
question and has an answer, we will clear the air.


Kirti




-----Original Message-----
From: Timothy Legant [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 4:30 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Redirect email!


On Sun, Mar 11, 2001 at 04:13:04PM -0500, Kirti S. Bajwa wrote:
> Having explained it, I don't believe, "LWQ" or any other write-up
discusses
> this type of problem, if it does can you point the section where this type
> of situation is covered in "LWQ".

That's correct. You need help for whichever mail software is installed
on ns1.mydomain.com. Most likely sendmail is installed by default.

> Again, my question is; how email messages generated on ns1.mydomain.com
can
> be sent to ns2.mydomain, which has qmail on it and ns1.mydomain.com is
> listed in /var/qmail/control/local?

I'm not a sendmail guy - perhaps someone on the list can help. You could
also try man sendmail or try to dig up some other sendmail docs.

Tim




Thanks.

Kirti


-----Original Message-----
From: Todd A. Jacobs [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 11, 2001 4:34 PM
To: Kirti S. Bajwa
Cc: '[EMAIL PROTECTED]'
Subject: RE: Redirect email!


On Sun, 11 Mar 2001, Kirti S. Bajwa wrote:

> My original question was "How can I re-direct the email messages
> generated on ns1.mydomain.com?". Your answer will make sense if I have
> qmail loaded on ns1.mydomain.com. In my original message, I said that
> ns1.mydomain.com does not have any mail application on it.
> ns2.mydomain.com does have qmail.

You can't. If you don't have an MTA on the system (qmail, sendmail,
postfix, whatever), mail will never leave the localhost.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






Is there a pop server allowing to use the maildir format
for users who have "Maildir" and a standard Mailbox
file for the other users ?
The ideal thing would be that this pop server would work
with ssl too.

Is there a way to convert a Mailbox to maildir format ?

Thank you.

                                        Alberto.






Thus said Alberto Dainotti on Sun, 11 Mar 2001 15:31:30 +0100:

> Is there a pop server allowing to use the maildir format
> for users who have "Maildir" and a standard Mailbox
> file for the other users ?

qmail-pop3d comes with qmail, but it only supports maildir, why would 
you want both?

> The ideal thing would be that this pop server would work
> with ssl too.

You can wrap SSL around pop using stunnel.

> Is there a way to convert a Mailbox to maildir format ?

I believe someone wrote a script to do this already---look on qmail.org 
for it.

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 12:27pm  up 25 days, 12:30,  5 users,  load average: 1.08, 1.27, 1.26






Andy Bradford <[EMAIL PROTECTED]> writes:

> Thus said Alberto Dainotti on Sun, 11 Mar 2001 15:31:30 +0100:
> 
> > Is there a pop server allowing to use the maildir format
> > for users who have "Maildir" and a standard Mailbox
> > file for the other users ?
> 
> qmail-pop3d comes with qmail, but it only supports maildir, why would 
> you want both?

Because my local users are used to using mailbox-based tools, but I'm
using vmailmgr for virtual support and it likes maildir.  And some of
my local users want to also check via pop from time to time.
-- 
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/




Thus said David Dyer-Bennet on 12 Mar 2001 00:21:10 CST:

> Because my local users are used to using mailbox-based tools, but I'm
> using vmailmgr for virtual support and it likes maildir.  And some of
> my local users want to also check via pop from time to time.

How do you intend to keep the mailbox and maildir ``in sync?''  Now, if 
you can convince your users to use one or the other then you could just 
put the proper delivery instruction in their .qmail file.  i.e. for 
user joe who wants mailbox format:

~joe/.qmail:
./Mailbox

and for fred who wants pop (using maildir)
~fred/.qmail:
./Maildir/

Of course, now if joe wants pop then he will be out of luck unless you 
do something like:

~joe/.qmail:
./Mailbox
./Maildir/

Andy
-- 
[-----------[system uptime]--------------------------------------------]
 11:33pm  up 25 days, 23:36,  7 users,  load average: 1.08, 1.08, 1.08






On Sat, Mar 10, 2001 at 05:47:29PM -0500, Scott Gifford wrote:
> Peter van Dijk <[EMAIL PROTECTED]> writes:
> 
> > On Sat, Mar 10, 2001 at 01:12:13PM -0500, John R Levine wrote:
> > > The usual mailbox vs. maildir war has flared up on inet-access, and points
> > > out a bug in qmail-pop3d.  When you do a LIST command, it gives you the
> > > size of each message.  Pop3d just reports the file sizes, while it's clear
> > > from the RFC that it's supposed to report the wire size of each message,
> > > i.e., the size using cr/lf as a line terminator, so the sizes it reports
> > > are too small.
> > 
> [ ... ]
> > Yes. This behaviour is known. Fixing it, however, involves a *huge*
> > performance downgrade of qmail-pop3d.
> 
> A solution I have considered is storing the messages in wire format.
> Especially for POP/IMAP-only clients, seems like it could be a
> medium-sized performance win, since the line-conversion is done only
> once, regardless of how many times the message is downloaded.  If the
> message were kept in wire-format from SMTP through delivery, no line
> conversion would be required at either end, and a larger performance
> gain would be possible.
> 
> Has anybody tried this, or anything like it?

Have not tried it, but it sounds like it would definitely work.

Greetz, Peter.




On Sat, Mar 10, 2001 at 01:12:13PM -0500, John R Levine wrote:
> The usual mailbox vs. maildir war has flared up on inet-access, and points
> out a bug in qmail-pop3d.  When you do a LIST command, it gives you the
> size of each message.  Pop3d just reports the file sizes, while it's clear
> from the RFC that it's supposed to report the wire size of each message,
> i.e., the size using cr/lf as a line terminator, so the sizes it reports
> are too small.
> 
> I gather nobody's ever reported this as a bug, and I expect that the only
> thing that uses the size is the "don't download bigger than size X" option
> for which it's close enough, but it's still wrong.

If I mis-remember correctly, qpopper may have a similar problem in
that the stated size does not necessarily match the size sent down the
wire. How so?  Because qpopper adds X-UIDL and Status: headers to the
out-going message (perhaps it includes this in the size calc but I
haven't looked at the code in such a long time, or perhaps it only
adds those headers when the mail is re-written).

> I use courier-imap, and its POP daemon does get the sizes right,
> presumably by reading the files and adding the number of \n characters.

A more sensible strategy might be to introduce a new "info" flag (say
'3' equals POP wire size) on the filename, eg, a 10,000 byte email has
a name something like this:

Maildir/new/980195114.16740.geex:2,RS3,10000

Optimally the wire-size is calculated when the mail is written to
Maildir/tmp/ and then applied as an "info" flag when the file is moved
to Maildir/new/.

A possible complication with this approach is that my reading of
Maildir infers that "info" can only be set when the file moves from
Maildir/new/ to Maildir/cur/.


Regards.




> Yes. This behaviour is known. Fixing it, however, involves a *huge*
> performance downgrade of qmail-pop3d.

Not if it's calculated as the file is written to the Maildir.

> 'Usually, during the AUTHORIZATION state of the POP3 session, the POP3
> server can calculate the size of each message in octets when it opens
> the maildrop. ..... simply counts each occurance of this character in
> a message as two octets.'

Typical of those RFCs authors that, consciously or otherwise, used a
single implementation to guide much of their thinking on protocol
design. POP3 is not the only standard that suffers as a consequence -
consider SMTP and DNS?

We shouldn't have to live with short-sightedness forever.


Regards.




On Sun, Mar 11, 2001 at 07:51:47PM +0000, Mark Delany wrote:
> > Yes. This behaviour is known. Fixing it, however, involves a *huge*
> > performance downgrade of qmail-pop3d.
> 
> Not if it's calculated as the file is written to the Maildir.

True, but that hurts writing performance.

> > 'Usually, during the AUTHORIZATION state of the POP3 session, the POP3
> > server can calculate the size of each message in octets when it opens
> > the maildrop. ..... simply counts each occurance of this character in
> > a message as two octets.'
> 
> Typical of those RFCs authors that, consciously or otherwise, used a
> single implementation to guide much of their thinking on protocol
> design. POP3 is not the only standard that suffers as a consequence -
> consider SMTP and DNS?

The implementors had to make a choice. Line format is in fact the
obvious choice for message size. Using server-implementation size is
however not a big deviation.

> We shouldn't have to live with short-sightedness forever.

That's why we have QMTP :)

Greetz, Peter.




On Sun, Mar 11, 2001 at 07:37:06PM +0000, Mark Delany wrote:
[snip]
> > I use courier-imap, and its POP daemon does get the sizes right,
> > presumably by reading the files and adding the number of \n characters.
> 
> A more sensible strategy might be to introduce a new "info" flag (say
> '3' equals POP wire size) on the filename, eg, a 10,000 byte email has
> a name something like this:
> 
> Maildir/new/980195114.16740.geex:2,RS3,10000

Putting the linecount in there makes more sense. Some MUAs might be happy
about that, and it still allows easy calculation of wiresize (add
number of lines to physical size). More info, less bytes :)

> Optimally the wire-size is calculated when the mail is written to
> Maildir/tmp/ and then applied as an "info" flag when the file is moved
> to Maildir/new/.

Yes. Mind the performance penalty tho.

> A possible complication with this approach is that my reading of
> Maildir infers that "info" can only be set when the file moves from
> Maildir/new/ to Maildir/cur/.

That's what the spec says, indeed. A delivery process is not supposed
to know anything, so :info is not needed in new/.

Greetz, Peter.




>Putting the linecount in there makes more sense. Some MUAs might be happy
>about that, and it still allows easy calculation of wiresize (add
>number of lines to physical size). More info, less bytes :)
>
>> Optimally the wire-size is calculated when the mail is written to
>> Maildir/tmp/ and then applied as an "info" flag when the file is moved
>> to Maildir/new/.
>
>Yes. Mind the performance penalty tho.

Not a bad idea.  The performance penalty would be tiny, reading buffers
that are about to be written out won't cause an extra page fault.

>> A possible complication with this approach is that my reading of
>> Maildir infers that "info" can only be set when the file moves from
>> Maildir/new/ to Maildir/cur/.
>
>That's what the spec says, indeed. A delivery process is not supposed
>to know anything, so :info is not needed in new/.

Gee, we find that even Dan isn't infallible.  In retrospect, there's all
sorts of hints that the delivery process could leave.

-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail




On Sun, Mar 11, 2001 at 06:05:47PM -0500, John R. Levine wrote:
[snip]
> >Yes. Mind the performance penalty tho.
> 
> Not a bad idea.  The performance penalty would be tiny, reading buffers
> that are about to be written out won't cause an extra page fault.

True.

> >> A possible complication with this approach is that my reading of
> >> Maildir infers that "info" can only be set when the file moves from
> >> Maildir/new/ to Maildir/cur/.
> >
> >That's what the spec says, indeed. A delivery process is not supposed
> >to know anything, so :info is not needed in new/.
> 
> Gee, we find that even Dan isn't infallible.  In retrospect, there's all
> sorts of hints that the delivery process could leave.

The spec is not 100% specific everywhere. And indeed, hints can be put
in lots of places :)

Greetz, Peter.




On Sun, Mar 11, 2001 at 06:05:47PM -0500, John R. Levine wrote:
> >Putting the linecount in there makes more sense. Some MUAs might be happy
> >about that, and it still allows easy calculation of wiresize (add
> >number of lines to physical size). More info, less bytes :)
> >
> >> Optimally the wire-size is calculated when the mail is written to
> >> Maildir/tmp/ and then applied as an "info" flag when the file is moved
> >> to Maildir/new/.
> >
> >Yes. Mind the performance penalty tho.
> 
> Not a bad idea.

Agreed. Line count is probably a more useful number as the other
values can be derived. I retract my POPsize suggestion in favour of
line count.

> The performance penalty would be tiny, reading buffers
> that are about to be written out won't cause an extra page fault.

I also agree that it's an acceptable CP cost to scan a buffer just
prior to writing. CP is cheap and plentiful on most qmail systems.

> >> A possible complication with this approach is that my reading of
> >> Maildir infers that "info" can only be set when the file moves from
> >> Maildir/new/ to Maildir/cur/.
> >
> >That's what the spec says, indeed. A delivery process is not supposed
> >to know anything, so :info is not needed in new/.
> 
> Gee, we find that even Dan isn't infallible.  In retrospect, there's all
> sorts of hints that the delivery process could leave.

Yep. And it probably wouldn't be too hard to change the standard
though I note that, eg, mutt totally ignores any existing "info"
values. But I'm willing to bet that they will change code if they see
a good reason and they will be especially interested in a change that
lets them know line count without scanning.


Regards.




On Sun, Mar 11, 2001 at 07:37:06PM +0000, Mark Delany wrote:

[...]

> A more sensible strategy might be to introduce a new "info" flag (say
> '3' equals POP wire size) on the filename, eg, a 10,000 byte email has
> a name something like this:
> 
> Maildir/new/980195114.16740.geex:2,RS3,10000

>From reading <URL:http://cr.yp.to/proto/maildir.html>, it is not clear to me
that this would be the proper format for such an 'info' extension. I would
worry that MUAs and other software dealing with maildir (scripts!) would
expect info semantics in the 2, series to be at the end of the filenames.

> Optimally the wire-size is calculated when the mail is written to
> Maildir/tmp/ and then applied as an "info" flag when the file is moved
> to Maildir/new/.

> A possible complication with this approach is that my reading of
> Maildir infers that "info" can only be set when the file moves from
> Maildir/new/ to Maildir/cur/.
 
No, this is not what that document says. It says

   "When you move a file from new to cur, you have to change it's name [...]"

You *have* to change the name when the file move from new/ to cur/ , but
there is no specification of other cases; in fact, lots of MUA's will change
info when the file has been in cur/ for a while: mutt, for example, moves
the file from new/ to cur/, adds :2, and only modifies that to be 2,S after
the user has read the message (it is no longer 'N'ew).


Vince.









On Sun, Mar 11, 2001 at 01:59:16AM -0800, Todd A. Jacobs wrote:
> I'm not 100% sure I understand what file descriptors have to do with the
> queue's performance. Does qmail require one or more file descriptors for
> every message in the queue, or only for the "concurrent" messages it's
> sending or delivering? If I have 4096 descriptors available to the system,
> will I run into any problems if more than 4,000 messages are in the queue?

No. Filedescriptors only apply to active concurrent
connections/deliveries.

The number of messages in the queue is limited by diskspace (try 'df')
and inode count (try 'df -i') only.

Greetz, Peter.




Hello

Is it possible to hide the internal server information, when you send out an
email? For example, when I send out email the following line is in the mail
header.

=======================
Received: from caesar.lynix.com (comp1.flint.mi.home.com
+[23.12.196.73])
        by lists.morelists.org (Postfix) with SMTP id DE2FC7AF9
        for <[EMAIL PROTECTED]>; Sat, 10 Mar 2001 10:12:28 -0800 (PST)
=======================

What inserts such information MTA, MDA or MUA?
Is it possible to hide or rename the hostname and IP address in the email?

Thank you in advance for any help or pointers.
-- 

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/
 
 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com





On Sun, Mar 11, 2001 at 10:58:51AM +0000, Subba Rao wrote:
> Hello
> 
> Is it possible to hide the internal server information, when you send out an
> email? For example, when I send out email the following line is in the mail
> header.
> 
> =======================
> Received: from caesar.lynix.com (comp1.flint.mi.home.com
> +[23.12.196.73])
>         by lists.morelists.org (Postfix) with SMTP id DE2FC7AF9
>         for <[EMAIL PROTECTED]>; Sat, 10 Mar 2001 10:12:28 -0800 (PST)
> =======================
> 
> What inserts such information MTA, MDA or MUA?

Postfix on lists.morelists.org.

Greetz, Peter.





hi-

i'm trying to record all incoming smtp sessions using recordio, but i'm
stymied by the following:

/usr/local/bin/tcpserver -R -x /etc/tcp.smtp.cdb -c 100 -u <user> -g
<group> 0 smtp \
/usr/local/bin/rblsmtpd /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd
\
| /var/qmail/bin/splogger smtpd 3 &

this sends all recordio output to the terminal, not through syslog.
following a couple of examples on this list, i inserted 2>&1 directly
after qmail-smtpd, but that generates 'Ambiguous Ouptut Redirect'.

This is probably just a stupid shell thing (i'm using csh on linux), but i
don't understand it.

thanks-

dan






Daniel Kelley wrote:

> this sends all recordio output to the terminal, not through syslog.
> following a couple of examples on this list, i inserted 2>&1 directly
> after qmail-smtpd, but that generates 'Ambiguous Ouptut Redirect'.
>
> This is probably just a stupid shell thing (i'm using csh on linux), but i
> don't understand it.

|& splogger
instead of
| splogger

will redirect stdout and stderr.

--
Michael T. Babcock (PGP: 0xBE6C1895)
http://www.fibrespeed.net/~mbabcock/







Hi,

I'll try, as you guess, setting up qmail.
Everything is probably working. The
problem I'm facing is that I can't sent mails
to local users. I set up the home mail-dir (maildirmake et al.) using
mbox delivered to $HOME.
Sometimes Dave wrote (taken from the archive) that 5.1.1:

What that message means is that the local recipient is not a valid
address. That can happen if the recipient:

  - is not a user              NO
  - has the UID 0             NO
  - doesn't own their home directory             NO
  - has a home directory that isn't visible to user qmailp [I'm not sure
about this point, but added qmailp to
 the same user-group]
  - has a username containing uppercase characters             NO
  - has a username longer than 32 characters             NO
  - isn't handled by an alias or catch-all .qmail file in ~alias [If I put
an tom-qmail file in alias I get an
elivery 13: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)]

If I remove that alias I get the following in /var/log/qmail/current

snip


@400000003aab87ae2bab487c status: exiting
@400000003aab87b31f767b44 status: local 0/10 remote 0/20
@400000003aab8ce2342a54fc new msg 224638
@400000003aab8ce2342a9b4c info msg 224638: bytes 204 from
<[EMAIL PROTECTED]> qp 16101 uid 0
@400000003aab8ce2373ef79c starting delivery 1: msg 224638 to local
[EMAIL PROTECTED]
@400000003aab8ce2373f45bc status: local 1/10 remote 0/20
@400000003aab8ce23ab75d4c delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003aab8ce23afb347c status: local 0/10 remote 0/20
@400000003aab8ce23b94d884 bounce msg 224638 qp 16104
@400000003aab8ce23b97265c end msg 224638
@400000003aab8ce303d233ec new msg 224641

snip

Thanks for any help Tom





Hi,

I'll try, as you guess, setting up qmail.
Everything is probably working. The
problem I'm facing is that I can't sent mails
to local users. I set up the home mail-dir (maildirmake et al.) using
mbox delivered to $HOME.
Sometimes Dave wrote (taken from the archive) that 5.1.1:

What that message means is that the local recipient is not a valid
address. That can happen if the recipient:

  - is not a user              NO
  - has the UID 0             NO
  - doesn't own their home directory             NO
  - has a home directory that isn't visible to user qmailp [I'm not sure
about this point, but added qmailp to
 the same user-group]
  - has a username containing uppercase characters             NO
  - has a username longer than 32 characters             NO
  - isn't handled by an alias or catch-all .qmail file in ~alias [If I put
an tom-qmail file in alias I get an
elivery 13: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)]

If I remove that alias I get the following in /var/log/qmail/current

snip


@400000003aab87ae2bab487c status: exiting
@400000003aab87b31f767b44 status: local 0/10 remote 0/20
@400000003aab8ce2342a54fc new msg 224638
@400000003aab8ce2342a9b4c info msg 224638: bytes 204 from
<[EMAIL PROTECTED]> qp 16101 uid 0
@400000003aab8ce2373ef79c starting delivery 1: msg 224638 to local
[EMAIL PROTECTED]
@400000003aab8ce2373f45bc status: local 1/10 remote 0/20
@400000003aab8ce23ab75d4c delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@400000003aab8ce23afb347c status: local 0/10 remote 0/20
@400000003aab8ce23b94d884 bounce msg 224638 qp 16104
@400000003aab8ce23b97265c end msg 224638
@400000003aab8ce303d233ec new msg 224641

snip

Thanks for any help Tom





I'm trying to get FormMail.pl to work with qmail, and
I'm having quite a time of it.

I can't point it towards /usr/local/sendmail, because
that doesn't exist on my system (OBSD 2.8). I tried
/usr/libexec/sendmail, but that didn't work, either --
nothing showed up in my Apache error logs or
/var/log/maillog. FYI, ls -l on /usr/libexec/sendmail
shows:

-r-sr-xr-x  1 root  bin  380928 Nov  6 12:40 sendmail

I also tried, as per the suggestion of someone from
this list, pointing it at /var/qmail/bin/sendmail.
However, this does nothing, either. ls -l shows:

-rwxr-xr-x  1 root  qmail  16384 Mar  5 00:26 sendmail

What could be wrong with this? I need this form ASAP,
as I have business customers who will be using it
soon.

Thanks,
Alex Le Fevre

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




Also, I tried:

echo to:[EMAIL PROTECTED] |
/var/qmail/bin/sendmail

That gave me these lines in /var/log/maillog:

Mar 11 11:23:02 www qmail: 984327782.476368 info msg
2920341: bytes 212 from <[EMAIL PROTECTED]> qp
9916 uid 0
Mar 11 11:23:02 www qmail: 984327782.477601 end msg
2920341

echo to:[EMAIL PROTECTED] |
/var/qmail/bin/qmail-inject, however, works just fine.

Alex

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




Hi there,

please answer in the correct threat and not only
in any message you've just picked up.

Thanks Tom





I am still having an issue where I can't send mail from a script.  I
currently use: /var/qmail/bin/qmail-inject   ... as my qmail absolute path.

Now here is what I can do:

1) I can send an empty message to local users, and remote users.
2) I can send messages from PINE.
3) I can send messages from everything but a script.
4) All test in the, TEST.deliver and TEST.receive DO WORK!

Here is what Qmail doesn't seem to do:

1) Qmail doesn't log anything at all, I can't find anything about qmail in
the:  /var/log/messages  OR  /var/log/maillog
2) Qmail will not send a message from script at all.


I really need some help here, I am totally lost.

Thank you for your time,

Avery Brooks





On Sun, Mar 11, 2001 at 11:07:57AM -0700, Avery Brooks wrote:
> I am still having an issue where I can't send mail from a script.  I
> currently use: /var/qmail/bin/qmail-inject   ... as my qmail absolute path.
> 
> Now here is what I can do:
> 
> 1) I can send an empty message to local users, and remote users.
> 2) I can send messages from PINE.
> 3) I can send messages from everything but a script.
> 4) All test in the, TEST.deliver and TEST.receive DO WORK!

This means that qmail is working. Good.
> 
> Here is what Qmail doesn't seem to do:
> 
> 1) Qmail doesn't log anything at all, I can't find anything about qmail in
> the:  /var/log/messages  OR  /var/log/maillog

Not possible -- it always logs _somewhere_. Even if you've badly bungled
the install instructions, it will log to the console... Whose
instructions did you follow for installing qmail? IIRC, the default
instructions in the tarball result in syslog messages using splogger
(ugh) and LWQ's instructions result in logs in /var/log/qmail/*.
>
> 
> 2) Qmail will not send a message from script at all.

Please send the list an example of what you're trying to use to
send mail from a script. I personally speak shell and perl.
Alternatively, if you followed the directions in LWQ and/or the
INSTALL.* files, try the following from the command line:

cat << EOF | /var/qmail/bin/qmail-inject 
From: root
To: root
Subject: Testing script
 
Testing
EOF

The above is all you need to send mail in a shell script. You can, of
course, get fancier.

SNIP

HTH,

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





SUB: Does anyone have a copy of NAKEDWIFE.EXE??? ~ Re: NAKEDWIFE.EXE Virus -
Filter available


        It was supposedly widespread...   but I've not seen hide nor hair...
if someone has a copy, please send it, thanks!!!


Jesse Sunday
ParView, Inc.  /  Systems Administrator





Qmail-Popup is filling my logs with:

     qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify
hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed

It appears that every connection attempt log this message, but I can
nslookup without any problem, and tcpdmatch without any problem either. It
appears that this could be a TCP Wrappers problem but I can't duplicate it
with tcpdmatch, and it doesn't fail for other servers.

Anyone seen this before?

-K






On Sun, Mar 11, 2001 at 04:41:41PM -0700, Keary Suska wrote:
> Qmail-Popup is filling my logs with:
> 
>      qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify
> hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed

This is tcpwrappers logging, not qmail-popup.

> It appears that every connection attempt log this message, but I can
> nslookup without any problem, and tcpdmatch without any problem either. It
> appears that this could be a TCP Wrappers problem but I can't duplicate it
> with tcpdmatch, and it doesn't fail for other servers.

What's on line 8 in /etc/hosts.allow?

Why are you not using tcpserver?

Greetz, Peter.




>Qmail-Popup is filling my logs with:
>
>      qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify
>hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed
>
>It appears that every connection attempt log this message, but I can
>nslookup without any problem, and tcpdmatch without any problem either. It
>appears that this could be a TCP Wrappers problem but I can't duplicate it
>with tcpdmatch, and it doesn't fail for other servers.
>
>Anyone seen this before?

Yes.  @Home has a tendency to lose entries in one or both of their 
main DNS servers.  When this happens, you frequently get this kind of 
message from tcpwrappers.  I just ran a dnstrace on this address and 
it looks like it's back to normal; both 24.0.0.27 and 24.2.0.27 know 
the address.  Usually if you just wait a few hours, the problem gets 
fixed.  Heaven help you if they lose the entries permanently, which 
has happened to us twice  Their front line customer support people 
don't know what DNS is, and you have to argue with them for a while 
until you get kicked up the the second line people, who usually know 
about basic Internet services.

>
>-K

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




Hi,

anybody out here using this patch? It allows qmail-remote to use SMTP AUTH
with certain remote mailservers. I'd like to use it on my Notebook.
As far as I can see from the code the username and password should be
supplied in smtproutes. I tried both :server:user:pass and :server user
pass, but in both cases qmail-remote didn't use username and password
(hacked the code a bit to verify this).
Any ideas?

Greetings

Henning

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





Hi all-

I've been expereincing a lot of ugly errors lately:  many copies of the
smae emial arriving, some remte hosts can't email us at all (yes, MX
records are ok).  I've begun to watch everytihng that happens w/ recordio.  

In my log files, I'm beginning to see a distressing number of errors like
the one listed below:

a remote server connects, announces MAIL, RCPT TO, and DATA fine, then the
connection is dropped and a '451 error' code is logged.  In the example
below, this happened only 22 seconds after the previous entry.  This is
pretty representative of what's happening.

As I understand it, 451 is an internal error while processing a message,
and the default timeout for smtp sessions (timeoutsmtpd) is 1200 seconds.

Has anyone seen anything like this, and if so, could it be a configuration
error of some sort?  Or does it indicate either hardware or network
failure?

Thanks-

Dan


Mar 11 19:38:23 mx1 smtpd: 984357503.141262 13096 > 220 mx1.ny.otec.com
ESMTP?
Mar 11 19:38:23 mx1 smtpd: 984357503.216899 13096 < HELO
femail9.sdc1.sfba.home.com?
Mar 11 19:38:23 mx1 smtpd: 984357503.218213 13096 > 250 mx1.ny.otec.com?
Mar 11 19:38:23 mx1 smtpd: 984357503.414713 13096 < MAIL
FROM:<[EMAIL PROTECTED]>?
Mar 11 19:38:23 mx1 smtpd: 984357503.416019 13096 > 250 ok?
Mar 11 19:38:23 mx1 smtpd: 984357503.490315 13096 < RCPT
TO:<[EMAIL PROTECTED]>?
Mar 11 19:38:23 mx1 smtpd: 984357503.491628 13096 > 250 ok?
Mar 11 19:38:23 mx1 smtpd: 984357503.566791 13096 < DATA?
Mar 11 19:38:23 mx1 smtpd: 984357503.576821 13096 > 354 go ahead?
Mar 11 19:38:45 mx1 smtpd: 984357525.672773 12927 > 451 timeout (#4.4.2)?
Mar 11 19:38:45 mx1 smtpd: 984357525.673019 12927 > [EOF]







Hi!

I've installed qmailanalog,and I used "matchup" program to generate output 
file "out.1".
What should I do next?
How to use other command in qmailanalog to analog the outout file?
Are there any examples? 

Thanks




On Mon, 12 Mar 2001 ling@mail.hnytnet.com wrote:

> What should I do next?
> How to use other command in qmailanalog to analog the outout file?

Pipe the output through any of the z* commands provided by the qmailanalog
package. Each one is a shell script that you can read for information on
what it does.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






Hi:

I've read the man page of splogger carefully.But there is still something I 
don't understand. 

         splogger [ tag [ fac ] ]
logs messages with facility fac.
fac (default: 2) must be numeric. 

What's the meaning of "fac"? Is it use in syslog?
Some time it is 2 (default),some time it is 3.
What the diffirent between 2 and 3 ? 

Thanks




On Mon, 12 Mar 2001 ling@mail.hnytnet.com wrote:

> What's the meaning of "fac"? Is it use in syslog?

Facility. It's the log level used by syslogd. According to syslog.2:

       #define KERN_EMERG    "<0>"  /* system is unusable               */
       #define KERN_ALERT    "<1>"  /* action must be taken immediately */
       #define KERN_CRIT     "<2>"  /* critical conditions              */
       #define KERN_ERR      "<3>"  /* error conditions                 */
       #define KERN_WARNING  "<4>"  /* warning conditions               */
       #define KERN_NOTICE   "<5>"  /* normal but significant condition */
       #define KERN_INFO     "<6>"  /* informational                    */
       #define KERN_DEBUG    "<7>"  /* debug-level messages             */

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD







On Sun, 11 Mar 2001, Todd A. Jacobs wrote:

> On Mon, 12 Mar 2001 ling@mail.hnytnet.com wrote:
>
> > What's the meaning of "fac"? Is it use in syslog?
>
> Facility. It's the log level used by syslogd.

As you said, that's the log _level_.  That's derived by splogger from the
text at the beginning of your logged messages.

The facility code defines the type of program that's logging the message
(kernel, mail, etc.).  Look in /usr/include/syslog.h for the possible
facility codes.

--
Adrian Ho   [EMAIL PROTECTED]





On Mon, 12 Mar 2001, Adrian Ho wrote:

> The facility code defines the type of program that's logging the
> message (kernel, mail, etc.).  Look in /usr/include/syslog.h for the
> possible facility codes.

Quite right. The correct answer was:

/* facility codes */
#define LOG_KERN        (0<<3)  /* kernel messages */
#define LOG_USER        (1<<3)  /* random user-level messages */
#define LOG_MAIL        (2<<3)  /* mail system */
#define LOG_DAEMON      (3<<3)  /* system daemons */
#define LOG_AUTH        (4<<3)  /* security/authorization messages */
#define LOG_SYSLOG      (5<<3)  /* messages generated internally by syslogd */
#define LOG_LPR         (6<<3)  /* line printer subsystem */
#define LOG_NEWS        (7<<3)  /* network news subsystem */
#define LOG_UUCP        (8<<3)  /* UUCP subsystem */
#define LOG_CRON        (9<<3)  /* clock daemon */
#define LOG_AUTHPRIV    (10<<3) /* security/authorization messages (private) */
#define LOG_FTP         (11<<3) /* ftp daemon */

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






Hi Guys!

I am new to qmail and have a silly question....

I have qmail installed on a RH7 server..all is working well.

I want to install the patch found at:
http://www.palomine.net/qmail/relaymailfrom.html

But where and how do I add the patch?

Thanks,

Ross




******************************************************************
This email has been scanned by Pro-Web for all known Viruses
For more information please visit our web site at www.pro-web.ie
******************************************************************





"Todd A. Jacobs" <[EMAIL PROTECTED]> writes:

> I have a dedicated dual-processor server with 384 MB of RAM and a single
> SCSI drive. I'm running qmail and pop3d supervised according the LWQ,
> which sets softlimit to 2000000. Available inodes in the 2GB /var/qmail
> partition is 131,616, with split set to 23. Max file descriptors is 4,096.
> Local mail is being delivered to $HOME/Maildir/ on a seperate partition on
> the same drive, mounted sync (as is /var/qmail).
> 
> As described in LWQ, I have remote concurrency set to 20 and local
> concurrency set to 10. Is this too low, given the specs? Or, considering
> the performance hit of running qmail-pop3d against a sync-mounted single
> drive, should I leave this alone?

"Too low" for the concurrencies would be relative to the amount of
mail you need to move; but your hardware should certainly handle more.
I supported concurrencies of 50 and 10 with no strain when my system
was a Cyrix 166+ with 96 meg of ram and IDE disks.

> If I *do* bump up the concurrency, what rule-of-thumb should I apply to
> softlimit? I don't really have a good feel for what the concurrency does
> to memory requirements. Do I even need to adjust it at all?

The softlimit is per process, so you don't need to think about it as
you change concurrencies.  Well, you need to look at the average
actual use and maybe add more memory if you get to the point where
you're running out due to high concurrency.

> Basically, I have RAM and CPU cycles out the wazoo, but am a little
> constrained by drive speed and resources, and want to shuffle things in
> and out of the queue as quickly as possible so that there's room for the
> things that linger due to disk quota problems or whatever.
> 
> All this assumes that Something Bad (tm) happens when the queue is filled
> (out of descriptors, inodes, or blocks). Maybe it doesn't--enlightenment
> is always welcome.

I think if you actually fill the queue that Something Bad does indeed
happen, though I've never gone there to investigate.  Not *that* bad;
I imagine that incoming mail would not be accepted, which is better
than being accepted and lost.  Of course if the condition persists
long enough that mail will be bounced by the server it's sitting on. 
-- 
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/




Okay, so I increased concurrencyremote to 60, and concurrecyincoming (for
tcpserver) to 40. Concurrencylocal is still at 10, though, and I'm
wondering if there's any real point to increasing it. Am I correct in
thinking that leaving this at 10 is harmless, since the queue will be
serviced fairly quickly anyway? Or is there a performance gain to be had
in increasing this?

My uninformed opinion is that there wouldn't be, since both the queue and
the delivery parition are on the same physical drive, and both mounted
sync. To me, that seems to say that higher local concurrency might
actually slow the drive down, but I'm not really sure.

Opinions, anyone?

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






On Sat, 10 Mar 2001, Greg White wrote:

> 1. Modify procmail to exit status 100 on quota exceeded.

I did. It works--mostly. Instead of standard bounce text, the message is
bounced with the following explaination:

        procmail: Quota exceeded while \
        writing "Maildir/tmp/zOD.nTq6.mail.themeco.com"

instead of a more standard:

        Recipient's mailbox is full, message returned to sender. (#5.2.2)

Not a huge deal, in the grand scheme of things.

For anyone else dealing with the same issue, you can put the following in
your /etc/procmailrc or in $HOME/.procmailrc:

        # Needed if running from /etc/procmailrc. Otherwise, messages
        # will be unreadable by the user since they will be owned by
        # root as mode 0600.
        DROPPRIVS=yes

        # Deliver to user's maildir folder.
        :0
        Maildir/

        # Bounce mail if delivery fails.
        EXITCODE=100

Hope this saves someone an afternoon. :)

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD







Hello!

I've been trying to start qmail using a hacked version of the 
/etc/init.d/httpd script but the script - /etc/init.d/smtp - just hangs 
after echo'ing the message "Starting qmail: ". (`csh -cf '/var/qmail/rc'` 
works correctly.) I'm not familiar with shell scripting - could the error be 
caused because /var/qmail/rc doesn't return a value to `RETVAL=$?` ? 
(/etc/init.d/smtp stop works just great!)

Thanks in advance!
Eric P.
Los Gatos, CA

/etc/init.d/smtp:
================
#!/bin/sh
#
# Startup script for the qmail mail transfer agent (MTA)
#
# description: The qmail package manages all e-mail messages
#              the come into or leave this server.
# processes/daemons: /var/qmail/qmail-send
#                    /var/qmail/splogger
#                    /var/qmail/qmail-lspawn
#                    /var/qmail/qmail-rspawn
#                    /var/qmail/qmail-clean
# config files: /var/qmail

# Source function library.
. /etc/rc.d/init.d/functions

# Path to the qmail boot script.
qmail=/var/qmail/rc
RETVAL=0

# Until glibc's locale support is working right again, work around it.
LANG=C

# Change the major functions into functions.
start() {
        echo -n "Starting qmail: "
        daemon ${qmail}
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && touch /var/lock/subsys/smtp
        return $RETVAL
}
stop() {
        echo -n "Shutting down qmail: "
        killproc qmail-send
        RETVAL=$?
        echo
        [ $RETVAL = 0 ] && rm -f /var/lock/subsys/smtp
        return $RETVAL
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  restart)
        stop
        start
        ;;
*)
        echo "Usage: $0 {start|stop|restart}"
        exit 1
esac

exit $RETVAL

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





On Mon, 12 Mar 2001, Eric Pretorious wrote:

> # Change the major functions into functions.
> start() {
>       echo -n "Starting qmail: "
>       daemon ${qmail}
>       RETVAL=$?
>       echo
>       [ $RETVAL = 0 ] && touch /var/lock/subsys/smtp
>       return $RETVAL
> }

Replace "daemon ${qmail}" with "csh -cf '/var/qmail/rc'" and see what
happens. The fact that qmail doesn't run right from sh/bash is mentioned
in the docs.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD






Also, 

    Another good thing to note:

    I was having a serious problem with qMail delivering mail to end users,
however, mail was being stored in the queue (this was quite some time ago
now).  I had made a few changes to a crontab entry the day earlier, however;
everything was seemingly running normally with qMail.

    Anyway, it turns out that I was running an INTENCE CRON job every single
second, rather than my intended once per day.  (oops).  It took a little
while after I corrected the error before the backlog was gone, but
everything has been running smoothly since.

    Just an example of how a completely unrelated system event can alter the
performance of other items... (hrrmmm chaos mathematics anyone?)

Cheers,

Sean


THCI Billing Department wrote:

> Avery,
> 
> Take a deep breathe and let us work through it together as a group shall we.
> 
> Have you restarted qmail?  Since the last time it was working?
> 
> Have you recently rebooted your server for some reason?
> 
> Have you made "ANY" changes to your firewall?
> 
> Have you made "ANY" changes to your system?
> (Even changes that you think should NOT do anything to qmail.)
> 
> What do the logs in your system say?
> 
> Could you please post the relevant portions of your logs for the community
> to review?
> 
> Have you attempted to send an email to yourself from your own account on the
> same server?
> 
> Does it arrive?
> 
> Have you attempted to send an email TO an OUTSIDE account? Say at Hotmail or
> something?
> 
> And then have you attempted to send TO your server FROM an outside source?
> 
> If you send it FROM an outside source, is the OUTSIDE source account getting
> back any strange "Not Deliverable" type messages or anything?
> 
> Have you changed your DNS records? More specifically the MX records and the
> "A" record for the mail server itself?
> 
> You did set create an "A" record for the mail server and an "MX" record too
> right?
> 
> You state:
>> I can send a blank message from my server to me but I can't send a message
>> from the server.
> 
> Is email coming in and NOT going out?
> OR
> Is email going out and NOT coming in?
> 
> Please clarify.
> 
> Are you running any sort of intrusion detection to let you know if anyone
> has tried to hack your box?
> 
> Is your network connectivity for that box active? Can you ping it from
> across the network?
> Can you ping it from OUTSIDE your network? Or do you get back a type 3 ICMP
> msg?
> 
> Is it live? Is the network cable plugged in firmly? Are the lights lighting
> up on your network card like they should be?
> 
> Those last questions we SERIOUS questions, I wasn't kidding.
> 
> And here is a real true story, so you will know WHY I asked them...
> 
> I used to work in academia (local college campus) where we had multiple
> satellite campuses in various parts of the state where I live, all
> interconnected via VPN. (Academia isn't very good pay by the way... But
> that's another story....)
> 
> They had a problem with their mail system where it would suddenly just
> stopped working for a VERY long period of time.
> 
> I told them to check the cables, restart the system, check the logs, etc...
> etc... etc...
> 
> They SWORE they did.
> 
> At the end of the day, I checked in to see how they were doing. The server
> was still down and they couldn't fix it.
> 
> "Its going to require a full reinstall.... blah blah blah blah blah" They
> grumbled.
> 
> "Oh?" I said. And reached around and plugged in the network cable......
> 
> Needless to say, I smiled and went home, knowing that a bad connection had
> been the problem the whole time....
> 
> I told them to check it.... :)
> 
> Sometimes its the simplest things that we over look.
> 
> So seriously take a deep breath, and start off with the most SIMPLEST of
> things like checking the cables, and work your way into the system from
> there. If those are fine, at least you know that you checked them, and that
> you can rest in the fact that you are one step closer to finding the
> problem.
> 
> But if you could post some of your logs, that would certainly help as well.
> 
> Jack
> [EMAIL PROTECTED]
> 
> 
> 
> ----- Original Message -----
> From: "Avery Brooks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 09, 2001 5:15 PM
> Subject: Please help!!!
> 
> 
>> Greetings,
>> 
>> I setup qmail and it seems to work sometimes but it doesn't work all the
>> time.  What I mean is this morning I sent a mail through one of my forms
> and
>> it worked fine.  But right now and for the last 8 hours I haven't been
> able
>> to get any email's.  I check and qmail is running, but I don't know whats
>> going on.  Qmail just seems to not send mail all the time.
>> 
>> I am running a simple script to just test mailing functions, and it
> doesn't
>> work at all now.  I ran all the diags on qmail and it says that qmail is
> ok.
>> I can send a blank message from my server to me but I can't send a message
>> from the server.
>> 
>> Please help, I have tried 3 different paths:
>> 
>> 
>> /var/qmail/bin/qmail-inject
>> /usr/sbin/sendmail
>> /usr/lib/sendmail
>> 
>> Please HELP!
>> 
>> Avery Brooks
> 



Reply via email to