kdomrose
19th September 2008, 00:28
Greetings,
I am hoping someone might be able to help out here, or get me going in the right direction.
I am attempting to setup a mail server and it is kicking my arse. :P
Been trying now for about 2 weeks..
I have Ubuntu 8.04 for an os
I have installed LAMP server and SSH
I have been following several different how to guides... I have reinstalled Linux between attempts so i always started out fresh.
The latest guide I have tried is this one http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04-p4
I really would like the virtual users and domains thing...
I believe I have followed the guide but somewhere something is wrong.
When I attempt to telnet to the localhost 25 to test postfix I get the following
root@tweety:/home/centechadmin# telnet mail.centechcomputers.com 25 Trying 65.15.185.110...
Connected to centechcomputers.com.
Escape character is '^]'.
Connection closed by foreign host.
root@tweety:/home/centechadmin#
The pop3 seems to be working fine
My postfix/main.cf file is as follows
myhostname = mail.centechcomputers.com
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu/GNU)
biff = no
append_dot_mydomain = no
myorigin = centechcomputers.com
mydestination = %myhostname, localhost, localhost.localdomain
mynetworks = 127.0.0.1/8
recipient_delimiter = +
inet_interfaces = all
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domain $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
html_directory = /usr/share/doc/postfix/html
mydestination = mail.centechcomputers.com, localhost, localhost.localdomain
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enabled = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
anyone see anything obvious????
Thanks in advance for any advice.
Karl
I am hoping someone might be able to help out here, or get me going in the right direction.
I am attempting to setup a mail server and it is kicking my arse. :P
Been trying now for about 2 weeks..
I have Ubuntu 8.04 for an os
I have installed LAMP server and SSH
I have been following several different how to guides... I have reinstalled Linux between attempts so i always started out fresh.
The latest guide I have tried is this one http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04-p4
I really would like the virtual users and domains thing...
I believe I have followed the guide but somewhere something is wrong.
When I attempt to telnet to the localhost 25 to test postfix I get the following
root@tweety:/home/centechadmin# telnet mail.centechcomputers.com 25 Trying 65.15.185.110...
Connected to centechcomputers.com.
Escape character is '^]'.
Connection closed by foreign host.
root@tweety:/home/centechadmin#
The pop3 seems to be working fine
My postfix/main.cf file is as follows
myhostname = mail.centechcomputers.com
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu/GNU)
biff = no
append_dot_mydomain = no
myorigin = centechcomputers.com
mydestination = %myhostname, localhost, localhost.localdomain
mynetworks = 127.0.0.1/8
recipient_delimiter = +
inet_interfaces = all
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domain $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
html_directory = /usr/share/doc/postfix/html
mydestination = mail.centechcomputers.com, localhost, localhost.localdomain
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enabled = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
anyone see anything obvious????
Thanks in advance for any advice.
Karl