On Wed, May 8, 2013 at 3:16 PM, Ronald J. Yacketta <yacketrj(a)potsdam.edu>wrote:
Looks like the issue is with following line in settings:
build_reporting_email: [ 'sysadmin(a)potsdam.edu' , 'yacketrj(a)potsdam.edu'
]
Changed my config to use localhost so I could see the mail flow and only
see an e-mail being sent to the first entry in the build_reporting_email
array.
May 8 16:13:10 eden postfix/smtpd[32197]: connect from
localhost[127.0.0.1]
May 8 16:13:10 eden postfix/smtpd[32197]: D16D299669:
client=localhost[127.0.0.1]
May 8 16:13:10 eden postfix/cleanup[32200]: D16D299669: message-id=<
20130508201310.D16D299669(a)eden.potsdam.edu>
May 8 16:13:10 eden postfix/qmgr[31508]: D16D299669: from=<
cobbler(a)eden.potsdam.edu>, size=752, nrcpt=1 (queue active)
May 8 16:13:10 eden postfix/smtpd[32197]: disconnect from
localhost[127.0.0.1]
May 8 16:13:11 eden postfix/smtp[32201]: D16D299669: to=<
sysadmin(a)potsdam.edu>, relay=smtp.potsdam.edu[137.143.110.104]:25,
delay=0.59, delays=0.09/0.03/0.3/0.17, dsn=2.0.0, status=sent (250 ok
1368043992 qp 4757)
May 8 16:13:11 eden postfix/qmgr[31508]: D16D299669: removed
On Wednesday, 08 May, 2013 03:44 EDT, "James Cammarata" <jimi(a)sngx.net>
wrote:
Hrm, not sure why that's not working. Looking through the code in
cobbler/modules/install_post_report.py, it just joins all of the addresses
in that array into a single string (to_addr) which is then referenced in
the template /etc/cobbler/reporting/build_report_email.template. I'm
wondering if it's not liking the simple format? Technically, you're
supposed to have email addresses in a list like <address>, <address> but
according to RFC 5322 it's ok to have a simple list like this:
https://tools.ietf.org/html/rfc5322#section-3.4
Maybe postfix is being more strict?