Hi team,

I may have asked this years ago, but I can't find it in my email.  I have a 
need to retrieve the queue_id of emails submitted at time of submission when 
issuing submissions with the -G option.  I can see that there is a queue_id on 
all of the output specified in -vv.  With that I can grab all the output and 
extract queue_id, but I'm wondering if there is a better or recommended way of 
doing this?

Example:

cat test2.msg  | /usr/sbin/sendmail -G -i -f 
gary.sm...@holdstead.com<mailto:gary.sm...@holdstead.com> -- 
gary.sm...@holdstead.com<mailto:gary.sm...@holdstead.com> 2>&1 | grep "send 
attr queue_id"
postdrop: send attr queue_id = 874DA54C89


Gary Smith

Reply via email to