LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2006, 03:59 PM   #1
keyF
Member
 
Registered: Jan 2006
Location: Moscow
Distribution: Debian, RHEL, FreeBSD, CentOS
Posts: 38

Rep: Reputation: 15
Relay with authentication on Postfix


Hello, I have Postfix installed on Debian SARGE 3.1 and I want it to relay mails from authenticated users and I want Postfix get user names and passwords from /etc/passwd and /etc/shadow respectively.

Please advice what configuration changes should I make?

Thanks
 
Old 08-01-2006, 08:47 AM   #2
stlouis
Member
 
Registered: Jul 2006
Location: Sault Ste. Marie, Ontario
Distribution: RedHat, CentOS, Fedora Core, Gentoo, Slackware
Posts: 63

Rep: Reputation: 16
Why do you want it setup that way?

Are all your mail users local? Are they emailing from the command line via mutt or ???

Why not setup IP Based Relay Control, it's usually quite effective. If not, why not setup SASL Auth-Based Relay Contol with TLS Encryption? This will give you the peace of mind you are looking for.
 
Old 08-02-2006, 01:19 AM   #3
keyF
Member
 
Registered: Jan 2006
Location: Moscow
Distribution: Debian, RHEL, FreeBSD, CentOS
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by stlouis
Are all your mail users local? Are they emailing from the command line via mutt or ???
No. All of them are remote and using Outlook to send emails. Why it matters?

Quote:
Originally Posted by stlouis
Why not setup IP Based Relay Control, it's usually quite effective.
because some of my users are mobile and I cannot list all possible IPs in postfix config file.

Quote:
Originally Posted by stlouis
If not, why not setup SASL Auth-Based Relay Contol with TLS Encryption? This will give you the peace of mind you are looking for.
because I'm not so familar with Linux in general and in Postfix as I want to be, and I'm not sure that it will be easy. If you have some nice manual about it, please give me the link
 
Old 08-02-2006, 02:12 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look at

http://www.postfix.org/addon.html

and read Ralf's howto on pop-before-smtp. It's very simple (just for fun I set it up last night after suggesting it to someone else and it takes a whole 10 minutes).
 
Old 08-03-2006, 01:03 AM   #5
keyF
Member
 
Registered: Jan 2006
Location: Moscow
Distribution: Debian, RHEL, FreeBSD, CentOS
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday
Have a look at

http://www.postfix.org/addon.html

and read Ralf's howto on pop-before-smtp. It's very simple (just for fun I set it up last night after suggesting it to someone else and it takes a whole 10 minutes).

thank you
I'll try this.
 
Old 08-03-2006, 06:43 AM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Rather than POP-before-SMTP I recommend SASL authentication - http://www.postfix.org/SASL_README.html

POP-before-SMTP (especially implemented by looking through POP3 log files) is an ugly hack.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail authentication for SMART_HOST relay cdhgee Linux - Software 8 04-18-2017 02:14 PM
postfix relay problems with SASL authentication & TLS climbingmerlin Linux - Software 0 04-05-2006 08:55 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Postfix cram-md5 authentication to earthlink relay spiritwing Linux - Software 2 07-13-2005 09:19 PM
using postfix to send through a relay server that requires authentication surban99 Linux - Software 1 04-27-2004 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration