works as expected :(
May 9 14:45:22 eden postfix/pickup[7754]: 76CAC9966A: uid=0 from=<root>
May 9 14:45:22 eden postfix/cleanup[8435]: 76CAC9966A:
message-id=<20130509184522.76CAC9966A(a)eden.potsdam.edu>
May 9 14:45:22 eden postfix/qmgr[31508]: 76CAC9966A: from=<root(a)eden.potsdam.edu>,
size=387, nrcpt=2 (queue active)
May 9 14:45:22 eden postfix/smtp[8437]: 76CAC9966A: to=<tester_mail(a)potsdam.edu>,
relay=smtp.potsdam.edu[137.143.110.104]:25, delay=0.29, delays=0.1/0/0.
01/0.17, dsn=2.0.0, status=sent (250 ok 1368125123 qp 1437)
May 9 14:45:22 eden postfix/smtp[8437]: 76CAC9966A: to=<yacketrj(a)potsdam.edu>,
relay=smtp.potsdam.edu[137.143.110.104]:25, delay=0.29, delays=0.1/0/0.
01/0.17, dsn=2.0.0, status=sent (250 ok 1368125123 qp 1437)
On Thursday, 09 May, 2013 01:57 EDT, "James Cammarata" <jimi(a)sngx.net>
wrote:
Cobbler is joining it with a comma rather than a semi-colon. Try it
with a
comma (which is what the RFC says to use) and see if that still works. Odd
that it does seem to work with the semi-colon, as that is a violation of
the RFC syntax.
On Thu, May 9, 2013 at 12:48 PM, Ronald J. Yacketta <yacketrj(a)potsdam.edu>wrote:
> postfix is fine with using e-mails in simple form
>
> junk_file:
> To: tester_mail(a)potsdam.edu ; yacketrj(a)potsdam.edu
> Subject: Test Mail
> MIME-Version: 1.0
> Content-Type: text/plain
>
> This is a Test E-Mail
>
>
> [root@eden ~]# cat junk_file | sendmail -i -t
>
> maillog:
> May 9 13:44:07 eden postfix/pickup[7754]: 6424D9966A: uid=0 from=<root>
> May 9 13:44:07 eden postfix/cleanup[7808]: 6424D9966A: message-id=<
> 20130509174407.6424D9966A(a)eden.potsdam.edu>
> May 9 13:44:07 eden postfix/qmgr[31508]: 6424D9966A: from=<
> root(a)eden.potsdam.edu>, size=389, nrcpt=2 (queue active)
> May 9 13:44:07 eden postfix/smtp[7810]: 6424D9966A: to=<
> tester_mail(a)potsdam.edu>, relay=smtp.potsdam.edu[137.143.110.104]:25,
> delay=0.
> 41, delays=0.19/0.05/0.01/0.17, dsn=2.0.0, status=sent (250 ok 1368121448
> qp 28326)
> May 9 13:44:07 eden postfix/smtp[7810]: 6424D9966A: to=<
> yacketrj(a)potsdam.edu>, relay=smtp.potsdam.edu[137.143.110.104]:25,
> delay=0.
> 41, delays=0.19/0.05/0.01/0.17, dsn=2.0.0, status=sent (250 ok 1368121448
> qp 28326)
> May 9 13:44:07 eden postfix/qmgr[31508]: 6424D9966A: removed
>
>
> Could it be the joining of e-mails in code should be doe with ; as the
> separator vice , ?
>
> On Thursday, 09 May, 2013 11:42 EDT, "James Cammarata"
<jimi(a)sngx.net>
> wrote:
>
> > 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?
>
>
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/cobbler
>