Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I need to get mail to go to my /var/spool/mail directory and right now it isn't. Any ideas how I would do this? Let me know if more info ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2007
    Posts
    43

    Need help with sendmail/procmail


    Hello,

    I need to get mail to go to my /var/spool/mail directory and right now it isn't.

    Any ideas how I would do this?
    Let me know if more info is needed.

    Thanks,
    Krazy

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    43
    bump bump bump

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7

    Talking Give us some more info!

    Quote Originally Posted by krazy1912 View Post
    Hello,

    I need to get mail to go to my /var/spool/mail directory and right now it isn't.

    Any ideas how I would do this?
    Let me know if more info is needed.

    Thanks,
    Krazy
    In a basic install of sendmail, the mail goes always to the var/spool/mail/

    Tel me some more whate you running, did it happen at ones, did you just install sendmail? etc... etc..

  4. #4
    Just Joined!
    Join Date
    Aug 2007
    Posts
    43
    Hello,
    Thanks for responding!

    I've set up sendmail to listen on all ports

    Code:
     dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
    dnl DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
    dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl
    dnl DAEMON_OPTIONS(`Family=inet,  Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1')dnl
    I'm trying to get all of the mail that goes into sendmail to be filtered into a named pipe. So I deleted my var/spool/mail folder and replaced it with a pipe named mail.

    This stopped sendmail from working, but I reloaded it a few times and now my mail is held in /var/mail/eric (eric is my username)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •