
16th March 2010, 09:35
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Unable to send, receive, and login to email. Using Roundcube, ISPConfig, Proxmox.
Hi everyone, embarrassingly speaking..I am a complete newbie when it comes to Linux and server administration. I am trapped in a situation in my current work that all was turned over to me when our network administrator resigned.  I work at a government office here in the Philippines.
So here goes the problem. Our email (neither Roundcube or Thunderbird) is unable to send and receive emails. I am also unable to login to Roundcube. It just loads for a while after logging in then goes to the next page which is just a plain white page. Upon checking in ISPConfig, all the servers are online, specially POP3 and SMTP.
So I just can't figure out whats going on, and what's wrong with it. It was working perfectly last week. Then just broke down all of a sudden. I did series of shutdowns and restarts at our 2 baremetal servers..but to no avail.
I am not sure if it's about postfix because when I do "/etc/init.d/postfix restart", it says that it's already running.. But when I do "/etc/init.d/postfix status", it says it's not running..which is very confusing as well.
I really hope for your help guys. I would greatly appreciate any assistance. Thanks in advance.
PS:
Since I am a complete novice in Linux, if you can assist also in what command to type in terminal..I would REALLY appreciate it.
Kindly,
DJ
|

17th March 2010, 13:26
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Which distribution do you use? Do you use ISPConfig 2 or 3?
Are there any errors in your mail log?
|

18th March 2010, 02:20
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
I think we are using ISPConfig 2.x.
Here are what's in my mail log..(quite long but repetitive):
Mar 18 08:54:38 mail postfix/local[31501]: fatal: open database /etc/aliases.db: No such file or directory
Mar 18 08:54:39 mail postfix/master[2821]: warning: process /usr/libexec/postfix/local pid 31501 exit status 1
Mar 18 08:54:39 mail postfix/master[2821]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
Mar 18 08:54:52 mail postfix/smtpd[31504]: fatal: open database /etc/aliases.db: No such file or directory
Mar 18 08:54:53 mail postfix/master[2821]: warning: process /usr/libexec/postfix/smtpd pid 31504 exit status 1
Mar 18 08:54:53 mail postfix/master[2821]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Mar 18 08:55:39 mail postfix/local[31527]: fatal: open database /etc/aliases.db: No such file or directory
Mar 18 08:55:40 mail postfix/master[2821]: warning: process /usr/libexec/postfix/local pid 31527 exit status 1
Mar 18 08:55:40 mail postfix/master[2821]: warning: /usr/libexec/postfix/local: bad command startup -- throttling
Thanks so much for giving time on my issue.
|

18th March 2010, 07:30
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
I did telnet localhost 25, these are the results:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.immigration.gov.ph ESMTP Postfix (2.4.5)
421 4.4.2 mail.immigration.gov.ph Error: timeout exceeded
Connection closed by foreign host.
-----------------------------------
And these are for main.cf:
mynetworks = 127.0.0.0/8, 124.6.144.0/29
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/postfix/aliases
virtual_maps = hash:/etc/postfix/virtual
smtpd_banner = mail.immigration.gov.ph ESMTP Postfix ($mail_version)
home_mailbox=
mail_spool_directory = /var/mail
myhostname = mail.immigration.gov.ph
mydomain = immigration.gov.ph
inet_interfaces = all
default_transport = smtp
myorigin = immigration.gov.ph
mydestination = immigration.gov.ph
smtp_sasl_local_domain =
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpb_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_tls_auth_only = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtpd_sasl_security_options = noanonymous
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_use_tls = yes
smtp_use_tls = yes
smtpd_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_tlsloglevel = 1
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtp_tls_note_starttls_offer = yes
tls_random_source = dev:/dev/urandom
inet_protocols = ipv4
Hope this helps. Thanks
|

18th March 2010, 15:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please try this:
Code:
newaliases
/etc/init.d/postfix restart
|

19th March 2010, 09:13
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 29
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Here are the results from what you asked me to do.
Code:
mail:~# newaliases
mail:~# /etc/init.d/postfix restart
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfixpostfix/postfix-script: fatal: the Postfix mail system is already running
failed!
and my mail.log now is different (sorry quite long).
Code:
Mar 19 16:01:10 mail postfix/smtpd[3770]: disconnect from web54505.mail.re2.yahoo.com[206.190.49.155]
Mar 19 16:03:01 mail postfix/smtpd[3828]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Mar 19 16:03:01 mail postfix/smtpd[3828]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
Mar 19 16:03:01 mail postfix/smtpd[3828]: warning: TLS has been selected, but TLS support is not compiled in
Mar 19 16:03:01 mail postfix/smtpd[3828]: connect from mx.bol.com.br[200.221.29.128]
Mar 19 16:03:01 mail postfix/smtpd[3831]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Mar 19 16:03:01 mail postfix/smtpd[3831]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
Mar 19 16:03:01 mail postfix/smtpd[3831]: warning: TLS has been selected, but TLS support is not compiled in
Mar 19 16:03:01 mail postfix/smtpd[3831]: connect from mx.bol.com.br[200.221.29.128]
Mar 19 16:03:01 mail postfix/trivial-rewrite[3832]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Mar 19 16:03:01 mail postfix/smtpd[3828]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
Mar 19 16:03:01 mail postfix/cleanup[3833]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Mar 19 16:03:01 mail postfix/smtpd[3828]: CF7D438E05E: client=mx.bol.com.br[200.221.29.128]
Mar 19 16:03:02 mail postfix/smtpd[3831]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
Mar 19 16:03:02 mail postfix/cleanup[3834]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
Mar 19 16:03:02 mail postfix/smtpd[3831]: 424AF38E05F: client=mx.bol.com.br[200.221.29.128]
Mar 19 16:03:02 mail postfix/cleanup[3833]: CF7D438E05E: message-id=<20100319080254.B0F117000F33@selva8.bol.com.br>
Mar 19 16:03:03 mail postfix/qmgr[2789]: CF7D438E05E: from=<>, size=8161, nrcpt=1 (queue active)
Mar 19 16:03:03 mail postfix/smtpd[3828]: disconnect from mx.bol.com.br[200.221.29.128]
Mar 19 16:03:03 mail postfix/local[3835]: CF7D438E05E: to=<www-data@immigration.gov.ph>, relay=local, delay=1.2, delays=1.2/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 19 16:03:03 mail postfix/qmgr[2789]: CF7D438E05E: removed
Mar 19 16:03:03 mail postfix/cleanup[3834]: 424AF38E05F: message-id=<20100319080254.B7373700110A@selva8.bol.com.br>
Mar 19 16:03:03 mail postfix/qmgr[2789]: 424AF38E05F: from=<>, size=8185, nrcpt=1 (queue active)
Mar 19 16:03:03 mail postfix/smtpd[3831]: disconnect from mx.bol.com.br[200.221.29.128]
Mar 19 16:03:03 mail postfix/local[3835]: 424AF38E05F: to=<www-data@immigration.gov.ph>, relay=local, delay=1.3, delays=1.3/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 19 16:03:03 mail postfix/qmgr[2789]: 424AF38E05F: removed
Mar 19 16:03:07 mail postfix/smtpd[3828]: connect from jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:07 mail postfix/smtpd[3831]: connect from jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:07 mail postfix/smtpd[3828]: E445238E05E: client=jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:08 mail postfix/cleanup[3833]: E445238E05E: message-id=<20100319054933.ABE43700020A@selva14.bol.com.br>
Mar 19 16:03:08 mail postfix/smtpd[3831]: 0397E38E05F: client=jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:08 mail postfix/cleanup[3834]: 0397E38E05F: message-id=<20100319070624.1593370004E6@selva15.bol.com.br>
Mar 19 16:03:08 mail postfix/smtpd[3828]: disconnect from jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:08 mail postfix/qmgr[2789]: E445238E05E: from=<>, size=8745, nrcpt=1 (queue active)
Mar 19 16:03:08 mail postfix/local[3835]: E445238E05E: to=<www-data@immigration.gov.ph>, relay=local, delay=0.24, delays=0.23/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 19 16:03:08 mail postfix/qmgr[2789]: E445238E05E: removed
Mar 19 16:03:08 mail postfix/smtpd[3831]: disconnect from jazz.globequest.com.ph[202.95.234.228]
Mar 19 16:03:08 mail postfix/qmgr[2789]: 0397E38E05F: from=<>, size=8769, nrcpt=1 (queue active)
Mar 19 16:03:08 mail postfix/local[3835]: 0397E38E05F: to=<www-data@immigration.gov.ph>, relay=local, delay=0.23, delays=0.22/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Mar 19 16:03:08 mail postfix/qmgr[2789]: 0397E38E05F: removed
Here's a result again from telnet localhost 25.
Code:
mail:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.immigration.gov.ph ESMTP Postfix (2.4.5)
ehlo localhost
250-mail.immigration.gov.ph
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Hope this helps falko. Thanks so much
|
| Thread Tools |
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:26.
|
|
Recent comments
18 hours 38 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 6 hours ago
1 day 15 hours ago
2 days 42 min ago
2 days 1 hour ago
2 days 5 hours ago
2 days 9 hours ago
2 days 9 hours ago