Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Relaying from everywhere (Postfix)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Cerebro
n00b
n00b


Joined: 17 Mar 2006
Posts: 20
Location: Valhalla

PostPosted: Fri Jul 27, 2007 9:01 am    Post subject: Relaying from everywhere (Postfix) Reply with quote

This question might sound a little bit stupid but there is a point with it. I want to setup my Postfix server to allow relaying from the entire world (where ever i may relay from). It is configured with SMTP AUTH.

Can i set $relay_domains to * or something similar in /etc/postfix/main.cf ?

/J
Back to top
View user's profile Send private message
elgato319
Guru
Guru


Joined: 15 Sep 2005
Posts: 546

PostPosted: Fri Jul 27, 2007 9:38 am    Post subject: Reply with quote

ugh... never allow to relay everything.
you will get you mailserver blacklisted very fast :)

just add to the restrictions:

Code:

smtpd_recipient_restrictions =
        permit_sasl_authenticated,...

smtpd_helo_restrictions =
        permit_sasl_authenticated,...

smtpd_sender_restrictions =
        permit_sasl_authenticated,...


to your config and you should be fine.
Back to top
View user's profile Send private message
Cerebro
n00b
n00b


Joined: 17 Mar 2006
Posts: 20
Location: Valhalla

PostPosted: Fri Jul 27, 2007 9:46 am    Post subject: Reply with quote

Hello again. I tried that but it still say Relaying Access Denied. The authentication works fine but it's the relaying part that does'nt work.

/J
Back to top
View user's profile Send private message
Diezel
l33t
l33t


Joined: 04 Feb 2003
Posts: 600
Location: Karjaa, Finland

PostPosted: Fri Jul 27, 2007 10:01 am    Post subject: Reply with quote

I've setup a mail server according to the Virtual Mail server howto and it uses auth to relay for users outside the office. You don't have to set up everything according to the guide. Just the parts you need.
_________________
A bus station is where a bus stops, a train station is where a train stops. On
my desk I have a work station..
Nixadmins.net
FLUG member 473
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum