[posfix] match_list_parse problemen

Pagina: 1
Acties:

  • Boudewijn
  • Registratie: Februari 2004
  • Niet online

Boudewijn

omdat het kan

Topicstarter
Hoi

Ik heb weer eens wat leuke problemen met een verse postfix install.
Het gaat om een amd64 gentoo box, volgens deze guide opgezet: http://www.gentoo.org/doc/en/virt-mail-howto.xml

ik heb de volgende config aangemaakt ervoor:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
myhostname = krab. <domein>
mydomain =  <domein>
inet_interfaces = all
mydestination = localhost, localhost. <domein>,  <domein>
mynetworks = 127.0.0.0/8, 192.168.4.0/24


local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 5
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
debug_peer_list = 127.0.0.1

sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = /usr/share/doc/postfix-2.2.5/html
manpage_directory = /usr/share/man
sample_directory = /etc/postfix
readme_directory = /usr/share/doc/postfix-2.2.5/readme
home_mailbox = .maildir/


smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain =

smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination


smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom



alias_maps = mysql:/etc/postfix/mysql-aliases.cf
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf

local_transport = local
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname

virtual_transport = virtual
virtual_mailbox_domains = <domein>

                virtual_minimum_uid = 1000
                virtual_gid_maps = static:1001
                virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
                virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
                virtual_uid_maps = static:1001
                virtual_mailbox_base = /
                #virtual_mailbox_limit =



ik werk dus met een mysql DB op de achtergrond, ik kan daar ook prima mee connecten vanuit de CLI.
Echter weigert de setup goed te starten:

code:
1
2
3
4
Jun 13 15:00:17 krab postfix/pickup[25107]: B85B713F621: uid=0 from=<root>
Jun 13 15:00:17 krab postfix/trivial-rewrite[25115]: fatal: match_list_parse: read file /home/vmail: Is a directory
Jun 13 15:00:18 krab postfix/master[25106]: warning: process /usr/lib/postfix/trivial-rewrite pid 25115 exit status 1
Jun 13 15:00:18 krab postfix/master[25106]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling


Zowel inbound als outbound doet de setup helemaal niets :(
Het lijkt te liggen aan:
virtual_mailbox_base

Dit is het beginpad voor de maildirs , voorzover ik het in de documentatie kan zien. Echter worden in de DB de paden gewoon absoluut aangegeven door mij :

/home/vmail/<domein>/<user>/.maildir/

Dat idee dus.
Maar goed, na een paar nachten googlen ben ik er niet uit waarom hij dit afwijst... ook /home/vmail gebruiken werkt niet :(

Dit zijn btw de rechten:

code:
1
drwxr-xr-x 10 vmail       vmail 4096 May 28 17:08 vmail
uit /home dus.


Heeft iemand een idee?


offtopic:
ik heb ondertussen de tijd op die box ook maar goed gezet :+

[ Voor 3% gewijzigd door Boudewijn op 13-06-2006 13:03 ]

Zaram module kopen voor je glasvezelaansluiting?


  • Boudewijn
  • Registratie: Februari 2004
  • Niet online

Boudewijn

omdat het kan

Topicstarter
ik schop hem eens een keer ... ben er nog steeds niet uit, en het is >30 uur later.

@modje: zou je even s/posfix/postfix in de titel willen doen? Thanks

[ Voor 33% gewijzigd door Boudewijn op 14-06-2006 21:20 ]

Zaram module kopen voor je glasvezelaansluiting?