Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail Problem

Status
Not open for further replies.

dogo1984

Programmer
Sep 1, 2002
24
DE
Hi.

I have installed Sendmail from my Suse Linux CD. (Version 8.1)

Now i tried to mail me self a mail for testing ..

but no one arrives.

Could anybody help me please.

Had i to configure something to Sendmail ?!


sorry for asking .. still a linux newbie :) ..

only want to learn ...
 
Sendmail is a bit of a pig to configure - you may want to have a look at something like postfix instead.
 

Try

echo "" | sendmail -v Test user

That gives you some indication of what goes wrong.
After sending try 'mailq' to see the status of the mail in the queue.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Ok here is that what come out.

forswolf is a user on my system.

could someone say me what i can do that it works ?

i am realy down :(.

thx for helping


test,forswolf... Connecting to localhost.de. via relay...
220 ac.cybercity.de Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at Fri, 28 Feb 2003 17:01:55 +0100
>>> EHLO sta-dogo.de
250-ac.cybercity.de Hello [80.133.240.201]
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-TURN
250-ATRN
250-SIZE 2097152
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250 OK
>>> MAIL From:<root@sta-dogo.de> SIZE=1 AUTH=root@sta-dogo.de
250 2.1.0 root@sta-dogo.de....Sender OK
>>> RCPT To:<test@sta-dogo.de>
>>> RCPT To:<forswolf@sta-dogo.de>
>>> DATA
550 5.7.1 Unable to relay for test@sta-dogo.de
550 5.7.1 Unable to relay for forswolf@sta-dogo.de
554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
>>> RSET
250 2.0.0 Resetting
root... Using cached ESMTP connection to localhost.de. via relay...
>>> MAIL From:<> SIZE=1025
250 2.1.0 <>....Sender OK
>>> RCPT To:<root@sta-dogo.de>
>>> DATA
550 5.7.1 Unable to relay for root@sta-dogo.de
554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
>>> RSET
250 2.0.0 Resetting
postmaster... Using cached ESMTP connection to localhost.de. via relay...
>>> MAIL From:<> SIZE=2049
250 2.1.0 <>....Sender OK
>>> RCPT To:<postmaster@sta-dogo.de>
>>> DATA
550 5.7.1 Unable to relay for postmaster@sta-dogo.de
554 5.5.2 No valid recipients
>>> RSET
250 2.0.0 Resetting
Closing connection to localhost.de.
>>> QUIT
221 2.0.0 ac.cybercity.de Service closing transmission channel
 
Not sure if this will help but make sure your server name and/or ip address is in the following files:

Location is the file location on my server so yours may be different:

/etc/mail/access - make sure your mail server ip is allowed to relay (if you change this file make sure you run the following command - &quot;makemap hash /etc/mail/access.db < /etc/mail/access&quot; without the quotes of course

Example is: 199.99.99.5 RELAY

/etc/sendmail.cf - # &quot;Smart&quot; relay host (may be null) section
DSyourservername.com

Example is: DSsmtp.earthlink.net

After making changes restart sendmail
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top