dedibox
26th August 2006, 15:59
I'm having two problems with postfix:
- can't login or send using Apple Mail with either POP or IMAP, server responds but then rejects my password
- Roundcube won't work, can't log in
- when I send mail via ISPConfig webmail, gmail thinks it's spam and hotmail doesn't deliver it (presumably for the same reason)!
- I've created one main domain with several Co-Domains in ISP Config, will I be able to create e-mail addresses info@domain1.com info@domain2.com with separate mailboxes for each one?
I'd like to be able to log into my mail accounts with IMAP and POP, as well as use Roundcube for webmail.
/etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = lemegalodon.net, sd-1494.dedibox.fr, vihinfo.net, papamamanbebe.net, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain = $,myhostname
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
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
#home_mailbox = Maildir/
Here is the mail headers identified as spam by gmail:
X-Gmail-Received: c68ee8d21e848f0ef23eda0de880ffbb459cac98
Delivered-To: ***@gmail.com
Received: by 10.90.93.20 with SMTP id q20cs43371agb;
Sat, 26 Aug 2006 04:00:53 -0700 (PDT)
Received: by 10.49.41.18 with SMTP id t18mr6543838nfj;
Sat, 26 Aug 2006 04:00:52 -0700 (PDT)
Return-Path: <info@vihinfo.net>
Received: from localhost.localdomain (sd-1494.dedibox.fr [88.191.14.190])
by mx.gmail.com with ESMTP id x1si4534365nfb.2006.08.26.04.00.52;
Sat, 26 Aug 2006 04:00:52 -0700 (PDT)
Received-SPF: neutral (gmail.com: 88.191.14.190 is neither permitted nor denied by best guess record for domain of info@vihinfo.net)
Received: from UebiMiau (localhost.localdomain [127.0.0.1])
by localhost.localdomain (Postfix) with SMTP id 33BB010B072B;
Sat, 26 Aug 2006 13:01:28 +0200 (CEST)
Received: from client 82.247.155.121 for UebiMiau2.7 (webmail client); Sat, 26 Aug 2006 13:01:28 +0100
Date: Sat, 26 Aug 2006 13:01:28 +0100
From: "vihinfo.net" <info@vihinfo.net>
To: ***@free.fr
Cc: ***@hotmail.com, "***@gmail.com"@sd-1494.dedibox.fr
Reply-To: "vihinfo.net" <info@vihinfo.net>
Subject: test13h envoi depuis lemegalodon.net
X-Priority: 3
X-Mailer: UebiMiau 2.7.2
X-Original-IP: 82.247.155.121
Content-Transfer-Encoding: 8bit
X-MSMail-Priority: Medium
Importance: Medium
Content-Type: text/plain; charset="iso-8859-1";
MIME-Version: 1.0
Message-Id: <20060826110128.33BB010B072B@localhost.localdomain>
test13h envoi depuis lemegalodon.nettest13h envoi depuis
lemegalodon.nettest13h envoi depuis lemegalodon.net
netstat -tap
Connexions Internet actives (serveurs et ?tablies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 *:pop3s *:* LISTEN 1701/inetd
tcp 0 0 *:mysql *:* LISTEN 1758/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1701/inetd
tcp 0 0 *:81 *:* LISTEN 1970/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 11290/proftpd: (acc
tcp 0 0 sd-1494.dedibox.:domain *:* LISTEN 2131/named
tcp 0 0 localhost.locald:domain *:* LISTEN 2131/named
tcp 0 0 *:smtp *:* LISTEN 11408/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 2131/named
tcp 0 0 sd-1494.dedibox.f:33908 bandit-ingalls.osm:ircd ESTABLISHED2836/php
tcp6 0 0 *:imaps *:* LISTEN 1690/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 1672/couriertcpd
tcp6 0 0 *:www *:* LISTEN 2232/apache2
tcp6 0 0 *:ssh *:* LISTEN 1916/sshd
tcp6 0 0 *:smtp *:* LISTEN 11408/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 2131/named
tcp6 0 0 *:https *:* LISTEN 2232/apache2
tcp6 0 0 sd-1494.dedibox.fr:www i04m-87-90-82-28.d:4296 FIN_WAIT2 -
tcp6 0 0 sd-1494.dedibox.fr:www lj601411.inktomis:53542 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj601411.inktomis:53555 TIME_WAIT -
tcp6 0 2400 sd-1494.dedibox.fr:ssh ::ffff:82.247.155:55401 ESTABLISHED27039/2
tcp6 0 0 sd-1494.dedibox.fr:ssh pha75-11-82-236-8:49803 ESTABLISHED19208/1
tcp6 0 0 sd-1494.dedibox.fr:www lj602129.inktomis:60325 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj602072.inktomis:57447 TIME_WAIT -
tcp6 0 11413 sd-1494.dedibox.fr:www ::ffff:82.206.147:32304 ESTABLISHED6548/apache2
tcp6 0 0 sd-1494.dedibox.fr:www lj602066.inktomis:54145 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www sd-1494.dedibox.f:40143 TIME_WAIT -
tcp6 0 11588 sd-1494.dedibox.fr:www ::ffff:82.206.147:32301 FIN_WAIT1 -
tcp6 0 8456 sd-1494.dedibox.fr:www ::ffff:82.206.147:32277 FIN_WAIT1 5632/apache2
tcp6 0 0 sd-1494.dedibox.fr:www lj601746.inktomis:34948 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj602182.inktomis:54497 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj601113.inktomis:43570 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www ::ffff:196.207.206:2167 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www d07v-213-44-79-174:1892 TIME_WAIT -
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
In mail.log, I'm having problems logging in with authentification (IMAP)
Aug 26 22:20:38 localhost imapd-ssl: Unexpected SSL connection shutdown.
Aug 26 22:20:38 localhost imaplogin: /usr/lib/courier/courier/imaplogin: No such file or directory
Aug 26 22:20:59 localhost postfix/smtpd[8282]: warning: SASL authentication failure: Password verification failed
Aug 26 22:20:59 localhost postfix/smtpd[8282]: warning: pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]: SASL PLAIN authentication failed
Aug 26 22:20:59 localhost postfix/smtpd[8282]: lost connection after AUTH from pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]
Aug 26 22:20:59 localhost postfix/smtpd[8282]: disconnect from pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]
At this point I can log in via POP3:
Aug 26 22:29:06 localhost ipop3d[8555]: pop3 service init from 82.236.87.79
Aug 26 22:29:06 localhost ipop3d[8555]: Login user=web6_info host=pha75-11-82-236-87-79.fbx.proxad.net [82.236.87.79] nmsgs=2/2
Aug 26 22:29:07 localhost ipop3d[8555]: Logout user=web6_info host=pha75-11-82-236-87-79.fbx.proxad.net [82.236.87.79] nmsgs=2 ndele=0
Aug 26 22:29:10 localhost imaplogin: /usr/lib/courier/courier/imaplogin: No such file or directory
Aug 26 22:29:12 localhost last message repeated 2 times
I still cannot send mail or check mail via IMAP. Also, my host settings are obviously wrong (mail is going out as if it were from localhost.localdomain instead of the correct domain)...
- can't login or send using Apple Mail with either POP or IMAP, server responds but then rejects my password
- Roundcube won't work, can't log in
- when I send mail via ISPConfig webmail, gmail thinks it's spam and hotmail doesn't deliver it (presumably for the same reason)!
- I've created one main domain with several Co-Domains in ISP Config, will I be able to create e-mail addresses info@domain1.com info@domain2.com with separate mailboxes for each one?
I'd like to be able to log into my mail accounts with IMAP and POP, as well as use Roundcube for webmail.
/etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = lemegalodon.net, sd-1494.dedibox.fr, vihinfo.net, papamamanbebe.net, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain = $,myhostname
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
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
#home_mailbox = Maildir/
Here is the mail headers identified as spam by gmail:
X-Gmail-Received: c68ee8d21e848f0ef23eda0de880ffbb459cac98
Delivered-To: ***@gmail.com
Received: by 10.90.93.20 with SMTP id q20cs43371agb;
Sat, 26 Aug 2006 04:00:53 -0700 (PDT)
Received: by 10.49.41.18 with SMTP id t18mr6543838nfj;
Sat, 26 Aug 2006 04:00:52 -0700 (PDT)
Return-Path: <info@vihinfo.net>
Received: from localhost.localdomain (sd-1494.dedibox.fr [88.191.14.190])
by mx.gmail.com with ESMTP id x1si4534365nfb.2006.08.26.04.00.52;
Sat, 26 Aug 2006 04:00:52 -0700 (PDT)
Received-SPF: neutral (gmail.com: 88.191.14.190 is neither permitted nor denied by best guess record for domain of info@vihinfo.net)
Received: from UebiMiau (localhost.localdomain [127.0.0.1])
by localhost.localdomain (Postfix) with SMTP id 33BB010B072B;
Sat, 26 Aug 2006 13:01:28 +0200 (CEST)
Received: from client 82.247.155.121 for UebiMiau2.7 (webmail client); Sat, 26 Aug 2006 13:01:28 +0100
Date: Sat, 26 Aug 2006 13:01:28 +0100
From: "vihinfo.net" <info@vihinfo.net>
To: ***@free.fr
Cc: ***@hotmail.com, "***@gmail.com"@sd-1494.dedibox.fr
Reply-To: "vihinfo.net" <info@vihinfo.net>
Subject: test13h envoi depuis lemegalodon.net
X-Priority: 3
X-Mailer: UebiMiau 2.7.2
X-Original-IP: 82.247.155.121
Content-Transfer-Encoding: 8bit
X-MSMail-Priority: Medium
Importance: Medium
Content-Type: text/plain; charset="iso-8859-1";
MIME-Version: 1.0
Message-Id: <20060826110128.33BB010B072B@localhost.localdomain>
test13h envoi depuis lemegalodon.nettest13h envoi depuis
lemegalodon.nettest13h envoi depuis lemegalodon.net
netstat -tap
Connexions Internet actives (serveurs et ?tablies)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 *:pop3s *:* LISTEN 1701/inetd
tcp 0 0 *:mysql *:* LISTEN 1758/mysqld
tcp 0 0 *:pop3 *:* LISTEN 1701/inetd
tcp 0 0 *:81 *:* LISTEN 1970/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 11290/proftpd: (acc
tcp 0 0 sd-1494.dedibox.:domain *:* LISTEN 2131/named
tcp 0 0 localhost.locald:domain *:* LISTEN 2131/named
tcp 0 0 *:smtp *:* LISTEN 11408/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 2131/named
tcp 0 0 sd-1494.dedibox.f:33908 bandit-ingalls.osm:ircd ESTABLISHED2836/php
tcp6 0 0 *:imaps *:* LISTEN 1690/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 1672/couriertcpd
tcp6 0 0 *:www *:* LISTEN 2232/apache2
tcp6 0 0 *:ssh *:* LISTEN 1916/sshd
tcp6 0 0 *:smtp *:* LISTEN 11408/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 2131/named
tcp6 0 0 *:https *:* LISTEN 2232/apache2
tcp6 0 0 sd-1494.dedibox.fr:www i04m-87-90-82-28.d:4296 FIN_WAIT2 -
tcp6 0 0 sd-1494.dedibox.fr:www lj601411.inktomis:53542 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj601411.inktomis:53555 TIME_WAIT -
tcp6 0 2400 sd-1494.dedibox.fr:ssh ::ffff:82.247.155:55401 ESTABLISHED27039/2
tcp6 0 0 sd-1494.dedibox.fr:ssh pha75-11-82-236-8:49803 ESTABLISHED19208/1
tcp6 0 0 sd-1494.dedibox.fr:www lj602129.inktomis:60325 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj602072.inktomis:57447 TIME_WAIT -
tcp6 0 11413 sd-1494.dedibox.fr:www ::ffff:82.206.147:32304 ESTABLISHED6548/apache2
tcp6 0 0 sd-1494.dedibox.fr:www lj602066.inktomis:54145 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www sd-1494.dedibox.f:40143 TIME_WAIT -
tcp6 0 11588 sd-1494.dedibox.fr:www ::ffff:82.206.147:32301 FIN_WAIT1 -
tcp6 0 8456 sd-1494.dedibox.fr:www ::ffff:82.206.147:32277 FIN_WAIT1 5632/apache2
tcp6 0 0 sd-1494.dedibox.fr:www lj601746.inktomis:34948 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj602182.inktomis:54497 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www lj601113.inktomis:43570 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www ::ffff:196.207.206:2167 TIME_WAIT -
tcp6 0 0 sd-1494.dedibox.fr:www d07v-213-44-79-174:1892 TIME_WAIT -
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
In mail.log, I'm having problems logging in with authentification (IMAP)
Aug 26 22:20:38 localhost imapd-ssl: Unexpected SSL connection shutdown.
Aug 26 22:20:38 localhost imaplogin: /usr/lib/courier/courier/imaplogin: No such file or directory
Aug 26 22:20:59 localhost postfix/smtpd[8282]: warning: SASL authentication failure: Password verification failed
Aug 26 22:20:59 localhost postfix/smtpd[8282]: warning: pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]: SASL PLAIN authentication failed
Aug 26 22:20:59 localhost postfix/smtpd[8282]: lost connection after AUTH from pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]
Aug 26 22:20:59 localhost postfix/smtpd[8282]: disconnect from pha75-11-82-236-87-79.fbx.proxad.net[82.236.87.79]
At this point I can log in via POP3:
Aug 26 22:29:06 localhost ipop3d[8555]: pop3 service init from 82.236.87.79
Aug 26 22:29:06 localhost ipop3d[8555]: Login user=web6_info host=pha75-11-82-236-87-79.fbx.proxad.net [82.236.87.79] nmsgs=2/2
Aug 26 22:29:07 localhost ipop3d[8555]: Logout user=web6_info host=pha75-11-82-236-87-79.fbx.proxad.net [82.236.87.79] nmsgs=2 ndele=0
Aug 26 22:29:10 localhost imaplogin: /usr/lib/courier/courier/imaplogin: No such file or directory
Aug 26 22:29:12 localhost last message repeated 2 times
I still cannot send mail or check mail via IMAP. Also, my host settings are obviously wrong (mail is going out as if it were from localhost.localdomain instead of the correct domain)...