- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Sendmail -- plz help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 01:29 AM
01-08-2006 01:29 AM
I have two mail domains, both are maintained/configure on separate machines
Sendmail 8.x is used as smtp or MTA.
one is smtpC.abc.com(IP: 10.0.0.55), mail server for abc.com
and
second is smtpZ.xyz.com(IP: 10.0.0.100) mail server for xyz.com domain
now if a user say a@abc.com mails to b@abc.com ... success
now if a user say c@xyz.com mails to d@xyz.com ... success
but if a@abc.com mails to d@xyz.com ... failure
on smtpC.abc.com (Sender)
---------------
tail -f /var/log/maillog
Jan 8 16:44:20 smtpC Sendmail[2484]: K088hrwL002483: SYSERR(root): smtpZ.xyz.com. config error: mail loops back to me (MX problem?)
Jan 8 16:44:20 smtpC Sendmail[2484]: K088hrwL002483: to=
Jan 8 16:44:20 smtpC Sendmail[2484]: K0Bhnwl002483: K088ikwl002484: DSN: Local Config error
and root received mail which contains following message
---The following adress had permanent fatal errors ----
(reason: 533 5.3.5 system config error)
on smtpZ.xyz.com (Rece...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 01:58 AM
01-08-2006 01:58 AM
Re: Sendmail -- plz help
e.g., I'd like to see output of
host -t mx abc.com
host -t mx xyz.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 03:46 AM
01-08-2006 03:46 AM
Re: Sendmail -- plz help
DNS is working JUST fine
host -t mx abc.com
abc.com mail is handled by 10 smtpC.abc.com
host -t mx xyz.com
xyz.com mail is handled by 10 smtpZ.xyz.com
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 03:56 AM
01-08-2006 03:56 AM
Re: Sendmail -- plz help
on smtpZ.xyz.com (Receiver)
---------------
tail -f /var/log/maillog
Jan 8 16:44:20 smtpZ Sendmail[2484]: K086j0wl002484: [10.0.0.99] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 06:47 AM
01-08-2006 06:47 AM
Re: Sendmail -- plz help
You need to see that your MX records in DNS permit routing of mail like you expect it to route.
Next you may need to do a sendmail macro or the complex sendmail.cf equivalent of one of these tricks.
Cwnapervilleapartments.com
Enables the sendmail daemon to accept mail from in this example napervilleapartments.com
MASQUERADE_DOMAIN(napervilleapartments.com)dnl
Same trick here. I do not know if both are needed, I do both because I don't normally have time to futz around.
If the MX records permit the routing and the sendmail daemon is configured, the server should accept the mail.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 07:02 PM
01-08-2006 07:02 PM
Re: Sendmail -- plz help
>but if a@abc.com mails to d@xyz.com ... >failure
>on smtpC.abc.com (Sender)
>---------------
>tail -f /var/log/maillog
>Jan 8 16:44:20 smtpC Sendmail[2484]: >K088hrwL002483: to=
I don't understand why we see 10.0.0.50 in maillog. May be make sense to check DNS and /etc/hosts on both servers again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 05:02 AM
01-10-2006 05:02 AM
Re: Sendmail -- plz help
smtpC.abc.com IP: 10.0.0.6
smtpZ.xyz.com IP: 10.0.0.5
on smtpC.abc.com (Sender)
---------------
tail -f /var/log/maillog
Jan 8 16:44:20 smtpC Sendmail[2484]: K088hrwL002483: SYSERR(root): smtpZ.xyz.com. config error: mail loops back to me (MX problem?)
Jan 8 16:44:20 smtpC Sendmail[2484]: K088hrwL002483: to=
Jan 8 16:44:20 smtpC Sendmail[2484]: K0Bhnwl002483: K088ikwl002484: DSN: Local Config error
and root received mail which contains following message
---The following adress had permanent fatal errors ----
(reason: 533 5.3.5 system config error)
on smtpZ.xyz.com (Recei...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 05:08 AM
01-10-2006 05:08 AM
Re: Sendmail -- plz help
>You need to see that your MX records in DNS permit routing of mail like you
>expect it to route.
How I can know that.. which file and what syntax should i write ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 05:47 AM
01-10-2006 05:47 AM
Re: Sendmail -- plz help
dig xyz.com MX
You must have an answer section that shows the MX record that is your mail server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 06:16 AM
01-10-2006 06:16 AM
Re: Sendmail -- plz help
DNS is working just fine.
Plz see my previous post.
I think I should describe what I have done to configure my mail servers(smtpC and smtpZ)
1) in sendmail.mc i simply put "dnl" b4 the line deamon_options(....127.0.0.1...)
2) m4 sendmail.mc > sendmail.cf
3) in access i add 3 lines
10 RELAY
abc.com RELAY
xyz.com RELAY
4a) on smtpC in local-host-names i add
abc.com
4b) on smtpZ in local-host-names i add
xyz.com
5) make
6) servce sendmail start
8) /etc/resolv.conf
nameserver 10.0.0.99
nameserver 10.0.0.100
Note: Both mail servers are client of the same dns server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 06:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 08:25 PM
01-10-2006 08:25 PM
Re: Sendmail -- plz help
You need to make sure that both the domains are added to the /etc/mail/access
eg in abc add
xyz RELAY
try this, does it amke a difference.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 11:15 PM
01-10-2006 11:15 PM
Re: Sendmail -- plz help
domain.com
servername.domain.com
What if you connect via telnet to the port 25 and send the mail interactively:
telnet mailserver 25
helo domain.com
mail from: username@domain.com
rcpt to: username@domain2.com
data
subject: testing
just testing
.
quit
What do you see in the logs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2006 05:35 AM
01-18-2006 05:35 AM
Re: Sendmail -- plz help
the only prblm was that /etc/hosts file was not configured properly on both servers.
i.e on smtpC.abc.com /etc/hosts was
127.0.0.1 smtpc localhost localhost.localdomain
i.e on smtpZ.xyz.com /etc/hosts was
127.0.0.1 smtpz localhost localhost.localdomain
problem was solved after i edit /etc/hosts file on both server as:
127.0.0.1 smtpC.abc.com localhost localhost.localdomain
127.0.0.1 smtpZ.xyz.com localhost localhost.localdomain
Thanks All Once Again
Regards
Maaz