[LUGSB] Sendmail configuration

Charles P Wright cwright at ic.sunysb.edu
Tue Jun 10 13:00:21 EDT 2003


Sendmail is configured by default not to relay mail, that is it will only
accept messages for local addresses unless it is coming from a trusted IP
address.

To edit the list of hostnames that Sendmail thinks belong to it modify
/etc/mail/local-host-names (this may be wrong with other versions grep for
'^Fw' and see what file is listed, it may be /etc/mail/sendmail.cw).

To edit the list of IP addresses that Sendmail will trust, you should
modify /etc/mail/access.  Be careful when doing this, you do not want to
allow arbitrary hosts to use your machine as a relay.  It sucks up your
internet bandwidth, and is bad for the 'net as a whole since it helps
spammers to send more crap to all of us.

Charles

On Tue, 10 Jun 2003, Dumisani Nlebgwa wrote:

>
> Hi lugsb, I am trying to set up a mail server with sendmail and so far i
> can send messages from my host, however whenever i try send messages to it
> i keep on getting this email with the following error message:
>
> -----
> xx.xxx.xxx.xx does not like recipient.
> Remote host said: 550 5.7.1 ... Relaying denied
> Giving up on xx.xxx.xxx.xx.
> ------
>
>
> Any suggestions on what the problem might be?
>
>
> --dUMISANI
>
>
>
>
>
>
>
> 			*---------------------------------------*
> 			*	Dumisani Nlebgwa		*
> 			*	631 216 1622			*
> 			*	You can't pronounce my name?	*
> 			*	- but its so phonetic!		*
> 			*---------------------------------------*
>
> _______________________________________________
> lugsb mailing list
> lugsb at fsl.cs.sunysb.edu
> http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb
>



More information about the lugsb mailing list