AMD 64, Kubuntu 7.10, Postfix 2.5.1. using ISPconfig to configure users.
I have a very annoying problem. I accidentally deleted a users home dir (through sudo...), for a user created through ISPConfig.
I wanted to recreate the user so I removed it from users\groups, but ISPConfig wouldn't let me to recreate it, claiming it already exists.
I tried recreating it through users/groups and it worked fine (but that has its own mailing issues when working with ISPConfig...). So I understood it is ISPC problem. I created a user with a different name and then change its iname in ISPC tables, Users/groups, homedir. After getting rid of procmail and forward files created by Linux (ISPC creates its own), I managed to send mail (which actually reaches the sent mail folder), but I can't get mail.
For other users created directly from ISPC without changes I do get mail.
Also - nothing wrong in log!
/etc/postfix/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
# TLS parameters
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:/var/lib/postfix/smtpd_scache
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scach
#smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = terrenisrv1.terrenis.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = terrenis.net, terrenisrv1, localhost.localdomain, localhost,mail.terrenis.net,terrenisrv1.terrenis.net
#relayhost = localhost
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
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,
# check_recipient_access hash:/etc/postfix/local-host-names
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
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
/etc/postfix/virtusertable:
Code:
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
dbadmin@mysql.terrenis.net dbadmin
webmaster@www.terrenis.net webmaster
plugagimel@plugagimel.terrenis.net plugagimel
moderator@forum.terrenis.net moderator
pics@pics.terrenis.net pics
shai@shai.terrenis.net shai
blogmaster@blogs.terrenis.net blogmaster
csight@creativesight.terrenis.net csight
spma@softdev.terrenis.net spma
bc_user@imtbo2008.terrenis.net bc_user
martin@mail.terrenis.net martin
yulia@mail.terrenis.net yulia
postmaster@mail.terrenis.net postmaster
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
dbadmin@terrenis.net dbadmin
webmaster@terrenis.net webmaster
plugagimel@terrenis.net plugagimel
moderator@.terrenis.net moderator
pics@terrenis.net pics
shai@terrenis.net shai
blogmaster@terrenis.net blogmaster
csight@terrenis.net csight
spma@terrenis.net spma
bc_user@terrenis.net bc_user
martin@terrenis.net martin
yulia@terrenis.net yulia
postmaster@terrenis.net postmaster
I tried reemoving the manual entries, but it didn't help.
/etc/postfix/local-host-names :
Code:
###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
terrenisrv1
localhost.terrenisrv1
localhost.localdomain
mail.terrenis.net
mysql.terrenis.net
www.terrenis.net
plugagimel.terrenis.net
forum.terrenis.net
pics.terrenis.net
shai.terrenis.net
blogs.terrenis.net
creativesight.terrenis.net
softdev.terrenis.net
imtbo2008.terrenis.net
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
tried also adding manually -terrenis.net.
It is very frustrating, since I'm getting no errors...
Any ideas?
Bookmarks