#1  
Old 23rd October 2005, 12:34
Tenaka Tenaka is offline
Senior Member
 
Join Date: Sep 2005
Posts: 840
Thanks: 15
Thanked 2 Times in 2 Posts
Default postfix questions

hi guys,

I have been reading /usr/share/postfix/main.cf.dist lately as well as some postfix dokus and had some questions about what I found there.

1.
Quote:
relay_domains

the variable relay_domains specifies with which domains the sending of emails is allowedd. AS far as I unerstand if we set it to relay_domains = $mydestination there is no faking of email addresses possible?
2.
Quote:
I inserted these entries additionally, as they seemed "logical" to me. Any problems with that?
delay_warning_time = 4h
maximal_queue_lifetime = 5d
3.
Quote:
what about these settings? too paranoid?
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_invalid_hostname,
reject_unknown_hostname,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
4.
Quote:
how about this:

echo 'allow_percent_hack = no' >> /etc/postfix/main.cf
/etc/init.d/postfix reload

Last edited by Tenaka; 23rd October 2005 at 13:30.
Reply With Quote
  #2  
Old 23rd October 2005, 14:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Quote:
relay_domains

the variable relay_domains specifies with which domains the sending of emails is allowedd. AS far as I unerstand if we set it to relay_domains = $mydestination there is no faking of email addresses possible?
As long as the user has a valid username and password for SMTP-AUTH or is sending directly from the server (e.g. with webmail) or sends a mail to a recipient on the server he can use whatever sender address he likes. You cannot prevent the user from faking the sender address.

Quote:
I inserted these entries additionally, as they seemed "logical" to me. Any problems with that?
delay_warning_time = 4h
maximal_queue_lifetime = 5d
No.

Quote:
what about these settings? too paranoid?
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_invalid_hostname,
reject_unknown_hostname,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
I'd try it for a few days and then check if too many valid emails have been rejected.
__________________
Falko
--
Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Header Checks dirk Installation/Configuration 7 13th March 2009 10:52
Hostname & DNS questions... SurfingAlien Installation/Configuration 6 16th October 2007 17:32
Removed PostFix, Now MySql Problems!!! sapient Installation/Configuration 10 24th October 2005 08:11
postfix queue setting questions Tenaka Server Operation 1 21st October 2005 16:05
Error Postfix misterm Server Operation 6 28th August 2005 11:18


All times are GMT +2. The time now is 09:18.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th