I'll be fired if I don't get it up...

I'll be fired if I don't get it up...

Post by Rob Spee » Wed, 04 Nov 1998 04:00:00



Can someone please tell me what the clucking bell is going on ?
The CEO wants the mail gateway up for tomorrow (Wed) - OR ELSE.....
We have users connected to a Netware network (hang on....)
I've setup a Linux box to route mail it gets (from the Netware box)
through to the ISP via a dial-up line.
What I can't do is get mail to go back to the Netware box.....
I can telnet in on port 25.

I have the batbook, no use.
I've tried to compile qmail - it falls over.
I'm probably going to stick with sendmail as I've been trying to
get it to work for the last 5 weeks.

If someone knows how to forward local mail to another (local network)
machine for ALL users (i.e. the Linux box doesn't care if the user
doesn't exist) can they please tell me EXACTLY what to do.

I've had people say 'amend your .forward file'
Great, that tells me a chuffing lot -
Where do I put the file !
What do I put in it !

Help is URGENTLY required before I get fired...
(CEO wants an NT box instead...)
--
Rob Speed
Vitesse Systems Laboratories.
Leeds, Yorkshire, England.

 
 
 

I'll be fired if I don't get it up...

Post by Ivo Naninc » Wed, 04 Nov 1998 04:00:00


Hi,
Quote:

> Can someone please tell me what the clucking bell is going on ?
> The CEO wants the mail gateway up for tomorrow (Wed) - OR ELSE.....

First, this is not an answer to your question.
Second, tell your CEO to take a training course on `satisfaction at
work`
        and `motivation of people`.
Third, hand him over the Linux CD's and some HOWTO's on the subject.
Fourth, give him the middle-finger-salute.
A manager who is 'OR ELSE'-ing around is not worth the lights in his
eyes...
He should trust you doing the best you can with your capabilities.
Remember, there are plenty of IT-jobs these days.
--
Best regards, and don't let the bits byte!
Ivo Naninck.
~
~
:wq!

 
 
 

I'll be fired if I don't get it up...

Post by Stefan David » Wed, 04 Nov 1998 04:00:00



>Can someone please tell me what the clucking bell is going on ?
>The CEO wants the mail gateway up for tomorrow (Wed) - OR ELSE.....
>We have users connected to a Netware network (hang on....)
>I've setup a Linux box to route mail it gets (from the Netware box)
>through to the ISP via a dial-up line.
>What I can't do is get mail to go back to the Netware box.....
>I can telnet in on port 25.
>I have the batbook, no use.

The batbook is a great deal of use. I'd recommend you have a good read when
you have the time.

Quote:>I've tried to compile qmail - it falls over.
>I'm probably going to stick with sendmail as I've been trying to
>get it to work for the last 5 weeks.
>If someone knows how to forward local mail to another (local network)
>machine for ALL users (i.e. the Linux box doesn't care if the user
>doesn't exist) can they please tell me EXACTLY what to do.

look for the following in /etc/sendmail.cf (near the top-ish):

# who gets all local email traffic ($R has precedence for unqualified names)
DH

change the second bit to:

DHhost.name.of.netware.box

note the lack of a space between 'DH' and the netware box's hostname and
restart sendmail.

HTH

Stefan

--
perl -we 'map {eval q( sub ).$_.q( {$a = (shift).").$_.q("; $_ = $a; s/S/s/;
s/(A|P|H)/ $1/g;print;s/(.)/$1 /g;$_=join q(),reverse split;s/(A|P|H)/$1 /g;
print " "x(80-(length)*2), "$_\n"; return($a); } ) } ((A..Z), (q(a)..q(z)));
r(e(k(c(a(H (l(r(e(P( r(e(h(t(o(n(A( t(S(u(J( q() )))) ))))))) ))))) )))));'

 
 
 

I'll be fired if I don't get it up...

Post by Terry Port » Thu, 05 Nov 1998 04:00:00




>If someone knows how to forward local mail to another (local network)
>machine for ALL users (i.e. the Linux box doesn't care if the user
>doesn't exist) can they please tell me EXACTLY what to do.

>I've had people say 'amend your .forward file'
>Great, that tells me a chuffing lot -
>Where do I put the file !
>What do I put in it !

>Help is URGENTLY required before I get fired...
>(CEO wants an NT box instead...)
>--
>Rob Speed
>Vitesse Systems Laboratories.
>Leeds, Yorkshire, England.

In the users home directory create a file called ".forward"

user email address on the linux_box:-

and you wish to forward all mail from this user to another network machine
called "ntbox" :-

...............  /home/whoever/.forward  .....................

..............................................................

thats it!

terry
--

   My Computer is powered by GNU-LINUX, and has been
 up 2 weeks 4 days 21 hours 8 minutes
..........NOTE Spam protection in use...................

 
 
 

I'll be fired if I don't get it up...

Post by Rob Spee » Thu, 05 Nov 1998 04:00:00






>>If someone knows how to forward local mail to another (local network)
>>machine for ALL users (i.e. the Linux box doesn't care if the user
>>doesn't exist) can they please tell me EXACTLY what to do.

>>I've had people say 'amend your .forward file'
>>Great, that tells me a chuffing lot -
>>Where do I put the file !
>>What do I put in it !

>>Help is URGENTLY required before I get fired...
>>(CEO wants an NT box instead...)
>>--
>>Rob Speed
>>Vitesse Systems Laboratories.
>>Leeds, Yorkshire, England.

>In the users home directory create a file called ".forward"

>user email address on the linux_box:-

>and you wish to forward all mail from this user to another network machine
>called "ntbox" :-

>...............  /home/whoever/.forward  .....................

>..............................................................

>thats it!

>terry

 take it that I HAVE to have users created on the Linux box then ?
Is there no way to forward EVERYTHING to the Netware box ?
(I've been let off today as I was dragged (kicking and screaming)
to the Windows NT conference in London).
--
Rob Speed
Vitesse Systems Laboratories.
Leeds, Yorkshire, England.
 
 
 

I'll be fired if I don't get it up...

Post by Kenneth Crud » Thu, 05 Nov 1998 04:00:00


Quote:>Subject: Re: I'll be fired if I don't get it up

Signed,

        Ron Jeremy

--
Kenneth R. Crudup, Unix Software Consultant, Scott County Consulting

I'm getting paroled out of Boston, so I've got no real address or phone yet.

 
 
 

I'll be fired if I don't get it up...

Post by brian moo » Fri, 06 Nov 1998 04:00:00


[followups to comp.mail.sendmail, where this belongs.]

On Wed, 4 Nov 1998 23:19:55 +0000,

Quote:>  take it that I HAVE to have users created on the Linux box then ?

Well, you want root and your own account there.

Quote:> Is there no way to forward EVERYTHING to the Netware box ?

Sure there is.

Quote:> (I've been let off today as I was dragged (kicking and screaming)
> to the Windows NT conference in London).

Should have spent the day reading the Bat Book.

There are several methods to do what you want.

One, for example, is:

LUSER_RELAY     The site that will handle lusers -- that is, apparently
                local names that aren't local accounts or aliases.

You can also use mailertables to take all mail destined for xyz.com
and treat it special.

From the docs:

    To use FEATURE(mailertable), you will have to create an external
    database containing the routing information for various domains.
    For example, a mailertable file in text format might be:

            .my.domain              xnet:%1.my.domain
            uuhost1.my.domain       suucp:uuhost1
            .bitnet                 smtp:relay.bit.net

    This should normally be stored in /etc/mailertable.  The actual
    database version of the mailertable is built using:

            makemap hash /etc/mailertable.db < /etc/mailertable

    The semantics are simple.  Any LHS entry that does not begin with
    a dot matches the full host name indicated.  LHS entries beginning
    with a dot match anything ending with that domain name -- that is,
    they can be thought of as having a leading "*" wildcard.  Matching
    is done in order of most-to-least qualified -- for example, even
    though ".my.domain" is listed first in the above example, an entry
    of "uuhost1.my.domain" will match the second entry since it is
    more explicit.

    The RHS should always be a "mailer:host" pair.  The mailer is the
    configuration name of a mailer (that is, an `M' line in the
    sendmail.cf file).  The "host" will be the hostname passed to
    that mailer.  In domain-based matches (that is, those with leading
    dots) the "%1" may be used to interpolate the wildcarded part of
    the host name.  For example, the first line above sends everything
    addressed to "anything.my.domain" to that same host name, but using
    the (presumably experimental) xnet mailer.

--
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a*roach, except that the*roach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster