Sponsored Content
Full Discussion: Solaris mail problem
Operating Systems Solaris Solaris mail problem Post 302117567 by hshapiro on Tuesday 15th of May 2007 10:49:38 AM
Old 05-15-2007
Mail

Thanks for the reply. I ran this (found it on Google):
ibasdb02:/root #
ibasdb02:/root # /usr/lib/sendmail -Am -bv root
root... deliverable: mailer relay, host standard.com., user root@standard.com
ibasdb02:/root # /usr/lib/sendmail -Am -bv postmaster
postmaster... deliverable: mailer relay, host standard.com., user postmaster@st
ndard.com
ibasdb02:/root # date | sendmail -Am -v root
ksh: sendmail: not found
ibasdb02:/root # date | /usr/lib/sendmail -Am -v root
root... Connecting to mail.standard.com. via relay...
220 as2.standard.com ESMTP Mon, 14 May 2007 12:17:56 -0700
>>> EHLO ibasdb02.invesmart.inc
250-as2.standard.com Hello [12.46.232.29], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-AUTH GSSAPI
250-DELIVERBY
250 HELP
>>> MAIL From:<root@ibasdb02.invesmart.inc> SIZE=29
250 2.1.0 <root@ibasdb02.invesmart.inc>... Sender ok
>>> RCPT To:<root@standard.com>
>>> DATA
550 5.7.0 <root@standard.com>... Recipient Is not valid
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
root... Using cached ESMTP connection to mail.standard.com. via relay...
>>> MAIL From:<> SIZE=1053
250 2.1.0 <>... Sender ok
>>> RCPT To:<root@standard.com>
>>> DATA
550 5.7.0 <root@standard.com>... Recipient Is not valid
503 5.0.0 Need RCPT (recipient)
>>> RSET
250 2.0.0 Reset state
>>> RSET
250 2.0.0 Reset state
postmaster... Using cached ESMTP connection to mail.standard.com. via relay...
>>> MAIL From:<> SIZE=2077
250 2.1.0 <>... Sender ok
>>> RCPT To:<postmaster@standard.com>
>>> DATA
250 2.1.5 <postmaster@standard.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 l4EJHuRu020579 Message accepted for delivery
postmaster... Sent (l4EJHuRu020579 Message accepted for delivery)
Closing connection to mail.standard.com.
>>> QUIT
221 2.0.0 as2.standard.com closing connection


How can I avoid sending through standard.com? I want to use the local machine for mail on the CRON jobs?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies

2. Solaris

Solaris E-Mail Notifications ?!

Hi , I need to have a monitoring system also I wanna have E-Mail Notification .or SMS notification to be on touch with my System : ) ... Regards Adel (1 Reply)
Discussion started by: ArabOracle.com
1 Replies

3. Solaris

mail problems - how to send mail on solaris

Hello I am new user on solaris... I need to configure my solaris to be able to send mails... I know mailx command mailx -s hello address@address.com but I get an error... you have mail in /var/mail/root # hello... User unknown /dead.letter... Saved message in /dead.letter what... (10 Replies)
Discussion started by: amon
10 Replies

4. Solaris

solaris mail query

Hi, I have deployed the same script on a number of Solaris application servers. It is run by cron every ten minutes to check the OS for application daemons. If any of the daemons is found not running, a message is generated to a temporary file. At the end of the script the there is a... (1 Reply)
Discussion started by: jabberwocky
1 Replies

5. UNIX for Dummies Questions & Answers

Can not send mail in solaris 5.9

Hi !! I'm trying to send myself a mail from my Solaris server, i had tryed with this commands: mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies

6. Solaris

Solaris & mail

On my solaris server, I suddenly got a message saying Message from metatest on server. Check xxx mailbox for details. How do I chcek the message. I don't find xxx mailbox. Please help me ASAP. This is very urgent. Thanks & Regards, Nalina H V (1 Reply)
Discussion started by: nalinahv
1 Replies

7. Solaris

mail on Solaris 10

Hi, I work in Solaris 10.... I want to configure the mailing agent in my server.... I have been trying to use the command mail -s "test" hv899@cummins.com Hello EOT What are the configurations to be made to sendmail.cf.. Please let me know.... (3 Replies)
Discussion started by: saharookiedba
3 Replies

8. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

9. Shell Programming and Scripting

mail too slow on solaris

Hi, I am using /usr/ucb/mail for mailing thru script. But mail reaches after 30-40 mins. What can be the reason and also how to check status and related info (1 Reply)
Discussion started by: Deei
1 Replies

10. UNIX for Dummies Questions & Answers

How to specify second mail relay in Solaris?

Dears, I've configured Solaris (10) server to send mails to corporate mailboxes. Now I need to specify second relay, so if mailx will see that mail xxx@aaa.com it will send to 111.111.111.111 (aaa.com) and if it will see that mail belongs to bbb.com - xxx@bbb.com it will send to another IP... (3 Replies)
Discussion started by: nypreH
3 Replies
relaytest(1)						      General Commands Manual						      relaytest(1)

NAME
relaytest - attempt to use SMTP to relay to a DSBL-compliant host SYNOPSIS
relaytest [-v] <ip address[:port]> DESCRIPTION
relaytest attempts to connect to the specified <ip address> on the specified port (default is port 25) and uses a variety of tests to attempt to relay through the host. In the tests below, source.com is sender_domain from dsbl.conf(5) and sender is sender_user. Non-domain-specific tests: MAIL FROM:<sender@source.com> RCPT TO:<listme@dsbl.org> MAIL FROM:<sender@source.com> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<sender@source.com> RCPT TO:listme@dsbl.org MAIL FROM:<sender@source.com> RCPT TO:<dsbl.org!listme> MAIL FROM:<nobody> RCPT TO:<listme@dsbl.org> MAIL FROM:<nobody> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<nobody> RCPT TO:listme@dsbl.org MAIL FROM:<nobody> RCPT TO:<dsbl.org!listme> MAIL FROM:<source.com!sender> RCPT TO:<listme@dsbl.org> MAIL FROM:<source.com!sender> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<source.com!sender> RCPT TO:listme@dsbl.org MAIL FROM:<source.com!sender> RCPT TO:<dsbl.org!listme> MAIL FROM:<> RCPT TO:<listme@dsbl.org> MAIL FROM:<> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<> RCPT TO:listme@dsbl.org MAIL FROM:<> RCPT TO:<dsbl.org!listme> relaytest then builds a list of possible domains, including "[127.0.0.1]", "localhost", [<ip address>], and any other domains that can be derived from reverse DNS of the IP or the SMTP greeting. Domain specific tests: MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme@dsbl.org"> MAIL FROM:<nobody@DOMAIN> RCPT TO:listme@dsbl.org MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme%dsbl.org@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme%dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme%dsbl.org"> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<"listme@dsbl.org"@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<@DOMAIN:listme@dsbl.org> MAIL FROM:<nobody@DOMAIN> RCPT TO:<dsbl.org!listme> MAIL FROM:<nobody@DOMAIN> RCPT TO:<dsbl.org!listme@DOMAIN> MAIL FROM:<DOMAIN!nobody> RCPT TO:<dsbl.org!listme> MAIL FROM:<DOMAIN!nobody> RCPT TO:<dsbl.org!listme@DOMAIN> MAIL FROM:<nobody@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<postmaster@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<administrator@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<sales@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<info@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<webmaster@DOMAIN> RCPT TO:<listme@dsbl.org> MAIL FROM:<listserv@DOMAIN> RCPT TO:<listme@dsbl.org> relaytest then tries a variety of SMTP AUTH methods to try to relay a message through the target server. The envelopes used for these tests are always: MAIL FROM:<sender@source.com> RCPT TO:<listme@dsbl.org> The SMTP AUTH methods tried are as follows: AUTH LOGIN, user=/webmaster, password=(null) AUTH LOGIN, user=admin, password=admin AUTH LOGIN, user=administrator, password=(null) AUTH LOGIN, user=test, password=test AUTH NTLM (anonymous) OPTIONS
-v Verbose mode. Details of the SMTP transaction are written to standard output. AUTHOR
Ian Gulliver <ian@penguinhosting.net> SEE ALSO
dsbl.conf(5), spamtrap(1) 2002-04-03 relaytest(1)
All times are GMT -4. The time now is 02:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy