Setting up relaying in Sendmail

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Jun 25 15:34:30 UTC 2004


Am Fr, den 25.06.2004 schrieb Mark Haney um 17:05:

> I am trying to get sendmail setup to sendmail (obviously), but I can't get  
> it to send any mail, it says 'relaying denied'.  I was looking on the  
> sendmail website for FAQ's on this and all I got was a file named  
> relay-domains, but I can't find that file.  Is that a file that I can  
> manually create?  Or is there another way to specify what domains and IP  
> addresses can relay mail through it?

> Mark Haney

http://www.sendmail.org/~ca/email/relayingdenied.html

http://www.sendmail.org/m4/masquerading_relaying.html

Finer control you have using the access_db

http://www.sendmail.org/m4/anti_spam.html

So taking a simple example, that you want to send through your Sendmail
host from your workstation with the fix private IP 192.168.0.5, then put
in /etc/mail/access

192.168.0.5    RELAY

and run "make -C /etc/mail". Relaying for that specific IP is
immediately possible.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 17:31:55 up 2 days, 16:10, load average: 0.97, 0.56, 0.36 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040625/d33fade9/attachment-0001.sig>


More information about the fedora-list mailing list