LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail Problem on SuSe 8.1 (https://www.linuxquestions.org/questions/linux-newbie-8/sendmail-problem-on-suse-8-1-a-121202/)

sjuerges 11-30-2003 04:57 AM

Sendmail Problem on SuSe 8.1
 
Hi folks,

and good morning from me.


I got the following problem, and after hours of reading manuals im finally desperate enough to ask for help ...

I have got a SuSe 8.1 Server with static ip.

I can send mails when im logged in via ssh, using pine.
When i try to send mails using smtp login, i get a "Relaying denied" error.

I got all the domain names that i want him to send email from in Sendmail CW and CG variables and i just cant sort out the problem.

Can any of you guys help ... ?

Thnx in advance
Sebastian

Jinkzer 11-30-2003 04:39 PM

I don't use SUSE but I had a lot of problems with sendmail when I was setting it up on a slackwarebox. I did documentation about everything so this might help you too.

First, check in your /etc/mail/sendmail.cf file for the following entry.

Kaccess hash -T /etc/mail/access

What you need to find here is the path and the filename.

Edit the /etc/mail/access and add the following:

your.ip.net RELAY

ex.

192.168.40 RELAY

Then, create the hash

makemap hash /etc/mail/access < /etc/mail/access

Restart sendmail and try.
(/usr/sbin/sendmail -bd -q1h)

This only allow you to relay emails from your local network, if you want to relay emails from Internet I recommend that you take a look at "pop before smtp", there is some script out there, I havn't tested it.

sjuerges 12-01-2003 12:08 AM

Wel after another day of reading and fidling i finally found the problem ...

edit linux.mc and edit the TRUSTED_AUTH_MECHS value ... now smtp auth works and everything is fine.

THNX @ Jinkzer for trying to help me, much appreciated.
I already did that (local mails working fine)


All times are GMT -5. The time now is 09:54 PM.