HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- mail relay from another domain?
Operating System - Linux
1827705
Members
2921
Online
109967
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
12-16-2004 03:49 AM
12-16-2004 03:49 AM
mail relay from another domain?
2 domains: zouben.org & dm02.org, zouben.org has SMTP Server: mail.zouben.org(postfix). now I want mail.zouben.org can relay mails for the hosts of dm02.org, what to do.
For example, when I use mutt + estmp, I can use a remote SMTP Server to deliver mail for me(Outlook Expree & Mozilla have this function). I have a mailbox on 163(USER@163.com), and I know its smtp.163.com, pop3.163.com, so I set my estmp like this:
~/.esmtprc
hostname=smtp.163.com:25
username="USERNAME"
password="PASSWORD"
~/.mutttc
set sendmail="/usr/bin/smtp -v -X ~/esmtp.log"
set envelope_from=yes
Now I can use smtp.163.com to deliver mail for me, it's very useful for PC. Does not smtp.163.com relay my mail?
But if I set hostname="mail.zouben.org:25" on HOST.dm02.org, it fails(if set on HOST.zouben.org, it's right) and report "relay access denied". I know I can set the 'relayhost' parameter of Postfix to make it to be a nullclient and to what esmtp do, but when I set the postfix on L02.dm02.org:
relayhost=[mail.zouben.org]
it still "relay access denied".
Later I built an sasl authentication, use saslauthd method with system account and have start 'saslauthd', it still can't relay.
I want to get the effect of the smtp.163.com, what must I do?
thanks.
For example, when I use mutt + estmp, I can use a remote SMTP Server to deliver mail for me(Outlook Expree & Mozilla have this function). I have a mailbox on 163(USER@163.com), and I know its smtp.163.com, pop3.163.com, so I set my estmp like this:
~/.esmtprc
hostname=smtp.163.com:25
username="USERNAME"
password="PASSWORD"
~/.mutttc
set sendmail="/usr/bin/smtp -v -X ~/esmtp.log"
set envelope_from=yes
Now I can use smtp.163.com to deliver mail for me, it's very useful for PC. Does not smtp.163.com relay my mail?
But if I set hostname="mail.zouben.org:25" on HOST.dm02.org, it fails(if set on HOST.zouben.org, it's right) and report "relay access denied". I know I can set the 'relayhost' parameter of Postfix to make it to be a nullclient and to what esmtp do, but when I set the postfix on L02.dm02.org:
relayhost=[mail.zouben.org]
it still "relay access denied".
Later I built an sasl authentication, use saslauthd method with system account and have start 'saslauthd', it still can't relay.
I want to get the effect of the smtp.163.com, what must I do?
thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 01:15 AM
12-17-2004 01:15 AM
Re: mail relay from another domain?
I use Exim not postfix. However,
are you sure you don't want to add a second
local domain.
It appears you want local delivery for
two domains. This is not a relay situation.
are you sure you don't want to add a second
local domain.
It appears you want local delivery for
two domains. This is not a relay situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2004 09:52 PM
12-17-2004 09:52 PM
Re: mail relay from another domain?
I have achieve this by setting:
/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject
and:
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
and start saslauthd:
/etc/init.d/saslauthd start
thanks
/etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject
and:
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
and start saslauthd:
/etc/init.d/saslauthd start
thanks
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