n0fx
8th April 2006, 06:56
I followed the guide and double checked to make sure was ok by following this guide here:
http://www.howtoforge.com/virtual_postfix_mysql_quota_courier
and I used this to setup Debian (Sarge 3.1)
http://www.howtoforge.com/perfect_setup_debian_sarge (the first three pages).
I got the to the part of the guide in which you telnet into the pop server to test it by doing a telnet hostname and this what I get:
n0fx@maximus:~$ telnet xxx.xxx.com 25
Trying xx.xxx.xxx.xxx...
Connected to xxx.xxxx.com. (FQDN)
Escape character is '^]'.
I tried to do a elho localhost but nothing comes up and it gets stuck at this part of the login. I checked my /etc/postfix/main.cf file. I also made sure I put a FQDN (it resolves to my the IP address). Here is my /etc/postfix/main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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 = xxxx.xxxxx.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = xxx.xxx.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy: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_enable = yes
broken_sasl_auth_clients = 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 has filled its mailbox."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $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
content_filter = amavis:[127.0.0.1]:10024
receive_overrride_options = no_address_mappings
This is my /var/log/mail.log:
Apr 7 20:45:26 kefka postfix/smtpd[2597]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Apr 7 20:45:26 kefka postfix/smtpd[2597]: warning: private/proxymap socket: service dict_proxy_open: Success
Apr 7 20:45:26 kefka postfix/master[2395]: warning: process /usr/lib/postfix/proxymap pid 2631 exit status 1
Apr 7 20:45:26 kefka postfix/master[2395]: warning: /usr/lib/postfix/proxymap: bad command startup -- throttling
Apr 7 20:46:26 kefka postfix/proxymap[2632]: fatal: open /etc/postfix/mysql-virtual_forwardings.cf: Permission denied
Apr 7 20:46:27 kefka postfix/smtpd[2597]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Apr 7 20:46:27 kefka postfix/smtpd[2597]: warning: private/proxymap socket: service dict_proxy_open: Success
Apr 7 20:46:27 kefka postfix/master[2395]: warning: process /usr/lib/postfix/proxymap pid 2632 exit status 1
Apr 7 20:46:27 kefka postfix/master[2395]: warning: /usr/lib/postfix/proxymap: bad command startup -- throttling
I tried to check the /etc/postfix/mysql-virtual_forwardings.cf to make sure it has the right group and permissions. I also checked to see if there was any typos or whitespace in there.
Does anyone know how to fix this and for the FQDN, I'm using registerfly's nameservers. I put a record type (address) that points to my specific IP address. Am I supposed to setup a MX record that points to my IP (to have emails sent there) or should I use a record type (address) that points to my specific IP? I also have ports 110 and 25 already open and pointed to my machine here with a static IP address.
Thanks.
http://www.howtoforge.com/virtual_postfix_mysql_quota_courier
and I used this to setup Debian (Sarge 3.1)
http://www.howtoforge.com/perfect_setup_debian_sarge (the first three pages).
I got the to the part of the guide in which you telnet into the pop server to test it by doing a telnet hostname and this what I get:
n0fx@maximus:~$ telnet xxx.xxx.com 25
Trying xx.xxx.xxx.xxx...
Connected to xxx.xxxx.com. (FQDN)
Escape character is '^]'.
I tried to do a elho localhost but nothing comes up and it gets stuck at this part of the login. I checked my /etc/postfix/main.cf file. I also made sure I put a FQDN (it resolves to my the IP address). Here is my /etc/postfix/main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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 = xxxx.xxxxx.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = xxx.xxx.com, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy: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_enable = yes
broken_sasl_auth_clients = 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 has filled its mailbox."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $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
content_filter = amavis:[127.0.0.1]:10024
receive_overrride_options = no_address_mappings
This is my /var/log/mail.log:
Apr 7 20:45:26 kefka postfix/smtpd[2597]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Apr 7 20:45:26 kefka postfix/smtpd[2597]: warning: private/proxymap socket: service dict_proxy_open: Success
Apr 7 20:45:26 kefka postfix/master[2395]: warning: process /usr/lib/postfix/proxymap pid 2631 exit status 1
Apr 7 20:45:26 kefka postfix/master[2395]: warning: /usr/lib/postfix/proxymap: bad command startup -- throttling
Apr 7 20:46:26 kefka postfix/proxymap[2632]: fatal: open /etc/postfix/mysql-virtual_forwardings.cf: Permission denied
Apr 7 20:46:27 kefka postfix/smtpd[2597]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Apr 7 20:46:27 kefka postfix/smtpd[2597]: warning: private/proxymap socket: service dict_proxy_open: Success
Apr 7 20:46:27 kefka postfix/master[2395]: warning: process /usr/lib/postfix/proxymap pid 2632 exit status 1
Apr 7 20:46:27 kefka postfix/master[2395]: warning: /usr/lib/postfix/proxymap: bad command startup -- throttling
I tried to check the /etc/postfix/mysql-virtual_forwardings.cf to make sure it has the right group and permissions. I also checked to see if there was any typos or whitespace in there.
Does anyone know how to fix this and for the FQDN, I'm using registerfly's nameservers. I put a record type (address) that points to my specific IP address. Am I supposed to setup a MX record that points to my IP (to have emails sent there) or should I use a record type (address) that points to my specific IP? I also have ports 110 and 25 already open and pointed to my machine here with a static IP address.
Thanks.