ok, thank you very much! that solved the login thing from webmail.
now for the other problem: when i send email to one of the domains hosted on the server, if i tai -f for the mail.log file, i can see the remote host connecting to my email server to deliver the email, but there it stops, and no mail is delivered.
For the hosted vdomains, in the mysql table i have
Code: Select all
domain1.com virtual:
domain2.com virtual:
for example, i tried to send an email from my gmail box, and this is what i get:
Code: Select all
Jan 6 09:41:06 localhost postfix/smtpd[16507]: starting TLS engine
Jan 6 09:41:06 localhost postfix/smtpd[16507]: connect from rproxy.gmail.com[64.233.170.202]
Jan 6 09:41:22 localhost postfix/trivial-rewrite[16508]: fatal: match_list_parse: read file /: Is a directory
Jan 6 09:41:23 localhost postfix/master[16469]: warning: process /usr/lib/postfix/trivial-rewrite pid 16508 exit status 1
Jan 6 09:41:23 localhost postfix/master[16469]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
also, the smtp is not working, i cannot send any mails from localhost, or from squirrelmail interface.
any advice here, please ?
lateredit:
i forgot to post the postconf -n output, maybe it helps:
Code: Select all
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 2
home_mailbox = .maildir/
html_directory = no
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
local_transport = local
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = lostone.net
myhostname = mail.lostone.net
mynetworks = 192.168.1.0/24, 127.0.0.0/8, 82.208.176.197
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5-r1/readme
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name (powered by unwm)
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_mailbox_domains = cni-gstc.ro, ultimulnivel.ro, lostone.net, lifeseeker.net, littlegiants.ro virtual_minimum_uid = 1000 virtual_gid_maps = static:1001 virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf virtual_uid_maps = static:1001 virtual_mailbox_base = /
virtual_transport = virtual