#1  
Old 28th February 2007, 13:23
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default configure SMTP-AUTH and TLS

On this page I read about configure Postfix for SMTP-AUTH and TLS.
I entered the commands as shown on this page:
Code:
postconf -e 'mydomain = example.com'
postconf -e 'myhostname = server1.$mydomain'
(ok, I changed server1 and mydomain to other names for my system).
After the last command (postconf -e 'myhostname = server1.$mydomain') I see a ">" prompt.
What do I have to enter here?
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2007, 14:14
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

You probably did not enter the last single quote. The > sign is a shell continuation sign, so it expects more input. Usually this is because quoting is not terminated.

Last edited by martinfst; 28th February 2007 at 20:08.
Reply With Quote
  #3  
Old 28th February 2007, 16:36
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

On another page I read that I have to enter this commands into /etc/postfix/main.cf, so I did.
After completing main.cf and editing /etc/postfix/master.cf and restarting postfix replies an error message on line 693:
missing '=' after attribute name: "postconf -e 'mydomain = vanharten.net'"

Who can tell me what is wrong in this line? This line contains a "=", isn't it?
Reply With Quote
  #4  
Old 28th February 2007, 17:33
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

Check the line(s) before the one with an error. Computers process straighforward, which us humans don't do all the time
That makes us ..... well, humans
Reply With Quote
  #5  
Old 28th February 2007, 19:36
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know what to search in the text above where the system calls an error.
The file was the original which I installed during setup SuSE. I only added the lines given on the website mentioned in the first posting of this topic.

Last edited by guidovanh; 28th February 2007 at 19:46.
Reply With Quote
  #6  
Old 1st March 2007, 20:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by guidovanh
After completing main.cf and editing /etc/postfix/master.cf and restarting postfix replies an error message on line 693:
missing '=' after attribute name: "postconf -e 'mydomain = vanharten.net'"
Just a guess: did you put
Code:
postconf -e 'mydomain = vanharten.net'
into your main.cf instead of just
Code:
mydomain = vanharten.net
? postconf is a command that helps you edit your main.cf, but it must not be in main.cf.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 1st March 2007, 21:09
guidovanh guidovanh is offline
Senior Member
 
Join Date: Feb 2006
Location: Leusden, The Netherlands
Posts: 104
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yes, I did, but at this moment the problem is solved. I already read that I have to add these lines without "postconf -e '".
The system is working now...
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
TLS (SSL) AUTH not working Morons General 7 30th January 2007 13:32
SASL and TLS problems with Postfix on Ubuntu fish HOWTO-Related Questions 13 7th October 2006 13:47
SASL AUTH with postfix on Sarge keulu Server Operation 6 31st August 2006 22:49
Can't send External Mail AndyF Installation/Configuration 7 8th August 2006 21:53
postfix auth problem (sasl) lerra Installation/Configuration 40 10th May 2006 23:36


All times are GMT +2. The time now is 10:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.