Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, June 11, 2013

How To Configure Sendmail In Linux

How To Configure Sendmail In Linux


Following procedure also applies if you are getting stat=Deferred: connection timed out

1)- First of all try to ping email server you are going to used to send email.

$ ping email.mycompany.com

2)- If its working then fine go ahead to step 3, else ask your network administrator to
provide you DNS addresses (primary and secondary).
    2.1- Go to linux GUI System > Administration > Networking > Provide Primary and Secondary DNS > Save
                        OR
    2.1- from root user
        # vi /etc/resolv.conf
          nameserver 10.0.1.41 -- provide your own IPS
          nameserver 10.0.1.41 -- provide your own IPS
        # service network restart
3)- From root user
    3.1)- # vi /etc/mail/submit.mc
    here, change the last line from

    FEATURE(`msp', `[127.0.0.1]')dnl

    to

    FEATURE(`msp', `[email.mycompany.com]', `MSA')dnl

4)- vi /etc/mail/access
    add following line at end
    email.mycompany.com         RELAY
   
5)-       # make
    # make install
    # make restart

Thursday, March 14, 2013

lp: Too many active jobs

Problem: Unable to print documents on Linux due to "Too many active jobs"

Solution:
1-Log in through root user
2- Delete files form "/var/spool/cups"
# cd /var/spool/cups
# rm -rf *

3- Restart CUPS server.
#  /etc/init.d/cups restart

4- Retest the issue.