HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Sendmail relay problem.
Operating System - Linux
1827811
Members
1955
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-23-2010 03:52 AM
09-23-2010 03:52 AM
Sendmail relay problem.
Hi,
I configured linux sendmail with Trendmicro IMSS for spam scanning. i need to configure like
1. when sending mail to other domain its, relay via IMSS and imss will scan & forward the mail to outside domain. same way when mail coming from outside domain IMSS will scan and after that it will deliver the mail to the linux Box.
This is working fine.
My problem is when i am sending mail to the local domain its delivered locally without going to the IMSS. i need the mails between local domain also come via IMSS.
This is my configuration .
# sendmail.mc
define(`SMART_HOST', `imss.example.com')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
#cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.example.com mail
192.168.1.2 imss.example.com
# cat access
Connect:127.0.0.1 RELAY
Connect:192.168.1 RELAY
How to pass the local mails to the IMSS.
I need help to solve this.
I configured linux sendmail with Trendmicro IMSS for spam scanning. i need to configure like
1. when sending mail to other domain its, relay via IMSS and imss will scan & forward the mail to outside domain. same way when mail coming from outside domain IMSS will scan and after that it will deliver the mail to the linux Box.
This is working fine.
My problem is when i am sending mail to the local domain its delivered locally without going to the IMSS. i need the mails between local domain also come via IMSS.
This is my configuration .
# sendmail.mc
define(`SMART_HOST', `imss.example.com')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
#cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.1 mail.example.com mail
192.168.1.2 imss.example.com
# cat access
Connect:127.0.0.1 RELAY
Connect:192.168.1 RELAY
How to pass the local mails to the IMSS.
I need help to solve this.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2010 05:07 AM
09-23-2010 05:07 AM
Re: Sendmail relay problem.
Myabe I'm wrong, but I thinkg that this won't be possible unless you configure your SMTP server to be imss.example.com at your clients.
The problem is that in mail.example.com, you must define in local-host-names your domain name. In that case, mails arriving will be considered to be delivered locally.
So, if you don't put your domain in local-host-names, mails will be forwarded to the relay, then the relay back to you, but you will never know the you should accept this mail as destined to your host, and you will send it back to the relay, creating a mail loop.
The problem is that in mail.example.com, you must define in local-host-names your domain name. In that case, mails arriving will be considered to be delivered locally.
So, if you don't put your domain in local-host-names, mails will be forwarded to the relay, then the relay back to you, but you will never know the you should accept this mail as destined to your host, and you will send it back to the relay, creating a mail loop.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP