How to spool smail in Linux ??

How to spool smail in Linux ??

Post by William Devine » Tue, 28 Dec 1993 16:17:02



I have my slip setup working great now and am only having a few problems
with the mail delivery.  Right now, the only way i can deliver remote
mail is if i am logged into the system and running slip, that is, if i
even SEND it when not logged into and running slip, it gets returned!

How would i go about spooling it into /usr/spool/smail/outgoing
until i initiated my slip connection, and then either have it
automagically come up and xmit the mail or i could call a script
file to do it.

How would i go about doing something like that?

i'm running Linux Slackware 1.1.0 kernel .99pl13

thanx!
william

 
 
 

How to spool smail in Linux ??

Post by Martin Whi » Wed, 29 Dec 1993 01:03:05



: I have my slip setup working great now and am only having a few problems
: with the mail delivery.  Right now, the only way i can deliver remote
: mail is if i am logged into the system and running slip, that is, if i
: even SEND it when not logged into and running slip, it gets returned!

I'm using dial up slip and Smail here. Mail is sent if my slip link is up,
otherwise it is queued until the link is next connected.

To achieve this, I route all non-local mail via another machine which is
permanently connected to the Internet. To do this I added

  # smarthost.mydomain.co.uk knows how to route all mail
  smart_path=smarthost.mydomain.co.uk

to the Smail config file, and set the Smail routers file up as follows:

  #internet_hosts: driver=bind,
  #             transport=smtp;
  #
  smart_host:
          driver=smarthost,
          transport=smtp;
          -path

If mail is queued for delivery, when you next start your slip link, you need
to run the 'runq' command to deliver it.

Martin

--

| Herts, England | Cix     : mwhite                     |   0.99pl14    |

 
 
 

1. Smail saves /usr/spool/mail/<user> as rw-rw----

        Currently I am using the Smail binary from sunsite, and have noticed
that when it saves files into /usr/spool/mail it saves them with the
permissions rw-rw----, allowing members of the same group to read each other's
mail if they so desire.  Is there a way easier than rebuilding Smail to fix
this?

Matt

2. Looking for ~500 meg HD...

3. Smail stopped spooling mail

4. Martian Addresses

5. smail+uucp won't spool

6. DNS question

7. /var/spool/mail vs. /usr/spool/mail

8. Serial Line Control

9. Print spool files filling /var/spool/printer

10. Sherlock linux plug-ins / sherlock for linux?

11. Help smail/smail+term problems

12. List of plug-ins for linux/netscape please!

13. Errors compiling Wingz 1.4 Add-ins (Linux 1.3.99, GCC 2.6)