View previous topic :: View next topic |
Author |
Message |
Cerebro n00b
Joined: 17 Mar 2006 Posts: 20 Location: Valhalla
|
Posted: Fri Jul 27, 2007 9:01 am Post subject: Relaying from everywhere (Postfix) |
|
|
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 |
|
|
elgato319 Guru
Joined: 15 Sep 2005 Posts: 546
|
Posted: Fri Jul 27, 2007 9:38 am Post subject: |
|
|
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 |
|
|
Cerebro n00b
Joined: 17 Mar 2006 Posts: 20 Location: Valhalla
|
Posted: Fri Jul 27, 2007 9:46 am Post subject: |
|
|
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 |
|
|
Diezel l33t
Joined: 04 Feb 2003 Posts: 600 Location: Karjaa, Finland
|
Posted: Fri Jul 27, 2007 10:01 am Post subject: |
|
|
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 |
|
|
|