RE: Please help newbie with 2 questions

1999-11-08 Thread Steve Kapinos

Qmail doesn't use /etc/aliases unless patched to do otherwise.

Root mail would be handled by a .qmail file in ~alias

Read INSTALL.alias, and look at the man page dot-qmail.0

Basically create a .qmail-root in ~alias, and put [EMAIL PROTECTED] in the
.qmail-root to have mail to root forwarded to [EMAIL PROTECTED]

The second question I will leave to the qmail gods..

-Steve

-Original Message-
From: Reuben King [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 08, 1999 2:03 PM
To: [EMAIL PROTECTED]
Subject: Please help newbie with 2 questions


I have read the FAQ and studied individual setup guides but I am still
stumped on these two issues:

1)  I cannot get anything sent to [EMAIL PROTECTED] to
forward to account "reuben".. I have edited my /etc/aliases file and ran
"newaliases" to compile the /etc/aliases.cdb file, but no go.  I have
verified it is working, because I have another forward "azzy" which forwards
to "reuben" fine.  Here's the /etc/aliases file:
# Mail Aliases
bin: root
daemon: root
decode: root
dumper: root
games: root
ingres: root
mailer-daemon: root
manager: root
nobody: root
operator: root
postmaster: root
system: root
toor: root
uucp: root

root: reuben
webmaster: reuben
azzy: reuben

.. any ideas?

I read somewhere that qmail doesn't deliver to the root account, so I'll
need to forward it to another account.

2) Any outgoing mail to a server other than what is in the rcpthosts file
will get kicked back to me with an error.  I cannot possibly list every
conceivable host on the Internet!  Can I put a wildcard in there?  FWIW-- My
MX record on the DNS is still only set to pointing to my current email
server (gandalf -- an entirely different machine)..  I was going to wait
until I have tested this new qmail server out fully before making any
changes.  Could this be the problem?

Thanks in advance,
-Reuben King




RE: Please help newbie with 2 questions

1999-11-08 Thread Peter Abplanalp


 The second question I will leave to the qmail gods..

Not a Qmail God by any stretch of the imagination but here goes...

 2) Any outgoing mail to a server other than what is in the rcpthosts file
 will get kicked back to me with an error.  I cannot possibly list every
 conceivable host on the Internet!  Can I put a wildcard in there?  FWIW-- 
My
 MX record on the DNS is still only set to pointing to my current email
 server (gandalf -- an entirely different machine)..  I was going to wait
 until I have tested this new qmail server out fully before making any
 changes.  Could this be the problem?

I'm gonna start with an assumption here (dangerous, I know).  I assume you 
can send mail fine from the Qmail host but other hosts in your domain can 
not send mail through the Qmail server to the net.  If the is the case, and 
you are using tcpserver, then you need to allow your Qmail server to relay 
mail for hosts in you domain.  If your network in 1.2.3, then you can add 
the follow: '1.2.3.:allow,RELAYCLIENT=""' to your /etc/tcp.smtp file.  Now 
run:

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp  /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*

Now your Qmail host will accept SMTP mail from any host in the 1.2.3 
network.  If you have other networks you need to relay, add them to 
/etc/tcp.smtp as well.

Also see: http://Web.InfoAve.Net/~dsill/lwq.html (a very good doc, thanks 
Dave!!!)

Specifically: http://Web.InfoAve.Net/~dsill/lwq.html#relaying

HTH,

Peter Abplanalp
StorageTek
[EMAIL PROTECTED]



Re: Please help newbie with 2 questions

1999-11-08 Thread Dave Sill

"Reuben King" [EMAIL PROTECTED] wrote:

1)  I cannot get anything sent to [EMAIL PROTECTED] to
forward to account "reuben".. I have edited my /etc/aliases file and ran
"newaliases" to compile the /etc/aliases.cdb file, but no go.

You're using fastforward, I take it?

I read somewhere that qmail doesn't deliver to the root account, so I'll
need to forward it to another account.

qmail doesn't deliver to the superuser, but aliases for root that
point to non-superusers or remote addresses are OK.

2) Any outgoing mail to a server other than what is in the rcpthosts file
will get kicked back to me with an error.  I cannot possibly list every
conceivable host on the Internet!

Calm down. Nobody expects you to. See:

http://Web.InfoAve.Net/~dsill/lwq.html#relaying

FWIW-- My
MX record on the DNS is still only set to pointing to my current email
server (gandalf -- an entirely different machine)..  I was going to wait
until I have tested this new qmail server out fully before making any
changes.  Could this be the problem?

No.

-Dave



RE: Please help newbie with 2 questions

1999-11-08 Thread Reuben King


 "Reuben King" [EMAIL PROTECTED] wrote:

 1)  I cannot get anything sent to [EMAIL PROTECTED] to
 forward to account "reuben".. I have edited my /etc/aliases file and ran
 "newaliases" to compile the /etc/aliases.cdb file, but no go.

 You're using fastforward, I take it?

Yes..  I was instructed to modify a file to take advantage of fastforward
and followed the instructions.  I'd repost the exact instructions I was
given, but the #@$@# website it is on is not answering right now.
(http://www.sfu.ca/~yzhang/linux/qmail/index.html)

I can verify that the forwarding using /etc/aliases IS working, as I said,
because any forwards I put in there other than root are functioning
correctly.

It's anything that goes to root that disappears into the void.

I've looked for any logging to track, but I see nothing in /var/logs that is
mail related..


 I read somewhere that qmail doesn't deliver to the root account, so I'll
 need to forward it to another account.

 qmail doesn't deliver to the superuser, but aliases for root that
 point to non-superusers or remote addresses are OK.

 2) Any outgoing mail to a server other than what is in the rcpthosts file
 will get kicked back to me with an error.  I cannot possibly list every
 conceivable host on the Internet!

 Calm down. Nobody expects you to. See:

 http://Web.InfoAve.Net/~dsill/lwq.html#relaying

 FWIW-- My
 MX record on the DNS is still only set to pointing to my current email
 server (gandalf -- an entirely different machine)..  I was going to wait
 until I have tested this new qmail server out fully before making any
 changes.  Could this be the problem?

 No.

I deleted the rcpthosts file and now outgoing mail works fine.

Thanks for your help, Dave!

-RK



RE: Please help newbie with 2 questions

1999-11-08 Thread Dave Sill

"Reuben King" [EMAIL PROTECTED] wrote:

It's anything that goes to root that disappears into the void.

I've looked for any logging to track, but I see nothing in /var/logs that is
mail related..

How are you doing logging? splogger? cyclog? If splogger, have you
looked at /etc/syslog.conf?

I deleted the rcpthosts file and now outgoing mail works fine.

This is The Wrong Thing To Do, as I've explained to you in private
mail.

-Dave



RE: Please help newbie with 2 questions

1999-11-08 Thread Reuben King

Figured out my problem--

Silly RPM put a blank ".qmail-root" file in the /var/qmail/alias
directory

Now I need to figure out how to get the logging working... I looked in my
syslog.conf and found no mention of anything QMail related..


 -Original Message-
 From: Dave Sill [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 08, 1999 2:14 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Please help newbie with 2 questions


 "Reuben King" [EMAIL PROTECTED] wrote:

 It's anything that goes to root that disappears into the void.
 
 I've looked for any logging to track, but I see nothing in
 /var/logs that is
 mail related..

 How are you doing logging? splogger? cyclog? If splogger, have you
 looked at /etc/syslog.conf?

 I deleted the rcpthosts file and now outgoing mail works fine.

 This is The Wrong Thing To Do, as I've explained to you in private
 mail.

 -Dave



RE: Please help newbie with 2 questions

1999-11-08 Thread Reuben King

 "Reuben King" [EMAIL PROTECTED] wrote:

 It's anything that goes to root that disappears into the void.
 
 I've looked for any logging to track, but I see nothing in
 /var/logs that is
 mail related..

 How are you doing logging? splogger? cyclog? If splogger, have you
 looked at /etc/syslog.conf?

Um... I don't know what's logging.. whatever is the default installed logger
with RH6.1 ..  I looked at /etc/syslog.conf .. saw lots of purty lines...
nothing about qmail, though.

Sorry for the thickheaded newbie pestering... :)

Thanks for all the help,
-RK