HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Mail Users cannot login to Squirrelmail - access is denied (http://www.howtoforge.com/forums/showthread.php?t=43314)

vinayajmani 6th February 2010 10:09

Mail Users cannot login to Squirrelmail - access is denied
 
Hi,

Being a new user I have just done a fresh install on Fedora9 perfect server and successfully installed ISPConfig2.

The mail users created cannot login to Squirrelmail or ISPConfig User Control Panel

The telnet record is as under;

[root@pfhpl conf]# telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 pfhp.pfhpl.com ESMTP Postfix
ehlo localhost
250-pfhp.pfhpl.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.

The Postconf -n gives the following

[root@pfhpl conf]# postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command =
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = /etc/postfix/local-host-names
myhostname = pfhp.pfhpl.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
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


The hostname -f is as...

[root@pfhpl conf]# hostname -f
pfhpl.pfhpl.com

the netstat tap result is as

[root@pfhpl conf]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:46916 *:* LISTEN 1567/rpc.statd
tcp 0 0 *:mysql *:* LISTEN 24977/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1548/rpcbind
tcp 0 0 *:81 *:* LISTEN 20843/ispconfig_htt
tcp 0 0 172.16.0.16:domain *:* LISTEN 25355/named
tcp 0 0 172.16.0.15:domain *:* LISTEN 25355/named
tcp 0 0 localhost.localdomai:domain *:* LISTEN 25355/named
tcp 0 0 192.168.122.1:domain *:* LISTEN 2331/dnsmasq
tcp 0 0 *:ssh *:* LISTEN 1968/sshd
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2250/cupsd
tcp 0 0 localhost.localdomain:rndc *:* LISTEN 25355/named
tcp 0 0 *:smtp *:* LISTEN 23477/master
tcp 0 740 172.16.0.15:ssh 116.74.53.38:aker-cdp ESTABLISHED 26037/0
tcp 0 0 *:imaps *:* LISTEN 12598/dovecot
tcp 0 0 *:pop3s *:* LISTEN 12598/dovecot
tcp 0 0 *:pop3 *:* LISTEN 12598/dovecot
tcp 0 0 *:imap *:* LISTEN 12598/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1548/rpcbind
tcp 0 0 *:http *:* LISTEN 20906/httpd
tcp 0 0 *:ftp *:* LISTEN 21349/proftpd: (acc
tcp 0 0 *:ssh *:* LISTEN 1968/sshd
tcp 0 0 localhost6.localdomain6:ipp *:* LISTEN 2250/cupsd
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN 25355/named
tcp 0 0 *:smtp *:* LISTEN 23477/master
tcp 0 0 *:https *:* LISTEN 20906/httpd

falko 7th February 2010 13:34

Any errors in your mail log?

It seems as if the line
Code:

virtual_maps = hash:/etc/postfix/virtusertable
is missing in /etc/postfix/main.cf. Please add it and restart Postfix.


All times are GMT +2. The time now is 01:48.

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