View Single Post
  #1  
Old 22nd May 2008, 01:14
TheRudy TheRudy is offline
Senior Member
 
Join Date: Dec 2005
Posts: 215
Thanks: 1
Thanked 7 Times in 5 Posts
Default Postfix, maildir, not virtual..

Hey

Requesting help

I've set up a server that will host only 1 domain!! All other crap is set and now i want email also. I've installed postfix with courier (took procedure from Debian Etch perfect setup: http://www.howtoforge.com/perfect_setup_debian_etch_p5)

I did everything on that page. I know that is for virtual set up so i hope i didn't fuck up..

Now to the questions/problems

1. I've set up an account "root@domain.tld" and i logged in with root password for server :S but it logs in just fine! The problem is:
Code:
May 21 18:34:03 tmqserver courierpop3login: chdir Maildir: No such file or directory
Right, so i've read that maildir should be created when 1st email gets in but no matter how many emails i send, the error message is always the one above!

2. How do i remove root email and set up other email for 1 domain name?

Again, i do not want to use virtual setup since i'm hosting only 1 domain name that will be in use only by me..

This is my main.cf
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
myhostname = tmqserver.DOMAIN.TLD
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = tmqserver.DOMAIN.TLD, localhost.DOMAIN.TLD, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
Reply With Quote
Sponsored Links