#11  
Old 7th January 2009, 08:18
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

what is the output of

Code:
dig mx your_domain_name
sendmail -bv user@your_domain_name
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Sponsored Links
  #12  
Old 7th January 2009, 08:54
dexjul dexjul is offline
Member
 
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Here's for domain.com

HTML Code:
[root@neoserver init.d]# dig mx domain.com

; <<>> DiG 9.3.4-P1 <<>> mx domain.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61968
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;domain.com.         IN      MX

;; ANSWER SECTION:
domian.com.  172800  IN      MX      10 smtp.domian.com.
domain.com.  172800  IN      MX      20 mail.domain.com.

;; AUTHORITY SECTION:
domain.com.  172800  IN      NS      dns1.domain.net.
domain.com.  172800  IN      NS      dns2.domain.net.

;; ADDITIONAL SECTION:
smtp.domain.com. 172800 IN   A       ip address
dns1.domain.net.  172800  IN      A       ip address
dns2.domainh.net.  172800  IN      A       ip address

;; Query time: 9 msec
;; SERVER: ip address#53(ip address)
;; WHEN: Wed Jan  7 15:37:24 2009
;; MSG SIZE  rcvd: 183
Here's for domain.net

[root@neoserver init.d]# dig mx domain.net

; <<>> DiG 9.3.4-P1 <<>> mx domain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46445
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;domain.net. IN MX

;; ANSWER SECTION:
domain.net. 172800 IN MX 20 mail.domain.net.
domain.net. 172800 IN MX 10 smtp.domain.net.

;; AUTHORITY SECTION:
domain.net. 172800 IN NS dns1.domain.net.
domain.net. 172800 IN NS dns2.domain.net.

;; ADDITIONAL SECTION:
smtp.domain.net. 172800 IN A ip address
dns1.domain.net. 172800 IN A ip address
dns2.domain.net. 172800 IN A ip address

;; Query time: 12 msec
;; SERVER: ip address2#53(ip address)
;; WHEN: Wed Jan 7 15:48:11 2009
;; MSG SIZE rcvd: 180

[/HTML]



HTML Code:
[root@neoserver init.d]# sendmail -bv user@domain.com
user@domain.com... deliverable: mailer esmtp, host domain.com., user user@electronicscience.com


[root@neoserver init.d]# sendmail -bv user@domain.net
user@domain.net... deliverable: mailer esmtp, host domain.net., user user@electronicscience.net

If I add our domain in /etc/mail/local-host-names the mail account is invalid or user unknown.

Thank you.
Reply With Quote
  #13  
Old 7th January 2009, 08:55
dexjul dexjul is offline
Member
 
Join Date: May 2007
Posts: 53
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Here's for domain.com

HTML Code:
[root@neoserver init.d]# dig mx domain.com

; <<>> DiG 9.3.4-P1 <<>> mx domain.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61968
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;domain.com.         IN      MX

;; ANSWER SECTION:
domian.com.  172800  IN      MX      10 smtp.domian.com.
domain.com.  172800  IN      MX      20 mail.domain.com.

;; AUTHORITY SECTION:
domain.com.  172800  IN      NS      dns1.domain.net.
domain.com.  172800  IN      NS      dns2.domain.net.

;; ADDITIONAL SECTION:
smtp.domain.com. 172800 IN   A       ip address
dns1.domain.net.  172800  IN      A       ip address
dns2.domainh.net.  172800  IN      A       ip address

;; Query time: 9 msec
;; SERVER: ip address#53(ip address)
;; WHEN: Wed Jan  7 15:37:24 2009
;; MSG SIZE  rcvd: 183
Here's for domain.net

[root@neoserver init.d]# dig mx domain.net

; <<>> DiG 9.3.4-P1 <<>> mx domain.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46445
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;domain.net. IN MX

;; ANSWER SECTION:
domain.net. 172800 IN MX 20 mail.domain.net.
domain.net. 172800 IN MX 10 smtp.domain.net.

;; AUTHORITY SECTION:
domain.net. 172800 IN NS dns1.domain.net.
domain.net. 172800 IN NS dns2.domain.net.

;; ADDITIONAL SECTION:
smtp.domain.net. 172800 IN A ip address
dns1.domain.net. 172800 IN A ip address
dns2.domain.net. 172800 IN A ip address

;; Query time: 12 msec
;; SERVER: ip address2#53(ip address)
;; WHEN: Wed Jan 7 15:48:11 2009
;; MSG SIZE rcvd: 180

[/HTML]



HTML Code:
[root@neoserver init.d]# sendmail -bv user@domain.com
user@domain.com... deliverable: mailer esmtp, host domain.com., user user@domain.com


[root@neoserver init.d]# sendmail -bv user@domain.net
user@domain.net... deliverable: mailer esmtp, host domain.net., user user@domain.net

If I add our domain in /etc/mail/local-host-names the mail account is invalid or user unknown.

Thank you.
Reply With Quote
  #14  
Old 7th January 2009, 08:58
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

Do the ip addresses of smtp.domian.com. and smtp.domian.net. point to the machine on which sendmail is running ?

If so then what is the output of
Code:
id user_name
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Sendmail / php spam problem Jorem Server Operation 3 20th June 2007 15:54
Postfix sendmail problem. mtyme Installation/Configuration 8 18th June 2007 19:59
Problem with sendmail P Lao Server Operation 4 7th November 2006 07:43
Problem in sendmail configuration satish Suggest HOWTO 1 9th March 2006 19:29


All times are GMT +2. The time now is 17:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.