engarde-users October 2001 archive
Main Archive Page > Month Archives  > engarde-users archives
engarde-users: [EnGarde] Re: Postfix Question

[EnGarde] Re: Postfix Question

From: Shaman Hack <ks_at_nospam>
Date: Sat Oct 06 2001 - 14:54:48 GMT
To: <engarde-users@engardelinux.org>


Steven,

Try this:

Edit /etc/postfix/main.cf with your favorite editor. Modify the following variables:

relay_domains = $mydestination, mydomainname.com mynetworks = 127.0.0.0/8,192.168.100.0/24

Of course, you would substitute "mydomainname.com" with your actual domain. Add your IP addresses or IP ranges to the "mynetworks" variable but be sure that you leave 127.0.0.0/8 on the line.

Issue this command:
postfix reload

It should now allow an email client with an IP address that is listed in "mynetworks" to relay mail.

Hope this helps,
Shaman

  • Original Message ----- From: "Steven J. Daniels" <sdaniels@wavewizard.com> To: <engarde-users@engardelinux.org> Sent: Friday, October 05, 2001 8:33 AM Subject: [EnGarde] Postfix Question

>
> I have added my home name resolv to postfix's main.cf in the manner of...
>
> relay_domains = myhomeaccount.ne.mediaone.net
>
> I also tried
>
> relay_domains = 205.219.177.0
> relay_domains = 205.219.177.
> and
> relay_domains = 205.219.177
>
> The fist with the name worked, the ip's did not.
> Any ideas on adding ip based relaying, smtp handles it, but postfix
doesn't
> seem to.
>
> ...and please don't refer me to

http://www.linuxsecurity.com/feature_stories/feature_story-91-print.html
> That page reads like japanese stereo instructions.
>
> If you have an actual simple answer (anyone) please send it.
>
> ------------------------------------------------------------------------
> To unsubscribe email engarde-users-request@engardelinux.org
> with "unsubscribe" in the subject of the message.


To unsubscribe email engarde-users-request@engardelinux.org with "unsubscribe" in the subject of the message.