Hello i need help please, im newbie with ispconfig but really i like it. i have dedicated server with Ispconfig3 with appache2 and devocat dns server and website. the website run correctly, instalation ispconfig was done successfully but the first thing i noticied that the webmail no work when i use http://ipserver/webmail i received error NOT FOUND. i checked postfix Code: root@bilo:/# service postfix status * postfix is running i checked also dovecot Code: root@bilo:/# service dovecot status dovecot start/running, process 6433 it seems everything work correclty and when i check the log mail startup dovecot and postfix i find some error Code: root@bilo:/# tail /var/log/mail.log Feb 19 08:00:01 bilo postfix/smtpd[31632]: lost connection after CONNECT from localhost[::1] Feb 19 08:00:01 bilo postfix/smtpd[31632]: disconnect from localhost[::1] Feb 19 08:00:01 bilo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<094afGsPmgAAAAAAAAAAAAAAAAAAAAAB> Feb 19 08:00:33 bilo postfix/scache[31449]: statistics: start interval Feb 19 07:57:13 Feb 19 08:00:33 bilo postfix/scache[31449]: statistics: domain lookup hits=0 miss=2 success=0% Feb 19 08:05:01 bilo dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<SBf8jWsPNAAAAAAAAAAAAAAAAAAAAAAB> Feb 19 08:05:01 bilo postfix/smtpd[31927]: connect from localhost[::1] Feb 19 08:05:01 bilo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<7kn8jWsPtgAAAAAAAAAAAAAAAAAAAAAB> Feb 19 08:05:01 bilo postfix/smtpd[31927]: lost connection after CONNECT from localhost[::1] Feb 19 08:05:01 bilo postfix/smtpd[31927]: disconnect from localhost[::1] also log startup dovecot and postfix Code: root@bilo:/# tail -f /var/log/mail.log Feb 19 08:07:13 bilo postfix/error[32051]: 97E2121FC2: to=<[email protected]>, orig_to=<root>, relay=none, delay=399492, delays=399492/0.07/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) Feb 19 08:07:13 bilo postfix/error[32046]: 3826423B37: to=<[email protected]>, orig_to=<root>, relay=none, delay=5292, delays=5292/0.07/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) when i use my outlook to setup the mailbox i can connect to incoming server but the outgoing server i have error hope someone can help me
Hello till i have restarted the amavisd i get this error Code: root@bilo:~# sudo /etc/init.d/amavis restart Stopping amavisd: (not running). Starting amavisd: The value of variable $myhostname is "bilo", but should have been a fully qualified domain name; perhaps uname(3) did not provide such.but still have problem with outgoing You must explicitly assign a FQDN of this host to variable $myhostname in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's network name! (failed). i edited on file 05-node_id and i give to my hostname the sams hostname for ISPCONFIG when i restart the amavisd it seems work normal Code: root@bilo:~# sudo /etc/init.d/amavis restart Stopping amavisd: (not running). Starting amavisd: amavisd-new. root@bilo:~# but still i have problem with outgoing email (SMTP) Code: root@bilo:~# tail -f /var/log/mail.log Feb 19 14:28:19 bilo postfix/pipe[20501]: D747C21FC9: to=<[email protected]>, relay=dovecot, delay=0.02, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown) Feb 19 14:28:19 bilo postfix/qmgr[19021]: D747C21FC9: removed Feb 19 14:28:21 bilo postfix/smtpd[20493]: disconnect from localhost[127.0.0.1] Feb 19 14:29:31 bilo dovecot: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=41.143.245.106, lip=92.243.2.50, mpid=20662, session=<FPYJ7XAPNwApj/Vq> Feb 19 14:29:31 bilo dovecot: pop3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/1, size=5606 Feb 19 14:30:01 bilo dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<wVTg7nAPwwAAAAAAAAAAAAAAAAAAAAAB> Feb 19 14:30:01 bilo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<91Xg7nAPRQAAAAAAAAAAAAAAAAAAAAAB> Feb 19 14:30:01 bilo postfix/smtpd[20707]: connect from localhost[::1] Feb 19 14:30:01 bilo postfix/smtpd[20707]: lost connection after CONNECT from localhost[::1] Feb 19 14:30:01 bilo postfix/smtpd[20707]: disconnect from localhost[::1] i don't know why i can't the outgoing email no work and otherwise the incoming POP3 conect to server
your server has a wrong hostname. the hostname has to be a fqdn like "bilo.yourdomain.tld" and not just "bilo". Pleasetake a look at the perfect server installation tutorials, they contain detailed instruvtions on how to set the hostname. to further test your server, send a email from an account on your server to the same account.
Hello sorry the problem is not in hostname, i think you are not seen my second response, the problem was resolved by editing in file 05-node_id in path /etc/amavis/conf.d the FQDN has been added on file 05-node_id see below Code: use strict; # $myhostname is used by amavisd-new for node identification, and it is # important to get it right (e.g. for ESMTP EHLO, loop detection, and so on). chomp($myhostname = `hostname --fqdn`); # To manually set $myhostname, edit the following line with the correct Fully # Qualified Domain Name (FQDN) and remove the # at the beginning of the line. # $myhostname = "ns331.1deals1.com"; 1; # ensure a defined return NOW When i restart the amavis seem to be work Code: root@bilo:~# sudo /etc/init.d/amavis restart Stopping amavisd: amavisd-new. Starting amavisd: amavisd-new. Now i have another problem when i check log mail this is the result Code: root@bilo:~# tail -f /var/log/mail.log Feb 20 00:39:02 bilo amavis[14367]: (14367-01) Passed CLEAN {RelayedInbound}, <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: ACnXO9nh1kZp, Hits: 2.437, size: 787, queued_as: 020D124FAB, 232 ms Feb 20 00:39:02 bilo postfix/smtp[14416]: BA06E24FAA: to=<[email protected]>, orig_to=<root>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.28, delays=0.03/0.01/0.01/0.23, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 020D124FAB) Feb 20 00:39:02 bilo postfix/qmgr[19021]: BA06E24FAA: removed Feb 20 00:39:02 bilo postfix/pipe[14424]: 020D124FAB: to=<[email protected]>, relay=dovecot, delay=0.06, delays=0.01/0.01/0/0.05, dsn=5.1.1, status=bounced (user unknown) Feb 20 00:39:02 bilo postfix/cleanup[14412]: 1124E24FAA: message-id=<[email protected]> Feb 20 01:00:01 bilo postfix/smtpd[15494]: disconnect from localhost[::1] Feb 20 01:05:01 bilo dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<nCnLzXkPGwAAAAAAAAAAAAAAAAAAAAAB> Feb 20 01:05:01 bilo postfix/smtpd[15781]: connect from localhost[::1] Feb 20 01:05:01 bilo postfix/smtpd[15781]: lost connection after CONNECT from localhost[::1] Feb 20 01:05:01 bilo postfix/smtpd[15781]: disconnect from localhost[::1] Feb 20 01:05:01 bilo dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<KlzLzXkPnQAAAAAAAAAAAAAAAAAAAAAB> Feb 20 01:07:22 bilo dovecot: pop3-login: Login: user=<[email protected]>, method=PLAIN, rip=41.141.188.25, lip=92.243.2.50, mpid=15917, session=<tYwu1nkPjQApjbwZ> Feb 20 01:07:22 bilo dovecot: pop3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/8, size=109036 FYI my ISPCONFIG work good also my website my DNS and my hostname are already added in my dedicated server, my server DNS has been pointed to my domain name My problem that the POP3 connected and the SMTP always fail to connect, please check my log i use my server POP3 and SMTP (ns331.1deals.com) port 25 for SMTP and 110 for POP3 Thnk you for your help
Just a guess: the hostname of your server is 1deals1.com or you have 1deals1.com as mydomain or myhostname in postfix main.cf. This will block all incoming email. Change the hostname and all occurrences in postfix main.cf and /etc/mailname to a fqdn subdomain like I mentioned above to fix your mail setup.
Thanks always for your reply and help My domain name is 1deals1.com but first i setup my ispconfig3 i give to myhostname FQDN (ns331.1deals1.com) and that what i see in panel ispconfig as servername (ns331.1deals1.com) i checked the main.cf find the hostname are already added see my file 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 readme_directory = /usr/share/doc/postfix # TLS parameters smtpd_tls_cert_file = /etc/postfix/smtpd.cert smtpd_tls_key_file = /etc/postfix/smtpd.key smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_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. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = ns331.1deals1.com alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases myorigin = /etc/mailname mydestination = ns331.1deals1.com, localhost, localhost.localdomain relayhost = mynetworks = 127.0.0.0/8 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all html_directory = /usr/share/doc/postfix/html virtual_alias_domains = virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman, proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy: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 inet_protocols = all smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf smtpd_tls_security_level = may transport_maps = hash:/var/lib/mailman/data/transport-mailman, 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 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 smtpd_client_message_rate_limit = 100 maildrop_destination_concurrency_limit = 1 maildrop_destination_recipient_limit = 1 virtual_transport = dovecot 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 owner_request_special = no smtp_tls_security_level = may smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3 smtpd_tls_protocols = !SSLv2,!SSLv3 smtp_tls_protocols = !SSLv2,!SSLv3 dovecot_destination_recipient_limit = 1 smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth content_filter = amavis:[127.0.0.1]:10024 receive_override_options = no_address_mappings message_size_limit = 0 in file mailname in path /etc/mailname i find Code: 1deals1.com and i changed to Code: ns331.1deals1.com then i save i tested again the POP3 connected but still SMTP fail i changed again to 1deals1.com but same problem This is screnn shot of my main config for mail in panel ispconfig I am very sad because i don't really know when the problem in log mail i see problem come from postfix/smtp i see also email bounced