HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- sendmail relay local
Operating System - Linux
1827876
Members
1355
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
10-12-2004 10:40 PM
10-12-2004 10:40 PM
sendmail relay local
Hi all,
I'm using sendmail with MailScanner+clamav as mail server. All things working fine, but one thing, my local mails also getting routed through Smart Relay host. I know that if I 'm using a Smart relay, all mails not destined for any of class w names, will be routed through it. but , for a practical use, I need a solution for it.
In detail, we have purchased some mail accounts from our ISP, on a virtual domain. we use SMTP server of this ISP as Smart relay. mails from outside world goto the ISP , from where we fetch them on sendmail server by using fetchmail.at my end, I've also made a virtual domain of the same name for which we have purchased mail accounts.Now, if I add this virtual domain's name in /etc/mail/local-host-names file, mails sent to users on virtual domain are treated locally. this is fine, as long as my all users of that virtual domain are inside my own server and inside my LAN. But ,the practical problem is, some users having an account from my ISP are outside my LAN. they use their mail account of this virtual domain to access mails from different locations. now, when anybody from my lan sends a mail to these outside users, my mail server (sendmail) gives error "User Unknown".It is obvious because we don't have any mail account for that user in this server. instead, the accounts are handeled by ISP, as stated above.
So, can anybody tell me a way to solve this problem, means, on the same virtual domain, if mails send to local users, should be treated as local, and if the user is not found in user database, the mail should be relayed to smart host as other outbound mails....
Please suggest me any way to tackle this..
thanks
I'm using sendmail with MailScanner+clamav as mail server. All things working fine, but one thing, my local mails also getting routed through Smart Relay host. I know that if I 'm using a Smart relay, all mails not destined for any of class w names, will be routed through it. but , for a practical use, I need a solution for it.
In detail, we have purchased some mail accounts from our ISP, on a virtual domain. we use SMTP server of this ISP as Smart relay. mails from outside world goto the ISP , from where we fetch them on sendmail server by using fetchmail.at my end, I've also made a virtual domain of the same name for which we have purchased mail accounts.Now, if I add this virtual domain's name in /etc/mail/local-host-names file, mails sent to users on virtual domain are treated locally. this is fine, as long as my all users of that virtual domain are inside my own server and inside my LAN. But ,the practical problem is, some users having an account from my ISP are outside my LAN. they use their mail account of this virtual domain to access mails from different locations. now, when anybody from my lan sends a mail to these outside users, my mail server (sendmail) gives error "User Unknown".It is obvious because we don't have any mail account for that user in this server. instead, the accounts are handeled by ISP, as stated above.
So, can anybody tell me a way to solve this problem, means, on the same virtual domain, if mails send to local users, should be treated as local, and if the user is not found in user database, the mail should be relayed to smart host as other outbound mails....
Please suggest me any way to tackle this..
thanks
PreSales Specialist
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 12:01 AM
10-13-2004 12:01 AM
Re: sendmail relay local
KCPANT,
I could not get the exact picture of your problem. But would aliases file help you??
For the users having problem, define then in aliases file. Say user1@xyz.com will be defined as
user1@xyz.com : user1@localdomain.com
Hope this helps.
Anil
I could not get the exact picture of your problem. But would aliases file help you??
For the users having problem, define then in aliases file. Say user1@xyz.com will be defined as
user1@xyz.com : user1@localdomain.com
Hope this helps.
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 10:09 PM
02-24-2005 10:09 PM
Re: sendmail relay local
closing thread, found a patch for sendmail
PreSales Specialist
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