- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- MX server
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
05-02-2002 08:53 AM
05-02-2002 08:53 AM
domain.com preference = 100, mail exchanger = mail.domain.com
domain.com preference = 200, mail exchanger = mail.domain.com
domain.com preference = 300, mail exchanger = mail2.mylinuxserver.com
mail.domain.com internet address =x.x.x.x
mail.domain.com internet address =x.x.x.x
mail.mylinuxserver.com internet address = x.x.x.x
When primary mail server mail.domain.com is down, my linux server is supposed to pick messages and keep them and deliver them to my primary mail server mail.domain.com once it's up and running again, but instead senders receive bounce-back message from my linux server:
----- The following addresses had permanent fatal errors -----
(reason: system config error)
----- Transcript of session follows -----
553 5.3.5 mail.mylinuxserver.com. config error: mail loops back to me (MX problem?)
554 5.3.5
What am I doing wrong?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 10:55 PM
05-02-2002 10:55 PM
Re: MX server
may be just a syntax error , you specify
domain.com preference = 300, mail exchanger = mail2.mylinuxserver.com
and after
mail.mylinuxserver.com internet address = x.x.x.x
it must be mail2.mylinuxserver.com internet address = x.x.x.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:29 AM
05-03-2002 01:29 AM
Re: MX server
In the primary DNS server of your domain , configure as follows:-
yourdomain.com MX 100 mail.yourdomain.com
yourdomain.com MX 200 mail2.yourdomain.com
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 01:36 AM
05-03-2002 01:36 AM
Re: MX server
put this line FEATURE(`use_cw_file')dnl in
sendmail.mc of both the servers.
#m4 sendmail.mc > /etc/sendmail.cf
In the file /etc/sendmail.cw add your domain name, your machine name and all of its aliases and restart the sendmail service.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 04:50 AM
05-03-2002 04:50 AM
Re: MX server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 10:59 PM
05-15-2002 10:59 PM
Re: MX server
To make your secondary mailserver handle mail for your domain, and to forward it on to the primary mailserver, you need to add this line to /etc/mail/access on your secondary mailserver:
domain.com RELAY
That tells Sendmail that it is allowed to relay mail for domain.com and forward it on to the primary mailserver. Do not add domain.com to sendmail.cw on the secondary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 06:19 AM
05-16-2002 06:19 AM
Re: MX server
I made changes. How do I check if it works without bringing main mail server down?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 09:01 PM
05-16-2002 09:01 PM
Re: MX server
To test relaying without putting down primary server do this on the secondary mail server.
In one of the console screen ( ctrl + Alt+ F3 )
#tail -f /var/log/mail.log
On some other screen
#telnet backupmail.exampleyourdomain.com 25
ESTMP sendmail 8.11.1
>HELO test
>MAIL FROM:sivakr@rediffmail.com
sender OK..
>RCPT TO:you@yourdomain.com
recipient ok...
>DATA
testmail
testmail
. ( end the meessge with a dot . )
OK
QUIT
Now see the screen where you are tailing the
mail.log online.
it should give log messages that it is trying the delivery to the primary server. And
RECEIVED OK message should come.
again
#mailq
should show mail queue empty. And now check the user mail box in the primary server for that test mail. you@yourdomain.com
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 06:50 AM
05-17-2002 06:50 AM
Re: MX server
May 17 10:00:38 cobalt sendmail[6481]: g4HDwBQ06359: to=user@xxx.org, delay=00:00:58, xdelay=00:00:00, mailer=esmtp, pri=30025, relay=mail.yyy.org. [yyy.yyy.yyy.yyy], dsn=2.0.0, stat=Sent (Ok)
Note:
cobalt.xxx.net is the secondary mail server;
mail.yyy.org is my primary mail server
and I got the test e-mail in my inbox.
It works fine while primary mail server is up. As soon as I disconect it doesn't work. Senders getting bounced messages.
Here is the maillog:
May 17 10:32:13 cobalt sendmail[7886]: g4HEWCQ07886: from=
May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: SYSERR(root): mail2.xxx.org. config error: mail loops back to me (MX problem?)
May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: to=
May 17 10:32:13 cobalt sendmail[7895]: g4HEWCQ07886: g4HEWDQ07895: DSN: Local configuration error
May 17 10:32:14 cobalt sendmail[7895]: g4HEWDQ07895: to=
May 17 10:32:14 ucscobalt sendmail[7895]: g4HEWDQ07895: to=admin, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=61577, dsn=2.0.0, stat=Sent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2002 09:04 PM
05-17-2002 09:04 PM
Solutionhave you used alias CNAME in the MX records ?,
if yes change it to real name of the secondary
host.
Also try adding your domains name to Cw macro in /etc/sendmail.cf file of primary mail server and secondary mail server and restart sendmail.
eg:-
Cw xxx.com yyy.net
try again and get back with results.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2002 11:50 AM
05-18-2002 11:50 AM