Mail Not Working

Discussion in 'Installation/Configuration' started by midcarolina, Sep 28, 2011.

  1. midcarolina

    midcarolina New Member

    My mail system on my server has never worked at all. No websites can send information to the address on a contact form, sign-up form, etc. No site. I used to be able to at least log in to squirrelmail (even though it has never worked either). Now I get a new error message. Haven't touched or changed any file or folder at all. Here is the new one:

    ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.
     
  2. conductive

    conductive New Member

    Sounds like you need to run the SM setup or?.

    Does the webmail come up?

    If this has anything to do with PHP you could be hosed.
     
  3. midcarolina

    midcarolina New Member

    No, no mail works at all on the server. Period. Not squirrelmail, no contact forms from server to inbox. NO mail exchange what-so-ever.

    Not sure why this would be a php issue. I just updated it, but all of the problems were exactly the same since the install date. The mail has NEVER worked on the server. Not webmail (squirrelmail) not any form of mail has ever worked on the server.

    Thanks
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    When you have an error on a Linux server, then you should take a look at the log files to find out what the reason is. So if you have a problem with email, the log files that should be checked are the mail log files.
     
  5. midcarolina

    midcarolina New Member

    Thanks for the tip Till. I check all of my server log files every morning. Here is the excerpt I have posted a dozen times that has to be causing the problem and I don't know how to fix this:


    Sep 28 05:55:01 webserverone postfix/smtpd[11440]: disconnect from webserverone.hostwithsupport.com[::1]
    Sep 28 05:56:26 webserverone sendmail[11627]: NOQUEUE: SYSERR(web8): can not chdir(/var/spool/clientmqueue/): Permission denied
     
  6. conductive

    conductive New Member

    Do you have a permission problem?
    Not to sure what to say about postfix if it was sendmail you could just test with the command line. Try logging in as root.
     
  7. busykid

    busykid New Member

    My mail not sending too.
    server1.domain.com
    MX: mail.domain.com


    FROM: user@domain.com TO: user@domain.com SENDING

    FROM: user@yahoo.com TO: user@domain.com NOT SENDING
    FROM: user@domain.com TO: user@yahoo.com NOT SENDING


    What is problem? help


     
    Last edited: Oct 1, 2011
  8. midcarolina

    midcarolina New Member

    I can surely help you with this. Allow me to get back to my pc. I am mobile now. Is it webmail or all mail? What Linux version please?
     
  9. busykid

    busykid New Member

    webmail, Ubuntu 10
     
  10. falko

    falko Super Moderator ISPConfig Developer

    Any errors in your mail log?
     
  11. busykid

    busykid New Member

    Code:
    [B]vi mail.err[/B] has 
    nothing
    Code:
    vi mail.info
    
    Oct  2 10:55:01 server1 postfix/smtpd[11656]: disconnect from unknown[::1]
    Oct  2 10:56:00 server1 imapd: LOGIN, user=info@domain.com, ip=[::1], port=[52196], protocol=IMAP
    Oct  2 10:56:00 server1 imapd: LOGOUT, user=info@domain.com, ip=[::1], headers=0, body=0, rcvd=87, sent=391, time=0
    Oct  2 10:56:22 server1 postfix/qmgr[27832]: 306A7142869: from=<info@domain.com>, size=1186, nrcpt=4 (queue active)
    Oct  2 10:56:52 server1 postfix/smtp[11683]: connect to gmail-smtp-in.l.google.com[74.125.53.26]:25: Connection timed out
    Oct  2 10:56:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[66.94.237.64]:25: Connection timed out
    Oct  2 10:57:22 server1 postfix/smtp[11683]: connect to alt1.gmail-smtp-in.l.google.com[74.125.45.26]:25: Connection timed out
    Oct  2 10:57:22 server1 postfix/smtp[11684]: connect to mta5.am0.yahoodns.net[74.6.136.65]:25: Connection timed out
    Oct  2 10:57:52 server1 postfix/smtp[11683]: connect to alt2.gmail-smtp-in.l.google.com[74.125.93.27]:25: Connection timed out
    Oct  2 10:57:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[98.139.175.224]:25: Connection timed out
    Oct  2 10:58:22 server1 postfix/smtp[11683]: connect to alt3.gmail-smtp-in.l.google.com[74.125.113.27]:25: Connection timed out
    Oct  2 10:58:22 server1 postfix/smtp[11684]: connect to mta5.am0.yahoodns.net[74.6.136.244]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11683]: connect to alt4.gmail-smtp-in.l.google.com[209.85.143.27]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11683]: 306A7142869: to=<myowngmail@gmail.com>, relay=none, delay=410212, delays=410062/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.143.27]:25: Connection timed out)
    Oct  2 10:58:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[74.6.140.64]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11684]: 306A7142869: to=<myownyahoo@yahoo.com>, relay=none, delay=410213, delays=410062/0.02/151/0, dsn=4.4.1, status=deferred (connect to mta6.am0.yahoodns.net[74.6.140.64]:25: Connection timed out)
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: warning: ::1: address not listed for hostname localhost
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: connect from unknown[::1]
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: lost connection after CONNECT from unknown[::1]
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: disconnect from unknown[::1]
    Oct  2 11:00:02 server1 postfix/pickup[10743]: 830AE1424B1: uid=33 from=<www-data>
    Oct  2 11:00:02 server1 postfix/cleanup[11753]: 830AE1424B1: message-id=<20111002100002.830AE1424B1@server1.domain.com>
    Oct  2 11:00:02 server1 postfix/qmgr[27832]: 830AE1424B1: from=<www-data@server1.domain.com>, size=890, nrcpt=1 (queue active)
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: connect from localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: 97A8A141C60: client=localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 postfix/cleanup[11753]: 97A8A141C60: message-id=<20111002100002.830AE1424B1@server1.domain.com>
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 97A8A141C60: from=<www-data@server1.domain.com>, size=1397, nrcpt=1 (queue active)
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: disconnect from localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 amavis[9325]: (09325-08) Passed CLEAN, <www-data@server1.domain.com> -> <www-data@server1.domain.com>, Message-ID: <20111002100002.830AE1424B1@server1.domain.com>, mail_id: 5qNGERB5x7Nf, Hits: 1.178, size: 890, queued_as: 97A8A141C60, 10016 ms
    Oct  2 11:00:12 server1 postfix/smtp[11755]: 830AE1424B1: to=<www-data@server1.domain.com>, orig_to=<www-data>, relay=127.0.0.1[127.0.0.1]:10024, delay=10, delays=0.16/0.01/0/10, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09325-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 97A8A141C60)
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 830AE1424B1: removed
    Oct  2 11:00:12 server1 postfix/local[11772]: 97A8A141C60: to=<www-data@server1.domain.com>, relay=local, delay=0.09, delays=0.04/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 97A8A141C60: removed
    Oct  2 11:01:22 server1 postfix/qmgr[27832]: 6C727141C65: from=<info@domain.com>, size=1448, nrcpt=2 (queue active)
    Oct  2 11:01:52 server1 postfix/smtp[11780]: connect to gmail-smtp-in.l.google.com[74.125.43.27]:25: Connection timed out
    Oct  2 11:02:22 server1 postfix/smtp[11780]: connect to alt1.gmail-smtp-in.l.google.com[209.85.225.26]:25: Connection timed out
    Oct  2 11:02:24 server1 imapd: LOGIN, user=info@domain.com, ip=[::1], port=[37255], protocol=IMAP
    Oct  2 11:02:24 server1 imapd: LOGOUT, user=info@domain.com, ip=[::1], headers=0, body=0, rcvd=87, sent=391, time=0
    Oct  2 11:02:52 server1 postfix/smtp[11780]: connect to alt2.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection timed out
    Oct  2 11:03:22 server1 postfix/smtp[11780]: connect to alt3.gmail-smtp-in.l.google.com[74.125.93.27]:25: Connection timed out
    
    Code:
    vi mail.log
    Oct  2 10:56:52 server1 postfix/smtp[11683]: connect to gmail-smtp-in.l.google.com[74.125.53.26]:25: Connection timed out
    Oct  2 10:56:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[66.94.237.64]:25: Connection timed out
    Oct  2 10:57:22 server1 postfix/smtp[11683]: connect to alt1.gmail-smtp-in.l.google.com[74.125.45.26]:25: Connection timed out
    Oct  2 10:57:22 server1 postfix/smtp[11684]: connect to mta5.am0.yahoodns.net[74.6.136.65]:25: Connection timed out
    Oct  2 10:57:52 server1 postfix/smtp[11683]: connect to alt2.gmail-smtp-in.l.google.com[74.125.93.27]:25: Connection timed out
    Oct  2 10:57:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[98.139.175.224]:25: Connection timed out
    Oct  2 10:58:22 server1 postfix/smtp[11683]: connect to alt3.gmail-smtp-in.l.google.com[74.125.113.27]:25: Connection timed out
    Oct  2 10:58:22 server1 postfix/smtp[11684]: connect to mta5.am0.yahoodns.net[74.6.136.244]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11683]: connect to alt4.gmail-smtp-in.l.google.com[209.85.143.27]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11683]: 306A7142869: to=<myowngmail@gmail.com>, relay=none, delay=410212, delays=410062/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.143.27]:25: Connection timed out)
    Oct  2 10:58:52 server1 postfix/smtp[11684]: connect to mta6.am0.yahoodns.net[74.6.140.64]:25: Connection timed out
    Oct  2 10:58:52 server1 postfix/smtp[11684]: 306A7142869: to=<myownyahoo@yahoo.com>, relay=none, delay=410213, delays=410062/0.02/151/0, dsn=4.4.1, status=deferred (connect to mta6.am0.yahoodns.net[74.6.140.64]:25: Connection timed out)
    Oct  2 11:00:01 server1 pop3d: Connection, ip=[::1]
    Oct  2 11:00:01 server1 pop3d: Disconnected, ip=[::1]
    Oct  2 11:00:01 server1 imapd: Connection, ip=[::1]
    Oct  2 11:00:01 server1 imapd: Disconnected, ip=[::1], time=0
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: warning: ::1: address not listed for hostname localhost
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: connect from unknown[::1]
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: lost connection after CONNECT from unknown[::1]
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: disconnect from unknown[::1]
    Oct  2 11:00:02 server1 postfix/pickup[10743]: 830AE1424B1: uid=33 from=<www-data>
    Oct  2 11:00:02 server1 postfix/cleanup[11753]: 830AE1424B1: message-id=<20111002100002.830AE1424B1@server1.domain.com>
    Oct  2 11:00:02 server1 postfix/qmgr[27832]: 830AE1424B1: from=<www-data@server1.domain.com>, size=890, nrcpt=1 (queue active)
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: connect from localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: 97A8A141C60: client=localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 postfix/cleanup[11753]: 97A8A141C60: message-id=<20111002100002.830AE1424B1@server1.domain.com>
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 97A8A141C60: from=<www-data@server1.domain.com>, size=1397, nrcpt=1 (queue active)
    Oct  2 11:00:12 server1 postfix/smtpd[11771]: disconnect from localhost.localdomain[127.0.0.1]
    Oct  2 11:00:12 server1 amavis[9325]: (09325-08) Passed CLEAN, <www-data@server1.domain.com> -> <www-data@server1.domain.com>, Message-ID: <20111002100002.830AE1424B1@server1.domain.com>, mail_id: 5qNGERB5x7Nf, Hits: 1.178, size: 890, queued_as: 97A8A141C60, 10016 ms
    Oct  2 11:00:12 server1 postfix/smtp[11755]: 830AE1424B1: to=<www-data@server1.domain.com>, orig_to=<www-data>, relay=127.0.0.1[127.0.0.1]:10024, delay=10, delays=0.16/0.01/0/10, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09325-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 97A8A141C60)
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 830AE1424B1: removed
    Oct  2 11:00:12 server1 postfix/local[11772]: 97A8A141C60: to=<www-data@server1.domain.com>, relay=local, delay=0.09, delays=0.04/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to mailbox)
    Oct  2 11:00:12 server1 postfix/qmgr[27832]: 97A8A141C60: removed
    Oct  2 11:01:22 server1 postfix/qmgr[27832]: 6C727141C65: from=<info@domain.com>, size=1448, nrcpt=2 (queue active)
    Oct  2 11:01:52 server1 postfix/smtp[11780]: connect to gmail-smtp-in.l.google.com[74.125.43.27]:25: Connection timed out
    Oct  2 11:02:22 server1 postfix/smtp[11780]: connect to alt1.gmail-smtp-in.l.google.com[209.85.225.26]:25: Connection timed out
    Oct  2 11:02:24 server1 imapd: Connection, ip=[::1]
    Oct  2 11:02:24 server1 imapd: LOGIN, user=info@domain.com, ip=[::1], port=[37255], protocol=IMAP
    Oct  2 11:02:24 server1 imapd: LOGOUT, user=info@domain.com, ip=[::1], headers=0, body=0, rcvd=87, sent=391, time=0
    Oct  2 11:02:52 server1 postfix/smtp[11780]: connect to alt2.gmail-smtp-in.l.google.com[74.125.45.27]:25: Connection timed out
    
    Code:
    vi mail.warn
    
    Oct  2 07:35:01 server1 postfix/smtpd[8403]: warning: ::1: address not listed for hostname localhost
    Oct  2 07:40:01 server1 postfix/smtpd[8488]: warning: ::1: address not listed for hostname localhost
    Oct  2 07:45:01 server1 postfix/smtpd[8567]: warning: ::1: address not listed for hostname localhost
    Oct  2 07:50:01 server1 postfix/smtpd[8643]: warning: ::1: address not listed for hostname localhost
    Oct  2 07:55:01 server1 postfix/smtpd[8723]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:00:01 server1 postfix/smtpd[8800]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:05:01 server1 postfix/smtpd[8890]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:10:01 server1 postfix/smtpd[8975]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:15:01 server1 postfix/smtpd[9051]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:20:01 server1 postfix/smtpd[9143]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:25:01 server1 postfix/smtpd[9218]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:30:02 server1 postfix/smtpd[9296]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:35:02 server1 postfix/smtpd[9374]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:40:01 server1 postfix/smtpd[9460]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:45:01 server1 postfix/smtpd[9537]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:50:02 server1 postfix/smtpd[9612]: warning: ::1: address not listed for hostname localhost
    Oct  2 08:55:01 server1 postfix/smtpd[9689]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:00:01 server1 postfix/smtpd[9765]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:05:02 server1 postfix/smtpd[9853]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:10:01 server1 postfix/smtpd[9938]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:15:01 server1 postfix/smtpd[10017]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:20:02 server1 postfix/smtpd[10101]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:25:02 server1 postfix/smtpd[10178]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:30:01 server1 postfix/smtpd[10255]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:35:01 server1 postfix/smtpd[10332]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:40:01 server1 postfix/smtpd[10416]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:45:01 server1 postfix/smtpd[10493]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:50:01 server1 postfix/smtpd[10571]: warning: ::1: address not listed for hostname localhost
    Oct  2 09:55:01 server1 postfix/smtpd[10646]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:00:01 server1 postfix/smtpd[10723]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:05:01 server1 postfix/smtpd[10811]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:10:01 server1 postfix/smtpd[10895]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:15:01 server1 postfix/smtpd[10972]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:20:02 server1 postfix/smtpd[11052]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:25:02 server1 postfix/smtpd[11131]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:30:01 server1 postfix/smtpd[11208]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:35:01 server1 postfix/smtpd[11285]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:40:01 server1 postfix/smtpd[11370]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:45:02 server1 postfix/smtpd[11450]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:50:01 server1 postfix/smtpd[11534]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:51:29 server1 postfix/smtpd[11534]: warning: ::1: address not listed for hostname localhost
    Oct  2 10:51:29 server1 postfix/smtpd[11534]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
    Oct  2 10:51:29 server1 postfix/smtpd[11534]: warning: table "mysql:/etc/postfix/mysql-virtual_client.cf": empty query string -- ignored
    Oct  2 10:55:01 server1 postfix/smtpd[11656]: warning: ::1: address not listed for hostname localhost
    Oct  2 11:00:01 server1 postfix/smtpd[11733]: warning: ::1: address not listed for hostname localhost
    
     
  12. midcarolina

    midcarolina New Member

    Hi,

    I don't want to steer you wrong here and get your system into trouble. I can only tell you what worked for me for Fedora 14 64 bit. The steps are fundamentally the same.

    I am not the least bit familiar with Ubuntu, but I did read Falko's tutorial and it is very much in line with Fedora's general steps. When I have problems that just don't seem to get repaired by file reconfiguration, etc. IF POSSIBLE, I like to do a clean uninstall, then reinstall. Here is what I saw with Ubuntu:

    aptitude install squirrelmail

    I saw the "aptitude" command numerous times for installs, leading me to understand that this is the equivalent of "yum" for Fedora. So to replicate, I had:
    # yum remove squirrelmail

    Next, I had # yum clean all

    I then went through the process of reinstalling squirrelmail fresh. After the reinstall, I logged into ISPConfig, phpMyAdmin, and did a database repair on ISPConfig db and MySql db, then I:

    Restarted httpd
    Restarted mysqld
    Restarted postfix
    Restarted amavisd
    Ran from root: # postfix flush

    This worked for me, but please proceed with caution and maybe wait until Falko or Till comment on this. Again, I am not the least bit familiar with Ubuntu...only CentOS and Fedora.

    Good luck.
     

Share This Page