Issue #3850 has been updated by mig 5.

I *think* I have a related, if not identical, issue, under Ubuntu 10.04.

Specifically I have an entry in /etc/aliases for handling inbound mail so it is 
sent to a Redmine instance. This entry is not Puppet-managed. 

    
    tracker: "|python 
/usr/share/redmine-1.2.2/extra/mail_handler/sub-mailhandler.py --email 
[email protected] --project foobar -- 
/usr/share/redmine-1.2.2/extra/mail_handler/rdm-mailhandler.rb --url 
http://redmine.example.com --allow-override 
project,tracker,category,priority,status --key xxxxxxxxxxxxx"
    

After the addition/modification of *other* entries in the /etc/aliases via an 
exec of 'newaliases' by Puppet, it looks like this:

    tracker: "|python 
/usr/share/redmine-1.2.2/extra/mail_handler/sub-mailhandler.py --email 
[email protected] --project foobar -- 
/usr/share/redmine-1.2.2/extra/mail_handler/rdm-mailhandler.rb --url 
http://redmine.example.com --allow-override 
project",tracker,category,priority,"status --key xxxxxxxxxxxxx"

Specifically it seems to have wrapped the comma-delimited strings with quotes, 
which breaks Postfix trying to parse the entire piped command.

Sorry for the noise if this is actually a separate issue.
----------------------------------------
Bug #3850: newaliases generates incorrect aliases file on openbsd
https://projects.puppetlabs.com/issues/3850#change-55339

Author: Peter Meier
Status: Accepted
Priority: Normal
Assignee: 
Category: mailalias
Target version: 
Affected Puppet version: 0.25.5
Keywords: openbsd, smtpd
Branch: 


So on a fresh 4.7 OpenBSD installation the /etc/mail/aliases file as plenty of 
lines like:

<pre>
_afs: /dev/null
</pre>

this entries work with the (new) openbsd smtpd daemon.

But if we add a new (unrelated) entry to the file using the mailalias type all 
these entries are changed to:

<pre>
_afs: "/dev/null"
</pre>

Which are not parseable for the @makemap@ file of the openbsd smtpd daemon.

Puppet should imho not touch the other aliases when adding new entries or at 
least generate a correct file on openbsd.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to