Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: System Mail Not Working

  1. #1

    Default System Mail Not Working

    Hello

    I have OpenSuse 12.1 installed. I have set up some Cron jobs to run and then e-mail me the output. They run, and then the e-mail sits in mailq. I have to do rcpostfix restart and then all the e-mails get sent that are sitting in the queue. The next time I checked mailq it says it is not working again. Again I do rcpostfix restart, and all is well. How do I get it to stay operating? Any help is appreciated.

    Thanks
    Harpo2

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: System Mail Not Working

    What do you mean with "next time"? After six years, after 10 minutes, after a reboot? When the last is the case, it is most probably that you never have switched the service on. Starting it manualy, it will run until you stop it, or the system stops.

    When you want to switch on a service use YaST > System, System services (runlevel). searcj for postfix, select and click the Activate button. OK. YaST will start it and administer it to be switched on on boot.
    Henk van Velden

  3. #3

    Default Re: System Mail Not Working

    Thanks hcvv. I did what you suggested. I think that will do the trick.

    Harpo2

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: System Mail Not Working

    You are welcome.
    Henk van Velden

  5. #5

    Default Re: System Mail Not Working

    Actually, it happened again. What it is, is that I run some cron jobs that e-mail me when finished. They stopped coming to me again. I went into console and checked mailq and it said it wasn't running. I did a rcpostfix restart, and the e-mails quickly came through. I went to YaST > System, System services (runlevel). searcj for postfix, as I had done before. It says it is running and active. I'm still not sure what I'm missing, and how to make it keep running. Any further ideas?

    Harpo2

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: System Mail Not Working

    Next time when you think it isn't running, first check before you start it manualy
    Code:
    ps -ef|grep post
    .
    And when it is not running, then check in YaST what it says there. When you do the manual restart, you are no more 100% sure about the situation.

    You could also look with
    Code:
    dmesg | grep post
    to see if there are any messages there.

    And look inside /var/log/messages.
    Henk van Velden

  7. #7

    Default Re: System Mail Not Working

    Okay, here is the result from dmesg|grep post

    [ 1.478703] ACPI: Video Device [VID] (multi-head: yes rom: no post: no)

    It says post no. If I'm reading that correctly. I am going to run a cron job to see if it mails me. If it doesn't, then I will run the other commands you had suggested.

    Harpo2

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: System Mail Not Working

    That message about video has no connection to what you are looking for. The word post might show in other lines than those we are after.
    Henk van Velden

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: System Mail Not Working

    On 2011-11-27 18:26, Harpo2 wrote:
    > before. It says it is running and active. I'm still not sure what I'm
    > missing, and how to make it keep running. Any further ideas?


    Run "systemctl" and check the status of postfix. Check also the boot log.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,645
    Blog Entries
    14

    Default Re: System Mail Not Working

    You should not look into dmesg, rather in /var/log/messages. Restart the postfix service, then do a "tail -30 /var/log/messages".

    Services like postfix can have issues with systemd, at boot try F5. then pick System V.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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