qmail Digest 19 Jun 1999 10:00:01 -0000 Issue 676

Topics (messages 26867 through 26897):

large attachments, tcpserver & timeouts
        26867 by: "Sam" <[EMAIL PROTECTED]>
        26874 by: "Aaron L. Meehan" <[EMAIL PROTECTED]>
        26880 by: Markus Stumpf <[EMAIL PROTECTED]>

local messages, how?
        26868 by: Attila Csosz <[EMAIL PROTECTED]>
        26869 by: Varga Robert <[EMAIL PROTECTED]>
        26870 by: [EMAIL PROTECTED] (Giulio Orsero)
        26872 by: Attila Csosz <[EMAIL PROTECTED]>
        26873 by: "Soffen, Matthew" <[EMAIL PROTECTED]>
        26876 by: Attila Csosz <[EMAIL PROTECTED]>
        26879 by: [EMAIL PROTECTED] (Giulio Orsero)

cyclog examples sought
        26871 by: "Fred Lindberg" <[EMAIL PROTECTED]>
        26883 by: "Mark E. Drummond" <[EMAIL PROTECTED]>

qmail on Solaris 2.7
        26875 by: qmlist <[EMAIL PROTECTED]>

! path email addresses?
        26877 by: "Mark E. Drummond" <[EMAIL PROTECTED]>

move the queue
        26878 by: Eric Huss <[EMAIL PROTECTED]>

Simple Questions - Don't Flame Please!
        26881 by: "Kevin King" <[EMAIL PROTECTED]>
        26885 by: "Alex Miller" <[EMAIL PROTECTED]>
        26897 by: Martin Rehr <[EMAIL PROTECTED]>

unable to fork after 20th days??
        26882 by: "Arisandy" <[EMAIL PROTECTED]>

imap/pop3 deamon
        26884 by: Diego Puertas <[EMAIL PROTECTED]>

RPM install question
        26886 by: "Alex Miller" <[EMAIL PROTECTED]>
        26887 by: "Sam" <[EMAIL PROTECTED]>
        26888 by: "Alex Miller" <[EMAIL PROTECTED]>

Pine, Mutt, and Maildir
        26889 by: "Alex Miller" <[EMAIL PROTECTED]>
        26894 by: Scott Schwartz <[EMAIL PROTECTED]>

Newbie Question - Please Read!
        26890 by: "Kevin King" <[EMAIL PROTECTED]>
        26891 by: Dale Miracle <[EMAIL PROTECTED]>
        26892 by: gene Campbell <[EMAIL PROTECTED]>
        26893 by: Dale Miracle <[EMAIL PROTECTED]>
        26895 by: Richard Letts <[EMAIL PROTECTED]>

Closing SMTP connection
        26896 by: Balazs Nagy <[EMAIL PROTECTED]>

Administrivia:

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

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

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

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


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


Aaron Nabil writes:

> Sam writes...
> >Aaron Nabil writes:
> >
> >> 
> >> Several people on the list have reported timeout problems 
> >> with clients like Outlook when using tcpserver and qmail's pop3.
> >> 
> >> . . .
> >> 
> >> Something is wrong with tcpserver.
> >
> >Before you start making conclusions, try to actually look at tcpserver's
> >source code.
> >
> >After the connection is received, tcpserver forks and execs the server, at
> >which point the forked tcpserver ceases to exist.
> >
> >It would be rather impressive for tcpserver to affect an existing
> >connection when it is no longer running.
> 
> Tcpserver sets up the environment, signal handling and masks, and 
> creates the descriptors (and sets options on them) for the child.  It
> _would_ be impressive for tcpserver to affect a forked and execed pop
> connection, but that's hardly germaine.  To bugger up a pop session,
> all the tcpserver has to do is pollute the signal environment, fail to 
> set or clear some critical process limit, or mess up one of the 
> descriptors it passed to the child in any one of countless ways.  It

And if that was so, it would be plainly visible in the source code.


-- 
Sam





Quoting Sam ([EMAIL PROTECTED]):
> Aaron Nabil writes:
> > Several people on the list have reported timeout problems 
> > with clients like Outlook when using tcpserver and qmail's pop3.
[...]
> > Something is wrong with tcpserver.
> 
> Before you start making conclusions, try to actually look at tcpserver's
> source code.
> 
> After the connection is received, tcpserver forks and execs the server, at
> which point the forked tcpserver ceases to exist.
> 
> It would be rather impressive for tcpserver to affect an existing
> connection when it is no longer running.

I am in agreement that it's likely not tcpserver.  I sure do wish I
knew exactly what it was, however, since large attachments are among
our top tech support problems.  I hear all the time "my friends can
get large attachments but I can't" so customers assume it's our fault.

On the assumption it's a client-side issue, we're upgrading our CD to
install Netscape 4.5, instead of the current 4.04 version.  Could be
4.04 is buggy in that respect, but I've seen the problem with many
other mail clients as well.

Aaron




On Fri, Jun 18, 1999 at 09:34:05AM -0700, Aaron L. Meehan wrote:
> On the assumption it's a client-side issue, we're upgrading our CD to
> install Netscape 4.5, instead of the current 4.04 version.  Could be
> 4.04 is buggy in that respect, but I've seen the problem with many
> other mail clients as well.

There is a big problem with a lot of POP clients, with the "lookup
for new mail interval".
If the client doesn't get the eMail within that timeout it gets an
interupt, hangs up the current transfer, does a "LIST" and starts over
and over and over ...

Other things are e.g. firewalls that put limits on the amount of data
that is allowed to be transferred during one POP session (*sigh*)

I've also seen cases where the POP client doesn't handle "disk full"
situations (on the client disk) correctly.

What we do if everything else fails is call the customer and do a
transfer under control of e.g. tcpdump.
We had cases where the client simply "hard" closed the TCP connection
during transfers without any CLOSE/FIN whatever packets and refused to
talk any more (Windows environments). Reinstalling the client mostly
fixed the problems.

Hope that helps.

        \Maex





I've installed qmail on my linux box. It works nice with remote messages but
I'd like to use it with local messages( for example I'd like to redirect 
cron messages to a normal user account or I'd like to send message another
user )
When I set up qmail I ran ./config-fast localhost.
Currently I get the following error message while trying to send message me
( normal user account; attila: [EMAIL PROTECTED] )
I tried to add the 'localhost.localhost' line to the /var/qmail/control/locals
but it don't work also. In my home directory exist a file '.qmail'
I've read the documentation but I can't do this.

------------
Jun 18 14:28:33 andromeda qmail: 929708913.979045 new msg 10117
Jun 18 14:28:33 andromeda qmail: 929708913.979308 info msg 10117: bytes 500 from 
<[EMAIL PROTECTED]> qp 307 uid 1000
Jun 18 14:28:33 andromeda qmail: 929708914.000977 starting delivery 1: msg 10117 to 
remote [EMAIL PROTECTED]
Jun 18 14:28:33 andromeda qmail: 929708914.001208 status: local 0/10 remote 1/20
Jun 18 14:28:34 andromeda qmail: 929708914.017990 delivery 1: deferral: 
CNAME_lookup_failed_temporarily._(#4.4.3)/
Jun 18 14:28:34 andromeda qmail: 929708914.018220 status: local 0/10 remote 0/20
-----------------


Thanks
 Attila

 

-- 
---------------------------------------
- Debian 2.1 Linux  / 2.0.36 / qmail  -
- Mail: [EMAIL PROTECTED]        -






On Fri, 18 Jun 1999, Attila Csosz wrote:

> I've installed qmail on my linux box. It works nice with remote messages but
> I'd like to use it with local messages( for example I'd like to redirect 
> cron messages to a normal user account or I'd like to send message another
> user )
> When I set up qmail I ran ./config-fast localhost.
> Currently I get the following error message while trying to send message me
> ( normal user account; attila: [EMAIL PROTECTED] )


What is in your /var/qmail/control/me file?
If it is localhost.localhost then you know what to change...
By the way, look at the other 4 files there as well, for
localhost.localhost :)

Robert Varga





On Fri, 18 Jun 1999 14:40:29 +0200, hai scritto:

>I've installed qmail on my linux box. It works nice with remote messages but
>I'd like to use it with local messages( for example I'd like to redirect 
>cron messages to a normal user account or I'd like to send message another
>user )
>When I set up qmail I ran ./config-fast localhost.

I think this put "localhost" in me.
Qmail doesn't like this, it wants something with dots in me.
So put a bogus name in control/me, something with dots:
mymachine.mydomain.dom

Ciao.





On Fri, Jun 18, 1999 at 02:59:34PM +0200, Giulio Orsero wrote:
> On Fri, 18 Jun 1999 14:40:29 +0200, hai scritto:
> 
> >I've installed qmail on my linux box. It works nice with remote messages but
> >I'd like to use it with local messages( for example I'd like to redirect 
> >cron messages to a normal user account or I'd like to send message another
> >user )
> >When I set up qmail I ran ./config-fast localhost.
> 
> I think this put "localhost" in me.
> Qmail doesn't like this, it wants something with dots in me.
> So put a bogus name in control/me, something with dots:

No change. It don't work still.

I have the following files in /var/qmail/control; in every file a string
'localhost'

-----------
total 7
drwxr-xr-x   2 root     qmail        1024 JÚN 18 15:15 .
drwxr-xr-x  10 root     qmail        1024 JÚN  5 21:58 ..
-rw-r--r--   1 root     root           10 JÚN  5 21:57 defaultdomain
-rw-r--r--   1 root     root           10 JÚN 18 13:52 locals
-rw-r--r--   1 root     root           10 JÚN 18 17:40 me
-rw-r--r--   1 root     root           10 JÚN  5 21:57 plusdomain
-rw-r--r--   1 root     root           10 JÚN  5 21:57 rcpthosts
-------------


> mymachine.mydomain.dom
> 
> Ciao.
> 

-- 
---------------------------------------
- Debian 2.1 Linux  / 2.0.36 / qmail  -
- Mail: [EMAIL PROTECTED]        -




You may need to create a local name server.  Create a "domain" for
yourself and this way qmail will be able to resolve the destination for
your machine.



> -----Original Message-----
> From: Attila Csosz [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 18, 1999 11:44 AM
> To:   Giulio Orsero
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: local messages, how?
> 
> On Fri, Jun 18, 1999 at 02:59:34PM +0200, Giulio Orsero wrote:
> > On Fri, 18 Jun 1999 14:40:29 +0200, hai scritto:
> > 
> > >I've installed qmail on my linux box. It works nice with remote
> messages but
> > >I'd like to use it with local messages( for example I'd like to
> redirect 
> > >cron messages to a normal user account or I'd like to send message
> another
> > >user )
> > >When I set up qmail I ran ./config-fast localhost.
> > 
> > I think this put "localhost" in me.
> > Qmail doesn't like this, it wants something with dots in me.
> > So put a bogus name in control/me, something with dots:
> 
> No change. It don't work still.
> 
> I have the following files in /var/qmail/control; in every file a
> string
> 'localhost'
> 
> -----------
> total 7
> drwxr-xr-x   2 root     qmail        1024 JUN 18 15:15 .
> drwxr-xr-x  10 root     qmail        1024 JUN  5 21:58 ..
> -rw-r--r--   1 root     root           10 JUN  5 21:57 defaultdomain
> -rw-r--r--   1 root     root           10 JUN 18 13:52 locals
> -rw-r--r--   1 root     root           10 JUN 18 17:40 me
> -rw-r--r--   1 root     root           10 JUN  5 21:57 plusdomain
> -rw-r--r--   1 root     root           10 JUN  5 21:57 rcpthosts
> -------------
> 
> 
> > mymachine.mydomain.dom
> > 
> > Ciao.
> > 
> 
> -- 
> ---------------------------------------
> - Debian 2.1 Linux  / 2.0.36 / qmail  -
> - Mail: [EMAIL PROTECTED]        -




Thanks. I've installed the bind package. This solved the problem.

Attila


On Fri, Jun 18, 1999 at 02:40:29PM +0200, Attila Csosz wrote:
> I've installed qmail on my linux box. It works nice with remote messages but
> I'd like to use it with local messages( for example I'd like to redirect 
> cron messages to a normal user account or I'd like to send message another
> user )
> When I set up qmail I ran ./config-fast localhost.
> Currently I get the following error message while trying to send message me
> ( normal user account; attila: [EMAIL PROTECTED] )
> I tried to add the 'localhost.localhost' line to the /var/qmail/control/locals
> but it don't work also. In my home directory exist a file '.qmail'
> I've read the documentation but I can't do this.

-- 
---------------------------------------
- Debian 2.1 Linux  / 2.0.36 / qmail  -
- Mail: [EMAIL PROTECTED]        -




On Fri, 18 Jun 1999 17:44:20 +0200, hai scritto:

>> I think this put "localhost" in me.
>> Qmail doesn't like this, it wants something with dots in me.
>> So put a bogus name in control/me, something with dots:
>
>No change. It don't work still.
>
>I have the following files in /var/qmail/control; in every file a string
>'localhost'

I said you need to put something else then "localhost" in me.
Have you tried?
A name with dots, a fqdn. Then add it to locals and rcpthosts.

I had the same problem and I solved it this way.
No need of a DNS.





On Fri, 18 Jun 1999 09:24:06 +0300, Anand Buddhdev wrote:

>> cyclog rotates itself when a log reaches a certain size, which is fine, but
>> what's the right way to collect them and do a daily scan and crunch? 

I use this in /etc/rc.d/init.d/qmail:

supervise /var/run/qmail qmail-start ./Maildir/ /usr/bin/accustamp | \
      /usr/bin/setuser qmaill \
     /usr/bin/cyclog -n4 -s2500000 /var/log/qmail /var/qmail/bin/analog
&

Where "/var/qmail/bin/analog" is:

cat /var/log/qmaillog/log.pend "$1" | \
   /var/qmail/bin/matchup > /var/log/qmaillog/log.tmp \
   5>/var/log/qmaillog/log.pend.tmp

if [ $? != 0 ]; then
        exit 1
fi

mv -f /var/log/qmaillog/log.pend.tmp /var/log/qmaillog/log.pend
cat /var/log/qmaillog/log.tmp >> /var/log/qmaillog/log
rm -f "$1"

Then use qmailanalog stats on "log" and regular log rotation of "log".
The cyclog part requires Bruce Guenter's patch. The 2500000 cyclog
files correspond to about one hour. [I wish there was an option to
process the just finished cyclog file instead]. The nice thing is that
I almost only look at matchup:ed logs instead of raw logs to track
problems. BTW - the "analog" log extension part isn't crash safe, but
IMHO good enough.

Improvements/suggestions welcome!

What I also would like is a tool on top of this that extracts info from
the logs to send messages to postmasters of defunct systems. There are
a lot of MX that say "relaying denied" even though the are MX for that
host, hosts that 5xx reject mail when lookup of the sender domain times
out, etc, for whom it would be nice to generate automatic mail.


-Sincerely, Fred

(Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)






Fred Lindberg wrote:
> 
> I use this in /etc/rc.d/init.d/qmail:
> 
> supervise /var/run/qmail qmail-start ./Maildir/ /usr/bin/accustamp | \
>       /usr/bin/setuser qmaill \
>      /usr/bin/cyclog -n4 -s2500000 /var/log/qmail /var/qmail/bin/analog

SNIP

Thanks for the ideas! These are excellant. For other people running the
same setup as me (Slack 3.6) here are my files:

/etc/rc.d/rc.qmail is run by rc.M in place of starting up sendmail:

PATH=$PATH:/usr/local/bin:/var/qmail/bin
USERID=1002
GROUPID=101

case "$1" in
    start)
        echo -n "Starting mail-transfer agent: qmail"
        #ulimit -v 2048

        csh -cf '/var/qmail/rc &'

        supervise /var/lock/qmail-smtpd tcpserver -v -c100
-x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \
        rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \
        setuser qmaill cyclog -s5000 -n10 /var/log/qmail/qmail-smtpd \
        /var/qmail/bin/analog &

        echo "."
        ;;
    stop)
        echo -n "Stopping mail-transfer agent: qmail"
        killall -TERM qmail-send
        svc -dx /var/lock/qmail-smtpd
        echo "."
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    reload|force-reload)
        echo "Reloading 'locals' and 'virtualdomains' control files."
        start-stop-daemon --stop --quiet --oknodo --signal HUP --exec
/usr/sbin/qmail-send
        ;;
    *)
        echo 'Usage: /etc/rc.d/rc.qmail {start|stop|restart|reload}'
        exit 1
esac

exit 0

I guess technically speaking qmail-smtpd should be started by rc.inet2
while only /var/qmail/rc should be started by rc.M.

And my /var/qmail/rc:

exec env - PATH="/var/qmail/bin:$PATH" \
supervise /var/lock/qmail qmail-start ./Maildir/
/usr/local/bin/accustamp | \
/usr/local/bin/setuser qmaill \
/usr/local/bin/cyclog -s 5000 -n 10 /var/log/qmail /var/qmail/bin/analog

This is on my personal workstation so mail volumes are low ergo small
log files. This stuff just keep sgetting better and better!

-- 
___________________________________________________________________
Mark E Drummond                    Royal Military College of Canada
[EMAIL PROTECTED]                                Computing Services
Linux Uber Alles                                        perl || die

       ...there are two types of command interfaces in the world of
                    computing: good interfaces and user interfaces.
                                   - Dan Bernstein, Author of qmail

PGP Fingerprint = 503D A72D AF41 2AD1 D433 C514 98D9 9A39 B25A 2405




At 04:22 PM 6/16/99 , Bhushan Kerur wrote:
>I am having problem running qmail on Solaris 2.7 system.
>Somehow, qmail-1.03 s/w is not working, especially tcp-env
>and qmail-remote binaries.
>  Anyone knows why?
>Thanks in advance.
>BK

Sparc or x86? If the former, 32bit or 64bit kernel? Sun compiler or gcc?

as a datapoint, qmail compiles cleanly on sparc 64bit kernel using workshop 
5.0 compiler, but if you specify 64bit support - xarch=v9 - it won't run.

needless to say, qmail compiles effortlessly with gcc.




I have a user that has been receiving 100's of copies of the same
message. I've been looking through my logs and here are 4 entries
pertaining to that email:

929640231.000562 new msg 175736
929640231.000751 info msg 175736: bytes 5904 from
<[EMAIL PROTECTED]> qp 5364 uid 51012
929640231.084344 starting delivery 103076: msg 175736 to remote
[EMAIL PROTECTED]
929640231.084406 status: local 0/10 remote 1/20
929640231.503478 delivery 103076: success:
137.94.5.143_accepted_message./Remote_host_said:_250_Message_rece
ived:_772742D592E.AAA73EF/
929640231.528023 status: local 0/10 remote 0/20
929640231.528452 end msg 175736

929646237.481007 info msg 175736: bytes 10557 from
<[EMAIL PROTECTED]> qp 6682 uid
 51012
929646237.564512 starting delivery 103414: msg 175736 to remote
[EMAIL PROTECTED]
929646237.564577 status: local 0/10 remote 1/20
929646238.150030 delivery 103414: success:
137.94.5.143_accepted_message./Remote_host_said:_250_Message_rece
ived:_772742D7163.AAA438E/
929646238.174583 status: local 0/10 remote 0/20
929646238.175023 end msg 175736

929647426.539316 new msg 175736
929647426.539518 info msg 175736: bytes 6424 from
<[EMAIL PROTECTED]> qp 6942 uid 51012
929647426.623035 starting delivery 103482: msg 175736 to remote
[EMAIL PROTECTED]
929647426.623104 status: local 0/10 remote 1/20
929647427.070134 delivery 103482: success:
137.94.5.143_accepted_message./Remote_host_said:_250_Message_rece
ived:_772742D7929.AAA50E6/
929647427.091766 status: local 0/10 remote 0/20
929647427.092220 end msg 175736

929648105.540659 new msg 175736
929648105.540881 info msg 175736: bytes 11566 from
<[EMAIL PROTECTED]> 
qp 7116 uid 51012
929648105.632696 starting delivery 103530: msg 175736 to remote
[EMAIL PROTECTED]
929648105.632768 status: local 0/10 remote 1/20
929648106.143233 delivery 103530: success:
137.94.5.143_accepted_message./Remote_host_said:_250_Message_rece
ived:_772742D7DB0.AAA57BC/
929648106.168016 status: local 0/10 remote 0/20
929648106.168452 end msg 175736

This email was sent out to a boatload of rcpts but this user is
receiving this message over and over again. Could there be some sort of
loop occuring elsewhere?

A few questions, I've only ever seen ! path addresses WRT UUCP so what
is up with these ones? Also, the number after "new msg" etc, is this
some sort of identifier? The qp <num> is a PID right? What about
"delivery <num>"?

-- 
___________________________________________________________________
Mark E Drummond                    Royal Military College of Canada
[EMAIL PROTECTED]                                Computing Services
Linux Uber Alles                                        perl || die

       ...there are two types of command interfaces in the world of
                    computing: good interfaces and user interfaces.
                                   - Dan Bernstein, Author of qmail

PGP Fingerprint = 503D A72D AF41 2AD1 D433 C514 98D9 9A39 B25A 2405




> Actually, now that I think of it, I would suspect that something bad
> happened to the files in queue/lock when you moved the directory to a
> different file system.  I am not sure if queue-fix fixes that?

It's a known problem.  queue-fix will only check for the existence of the
files in the /lock directory, and it will create them if they don't exist.
It does not check to make sure that they are the correct type (so if
trigger becomes a regular file instead of a pipe, it won't complain).  I'd
love to fix it someday, but I just haven't had a chance (or a need).

-Eric





I recently got my RH Linux box working wtith Qmail (with a huge amount of help from Dave Sill). When I installed Qmail setup the following files as such:
 

defaultdomain:

srccomputer.net

locals:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.sourcecomputer.net

me:

src1.sourcecomputer.net

plusdomain:

srccomputer.net

rcpthosts:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.sourcecomputer.net

I am slightly confused about what is a "virtual" domain. The problem I am having is how do I

setup Qmail where I could have "[EMAIL PROTECTED]" and [EMAIL PROTECTED], and [EMAIL PROTECTED] all at the same time. My PC does not currently do DNS, it is done by my IP (if this even matters).  Each domain has it's own IP

address setup on the APACHE server. My PC's name is "src1.srccomputer.net"- is this the FQDN? I guess I am confused about "what is a virtual domain". Qmail and QPOP are working fine. I just want to setup some more aliases.

Thanks in advance,

Kevin King





If I understand it correctly when you set up a virtual host, you set it up something like this.
 
xtremesportsmidland.com is user1
srccomputer.net is user2
turfspecilties.com is user3
 
In each of the user directories there would be the file
.qmail-sales
 
and inside of that file would contain the location of where to send emails to that address. It could be another user, a directory, or a list of email addresses.
 
Now, I can't speak from experience because for I have been unable to get my SMTP host working on my Redhat Linux box (Linux Mandrake - Redhat + KDE).
 
I wonder what you did right that I did wrong?
 
Alex Miller
 
 
 
 
 
 
 
 
 
 
 
-----Original Message-----
From: Kevin King [m
ailto:[EMAIL PROTECTED]]
Sent: Friday, June 18, 1999 2:04 PM
To: [EMAIL PROTECTED]
Subject: Simple Questions - Don't Flame Please!

I recently got my RH Linux box working wtith Qmail (with a huge amount of help from Dave Sill). When I installed Qmail setup the following files as such:
 

defaultdomain:

srccomputer.net

locals:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.sourcecomputer.net

me:

src1.sourcecomputer.net

plusdomain:

srccomputer.net

rcpthosts:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.sourcecomputer.net

I am slightly confused about what is a "virtual" domain. The problem I am having is how do I

setup Qmail where I could have "[EMAIL PROTECTED]" and [EMAIL PROTECTED], and [EMAIL PROTECTED] all at the same time. My PC does not currently do DNS, it is done by my IP (if this even matters).  Each domain has it's own IP

address setup on the APACHE server. My PC's name is "src1.srccomputer.net"- is this the FQDN? I guess I am confused about "what is a virtual domain". Qmail and QPOP are working fine. I just want to setup some more aliases.

Thanks in advance,

Kevin King






Could  someone give an please configuration example of this.

I would like to know which files to modify and how.

--

Regards
    Martin Rehr / Supermall APS / Denmark

Alex Miller wrote:

>  If I understand it correctly when you set up a virtual host, you set
> it up something like this.xtremesportsmidland.com is
> user1srccomputer.net is user2turfspecilties.com is user3 In each of
> the user directories there would be the file.qmail-salesand inside of
> that file would contain the location of where to send emails to that
> address. It could be another user, a directory, or a list of email
> addresses.Now, I can't speak from experience because for I have been
> unable to get my SMTP host working on my Redhat Linux box (Linux
> Mandrake - Redhat + KDE).I wonder what you did right that I did
> wrong?Alex Miller
>
>      -----Original Message-----
>      From: Kevin King [mailto:[EMAIL PROTECTED]]
>      Sent: Friday, June 18, 1999 2:04 PM
>      To: [EMAIL PROTECTED]
>      Subject: Simple Questions - Don't Flame Please!
>
>      I recently got my RH Linux box working wtith Qmail (with a
>      huge amount of help from Dave Sill). When I installed Qmail
>      setup the following files as such: defaultdomain:
>
>      srccomputer.net
>
>      locals:
>
>      localhost
>
>      src1.xtremesportsmidland.com
>
>      src1.turfspecialties.com
>
>      src1.sourcecomputer.net
>
>      me:
>
>      src1.sourcecomputer.net
>
>      plusdomain:
>
>      srccomputer.net
>
>      rcpthosts:
>
>      localhost
>
>      src1.xtremesportsmidland.com
>
>      src1.turfspecialties.com
>
>      src1.sourcecomputer.netI am slightly confused about what is
>      a "virtual" domain. The problem I am having is how do I
>
>      setup Qmail where I could have
>      "[EMAIL PROTECTED]" and [EMAIL PROTECTED],
>      and [EMAIL PROTECTED] all at the same time. My PC
>      does not currently do DNS, it is done by my IP (if this even
>      matters).  Each domain has it's own IP
>
>      address setup on the APACHE server. My PC's name is
>      "src1.srccomputer.net"- is this the FQDN? I guess I am
>      confused about "what is a virtual domain". Qmail and QPOP
>      are working fine. I just want to setup some more aliases.
>
>      Thanks in advance,
>
>      Kevin King
>








I have Qmail server on Dell PowerEdge 4300
dual pentium II 450 + 1024 Mb ram....

but why my server unable to fork  after 20th days???
I set concurrencyremote and local up to 120....
concurrencysmtp and pop3 set to 100
I already set max file open & max process up to 1024 

is my hardware configuration isn't enought to reach 120 concurrency??
is there any formula to set qmail concurrency??
what shuold I do to run Qmail server with long uptime :)

thanks before....

--
Arisandy Arief 
Unit Bisnis Internet - Divre V Jatim
Jl. Ketintang 156 Surabaya 60231
Email. [EMAIL PROTECTED]






I need an imap deamon that works with mbox in /var/spool/mail.

I'm trying to use the deamon that came with my linux distribution
(RedHat 5.2), wich is:

    IMAP4rev1/c-client Development Environment
                               8 September 1998
                                 Mark Crispin

doesn't imap works without involving the MTA (i.e. sendmail, qmail),
aparently not, because afer i send login and password the client can't
retrive the mail.

How can I configure imap to work with qmail.





I am attempting the RPM install since I can't figure out why my SMTP host
isn't working when I installed QMail and Uninstalled sendmail.

There are 2 parts of the first step which are confusing.

"b) Make sure that the shadow-utils (see the qmail spec file for what
version is needed) because the qmail rpm's installation uses it. The bind
utils package is needed by the tcpserver-initscripts rpm's installation."

What is being asked here? Are they asking if I completed the previous step
to install the functions rpm? What bind utils package?

"c) If the machine you are installing is a NIS client machine but not a
server, you need to stop ypbind and remove the file corresponding to the nis
domain in /var/yp/binding. I just do

  rm -f /var/yp/binding/*"

ok, I do have that directory. But how do I know wether or not I'm an NIS
server? What is an NIS server? I'm serving as an internet gateway to 2
windows boxes. I have Samba running so I can read files off the LINUX box.

The next step is to build qmail so knowing what this means would really
especially if something goes wrong.

Alex (still desperate for virtual mail) Miller







On Fri, 18 Jun 1999, Alex Miller wrote:

> I am attempting the RPM install since I can't figure out why my SMTP host
> isn't working when I installed QMail and Uninstalled sendmail.
> 
> There are 2 parts of the first step which are confusing.
> 
> "b) Make sure that the shadow-utils (see the qmail spec file for what
> version is needed) because the qmail rpm's installation uses it. The bind
> utils package is needed by the tcpserver-initscripts rpm's installation."
> 
> What is being asked here? Are they asking if I completed the previous step
> to install the functions rpm? What bind utils package?

Run 'rpm -q shadow-utils'.

That tells you the version of shadow-utils you have installed.  Similarly,
'rpm -q bind-utils' tells you what version bind-utils you have installed.

> "c) If the machine you are installing is a NIS client machine but not a
> server, you need to stop ypbind and remove the file corresponding to the nis
> domain in /var/yp/binding. I just do
> 
>   rm -f /var/yp/binding/*"
> 
> ok, I do have that directory. But how do I know wether or not I'm an NIS
> server?

If you don't know what this is, the answer is that you're not.





Thanks, that helps :-)

> -----Original Message-----
> From: Sam [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 18, 1999 9:23 PM
> Cc: Qmail
> Subject: Re: RPM install question
>
>
>
>
> On Fri, 18 Jun 1999, Alex Miller wrote:
>
> > I am attempting the RPM install since I can't figure out why my
> SMTP host
> > isn't working when I installed QMail and Uninstalled sendmail.
> >
> > There are 2 parts of the first step which are confusing.
> >
> > "b) Make sure that the shadow-utils (see the qmail spec file for what
> > version is needed) because the qmail rpm's installation uses
> it. The bind
> > utils package is needed by the tcpserver-initscripts rpm's
> installation."
> >
> > What is being asked here? Are they asking if I completed the
> previous step
> > to install the functions rpm? What bind utils package?
>
> Run 'rpm -q shadow-utils'.
>
> That tells you the version of shadow-utils you have installed.  Similarly,
> 'rpm -q bind-utils' tells you what version bind-utils you have installed.
>
> > "c) If the machine you are installing is a NIS client machine but not a
> > server, you need to stop ypbind and remove the file
> corresponding to the nis
> > domain in /var/yp/binding. I just do
> >
> >   rm -f /var/yp/binding/*"
> >
> > ok, I do have that directory. But how do I know wether or not I'm an NIS
> > server?
>
> If you don't know what this is, the answer is that you're not.
>
>





Ok, finally, using the rpm I was able to get QMail working on my system. The
Qmail that it created is certainly different that the one I compiled
directly, more on that later.

I rempoved my old Pine and installed the new one that recognizes Maildirs.
It works, I'm very pleased about that.

However, Mutt seems to be looking for the Mailbox, and I can't see an option
for setting it to use Maildirs.

I actually never heard of Mutt before reading this mailing list, and it
seems well recommended in particular since it handles Maildirs.

So how do I tell Mutt to forget Mailbox and go with Maildir?





"Alex Miller" <[EMAIL PROTECTED]> writes:
| However, Mutt seems to be looking for the Mailbox, and I can't see an option
| for setting it to use Maildirs.

Set $MAIL to point to your maildir.

But... is it my imagination or does mutt read the whole maildir, and
then write it back?  That's just awful to contemplate.  One of the big
advantages of maildir (and mh) is that you don't have to write the
whole thing back just to update a few messages.





I recently got my RH Linux box working wtith Qmail (with a huge amount of help from Dave Sill). When I installed Qmail setup the following files as such:

defaultdomain:

srccomputer.net

locals:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.srccomputer.net

me:

src1.srccomputer.net

plusdomain:

srccomputer.net

rcpthosts:

localhost

src1.xtremesportsmidland.com

src1.turfspecialties.com

src1.srccomputer.net

I am confused about what is a "virtual" domain. The problem I am having is how do I setup Qmail where I could have "[EMAIL PROTECTED]" and [EMAIL PROTECTED], and [EMAIL PROTECTED] all at the same time. My PC does not currently do DNS, it is done by my IP (if this even matters).  Each domain has it's own IP address setup on the APACHE server. My PC's name is "src1.srccomputer.net"- is this the FQDN? I know I am confused about "what is a virtual domain". Qmail and QPOP are working fine. I just want to setup some more aliases.

Thanks in advance,

Kevin King

 





> Kevin King wrote:
> 
> I recently got my RH Linux box working wtith Qmail (with a huge amount
> of help from Dave Sill). When I installed Qmail setup the following
> files as such:
> 

I found this web site tonight that might help some people. I am also
trying to setup qmail my self because sendmail's virtual mail setup is
EVIL..I hate m4 and makemap <shudder>. Any how here is the link
http://www.flounder.net/qmail/qmail-howto.html

I found it while searching through many howto's and web pages trying to
make sense of the hundreds of interpretations of the qmail doc's.  I
read it all the way through and it sounds pretty good...to bad I found
it at 1 am :( I have been staring at this monitor of mine for over 3
hours now.  I think I am just going to remove what I have and install
qmail fresh tomorrow. 
I hope this help's, I know it made more sense to me... 
                        Later,
-- 

Dale Miracle
 System Administrator
  Teoi Net




I just tried this howto.  It is the best one yet for helping understand
this system.  But, I still can't get smtp to work. That is if I send from
another place to my system with qmail, it is bouced back.  I get this

___
Hi. This is the qmail-send program at mail.surfup.com.
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)
---

I feel like I'm getting somewhere with this.  But, I have no idea how I'm
going to get POP mail working.

- gene


At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
>> Kevin King wrote:
>>
>> I recently got my RH Linux box working wtith Qmail (with a huge amount
>> of help from Dave Sill). When I installed Qmail setup the following
>> files as such:
>>
>
>I found this web site tonight that might help some people. I am also
>trying to setup qmail my self because sendmail's virtual mail setup is
>EVIL..I hate m4 and makemap <shudder>. Any how here is the link
>http://www.flounder.net/qmail/qmail-howto.html
>
>I found it while searching through many howto's and web pages trying to
>make sense of the hundreds of interpretations of the qmail doc's.  I
>read it all the way through and it sounds pretty good...to bad I found
>it at 1 am :( I have been staring at this monitor of mine for over 3
>hours now.  I think I am just going to remove what I have and install
>qmail fresh tomorrow.
>I hope this help's, I know it made more sense to me...
>                       Later,
>--
>
>Dale Miracle
> System Administrator
>  Teoi Net







gene Campbell wrote:
> 
> I just tried this howto.  It is the best one yet for helping understand
> this system.  But, I still can't get smtp to work. That is if I send from
> another place to my system with qmail, it is bouced back.  I get this
> 
> ___
> Hi. This is the qmail-send program at mail.surfup.com.
> 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)
> ---
> 
> I feel like I'm getting somewhere with this.  But, I have no idea how I'm
> going to get POP mail working.
> 
> - gene
> 
> At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
> >> Kevin King wrote:
> >>
> >> I recently got my RH Linux box working wtith Qmail (with a huge amount
> >> of help from Dave Sill). When I installed Qmail setup the following
> >> files as such:
> >>
> >
> >I found this web site tonight that might help some people. I am also
> >trying to setup qmail my self because sendmail's virtual mail setup is
> >EVIL..I hate m4 and makemap <shudder>. Any how here is the link
> >http://www.flounder.net/qmail/qmail-howto.html
> >
> >I found it while searching through many howto's and web pages trying to
> >make sense of the hundreds of interpretations of the qmail doc's.  I
> >read it all the way through and it sounds pretty good...to bad I found
> >it at 1 am :( I have been staring at this monitor of mine for over 3
> >hours now.  I think I am just going to remove what I have and install
> >qmail fresh tomorrow.
> >I hope this help's, I know it made more sense to me...
> >                       Later,
> >--
> >
> >Dale Miracle
> > System Administrator
> >  Teoi Net

I read in one the howto's tonight that you need to put all systems in
your net that do your mx (mail exchange) in fqdn (fully qualified domain
name) format in the control/locals file.  An example of fqdn is,
demon-spawn.teoi.net .
If you can help it do not use cname's as your mx records in your dns.
(ignore the following if you already know ;) ) cnames are conical or
alias names for A records in dns.  A records are the real names of
machine, A records combined with your domain name gives you your fqdn. 
MX is mail exchanger (mail server).  My mail server is
demon-spawn.teoi.net it has a cname of smtp.teoi.net .  The mx record
uses demon-spawn.teoi.net not smtp.teoi.net .  You can get away with
using cnames but some systems will not work using that.

I sent a message to your system and looked at the message transcript. 
(after checking your dns if needed) make sure your domain name is in
defaulthost, defaultdomain, plusdomains and your mail server's fqdn in
locals, me, rcphosts .  I had qmail working tonight with pine (didn't
have pop setup for qmail) with this config.  Any questions just ask.
                        Later,
-- 

Dale Miracle
 System Administrator
  Teoi Net




On Fri, 18 Jun 1999, gene Campbell wrote:

> I just tried this howto.  It is the best one yet for helping understand
> this system.  But, I still can't get smtp to work. That is if I send from
> another place to my system with qmail, it is bouced back.  I get this
> 
> ___
> Hi. This is the qmail-send program at mail.surfup.com.
> 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)
> ---
> 
> I feel like I'm getting somewhere with this.  But, I have no idea how I'm
> going to get POP mail working.

what should mail.surfup.com do with the mail for surfup.com?

do ONE ONLY of the following:

if it should deliver it locally put
surfup.com into control/locals
   delivery is now done to local users

if surfup.com is one of many individual domains then put
surfup.com:username-surfup into control/virtualdomains
   delivery is now controlled by ~username/.qmail-surfup-*

if it should deliver to somewhere else then put
surfup.com:[ip.address.of.somewhereelse] into control/smtproutes
   mail will be forwarded to the host on the ip address inside the square
   brackets. you could put a hostname in there if you like.





On Thu, 17 Jun 1999, Alex Miller wrote:

> You could telnet to my port 25 and you would be disconnected immediately, no
> extra carriage return required ;-)
> 
> I'm struggling with getting my system running with QMail for this very
> reason.

The day before yesterday I misconfigured qmail (intentionally) and I forgot
to restart with the original way.  It turned to light that I was wrong when
I took a look at the log files.  I think you can take advantage from looking
at those logs.
-- 
Regards: Kevin (Balazs)




Reply via email to