Author Topic: Anyone ever setup Postfix using authentication?  (Read 1637 times)

0 Members and 1 Guest are viewing this topic.

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Anyone ever setup Postfix using authentication?
« on: March 23, 2009, 01:52:08 am »
I've got a Postfix (SMTP) installation running. It's setup right now to use SASL AUTH provided by Dovecot's SASL interface. Dovecot is an IMAP server that uses SASL Auth also and provides an easy method for allowing Postfix to Auth against the same database. That's what I'm using.

Anyways, the Postfix Auth is working... I'm able to pass authentication, and get rejected by it, etc. I can't, however, tell Postfix to only allow users that pass Authentication to be allowed to send mail. I just don't know how. I've been reading man pages, docs, forums posts, etc for the better part of the day. I've tried many different setting variations and what not. I'm not explicitly allowing my IP, or anything, either.

In short, users are able to use my postfix server without having to authenticate. Yet, authentication does work - it's just not required. I want it to be required.

Anyone have any experience with this?
http://www.chyea.org/ - web based markup debugger

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Anyone ever setup Postfix using authentication?
« Reply #1 on: March 23, 2009, 02:13:52 am »
The last time I tried to mess with Postfix I was smart enough to not and use google domain tools instead.

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Re: Anyone ever setup Postfix using authentication?
« Reply #2 on: March 23, 2009, 02:20:06 am »
The last time I tried to mess with Postfix I was smart enough to not and use google domain tools instead.

hehe. Well, I'm setting up smtp and imap servers for a small company that I've sort of started up. I'd like to be able to host my own instead of use any third party tools for this. I'm surprised that "only users that pass auth can send mail" is a tough question to get an answer from out of the #postfix on freenode users. You'd think this would be a common use case?
http://www.chyea.org/ - web based markup debugger

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Re: Anyone ever setup Postfix using authentication?
« Reply #3 on: March 26, 2009, 02:11:26 am »
Well, I managed to get it working. There were a lot of things that I really just didn't even have a clue about during my first setup attempt, and the second one went pretty well. I did a lot of reading about all of this crap so I understand the process pretty well now.

If anyone ever has problems trying to setup an smtpd and / or an imapd, feel free to ask.
http://www.chyea.org/ - web based markup debugger