Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th July 2008, 04:31
crudolphy crudolphy is offline
Member
 
Join Date: Nov 2005
Location: The Woodlands (Near Houston) Texas USA
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
Default Virtual Users & Domains with Postfix - Ubuntu 8.04 LTS

I have setup a server following this how to. Everything seems to be working fine with one exception. I am using Evolution as a client. When Evolution checks for email it doesn't download any mail from my server. When I force Evolution to "Send and Receive" I get the following message

Quote:
SSL Certificate check for crud-04.ccrudolphy.net

Issuer:

E=Postmaster@example.com CN=Localhost, OU=Automatically generated POP3 SSL key, O=Courier Mail Server,
Blah Blah....

Then Ends with:
Quote:
Signature: BAD
This appears to be some sort of default certificate. If I accept it then as long as Evolution is open everything works fine. If I close Evolution then I have to force a "Send and Receive" so that I can get this error message and "Accept" this "BAD" certificate.

In following the How To - I did create the TLS certificates. In testing the server via Telnet I get the following:

Quote:
root@crud-04:/etc/postfix# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 crud-04.ccrudolphy.net ESMTP Postfix (Ubuntu)
ehlo localhost
250-crud-04.ccrudolphy.net
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 NTLM DIGEST-MD5 LOGIN PLAIN
250-AUTH=CRAM-MD5 NTLM DIGEST-MD5 LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
root@crud-04:/etc/postfix#
How do I create an proper SSL certificate or how do I direct Postfix to use the certificates created in the How To?

My /etc/postfix/main.cf is as follows:

Quote:
# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
and with the following:

Quote:
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
Any help would be much appreciated.

Chuck
Reply With Quote
Sponsored Links
  #2  
Old 11th July 2008, 11:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

http://www.howtoforge.com/forums/sho...ht=mkimapdcert
__________________
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
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
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail -Ubuntu 8.04 c4rdinal HOWTO-Related Questions 112 23rd August 2011 10:49
Virtual Users And Domains With Ubuntu 8.04 mikeyr Suggest HOWTO 12 8th May 2009 15:47
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04) canardwc HOWTO-Related Questions 12 29th May 2008 18:29
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 16:11
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 02:53


All times are GMT +2. The time now is 23:58.


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