2 msgFwd: User unknown... when trying to subscribe f...

Error on aliases expansion using :include: line...
\ casfre (27 Mar 2008)
. \ (Wietse Venema) (27 Mar 2008)

2 msgDisabling 'who <password>'
4 msgmessage_size_limit per user
6 msgmail deferred
10 msgSuggestions
3 msgSetting response address for receiving servers.
3 msgdon't log balancer connection
5 msgcan't login using remote
4 msgtransport maps inquiry
9 msgPostfix+SASL+PostgreSQL
5 msgSMTP Auth with multiple IPs
10 msg[HEADS UP] remove ordb from your systems
8 msgquestion about difference in Received time and ...
2 msgsmtpd in OpenBSD dont close conections
14 msgSMTP Authentication for Virtual Mailboxes
3 msgneed to relay mails to smtps enabled server
2 msgPostfix - multiple aliases files
8 msgTrivial-rewrite fatal error
3 msgDNS and Round Robin
Subject:Re: Error on aliases expansion using :include: line_length_limit related
Group:Postfix-users
From:(Wietse Venema)
Date:27 Mar 2008


 
casfre:
> Hi,
>
> I am using postfix 2.4.6. My users are in /etc/passwd.
>
> In my /etc/postfix/aliases I have some lines like this:
>
> somegroup: :include:/etc/postfix/somegroup.txt
>
> In /etc/postfix/somegroup.txt, according to aliases manual, I
> have a line like this: ( "..." means a lot of users, using the same
> syntax )
>
> user1, user2, userbla, user3, user4, ... , userbignum

Why are you listing all recipients on one line.

The Postfix aliases(5) manual page says:

:include:/file/name
Mail is sent to the destinations listed in the named file.
Lines in :include: files have the same syntax as the right-hand
side of alias entries.

It says LINES, i.e. plural. It does not say LINE, i.e. singular.

Postfix will not permit arbitrarily long lines in :include: files
(or for the same reason, in .forward files). Such files are often
maintained by untrusted software or users. Untrusted software or
users MUST NOT control how much memory a Postfix daemon processes
will use.

Wietse


© 2004-2008 readlist.com