net mail OK, local mail permanently queued

net mail OK, local mail permanently queued

Post by Marc Haverla » Mon, 08 May 1995 04:00:00

I'm running smail 3.1.28 on linux 1.2.8, SLIP'd into my internet
provider.  I'm able to send and receive email on the net, but mail
within my machine seems to be permanently queued.

In other words, if I send email to a username without any domain or
host information, the mail is never delivered.

My /var/lib/smail/directors includes the following:

# user - match users on the local host with delivery to their mailboxes
user:   driver = user;                  # driver to match usernames
        transport = local               # local transport goes to mailboxes

and /var/lib/smail/transports includes:

# local - deliver mail to local users
# Tell smail to append directly to user mailbox files in the /usr/mail
# directory.
local:  driver = appendfile,            # append message to a file
        local,                          # use local forms for delivery
        from,                           # supply a From_ envelope line
        return_path,                    # include a Return-Path: field
        unix_from_hack;                 # insert > before From in body

        file = /usr/spool/mail/${lc:user},      # use this location for Linux
        group = mail,                   # group to own file for System V
        mode = 0660,                    # under System V, group mail can access
        suffix = "\n"                   # append an extra newline

mailq reports the following for each mail attempted:

m0s7qJU-0003ehC From: mbh  (in /var/spool/smail/input)
                Date: Sat, 6 May 95 14:18 MDT
                Args: -oem -om -oMP send-mail mbh

and runq doesn't ever clear out the queue.

I've read TFM, and couldn't find an Smail FAQ.

Many thanks for any solutions or suggestions!

BTW, local email worked before I connected my machine to the net and
configured Smail...



1. How do I delete mail from mail file /var/mail/su after reading mails

I used to receive data in mail from users. I used to read those data
and load that into a ORACLE table. However I am not able to delete
those mails after reading and loading it.

Currently I delete them manually when the mail file grow very big

Is there a way we can delete these mails after we read it using shell
script ?

2. Help Locating PC-NFS ???

3. How to delete mail from mail queue.

4. Shutdown

5. Mail problem -- can't get mail to queue!

6. lex! Help please.

7. Queue-R-Mail-HOWTO 1.01 (hold Remote Mail for later delivery)

8. Repost: ppp dialin causes diald to bring up ppp dialout link

9. Mails do not get removed from Mail Queue

10. SCO 5: Send mail OK Check mail NO?

11. Why is local mail being queued ?

12. HELP: mail to local users NOT delivered (only queued)

13. Local Mail (using "mail") Does Not Get Delivered?