Why not get mail?

13 posts / 0 new
Last post
#1 Mon, 03/17/2008 - 04:16
zonekjdx

Why not get mail?

I do not understand why I am not coming emails and I can not send even though I say that is configured postfix

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..

  BIND DNS server is installed, and the system is configured to use it.

  Mail server Postfix is installed and configured.

  Apache is installed.

  Webalizer is installed.

  MySQL is installed and running.

  Logrotate is installed.

  Using network interface eth0 for virtual IPs.

  Default IP address for virtual servers is nn.nn.nn.nn.

  Both user and group quotas are enabled for home and email directories.

  Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access.

  All commands needed to create and restore backups are installed.

.. your system is ready for use by Virtualmin.<br><br>Post edited by: zonekjdx, at: 2008/03/17 04:17

Mon, 03/17/2008 - 09:48
scott316

What happens when you try some test commands in telnet localhost 25 from the server?
What are the contents of the maillog when you try testing sending and receiving?
What are the contents of postconf -n?
That will help get your question answered fastest (I think)

Sun, 06/07/2009 - 07:20 (Reply to #2)
zonekjdx

postconf -n
&gt; postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
canonical_maps = /etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a &quot;$EXTENSION&quot;
mailbox_size_limit = 0
mydestination = server2.homenet.telecomitalia.it, localhost.homenet.telecomitalia.it, , localhost.$mydomain $mydomain
myhostname = server2.homenet.telecomitalia.it
mynetworks = 127.0.0.1/8
myorigin = $mydomain
recipient_canonical_maps = /etc/postfix/canonical/recipient
recipient_delimiter = +
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sender_bcc_maps = hash:/etc/postfix/virtual
sender_canonical_maps = hash:/etc/postfix/virtual
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
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_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

&gt; telnet to localhost:25
telnet: could not resolve to/localhost:25: Servname not supported for ai_socktype

Sun, 06/07/2009 - 07:20 (Reply to #3)
zonekjdx

postconf -n
&gt; postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
canonical_maps = /etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_command = procmail -a &quot;$EXTENSION&quot;
mailbox_size_limit = 0
mydestination = server2.homenet.telecomitalia.it, localhost.homenet.telecomitalia.it, , localhost.$mydomain $mydomain
myhostname = server2.homenet.telecomitalia.it
mynetworks = 127.0.0.1/8
myorigin = $mydomain
recipient_canonical_maps = /etc/postfix/canonical/recipient
recipient_delimiter = +
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sender_bcc_maps = hash:/etc/postfix/virtual
sender_canonical_maps = hash:/etc/postfix/virtual
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
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_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps = hash:/etc/postfix/virtual

&gt; telnet to localhost:25
telnet: could not resolve to/localhost:25: Servname not supported for ai_socktype

Wed, 03/19/2008 - 02:21 (Reply to #4)
zonekjdx

Ok thanks I now returns this:
&gt; telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

Wed, 03/19/2008 - 11:41 (Reply to #5)
Joe
Joe's picture

You're really not making it easy for us to help you.

You still haven't provided the relevant maillog/mail.log entries! The log is the FIRST place you look when you're having mail problems. Always, and I've asked you to look in the mail log several times.

I would also (again) suggest you read the troubleshooting common problems guide. The email section is here:

http://www.virtualmin.com/documentation/id,troubleshooting_common_proble...

--

Check out the forum guidelines!

Sun, 03/23/2008 - 09:51 (Reply to #6)
zonekjdx

I can not, can not understand why not go emails

Sun, 03/23/2008 - 15:02 (Reply to #7)
Joe
Joe's picture

We NEED to see the relevant maillog or mail.log entries.

Do this:

Trigger the problem by sending yourself an email (or trying to retrieve it, or whatever it is that isn't working), and then run this command, if you're running Virtualmin on Red Hat or Fedora or CentOS:

tail -50 /var/log/maillog

Or, if your system is running Debian or Ubuntu, run this command:

tail -50 /var/log/mail.log

We cannot help you without seeing the errors. We just can't. I can tell you're getting frustrated, and I'm guessing there's a language issue here, as well...But we need to see some logs.

--

Check out the forum guidelines!

Mon, 03/24/2008 - 08:50 (Reply to #8)
zonekjdx

[code:1]&gt; tail -50 /var/log/mail.log
Mar 24 18:41:40 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:41:44 server postfix/smtpd[20726]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:41:45 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20726 exit status 1
Mar 24 18:41:45 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:42:40 server postfix/cleanup[20727]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:42:41 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20727 exit status 1
Mar 24 18:42:41 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:42:45 server postfix/smtpd[20728]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:42:46 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20728 exit status 1
Mar 24 18:42:46 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:43:41 server postfix/cleanup[20729]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:43:42 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20729 exit status 1
Mar 24 18:43:42 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:43:46 server postfix/smtpd[20730]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:43:47 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20730 exit status 1
Mar 24 18:43:47 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:44:42 server postfix/cleanup[20731]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:44:43 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20731 exit status 1
Mar 24 18:44:43 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:44:47 server postfix/smtpd[20732]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:44:48 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20732 exit status 1
Mar 24 18:44:48 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:45:43 server postfix/cleanup[20738]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:45:44 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20738 exit status 1
Mar 24 18:45:44 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:45:48 server postfix/smtpd[20739]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:45:49 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20739 exit status 1
Mar 24 18:45:49 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:46:45 server postfix/cleanup[20740]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:46:46 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20740 exit status 1
Mar 24 18:46:46 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:46:49 server postfix/smtpd[20741]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:46:50 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20741 exit status 1
Mar 24 18:46:50 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:47:46 server postfix/cleanup[20742]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:47:47 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20742 exit status 1
Mar 24 18:47:47 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:47:50 server postfix/smtpd[20743]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:47:51 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20743 exit status 1
Mar 24 18:47:51 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:48:47 server postfix/cleanup[20751]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:48:48 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20751 exit status 1
Mar 24 18:48:48 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:48:51 server postfix/smtpd[20752]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual
Mar 24 18:48:52 server postfix/master[5445]: warning: process /usr/lib/postfix/smtpd pid 20752 exit status 1
Mar 24 18:48:52 server postfix/master[5445]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Mar 24 18:49:48 server postfix/cleanup[20753]: fatal: open dictionary: expecting &quot;type:name&quot; form instead of &quot;/etc/postfix/canonical&quot;
Mar 24 18:49:49 server postfix/master[5445]: warning: process /usr/lib/postfix/cleanup pid 20753 exit status 1
Mar 24 18:49:49 server postfix/master[5445]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling
Mar 24 18:49:52 server postfix/smtpd[20754]: fatal: bad boolean configuration: broken_sasl_auth_clients = yessender_bcc_maps = hash:/etc/postfix/virtual[/code:1]

Mon, 03/24/2008 - 08:56 (Reply to #9)
zonekjdx

Unfortunately not speak English but use google translate Italian to translate and receive support

Mon, 03/24/2008 - 10:38 (Reply to #10)
Joe
Joe's picture

Your postfix configuration file is badly broken.

Looks like you've combined many lines into one, and also mixed up the values of some of them with others. &quot;sender_bcc_maps&quot; should not be stored in /etc/postfix/virtual--that's the virtual_alias_maps file. sender_bcc_maps should be &quot;hash:/etc/postfix/bcc&quot; (or similar).

I really think maybe doing the installation yourself is well beyond your experience level with Linux. I'd recommend starting over from scratch on one of our supported operating systems and using our automated installer (Debian 4.0 or CentOS 5, specifically). Manual installations are really only recommended for experienced Linux administrators--it's a complex process and touches a lot of configuration files.

--

Check out the forum guidelines!

Mon, 03/24/2008 - 11:28 (Reply to #11)
zonekjdx

Ok then arrange for the mail server of my ubuntu 7.10 recommendations me to do with this utility?

Tue, 03/18/2008 - 14:31
Joe
Joe's picture

<div class='quote'>&gt; telnet to localhost:25
telnet: could not resolve to/localhost:25: Servname not supported for ai_socktype</div>

This isn't a valid telnet command.

The syntax is:

telnet localhost 25

--

Check out the forum guidelines!

Topic locked