postfix is fine with using e-mails in simple form

junk_file:
To: [email protected] ; [email protected]
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=<[email protected]>
May  9 13:44:07 eden postfix/qmgr[31508]: 6424D9966A: 
from=<[email protected]>, size=389, nrcpt=2 (queue active)
May  9 13:44:07 eden postfix/smtp[7810]: 6424D9966A: 
to=<[email protected]>, 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=<[email protected]>, 
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" <[email protected]> wrote: 
 
> On Wed, May 8, 2013 at 3:16 PM, Ronald J. Yacketta 
> <[email protected]>wrote:
> 
> > Looks like the issue is with following line in settings:
> > build_reporting_email: [ '[email protected]' , '[email protected]' ]
> >
> > 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=<
> > [email protected]>
> > May  8 16:13:10 eden postfix/qmgr[31508]: D16D299669: from=<
> > [email protected]>, 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=<
> > [email protected]>, 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" <[email protected]>
> > 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
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to