You are not logged in.

#1 2012-01-04 14:09:26

kush
Member
Registered: 2012-01-04
Posts: 4

postfix won't start - vmail setup

Hello Arch community!

I am having some issues setting up my first mail server.

I have been following this as my guide:
https://wiki.archlinux.org/index.php/Si … ail_System

my lamp setup runs fine and installation went smoothly for the most part, however. When I try to start postfix errors start popping up.

I believe that this error is causing my problems(it occurs anytime i try to start postfix):

localhost postfix/Master[1277]: fatal: /etc/postfix/master.cf: line 121: bad transport type: =

line 121 is the first line of the block of text that I appended to my postfix configuration file per these instructions:
https://wiki.archlinux.org/index.php/Si … em#Postfix

for convenience this is the code that bugs out(note that i took the improper variant and used port 465 as smtps):

relay_domains = *
virtual_alias_maps = proxy:mysql:/etc/postfix/virtual_alias_maps.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/virtual_mailbox_maps.cf
virtual_mailbox_base = /home/vmail
virtual_mailbox_limit = 512000000
virtual_minimum_uid = 5000
virtual_transport = virtual
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
local_transport = virtual
local_recipient_maps = $virtual_mailbox_maps
transport_maps = hash:/etc/postfix/transport

smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_sasl_local_domain = $mydomain
broken_sasl_auth_clients = yes
smtpd_tls_loglevel = 1

any help/pointers to places where I can gather more debugging information would be helpful as this is my first mail server and for the most part /var/mail.log is my source of debugging info.
again, I appreciate any help!

Thanks,
kush

Offline

#2 2012-01-04 15:12:56

kush
Member
Registered: 2012-01-04
Posts: 4

Re: postfix won't start - vmail setup

This is my whole /etc/postfix/master.cf file by the way:

paste.ubuntu.com/792762/

Last edited by kush (2012-01-04 15:13:12)

Offline

#3 2012-01-04 21:41:37

kush
Member
Registered: 2012-01-04
Posts: 4

Re: postfix won't start - vmail setup

Fixed it. For those that might be interested, you need to indent two spaces before every line in the stuff that you add. Whitespace fail FTW.

Last edited by kush (2012-01-05 18:13:21)

Offline

Board footer

Powered by FluxBB