Sendmail
I have just setup sendmail on a redhat9 server. I can use webmin to send and recive emails. So I know sendmail is working right. However, SquirrelMail version 1.2.11 gives me the error: There was an error contacting the mail server.
Contact your administrator for help. Can anyone tell me what is going on? or if there is a error file I can past here? Also, Outlook can connect to the server, but when you enter your password, it says "Server caused disconnection". Anyone have any ideas? Thanks Randy |
I've had better luck changing the settings for SquirrelMail to use smtp instead of sendmail to send mail.
|
I have looked in my config.php file, can you tell me if this is correct please? I am new to this, sorry if I am slow.
[root@webserv squirrelmail]# vi config.php <?php /** * SquirrelMail Configuration File * Default configuration for Red Hat Linux. * $Id: config.php.rh7,v 1.1.2.3 2002/09/14 22:09:47 graf25 Exp $ */ $config_version = '1.2.0'; $config_use_color = 2; $org_name = "SquirrelMail"; $org_logo = '../images/sm_logo.png'; $org_logo_width = 308; $org_logo_height = 111; $org_title = "SquirrelMail $version"; $signout_page = ''; $frame_top = '_top'; $motd = ""; $squirrelmail_default_language = 'en_US'; $imapServerAddress = 'localhost'; $imapPort = 143; $useSendmail = true; $smtpServerAddress = 'mail.oasisone.org'; $smtpPort = 25; $sendmail_path = '/usr/sbin/sendmail'; $use_authenticated_smtp = false; $pop_before_smtp = false; $imap_server_type = 'uw'; $invert_time = false; $optional_delimiter = 'detect'; $default_folder_prefix = 'mail/'; $trash_folder = 'Trash'; $sent_folder = 'Sent'; $draft_folder = 'Drafts'; $default_move_to_trash = true; $default_move_to_sent = true; $default_save_as_draft = true; $show_prefix_option = true; $list_special_folders_first = true; $use_special_folder_color = true; $auto_expunge = true; $auto_expunge = true; $default_sub_of_inbox = true; $show_contain_subfolders_option = false; $default_unseen_notify = 2; $default_unseen_type = 1; $auto_create_special = true; $delete_folder = false; $default_charset = 'iso-8859-1'; $data_dir = '/var/lib/squirrelmail/prefs/'; $attachment_dir = "/var/spool/squirrelmail/attach/"; $dir_hash_level = 0; $default_left_size = '150'; $force_username_lowercase = false; $default_use_priority = true; $hide_sm_attributions = false; $default_use_mdn = true; $edit_identity = true; $edit_name = true; $allow_thread_sort = true; $allow_server_sort = true; $plugins[0] = 'delete_move_next'; $plugins[1] = 'squirrelspell'; $plugins[2] = 'newmail'; $theme_css = ''; $theme[0]['PATH'] = '../themes/default_theme.php'; $theme[0]['NAME'] = 'Default'; $theme[1]['PATH'] = '../themes/plain_blue_theme.php'; $theme[1]['NAME'] = 'Plain Blue'; $theme[2]['PATH'] = '../themes/sandstorm_theme.php'; $theme[2]['NAME'] = 'Sand Storm'; $theme[3]['PATH'] = '../themes/deepocean_theme.php'; $theme[3]['NAME'] = 'Deep Ocean'; $theme[4]['PATH'] = '../themes/slashdot_theme.php'; $theme[4]['NAME'] = 'Slashdot'; $theme[5]['PATH'] = '../themes/purple_theme.php'; $theme[5]['NAME'] = 'Purple'; $theme[6]['PATH'] = '../themes/forest_theme.php'; $theme[6]['NAME'] = 'Forest'; $theme[7]['PATH'] = '../themes/ice_theme.php'; $theme[7]['NAME'] = 'Ice'; $theme[8]['PATH'] = '../themes/seaspray_theme.php'; $theme[8]['NAME'] = 'Sea Spray'; $theme[9]['PATH'] = '../themes/bluesteel_theme.php'; $theme[10]['PATH'] = '../themes/dark_grey_theme.php'; $theme[10]['NAME'] = 'Dark Grey'; $theme[11]['PATH'] = '../themes/high_contrast_theme.php'; $theme[11]['NAME'] = 'High Contrast'; $theme[12]['PATH'] = '../themes/black_bean_burrito_theme.php'; $theme[12]['NAME'] = 'Black Bean Burrito'; $theme[13]['PATH'] = '../themes/servery_theme.php'; $theme[13]['NAME'] = 'Servery'; $theme[14]['PATH'] = '../themes/maize_theme.php'; $theme[14]['NAME'] = 'Maize'; $theme[15]['PATH'] = '../themes/bluesnews_theme.php'; $theme[15]['NAME'] = 'BluesNews'; $theme[16]['PATH'] = '../themes/deepocean2_theme.php'; $theme[16]['NAME'] = 'Deep Ocean 2'; $theme[17]['PATH'] = '../themes/blue_grey_theme.php'; $theme[17]['NAME'] = 'Blue Grey'; $theme[18]['PATH'] = '../themes/dompie_theme.php'; $theme[18]['NAME'] = 'Dompie'; $theme[19]['PATH'] = '../themes/methodical_theme.php'; $theme[19]['NAME'] = 'Methodical'; $theme[20]['PATH'] = '../themes/greenhouse_effect.php'; $theme[20]['NAME'] = 'Greenhouse Effect (Changes)'; $theme[21]['PATH'] = '../themes/in_the_pink.php'; $theme[21]['NAME'] = 'In The Pink (Changes)'; $theme[22]['PATH'] = '../themes/kind_of_blue.php'; $theme[22]['NAME'] = 'Kind of Blue (Changes)'; $theme[23]['PATH'] = '../themes/monostochastic.php'; $theme[23]['NAME'] = 'Monostochastic (Changes)'; $theme[24]['PATH'] = '../themes/shades_of_grey.php'; $theme[24]['NAME'] = 'Shades of Grey (Changes)'; $theme[25]['PATH'] = '../themes/spice_of_life.php'; $theme[25]['NAME'] = 'Spice of Life (Changes)'; $theme[26]['PATH'] = '../themes/spice_of_life_lite.php'; $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)'; $theme[27]['PATH'] = '../themes/spice_of_life_dark.php'; $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)'; $theme[28]['PATH'] = '../themes/christmas.php'; $theme[28]['NAME'] = 'Holiday - Christmas'; $theme[29]['PATH'] = '../themes/darkness.php'; $theme[29]['NAME'] = 'Darkness (Changes)'; $theme[30]['PATH'] = '../themes/random.php'; $theme[30]['NAME'] = 'Random (Changes every login)'; $theme[31]['PATH'] = '../themes/midnight.php'; $theme[31]['NAME'] = 'Midnight'; $theme[32]['PATH'] = '../themes/alien_glow.php'; $theme[32]['NAME'] = 'Alien Glow'; $theme[33]['PATH'] = '../themes/dark_green.php'; $theme[33]['NAME'] = 'Dark Green'; $theme[34]['PATH'] = '../themes/penguin.php'; $theme[34]['NAME'] = 'Penguin'; $theme[35]['PATH'] = '../themes/saloon.php'; $theme[35]['NAME'] = 'Saloon'; $default_use_javascript_addr_book = false; $addrbook_dsn = ''; $addrbook_table = 'address'; $prefs_dsn = ''; $prefs_table = 'userprefs'; $prefs_user_field = 'user'; $prefs_key_field = 'prefkey'; $prefs_val_field = 'prefval'; /** * Make sure there are no characters after the PHP closing * tag below (including newline characters and whitespace). * Otherwise, that character will cause the headers to be * sent and regular output to begin, which will majorly screw * things up when we try to send more headers later. */ ?> |
I believe in the code block below from your config file; you will want to change the highlighted portion I made to have useSendmail = false instead of true
Code:
$imapServerAddress = 'localhost'; You should be able to run the config script to configure the settings though, makes it a little easier to change, etc. |
Thanks, works great now!
|
All times are GMT -5. The time now is 04:16 PM. |