Home > Exim, cPanel and WHM > cPanel EXIM outgoing mail error in WHM: unable to bind outgoing SMTP call to 203.104.22.35

cPanel EXIM outgoing mail error in WHM: unable to bind outgoing SMTP call to 203.104.22.35

The situation is like this
in.abc.com is hosted with google apps
it is using its smtp in our server to send mails

but when mail is being sent, its stuck in queue giving strange error when i deliver manually

Message 1MqlLg-0007wC-HS is not frozen
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1MqlLg-0007wC-HS
delivering 1MqlLg-0007wC-HS
Connecting to gmail-smtp-in.l.google.com [209.85.221.44]:25 from 203.104.22.35 … unable to bind outgoing SMTP call to 203.104.22.35: Cannot assign requested addressfailed: Cannot assign requested address
LOG: MAIN
gmail-smtp-in.l.google.com [209.85.221.44] Cannot assign requested address
Connecting to alt1.gmail-smtp-in.l.google.com [216.239.59.27]:25 from 203.104.22.35 … unable to bind outgoing SMTP call to 203.104.22.35: Cannot assign requested addressfailed: Cannot assign requested address
LOG: MAIN
alt1.gmail-smtp-in.l.google.com [216.239.59.27] Cannot assign requested address
Connecting to alt2.gmail-smtp-in.l.google.com [209.85.129.114]:25 from 203.104.22.35 … unable to bind outgoing SMTP call to 203.104.22.35: Cannot assign requested addressfailed: Cannot assign requested address
LOG: MAIN
alt2.gmail-smtp-in.l.google.com [209.85.129.114] Cannot assign requested address
Connecting to alt3.gmail-smtp-in.l.google.com [209.85.135.114]:25 from 203.104.22.35 … unable to bind outgoing SMTP call to 203.104.22.35: Cannot assign requested addressfailed: Cannot assign requested address
LOG: MAIN
alt3.gmail-smtp-in.l.google.com [209.85.135.114] Cannot assign requested address
Connecting to alt4.gmail-smtp-in.l.google.com [209.85.223.81]:25 from 203.104.22.35 … unable to bind outgoing SMTP call to 203.104.22.35: Cannot assign requested addressfailed: Cannot assign requested address
LOG: MAIN
alt4.gmail-smtp-in.l.google.com [209.85.223.81] Cannot assign requested address
LOG: MAIN
== test@gmail.com R=lookuphost T=remote_smtp defer (99): Cannot assign requested address

Similar is the configuration of abc.com but email goes fine through this.

__________________________________________________________________________

Solution:

The problem was that in.abc.com and m.abc.comhad the IP address 203.104.22.35 in their VirtualHost definitions in /usr/local/apache/conf/httpd.conf. This caused the incorrect IP address to be put in the userdata files in /var/cpanel/userdata/abc.

To correct this problem, I edited the httpd.conf file and distilled the changes. I then updated the cPanel userdata, and finally emptied the /etc/mailips file.

root@host08 [/var/cpanel/userdata/abc]# /usr/local/cpanel/bin/apache_conf_distiller –update
root@host08 [/var/cpanel/userdata/abc]# /usr/local/cpanel/bin/userdata_update
root@host08 [/var/cpanel/userdata/abc]# > /etc/mailips

Similar Posts:

Share and Enjoy:
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Facebook
  • MySpace
  • StumbleUpon
  • MSN Reporter
  • Live
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Technorati
  • Add to favorites
  • email
  • Print
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.