HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Windows Server 2003
- >
- Unable to send main via smtp server
Windows Server 2003
1830899
Members
2526
Online
110017
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
05-31-2010 04:17 AM
05-31-2010 04:17 AM
Unable to send main via smtp server
Hi,
I have checked the server for smtp connectivity it seems to be fine ,but when I run the script for sending mail it is giving following error
" The server rejected one or more recipient addresses. The server response was: 554 SPAM-
Relay detected"
But when I run the same script from other server it is running fine .What could be the problem ? this is server problem or script problem ?
or can u give me the simple steps to send mail from command prompt without using scripts
I have checked the server for smtp connectivity it seems to be fine ,but when I run the script for sending mail it is giving following error
" The server rejected one or more recipient addresses. The server response was: 554 SPAM-
Relay detected"
But when I run the same script from other server it is running fine .What could be the problem ? this is server problem or script problem ?
or can u give me the simple steps to send mail from command prompt without using scripts
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2010 01:04 PM
05-31-2010 01:04 PM
Re: Unable to send main via smtp server
>554 SPAM-Relay detected"
>But when I run the same script from other server it is running fine.
It appears your mail server thinks your server is a SPAM-Relay and rejects it.
>But when I run the same script from other server it is running fine.
It appears your mail server thinks your server is a SPAM-Relay and rejects it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2010 12:29 AM
06-01-2010 12:29 AM
Re: Unable to send main via smtp server
Hi,
If it's an Exchange server you'll need to enable relaying.
Open Excahnge system mgr, expand Administrative Group and browse to the selected server. Expand protocols, SMTP and default SMTP Virtual Server, properties, Access tab and once there, just configure the relay restrictions. Add the client IP address for the computer that you want to send mails from.
There's this one utility I have attached:
This can do the job for you but it will still need a relay SMTP server.
C:\>smtpsend /?
SMTPSend v3.05 (WinNT 4.x)
(c) copyright DataEnter, Michael Kocum 1993-1998
portions (c) Microsoft Corp.
Error: No destination address!
SMTPSend uses the following arguments:
-f From Address
-t Destination addresses
-c CC Address
-h SmartHost
-s Subject for message
-a File(s) to attach to message
-i File to import for message body
-r Disable adding linebreaks at column 78
-1 Enable Single To Mode
-v Verbose Mode ( Show Message Transfer )
-4 SOCKS4 host
-5 SOCKS5 host
-g Sends SMTP File ( Ignores -c,-a,-i,-s,-r )
-@ Read additional arguments from a file (-@FILE.EXT)
Example:
SMTPSend -fmk@domain.com -tbg@msn.com -hmx.domain.com -iBODY.TXT -aATTACH.XLS
Hope it helps.
If it's an Exchange server you'll need to enable relaying.
Open Excahnge system mgr, expand Administrative Group and browse to the selected server. Expand protocols, SMTP and default SMTP Virtual Server, properties, Access tab and once there, just configure the relay restrictions. Add the client IP address for the computer that you want to send mails from.
There's this one utility I have attached:
This can do the job for you but it will still need a relay SMTP server.
C:\>smtpsend /?
SMTPSend v3.05 (WinNT 4.x)
(c) copyright DataEnter, Michael Kocum 1993-1998
portions (c) Microsoft Corp.
Error: No destination address!
SMTPSend uses the following arguments:
-f From Address
-t Destination addresses
-c
-h
-s
-a
-i
-r Disable adding linebreaks at column 78
-1 Enable Single To Mode
-v Verbose Mode ( Show Message Transfer )
-4
-5
-g
-@
Example:
SMTPSend -fmk@domain.com -tbg@msn.com -hmx.domain.com -iBODY.TXT -aATTACH.XLS
Hope it helps.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP