HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Connection dropped by IMAP server (http://www.howtoforge.com/forums/showthread.php?t=54599)

Chris9046 21st October 2011 16:12

Connection dropped by IMAP server
 
Hello,

I have CentOS 6 i686 and install ISPConfig 3.

I recieve this error when i try to login at webmail with squirrelMail.
"ERROR: Connection dropped by IMAP server."


I check forum to similar post but i cant figure out this problem.


Few notes
------------------
I notice that all mails go to /var/spool/mail/root.

And something else when i restart apache server i recieve this warnings

Quote:

[root@sportsioannina mail]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Fri Oct 21 10:02:26 2011] [warn] NameVirtualHost 209.172.50.108:80 has no VirtualHosts
[Fri Oct 21 10:02:26 2011] [warn] NameVirtualHost 209.172.50.108:443 has no VirtualHosts
[ OK ]
my last mail logs (i have to recieve mail log from Oct 18 11:21:28)
Quote:

Oct 18 11:05:01 sportsioannina postfix/smtpd[26332]: connect from localhost[::1]
Oct 18 11:05:01 sportsioannina postfix/smtpd[26332]: lost connection after CONNECT from localhost[::1]
Oct 18 11:05:01 sportsioannina postfix/smtpd[26332]: disconnect from localhost[::1]
Oct 18 11:05:01 sportsioannina pop3d: Connection, ip=[::1]
Oct 18 11:05:01 sportsioannina pop3d: Disconnected, ip=[::1]
Oct 18 11:05:01 sportsioannina imapd: Connection, ip=[::1]
Oct 18 11:05:01 sportsioannina imapd: Disconnected, ip=[::1], time=0
Oct 18 11:10:02 sportsioannina postfix/smtpd[26503]: connect from localhost[::1]
Oct 18 11:10:02 sportsioannina postfix/smtpd[26503]: lost connection after CONNECT from localhost[::1]
Oct 18 11:10:02 sportsioannina postfix/smtpd[26503]: disconnect from localhost[::1]
Oct 18 11:10:02 sportsioannina pop3d: Connection, ip=[::1]
Oct 18 11:10:02 sportsioannina pop3d: Disconnected, ip=[::1]
Oct 18 11:10:02 sportsioannina imapd: Connection, ip=[::1]
Oct 18 11:10:02 sportsioannina imapd: Disconnected, ip=[::1], time=0
Oct 18 11:13:56 sportsioannina postfix/smtpd[26603]: connect from smtp1web.tin.it[212.216.176.195]
Oct 18 11:13:56 sportsioannina postfix/trivial-rewrite[26606]: warning: do not list domain sportsioannina.gr in BOTH mydestination and virtual_mailbox_domains
Oct 18 11:13:56 sportsioannina postfix/smtpd[26603]: D21FE4A60B1A: client=smtp1web.tin.it[212.216.176.195]
Oct 18 11:13:57 sportsioannina postfix/cleanup[26615]: D21FE4A60B1A: message-id=<1331796694c.sponsorlott15@virgilio.it>
Oct 18 11:13:57 sportsioannina postfix/qmgr[1550]: D21FE4A60B1A: from=, size=12120, nrcpt=1 (queue active)
Oct 18 11:13:57 sportsioannina postfix/smtpd[26603]: disconnect from smtp1web.tin.it[212.216.176.195]
Oct 18 11:13:58 sportsioannina amavis[12052]: (12052-07) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: 2, retrying (2)
Oct 18 11:14:04 sportsioannina amavis[12052]: (12052-07) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 90) line 373.\n
Oct 18 11:14:04 sportsioannina amavis[12052]: (12052-07) (!!)WARN: all primary virus scanners failed, considering backups
Oct 18 11:14:05 sportsioannina postfix/smtpd[26603]: connect from smtp1web.tin.it[212.216.176.195]
Oct 18 11:14:05 sportsioannina postfix/smtpd[26603]: 5105C4A60B1B: client=smtp1web.tin.it[212.216.176.195]
Oct 18 11:14:05 sportsioannina postfix/cleanup[26615]: 5105C4A60B1B: message-id=<1331796641e.sponsorlott15@virgilio.it>
Oct 18 11:14:05 sportsioannina postfix/qmgr[1550]: 5105C4A60B1B: from=, size=12116, nrcpt=1 (queue active)
Oct 18 11:14:06 sportsioannina amavis[12052]: (12052-07) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="LibClamAV Warning: ************************************************** \nLibClamAV Warning: *** The virus database is older than 7 days! ***\nLibClamAV Warning: *** Please update it as soon as possible. ***\nLibClamAV Warning: ************************************************** \nLibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).\nLibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans\nLibClamAV Error: cli_parse_add(): Problem adding signature (3).\nLibClamAV Error: Problem parsing database at line 51120\nLibClamAV Error: Can't load main.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load main.ndb\nLibClamAV Error: Can't load /var/lib/clamav/main.cld: Malformed database\nERROR: Malformed database"
Oct 18 11:14:06 sportsioannina amavis[12052]: (12052-07) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="LibClamAV Warning: ************************************************** \nLibClamAV Warning: *** The virus database is older than 7 days! ***\nLibClamAV Warning: *** Please update it as soon as possible. ***\nLibClamAV Warning: ************************************************** \nLibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).\nLibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans\nLibClamAV Error: cli_parse_add(): Problem adding signature (3).\nLibClamAV Error: Problem parsing database at line 51120\nLibClamAV Error: Can't load main.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load main.ndb\nLibClamAV Error: Can't load /var/lib/clamav/main.cld: Malformed database\nERROR: Malformed database" at (eval 90) line 594.
Oct 18 11:14:06 sportsioannina amavis[12052]: (12052-07) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Oct 18 11:14:06 sportsioannina amavis[12052]: (12052-07) (!)PRESERVING EVIDENCE in /var/spool/amavisd/tmp/amavis-20111017T061928-12052
Oct 18 11:14:06 sportsioannina postfix/smtp[26616]: D21FE4A60B1A: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=9.5, delays=0.44/0/0/9.1, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=12052-07, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Oct 18 11:14:06 sportsioannina amavis[12053]: (12053-07) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: 2, retrying (2)
Oct 18 11:14:12 sportsioannina amavis[12053]: (12053-07) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 90) line 373.\n
Oct 18 11:14:12 sportsioannina amavis[12053]: (12053-07) (!!)WARN: all primary virus scanners failed, considering backups
Oct 18 11:14:14 sportsioannina amavis[12053]: (12053-07) (!)run_av (ClamAV-clamscan) FAILED - unexpected exit 2, output="LibClamAV Warning: ************************************************** \nLibClamAV Warning: *** The virus database is older than 7 days! ***\nLibClamAV Warning: *** Please update it as soon as possible. ***\nLibClamAV Warning: ************************************************** \nLibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).\nLibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans\nLibClamAV Error: cli_parse_add(): Problem adding signature (2).\nLibClamAV Error: Problem parsing database at line 61148\nLibClamAV Error: Can't load main.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load main.ndb\nLibClamAV Error: Can't load /var/lib/clamav/main.cld: Malformed database\nERROR: Malformed database"
Oct 18 11:14:14 sportsioannina amavis[12053]: (12053-07) (!)ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit 2, output="LibClamAV Warning: ************************************************** \nLibClamAV Warning: *** The virus database is older than 7 days! ***\nLibClamAV Warning: *** Please update it as soon as possible. ***\nLibClamAV Warning: ************************************************** \nLibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).\nLibClamAV Error: cli_ac_addpatt: Can't allocate memory for next->trans\nLibClamAV Error: cli_parse_add(): Problem adding signature (2).\nLibClamAV Error: Problem parsing database at line 61148\nLibClamAV Error: Can't load main.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can't load main.ndb\nLibClamAV Error: Can't load /var/lib/clamav/main.cld: Malformed database\nERROR: Malformed database" at (eval 90) line 594.
Oct 18 11:14:14 sportsioannina amavis[12053]: (12053-07) (!!)TROUBLE in check_mail: virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED
Oct 18 11:14:14 sportsioannina amavis[12053]: (12053-07) (!)PRESERVING EVIDENCE in /var/spool/amavisd/tmp/amavis-20111017T062002-12053
Oct 18 11:14:14 sportsioannina postfix/smtp[27665]: 5105C4A60B1B: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=9.4, delays=0.48/0/0/9, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=12053-07, virus_scan FAILED: AV: ALL VIRUS SCANNERS FAILED (in reply to end of DATA command))
Oct 18 11:14:47 sportsioannina postfix/smtpd[26603]: disconnect from smtp1web.tin.it[212.216.176.195]
Oct 18 11:15:01 sportsioannina postfix/smtpd[26603]: connect from localhost[::1]
Oct 18 11:15:01 sportsioannina postfix/smtpd[26603]: lost connection after CONNECT from localhost[::1]
Oct 18 11:15:01 sportsioannina postfix/smtpd[26603]: disconnect from localhost[::1]
Oct 18 11:15:01 sportsioannina pop3d: Connection, ip=[::1]
Oct 18 11:15:01 sportsioannina pop3d: Disconnected, ip=[::1]
Oct 18 11:15:01 sportsioannina imapd: Connection, ip=[::1]
Oct 18 11:15:01 sportsioannina imapd: Disconnected, ip=[::1], time=0
Oct 18 11:18:21 sportsioannina postfix/anvil[26605]: statistics: max connection rate 2/60s for (smtp:212.216.176.195) at Oct 18 11:14:05
Oct 18 11:18:21 sportsioannina postfix/anvil[26605]: statistics: max connection count 1 for (smtp:212.216.176.195) at Oct 18 11:13:56
Oct 18 11:18:21 sportsioannina postfix/anvil[26605]: statistics: max cache size 1 at Oct 18 11:13:56
Oct 18 11:20:01 sportsioannina postfix/smtpd[27884]: connect from localhost[::1]
Oct 18 11:20:01 sportsioannina postfix/smtpd[27884]: lost connection after CONNECT from localhost[::1]
Oct 18 11:20:01 sportsioannina postfix/smtpd[27884]: disconnect from localhost[::1]
Oct 18 11:20:01 sportsioannina pop3d: Connection, ip=[::1]
Oct 18 11:20:01 sportsioannina pop3d: Disconnected, ip=[::1]
Oct 18 11:20:01 sportsioannina imapd: Connection, ip=[::1]
Oct 18 11:20:01 sportsioannina imapd: Disconnected, ip=[::1], time=0
Oct 18 11:21:21 sportsioannina postfix/qmgr[1550]: 5105C4A60B1B: from=, size=12116, nrcpt=1 (queue active)
Oct 18 11:21:21 sportsioannina postfix/qmgr[1550]: D21FE4A60B1A: from=, size=12120, nrcpt=1 (queue active)
Oct 18 11:21:22 sportsioannina amavis[12052]: (12052-08) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: 2, retrying (2)
Oct 18 11:21:22 sportsioannina amavis[12053]: (12053-08) (!)ClamAV-clamd: Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: 2, retrying (2)
Oct 18 11:21:28 sportsioannina amavis[12052]: (12052-08) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 90) line 373.\n
Oct 18 11:21:28 sportsioannina amavis[12052]: (12052-08) (!!)WARN: all primary virus scanners failed, considering backups
Oct 18 11:21:28 sportsioannina amavis[12053]: (12053-08) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/spool/amavisd/clamd.sock (Can't connect to UNIX socket /var/spool/amavisd/clamd.sock: No such file or directory) at (eval 90) line 373.\n
Oct 18 11:21:28 sportsioannina amavis[12053]: (12053-08) (!!)WARN: all primary virus scanners failed, considering backups

falko 22nd October 2011 11:36

Quote:

Oct 18 11:13:56 sportsioannina postfix/trivial-rewrite[26606]: warning: do not list domain sportsioannina.gr in BOTH mydestination and virtual_mailbox_domains
http://www.howtoforge.com/postfix-do...ailbox_domains

Chris9046 22nd October 2011 12:00

I did that yesterday without solve the problem.

I wonder if there is a problem because the hostname is sportsioannina.gr and there is a domain with the same name.

Thanks for reply!

falko 23rd October 2011 17:51

Quote:

Originally Posted by Chris9046 (Post 265750)
I wonder if there is a problem because the hostname is sportsioannina.gr and there is a domain with the same name.

Thanks for reply!

Yes - if you have that domain in the mydestination line in /etc/postfix/main.cf.

Chris9046 23rd October 2011 18:37

Quote:

Yes - if you have that domain in the mydestination line in /etc/postfix/main.cf.
No i dont.

/etc/postfix/main.cf.
Quote:

.....
mydestination = localhost, localhost.localdomain
.....

falko 24th October 2011 09:36

What's in /etc/mailname?

Chris9046 24th October 2011 10:13

Firstly thanks for your time!

Doesn't exists /etc/mailname

Quote:

[root@sportsioannina etc]# ls
adjtime csh.cshrc gnupg libaudit.conf named.rfc1912.zones postfix rpc stunnel
aliases csh.login group libuser.conf netconfig ppp rpm subversion
aliases.db dbus-1 group- localtime NetworkManager prelink.conf rsyslog.conf sudoers
alternatives default gshadow login.defs networks prelink.conf.d rwtab suphp.conf
amavisd depmod.d gshadow- logrotate.conf nscd.conf printcap rwtab.d sysconfig
anacrontab dhcp gssapi_mech.conf logrotate.d nsswitch.conf profile samba sysctl.conf
apt DIR_COLORS gtk-2.0 lynx.cfg ntp profile.d sasl2 system-release
asound.conf DIR_COLORS.256color host.conf lynx.lss ntp.conf protocols screenrc system-release-cpe
authlib DIR_COLORS.lightbgcolor hosts lynx-site.cfg odbc.ini pure-ftpd securetty terminfo
awstats dracut.conf hosts.allow mail odbcinst.ini quotagrpadmins security udev
bash_completion.d dracut.conf.d hosts.deny mailcap openldap quotatab services updatedb.conf
bashrc environment httpd mail.rc opt rc setuptool.d vimrc
Bastille ethers init main.cf pam.d rc0.d sgml virc
blkid event.d init.d makedev.d pango rc1.d shadow vlogger-dbi.conf
centos-release exports init.removed man.config passwd rc2.d shadow- vz
chkconfig.d fail2ban inittab mime.types passwd- rc3.d shells warnquota.conf
clamd.conf favicon.png inputrc mke2fs.conf pear rc4.d shorewall webalizer
clamd.d filesystems iproute2 modprobe.d pear.conf rc5.d skel webalizer.conf
ConsoleKit fonts issue motd php.d rc6.d smart wgetrc
cron.d freshclam.conf issue.net mtab php.ini rc.d smrsh X11
cron.daily fstab jailkit my.cnf pki rc.local snmp xdg
cron.deny gai.conf jwhois.conf named plymouth rc.sysinit squirrelmail xinetd.conf
cron.hourly gconf krb5.conf named.conf pm rearj.cfg ssh xinetd.d
cron.monthly gcrypt ld.so.cache named.conf_bak polkit-1 redhat-release ssl yum
crontab getmail ld.so.conf named.conf.local popt.d resolv.conf statetab yum.conf
cron.weekly ghostscript ld.so.conf.d named.iscdlv.key portreserve rkhunter.conf statetab.d yum.repos.d

And that run on system
Quote:

[root@sportsioannina etc]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Oct10 ? 00:00:00 init
root 1344 1 0 Oct12 ? 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/
root 1367 1 0 Oct10 ? 00:00:05 /usr/sbin/sshd
root 1374 1 0 Oct10 ? 00:00:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1420 1 0 Oct10 ? 00:00:01 crond
mysql 1442 1344 0 Oct12 ? 01:40:51 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pi
amavis 1880 1 0 Oct21 ? 00:00:01 amavisd (master)
amavis 1883 1880 0 Oct21 ? 00:00:08 amavisd (ch19-avail)
root 7280 1 0 Oct23 ? 00:00:00 /usr/sbin/httpd
root 7281 7280 0 Oct23 ? 00:00:11 vlogger (access log)
apache 7282 7280 0 Oct23 ? 00:00:00 /usr/sbin/httpd
apache 9369 7282 0 03:29 ? 00:00:00 /usr/bin/php-cgi -d open_basedir=/var/www/clients/client3/web3/web:/var/www/clients/client3/web3/tmp:/var/www
root 10086 1367 0 03:40 ? 00:00:00 sshd: root@pts/0
root 10108 10086 0 03:41 pts/0 00:00:00 -bash
root 11745 1 0 03:50 ? 00:00:00 /usr/libexec/postfix/master
postfix 11747 11745 0 03:50 ? 00:00:00 qmgr -l -t fifo -u
postfix 11748 11745 0 03:50 ? 00:00:00 pickup -l -t fifo -u
root 11775 1 0 03:50 ? 00:00:00 /usr/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/lib/courier-imap/libexec/couriertcpd
root 11776 11775 0 03:50 ? 00:00:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 143
root 11782 1 0 03:50 ? 00:00:00 /usr/sbin/courierlogger -pid=/var/run/imapd-ssl.pid -start -name=imapd-ssl /usr/lib/courier-imap/libexec/cour
root 11783 11782 0 03:50 ? 00:00:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 993
root 11788 1 0 03:50 ? 00:00:00 /usr/sbin/courierlogger -pid=/var/run/pop3d.pid -start -name=pop3d /usr/lib/courier-imap/libexec/couriertcpd
root 11789 11788 0 03:50 ? 00:00:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 110
root 11794 1 0 03:50 ? 00:00:00 /usr/sbin/courierlogger -pid=/var/run/pop3d-ssl.pid -start -name=pop3d-ssl /usr/lib/courier-imap/libexec/cour
root 11795 11794 0 03:50 ? 00:00:00 /usr/lib/courier-imap/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup -noidentlookup 995
postfix 11991 11745 0 03:55 ? 00:00:00 tlsmgr -l -t unix -u
apache 13385 7280 0 04:03 ? 00:00:00 /usr/sbin/httpd
apache 13448 7280 0 04:04 ? 00:00:00 /usr/sbin/httpd
apache 13585 7280 0 04:07 ? 00:00:00 /usr/sbin/httpd
apache 13586 7280 0 04:07 ? 00:00:00 /usr/sbin/httpd
apache 13668 7280 0 04:08 ? 00:00:00 /usr/sbin/httpd
apache 13686 7280 0 04:09 ? 00:00:00 /usr/sbin/httpd
web1 13712 13586 8 04:09 ? 00:00:00 [php-cgi] <defunct>
apache 13714 7280 0 04:09 ? 00:00:00 /usr/sbin/httpd
root 13715 10108 0 04:09 pts/0 00:00:00 ps -ef
named 19543 1 0 Oct21 ? 00:00:06 /usr/sbin/named -u named
root 19595 1 0 Oct21 ? 00:00:00 pure-ftpd (SERVER)
amavis 19993 1880 0 Oct23 ? 00:00:00 amavisd (ch1-avail)

falko 25th October 2011 11:47

Please post your main.cf. What are the outputs of
Code:

hostname
and
Code:

hostname -f
? What's in /etc/hosts?

Chris9046 25th October 2011 12:21

main.cf
Quote:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all
mydestination = localhost, localhost.localdomain
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
myhostname = sportsioannina.gr
mynetworks = 127.0.0.0/8 [::1]/128
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
relayhost =
mailbox_size_limit = 0
message_size_limit = 0

Quote:

[root@sportsioannina postfix]# hostname
sportsioannina.gr
Quote:

[root@sportsioannina postfix]# hostname -f
sportsioannina.gr
/etc/hosts
Quote:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# Auto-generated hostname. Please do not remove this comment.
209.172.50.108 sportsioannina.gr sportsioannina

falko 26th October 2011 11:13

I guess the problem is this:
Code:

myhostname = sportsioannina.gr
Please change it to something like
Code:

myhostname = server1.sportsioannina.gr
and create an A record for server1.sportsioannina.gr. You should then also change the hostname to server1.sportsioannina.gr via
Code:

system-config-network


All times are GMT +2. The time now is 12:42.

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