LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-08-2009, 10:44 AM   #1
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
migration from sles9 to ubuntu postfix configuration


hi there,

I have just migrated my server from SLES9 to ubuntu (because I dont have to pay for updates). I am useing postfix + cyrus + ldap.

My setup so far is recieving local mail using LDAP for user lookup however when I send an email to a user on my server I dont recieve it. DNS is all set up corectly.

I have my domain set with mydestination in main.cf and port 25 forwarded to my postfix server.

Is ther somthing i am missing?

hear is my main.cf

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no



# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = hull.berrancenetworks.co.uk
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = berrancenetworks.co.uk, localhost, hull
mailbox_size_limit = 0
recipient_delimiter = +

mailbox_transport = cyrus
local_transport = cyrus

#mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
#virtual_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
#virtual_mailbox_domains = berrancenetworks.local
#virtual_alias_maps = hash:/etc/postfix/virtual

#smtpd_sasl_security_options = 

#smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
#smtpd_sasl_auth_enable = yes
#smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination
#fallback_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
#mydomain = hull.berrancenetworks.local
#delay_warning_time = 0
#smtpd_recipient_restrictions = permit_mynetworks

smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination


smtpd_tls_auth_only = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtp_tls_note_starttls_offer = yes

smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes

smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_loglevel = 1

smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom



content_filter = smtp-amavis:127.0.0.1:10024
mynetworks_style = class
smtpd_sasl_auth_enable = yes

any help will be greatly apreciated

Berrance
 
Old 03-11-2009, 05:56 AM   #2
mephisto23
LQ Newbie
 
Registered: Mar 2009
Posts: 20

Rep: Reputation: 1
I have done this also some months ago by copying the sles main.cf to debian and check postconf -d against it. after that all sles specific content was away and the config worked like before.

regards,

mephisto23
 
  


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
Postfix/Dovecot migration kapaneus Linux - Software 1 08-14-2008 02:56 PM
LXer: Postfix Configuration for Ubuntu, CentOS and OpenSuse LXer Syndicated Linux News 0 07-06-2008 10:42 PM
Ubuntu server postfix TLS configuration dkiousis Linux - Server 4 03-05-2008 04:45 AM
kubuntu and ubuntu - stuck on postfix configuration llm385 Linux - Newbie 5 02-25-2008 04:23 PM
SLES9 IDE tape configuration smaphosa Linux - Hardware 4 05-04-2006 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:33 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