View Single Post
  #1  
Old 11th November 2005, 02:24
arsu arsu is offline
Junior Member
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to arsu
Question POP3 SMTP FTP problem

Hi!

I have installed Ubuntu using http://www.howtoforge.com/perfect_setup_ubuntu_5.10 and after many hours of work and a lot of help from this forum i've managed to make it work, well, with a few exceptions:

1. I want to know if it is possible to acces https://mydomain.com:81/webmail something like http(s)://mail.mydomain.com and if it posible ... how?

2. I can't connect to the server with a mail client to retrieve and send mails from my account (if i access it via https://mydomain.com:81/webmail it's work just fine). It says something like "Incoming server 'mail.mydomain.com' not found".

and

3.
I cannot access ftp://ftp.mydomain.com via web browser (i can connect with a ftp client), i believe that it don't allow anonymous connection. How can i fix that.

and...i almost forgot.... under System/Administration/Login Screen Setup Xserver tab i deleted whatever war written there (Servers to start) by accident and now i get some sort of error every time server restart. Can somebody just copy paste that?

Please help !

My /webmail/inc/config.php looks like this:
Quote:
#Defaults:
#1 - Yes/On/True
#0 - No/Off/False
# do not remove or change this

define("yes",1);
define("no",0);

$themes = Array();
$languages = Array();

# _ Please attention _:
# The temporary files will be stored on this folder
# For security reasons, do not use web-shared folders

# ** The Web Server needs write-permission on this folder

# * Unix/Linux users use.
# /tmp/uebimiau
# * Win32 users
# c:/winnt/temp/uebimiau

# NEVER use backslashes (\). Always use forward slashes (/),
# for all operating systems, INCLUDING Windows

$temporary_directory = "/home/admispconfig/ispconfig/temp/webmail/";

# Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
# eg. "server1;server2;server3" -> specify main and backup server

$smtp_server = "localhost"; #YOU NEED CHANGE IT !!

# Protocol and port
# Choose "imap" as protocol to use the Internet Mail Access Protocol,
# or "pop3" to use the Post Office Protocol.
# The default ports are:
# pop3 -> 110
# imap -> 143
# The imap is more fast, but all functions of UebiMiau works with POP3

$mail_protocol = "pop3";
$mail_port = 110;

# The TIME ZONE of server, format (+|-)HHMM (H=hours, M=minutes), eg. +0100

$server_time_zone = "+0100";

# The maximum size for stored files
# In order to keep you system fast, use values better than 5MB
# If you need disable it, set the value to 0 or leave it blank

//$quota_limit = 4096; // in KB, eg. 4096 Kb = 4MB; uncomment this line if you want to use the same quota limit for all users instead of the individual quota settings from the ISPConfig database

# Use SMTP password (AUTH LOGIN type)

$use_password_for_smtp = no;

# Redirect new users to the preferences page at first login

$check_first_login = yes;

# Enable visualization of HTML messages
# *This option afect only incoming messages, the HTML editor
# for new messages (compose page) is automatically activated
# when the client's browser support it (IE5 or higher)

$allow_html = yes;

# FILTER javascript (and others scripts) from incoming messages

$allow_scripts = no;

# Turn this option to 'yes' if you want allow users send messages using
# they 'Reply to' preference's option as your 'From' header, otherwise
# the From field will be the email wich the users log in

$allow_modified_from = yes;

# Server type:
# allowed values:

# "DETECT" --------> Guess the pop3 server. If you are running UM
# in a domain "www.company.com", the script will
# use "PREFIX.company.com" as your server. you
# can set the "PREFIX" in the var $mail_detect_prefix.
# Also, the var $mail_detect_remove can be set
# to "www.", then the script get rid the "www" and
# put the prefix, eg. pop3.company.com.br

#"ONE-FOR-EACH" --> Each domain have your own mail server.
# The script will load the list of domains/servers from
# var $mail_servers.

#"ONE-FOR-ALL" ---> If you use this option, your users must supply the
# full email address as username. You can set the mail
# server in the var $default_mail_server

# LOGIN_TYPE

# Note. You can supply the LOGIN_TYPE according to your MAIL SERVER.
# Eg. If your mail server requires usernames in user@domain.com, you must
# specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to
# your server. eg.

# %user%
# %user%@%domain%
# %user%.%domain%

$mail_server_type = "ONE-FOR-EACH";

# TYPE: DETECT

$mail_detect_remove = "www.";
$mail_detect_prefix = "mail.";
$mail_detect_login_type = "%user%";

# TYPE: ONE-FOR-EACH
# Each domain have your own mail server

$mail_servers[] = Array(
"domain" => "mydomain.com",
"server" => "mail.mydomain.com",
"login_type" => "%user%"
);

/*
$mail_servers[] = Array(
"domain" => "your-2nd-domain.com",
"server" => "mail.your-2nd-domain.com",
"login_type" => "%user%@%domain%"

);
*/

/*
$mail_servers[] = Array(
"domain" => "your-Nth-domain.com",
"server" => "mail.Nth-domain.com",
"login_type" => "%user%@%domain%"
);
*/

# TYPE: ONE-FOR-ALL
# the default mail server for all domains

$default_mail_server = "localhost";
$one_for_all_login_type = "%user%";

# Language & themes settings

require("./inc/config.languages.php");

# Support for SendMail (DEFAULT DISABLED (using SMTP))
# Only for *nix Systems (NOT Win32)

$use_sendmail = no;
$path_to_sendmail = "/usr/sbin/sendmail";

# In some POP3 servers, if you send a "RETR" command, your
# message will be automatically deleted :(
# This option prevents this inconvenience

$mail_use_top = yes;

# Name and Version, it's used in many places, like as
# "X-Mailer" field, footer

$appversion = "2.7.2";
$appname = "UebiMiau";

# Add a "footer" to sent mails

$footer = "";

# Enable debug :)
# no - disabled
# 1 or yes -> enabled with full results
# 2 -> enable with servers communications only
# ************************************************** ******/
$enable_debug = no;

# Block external images.
# If an HTML message have external images, it will be
# blocked. This feature prevent spam tracking

$block_external_images = no;

# Session timeout for inactivity

$idle_timeout = 30; //minutes

# Order setting

$default_sortby = "date";
$default_sortorder = "DESC";

# Default preferences...

$default_preferences = Array(
"send_to_trash_default" => yes, # send deleted messages to trash
"st_only_ready_default" => yes, # only read messages, otherwise, delete it
"save_to_sent_default" => yes, # send sent messages to sent
"empty_trash_default" => yes, # empty trash on logout
"sortby_default" => "date", # alowed: "attach","subject","fromname","date","size"
"sortorder_default" => "DESC", # alowed: "ASC","DESC"
"rpp_default" => 20, # records per page (messages), alowed: 10,20,30,40,50,100,200
"add_signature_default" => no, # add the signature by default
"signature_default" => "", # a default signature for all users, use text only, with multiple lines if needed
"timezone_default" => "+0000", # timezone, format (+|-)HHMM (H=hours, M=minutes)
"display_images_deafult" => yes, # automatically show attached images in the body of message
"editor_mode_default" => "html", # use "html" or "text" to set default editor. "html" will be used only in IE5+ browsers
"refresh_time_default" => 10 # after this time, the message list will be refreshed, in minutes
);
and /postfix/main.cf:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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 = ns1.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = ns1.mydomain.com, localhost, localhost.mydomain.com, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
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
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_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
smtp_tls_note_starttls_offer = yes

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names


Last edited by arsu; 11th November 2005 at 02:35.
Reply With Quote
Sponsored Links