GWIA unable to send or receive mail

  • 7012749
  • 01-Jul-2013
  • 01-Jul-2013

Environment

Novell GroupWise
SUSE Linux Enterprise Server

Situation

GWIA unable to send or receive mail
rcgrpwise status reports GWIA as running
ps aux | grep -i gwia reports a single instance of GWIA running.

Resolution

  1. The following shows which process is listening on port 25.
    netstat -peanut | grep -i listen | grep :25
    • Verify gwia is able to listen on port 25, the following would be incorrect:
      tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 3254912 28373/master
      tcp 0 0 ::1:25       :::*      LISTEN 0 3254914 28373/master
      tcp 0 0 151.155.215.91:25 0.0.0.0:* LISTEN 0 891929 12304/master

  2. Configure Postfix address bind configuration:
    • Open /etc/postfix/main.cf file
    • Append / modify as follows to bind to localhost (127.0.0.1) only:
      inet_interfaces = 127.0.0.1
    • Save and close the file. Type the following to restart Postfix:
      rcpostfix restart
  3. Restart the GWIA agent:
    rcgrpwise restart gwia.dom
    • Verify gwia is listening on port 25 instead of the postfix:
      tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 3254912 28373/master
      tcp 0 0 ::1:25       :::*      LISTEN 0 3254914 28373/master
      tcp 0 0 151.155.215.91:25 0.0.0.0:* LISTEN 0 891929 12304/gwia

Alternatively, disable Postfix on the server:

  1. From a terminal window:
    rcpostfix stop
  2. Then type the following command:
    chkconfig postfix off
  3. Restart GWIA agent:
    rcgrpwise restart gwia.dom

Cause

Specified SMTP port taken by another agent such as postfix (master) or gwava, etc. GWIA is unable to listen on port 25.

Additional Information

Any other agent other than GWIA listening on port 25 may cause conflict and prevent proper flow of message incoming and/or outgoing.