Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-13-2007, 08:23 AM   #1
Registered: Oct 2003
Location: Middle Tennessee
Distribution: CentOS
Posts: 37

Rep: Reputation: 15
Postfix authenticate on forward to smtp server

I have to have my postfix server forward all mail to my ISP's smtp server. They have instituted smtp authentication. How do I configure Postfix to authenticate with my ISP's smtp server so that I can get my mail sent properly? As of right now, all mail is being rejected.
Old 12-14-2007, 08:28 AM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Read this. You'd need a postfix compiled with Cyrus SASL.
Old 12-16-2007, 08:09 PM   #3
Registered: May 2007
Distribution: Debian
Posts: 103

Rep: Reputation: 15
relayhost = isp.mail.server
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/isppasswd
smtp_sasl_security_options =
then you will need to create the /etc/postfix/isppasswd file with the content:

isp.mail.server    username:password
and hash it afterwards by:

postmap /etc/postfix/isppasswd



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Forward SMTP to another server (SuSE with iptables) baetmaen Linux - Security 2 02-11-2006 02:05 PM
Postfix forward all inbound mail to another server bourbon_beast Linux - Software 2 06-28-2005 04:48 AM
Postfix forward to another server BorgKiller *BSD 1 05-27-2005 11:07 AM
using sendmail to forward to a remote smtp server selgip Linux - Software 1 03-21-2005 05:04 PM
Using Postfix the send email via another smtp server - to anyone. scarstens Linux - Newbie 1 01-27-2004 03:31 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:23 AM.

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